跳到正文
cccskills
免费在 GitHub 公开

startwork

Resolve current HQ context and surface useful next work options.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core星标 90(GitHub 90 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md32.7 KB
  • agents/openai.yaml111 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Start Work Session

Lightweight session entry point. Resolves context fast, presents smart options, gets you working.

Fast path: exact company slug (check first)

One command does the whole company half of this skill:

bash core/scripts/startwork-context.sh orient --company "{co}" --mode Company

It does the Work Mesh trusted bind for this session (company and mode, with the company's hard-policy digest), checks that the bind landed, and prints the <startwork-context> block, including a Board line read from the work mesh cache, plus a Last thread: line that only names a thread of {co}. It needs the caller's own session id: the harness env, or --session-id <id> when the host does not export one. It never binds through workspace/sessions/.current. Exit 3 means {co} is not an exact manifest slug, and nothing was bound. Exit 4 means the bind did not land; stop and report it.

A. A <startwork-prefetch company="{co}"> block is already in the prompt context and {co} is the first word of the argument. The prompt hook already ran orient for {co}. It fires only for an exact slug, and only when the remaining args are not a slash command, a bare skill name, a bounded action (§1.0b), or a second company, and never when the session is already bound to a different company (that switch goes through the normal process). Do not run orient again.

B. No prefetch block, the first word looks like a company slug, and §1.0/§1.0b do not apply. Run orient with that word as your first tool call, before §0.5. On exit 3, continue with the normal process below.

After A or B, the trusted bind, §0.5, §1 resolution, §1.2, §2.4, Company Mode steps 1–3 and the handoff read are done. Do not run resolve-company.sh, startwork-context.sh resolve or block, hq-session.sh set company_slug or set mode, or work-mesh-live-bind-trusted.sh, and do not read handoff.json or the Board cache files. Then:

  1. No remaining args → go straight to §3 Present Options in Company mode. Show the block verbatim, its Board line included. Only run Company Mode step 4 when the block's Integrations line reads "not cached". Take the Worker route from the block's Workers line and skip the §2.5 policy counts; the digest already surfaced the company's hard rules.
  2. Remaining args → treat them as the focus inside {co}: a {co} project name continues in Project Mode from step 3, anything else is Task Mode starting at step 2. If they resolve to a project or repo owned by a different company, stop and ask which company the user means.
  3. If the host saved the prompt-hook output to a file and showed only a preview (the policy trigger hook adds the bound company's policies to the same output), read that file once with one tool call. It holds the full block; do not re-run the scripts.

Without an exact slug, run the normal process below.

When to Use

Beginning of every session. Replaces ad-hoc orientation.

Work Mesh Live — trusted bind (do this first)

Before any other tool call that touches project work, bind the session per .claude/skills/_shared/work-mesh-live-bind.md (US-011):

bash core/scripts/work-mesh-live-bind-trusted.sh \
  --company "{co}" --project "{project}" --task "{task}"

Omit --task when unknown. This writes workspace/sessions/<sid>/meta.yaml and reconciles with observation.trustedContext (no --trusted CLI flag).

When a company is resolved, startwork-context.sh orient (fast path and §1.2) runs this same bind for you. Do not run both.

Process

0.5 Default-company fallback

When the argument does not itself select a company, resolve context before entering an unbound path:

bash core/scripts/resolve-company.sh --prompt "{the user's full input}"

Use its company when source is prompt, session, or device_default; an existing session company always wins over the device default. none (including disabled or needsChoice default state) must open the structured company/personal picker, never silently proceed unbound.

1. Resolve Argument

1.0 Slash-command short-circuit (HARD RULE — check FIRST):

If the argument contains a slash-command token (whitespace-delimited substring matching /<name> for any <name> that is a valid slash command in .claude/commands/), abort the normal classification flow and route to that command. Specifically:

  • /deep-plan token present → STOP. Do not classify, do not enter Task Mode, do not pick a worker pipeline. Announce: "/deep-plan detected in args — routing to deep-plan skill." Then load .claude/skills/deep-plan/SKILL.md and execute it end-to-end with the remaining args (everything after /deep-plan) as the project description. The deep-plan skill produces companies/{co}/projects/{name}/prd.json + board entry and HARD STOPS at /handoff. Implementation MUST NOT happen in this session.
  • /prd token present → route to .claude/skills/prd/SKILL.md similarly.
  • Other /foo tokens → check .claude/commands/foo.md; if present, route to that command's skill (if any) or invoke the command directly.
  • Bare skill names count the same. The Claude desktop app refuses to send a message that starts with a slash command and contains another slash command, so desktop users write /startwork {co} deep-plan {description}. Treat a whole-word deep-plan or prd argument token exactly like /deep-plan or /prd. Other bare words are only routed when they exactly match a hyphenated command name in .claude/commands/ (for example run-project); a plain English word such as plan or review stays task text.

This rule supersedes the classification table below. The reason it exists: prior failure where /startwork {company} vyg /deep-plan apps/... was treated as free-text task description, causing the agent to enter Claude Code's built-in plan mode and start implementing instead of running the deep-plan questionnaire. Policy: core/policies/deep-plan-skill-routing.md.

1.0b Bounded-action short-circuit (HARD RULE — check SECOND, after the slash-command rule, before mode resolution):

If the argument names a bounded action owned by a dedicated skill in the table below, abort the normal classification flow, route to that skill with the raw remaining args, and STOP. Do NOT enter Company Mode. Do NOT read companies/manifest.yaml, do NOT run the qmd/grep project scan, do NOT run git, do NOT build the Worker Packet, and do NOT perform §2.4 session metadata, §2.5 policies, §2.6 worker routing, or any background maintenance. The target skill performs its own tenancy-safe company resolution.

Bounded-action routing table (closed list — route only on these):

Argument names…Route to
open / read / check / send a DM, "DM {person}", inbox, message thread/dm
meeting notes, transcript, recap, "what was discussed"/meeting-notes
signals, decisions, risks, commitments, wins/signals
action items (read-only "what are my action items")/signals (company skills may own the mutable tracker)
find / search / "where is X"/search
goals, OKRs, key results/goals
"who am I", session identity, login state/hq-whoami
  • A company slug appearing as a word inside a bounded action does NOT upgrade the request to Company Mode — the bounded-action route wins. Example: /startwork open my DM on indigo → route to /dm (the slug is context for the target skill, not a mode selector).
  • Negative example (the documented failure this rule exists for): /startwork open Izzy's latest project DM → route to /dm and stop. Full company orientation for this request is a scope bug, not thoroughness.
  • Fall-through: if the argument is a bare company/project/repo name, or names orientation itself ("what's the state of X", "pick up X", "start on X", "what should I work on"), this rule does not apply — continue to §1.1 Mode resolution.

This rule exists because a bounded read-only request ("open Izzy's latest project DM") was observed expanding into full company orientation, duplicate policy ingestion, a background maintenance agent, and an unrequested session handoff. Runtimes that follow skill text literally (Codex) must find the fast path in the text itself.

1.1 Mode resolution (only if no short-circuit fired):

Determine mode from the user's argument (first match wins):

  • No arg / empty — Entry-gate mode (ask before loading context — see "Entry-Gate Mode" below)
  • Arg matches company slug in companies/manifest.yaml — Company mode
  • Arg is a company alias or a repo name — run bash core/scripts/startwork-context.sh resolve --arg "{arg}". via: slug|alias → Company mode for that company; via: repo → Company mode with the repo noted for git state. Exit 3 means no match: continue below. Never grep the manifest by hand to find out which company an argument belongs to.
  • Arg matches a directory in personal/projects/ (not _archive/) or companies/*/projects/ — Project mode
  • Arg matches a directory in repos/private/ or repos/public/ — Repo mode
  • Partial match — arg is a substring of any company slug, project dir, or repo name. 1 match: use that mode. 2-5 matches: present numbered list, wait for user to pick. >5: ask user to be more specific
  • Free-text task — arg is ≥3 words and doesn't match any company/project/repo/partial → Task mode
  • No match — ask user to clarify

1.2 Bind a resolved company before gathering mode context

As soon as normal mode resolution or the default-company fallback identifies a company, bind it on this session before running project scans, qmd, worker selection, or any repository command. Use the one orient call from the fast path, with the resolved mode (and the project in Project mode). It is the only bind call: it does the trusted bind, records the mode, and prints the capability block with the Board line and the last-thread line.

bash core/scripts/startwork-context.sh orient --company "{co}" --mode "{Company|Project|Repo|Task|Resume}" [--project "{name}"]

Session metadata writes require the caller’s harness session identity. If the host does not supply it, pass the exact --session-id shown by the scope hook; never select a write target from workspace/sessions/.current or the most recent session.

Skip this step when the fast path already ran orient for {co}.

For Project or Repo mode, first resolve the project's owning company or the repo's company mapping when it is not already known, then run this bind before any Git command or project scan. A bounded-action short-circuit does not enter this flow, and an unresolved or personal-only context has no company to bind. When a task id becomes available later, §2.4 adds it to the session.

2. Gather Context

Entry-Gate Mode (no arg)

Do NOT eager-load context. A naked /startwork must ask the user where to go before reading the thread file, running the qmd/grep project scan, or reading any prd.json. Only the cheap reads in step 1 are permitted before the gate.

  1. Prefetch cross-device state (fail-soft). Before reading handoff.json, pull the session continuity pointer from the personal vault so a /handoff run on another machine is visible on this one. The workspace tree is otherwise machine-local; only workspace/threads/handoff.json plus the referenced thread file are carved into the personal vault (hq-cloud-sync computeContinuityPointerPaths). Without this pull a fresh session on a second device sees stale state.

    bash core/scripts/handoff-sync-prefetch.sh
    

    The helper is fail-soft: missing-CLI, offline, logged-out, or lock-held hosts return within the timeout and leave the local pointer untouched. Treat its output as advisory — never block the entry gate on its exit status.

    Cheap peek. If workspace/threads/handoff.json now exists, read it (small, allowed by context-diet) and extract only the last-session one-liner (its summary / conversation_summary field) + referenced branch. Do NOT read the thread file it points to yet. If handoff.json is absent, skip — no last-session option.

    Also glob workspace/gates/pending/*.json (cheap, no file reads yet). If any exist, a paused workflow is waiting on human answers — note the count for the gate below. Spec: core/knowledge/public/hq-core/workflow-gates-spec.md.

  2. Ask the user (AskUserQuestion), one question, then wait. Present these options:

    • Answer waiting workflow questions ({N}) — only if step 1 found pending gates. A paused workflow resumes the moment these are answered, so list this option FIRST.
    • Resume last session — only if step 1 found a handoff; label it with the one-liner (e.g. "Resume: {summary}").
    • Pick a company / project / repo — user names the target; you then re-enter this skill in the matching mode (Company / Project / Repo) with that arg.
    • Not sure what to work on — route to /strategize (strategic prioritization). Announce the handoff and load .claude/skills/strategize/SKILL.md. Do not do project discovery here.
    • Something else — free-text; user describes intent → treat as Task mode.

    Do not present numbered markdown for this gate — use the structured picker. This is the whole point of the gate: no qmd search "prd.json", no thread-file read, no per-project prd.json reads happen until the user has chosen.

  3. After the pick, load only what that path needs:

    • Resume last session → before reading the thread file, resolve thread_id from handoff.json.last_thread and apply the same resume-lock confirmation procedure from /resumework Step 2. Run bash core/scripts/hq-session.sh current to obtain the session id, then bash core/scripts/resume-thread-lock.sh inspect "{thread_id}". On unlocked, acquire the marker with bash core/scripts/resume-thread-lock.sh acquire "{thread_id}" --session-id "{session_id}". On locked or stale, use AskUserQuestion with the returned prompt and stop on cancel; only after Re-resume anyway run bash core/scripts/resume-thread-lock.sh acquire "{thread_id}" --replace --expected-generation "{lock_generation from inspected JSON}" --session-id "{session_id}". If replacement exits 4, re-inspect and ask again because a newer marker replaced the one the user confirmed. Then, and only then, read the thread file handoff.json points to (extract conversation_summary, next_steps, git.branch, git.current_commit, git.dirty, files_touched); run git log --oneline -3; if the thread references a project_dir, read its most-recent journal file (frontmatter + ## Open threads only — see Project Mode step 4). Skip the global qmd/grep project scan unless the user then asks "what else is active?".

    • Answer waiting workflow questions → for each pending gate, oldest first: read its JSON (question, options, context, recommended), ask ONE AskUserQuestion per gate (options from the gate file, recommended first, plus a "Skip this gate" option), and on an answer run bash core/scripts/workflow-gate.sh answer {id} "{choice}" (add --notes if the user typed free text). Skipped gates stay pending. When done, re-present this entry gate so the user can pick where to work.

    • Pick company/project/repo → proceed via the corresponding mode's Gather Context section with the supplied arg.

    • Not sure → /strategize owns it from here; stop gathering.

    • Something else → Task Mode gather.

Once the chosen path has enough context to name the work, name or rename this session with set_session_title according to core/policies/hq-session-title-grammar.md. When resuming, carry forward the useful work subject from the predecessor summary; otherwise use the resolved target. Add company, product, or mode when it adds information. Rename again only when the subject changes, and preserve a title the user manually renamed. If the first-turn title hook already named this session for the same subject, keep that title and make no title call.

Company Mode (arg = company slug)

  1. The orient call (fast path or §1.2) already printed the capability block: no network, about 3 KB. It carries the company's repos, knowledge and source folders, the cached list of usable integrations with the flag for each, the five most recently touched projects with local open-story counts, the Board line, the company's workers, and the path of the skill intent index. Do not grep the manifest, run the qmd/grep project scan, read core/workers/registry.yaml, or run git over the first manifest repo by hand; the block replaces those reads (HP-12 traced every one of them as a lookup startwork should have answered).
  2. The Last thread: line from orient is the handoff check, already filtered to this company. Do not read workspace/threads/handoff.json yourself.
  3. Board status comes from the work mesh, never local prd.passes. For each matching project, load the live Board from cache / Desktop live read: orient already did the cache read, and the block's Board (work mesh cache): line has the queued / in progress / review / done counts and the next queued story for each listed project, from this company's cache only. Do not read the cache files one by one. A project marked no board has no cache entry. If the Board block is absent, use local prd only for project description and acceptance; never as live Board columns. The Projects line's open counts are local too.
    • queued = available next work
    • in_progress / review = already claimed; do not offer as free next work
    • done = done Summarize the company totals from the Board line.
  4. If the block's Integrations line reads "not cached", run bash core/scripts/usable-integrations.sh show --company {co} once. That is the only network call startwork may make, and it is skipped when the cache is fresh
  5. Git state only for a repo the user named (or the via: repo resolution in §1.1): git -C {repo} branch --show-current and git -C {repo} log --oneline -3
  6. For that same repo, run bash core/scripts/startwork-context.sh edit-target --repo "{repo}" and show its lines in the orientation block (see "Edit target" below).

Project Mode (arg = project name)

Board status comes from the work mesh, never local prd.passes. If ground/check and the project-view cache both fail, then and only then use local prd for description — still not as live Board columns.

  1. Resolve the project dir (personal/projects/{name} or companies/{co}/projects/{name}); when the path is under companies/{co}, bind that company now. Read prd.json only for name, description, branchName, and acceptance text — not story status.
  2. Extract metadata.repoPath — identify company by matching against manifest repos if the project path did not identify it (bash core/scripts/startwork-context.sh resolve --arg "{repo basename}"). Bind the resolved company before continuing. 2b. Once {co} is known, bind and render in one call: bash core/scripts/startwork-context.sh orient --company "{co}" --mode Project --project "{name}" (this is the §1.2 bind; do not run it twice). The block's last line carries the project goal and branch; the rest is the company context from Company Mode step 1. When the fast path already bound {co} and only the project is new, run bash core/scripts/startwork-context.sh block --company "{co}" --project "{name}" and record the project with §2.4.
  3. If repoPath exists: git -C {repoPath} branch --show-current and git -C {repoPath} status --short, then bash core/scripts/startwork-context.sh edit-target --repo "{repoPath}" for the orientation block's "Edit target" lines
  4. If company {co} is resolved, load the live Board from cache / Desktop live read (presence is automatic via hq mesh daemon). Prefer ~/.hq/work-mesh/cache/projects/{companyUid}/{projectId}.json when present. Do not call deleted hq mesh session ground|check|watch.
    • queued = available next work
    • in_progress / review = already claimed; do not offer as free next work
    • done = done Include active mesh thread owners/blockers in the orientation block when available. Session presence is automatic — do not mint cards during orientation.
  5. Read session journals (spec: core/knowledge/public/hq-core/journal-spec.md). If {project_dir}/journal/ exists:
    • ls -t {project_dir}/journal/*.md 2>/dev/null | head -2 — most recent 2 files
    • For each: read frontmatter (status, summary) + ## Open threads section only — skip ## Auto-capture (reference material, too noisy for orientation)
    • If most-recent file has status: active and mtime > 24h, treat as abandoned (visually flag in orientation block)
    • Surface in orientation: latest file's summary + any unresolved ## Open threads bullets

Task Mode (arg = free-text task description)

  1. Resolve company/repo from cwd or recent handoff context (read workspace/threads/handoff.json if exists)
    • If a company is found, immediately bind it with the §1.2 call, bash core/scripts/startwork-context.sh orient --company "{co}" --mode Task, before task classification or company-specific context reads.
  2. Classify task using inline pattern table:
    • DB/migration/schema/prisma → schema_change
    • API/endpoint/route/webhook → api_development
    • Component/page/UI/form/React → ui_component
    • Backend + frontend indicators combined → full_stack
    • Content/copy/docs/marketing → content
    • Design/visual/brand → design
    • Deploy/CI/infra → ops
    • Otherwise → enhancement
  3. Map to worker pipeline (same sequences as /prd command Step 5)
  4. If company resolved, check company-specific workers in manifest — prefer over generic

Repo Mode (arg = repo directory name)

  1. Resolve full path: check repos/private/{arg} then repos/public/{arg}
  2. Owning company: scan companies/manifest.yaml for a company whose repos: list contains this path, then bind it before repository commands
  3. Git state: git -C {repoPath} branch --show-current, git -C {repoPath} log --oneline -5, git -C {repoPath} status --short 3b. Edit target: bash core/scripts/startwork-context.sh edit-target --repo "{repoPath}". Show its lines in the orientation block. Write and Edit are blocked under repos/, so do not create a branch in the main checkout; run the printed worktree.sh command before the first edit.
  4. Related projects:
    • Primary: qmd search "{repo-name} prd.json" --json -n 10 via shell
    • Fallback: use Grep to find prd.json files referencing this repo
    • For each match (max 5), read the prd.json and extract name + count incomplete stories

2.4 Persist Session Metadata

The orient call in §1.2 (or the fast path) already wrote company, mode and, in Project mode, the project into the current session's metadata, so per-company hooks and other context-aware skills can find them. Do not repeat it. Only add what orient could not know, in one call when there is anything:

# A project or task found after orient ran (one call, both flags when known):
bash core/scripts/work-mesh-live-bind-trusted.sh \
  --company "{co}" --project "{project_name}" --task "{task_id}"
# Repo mode only:
bash core/scripts/hq-session.sh set repo "{repo_name}"

This file lives at workspace/sessions/<session_id>/meta.yaml. The current session_id is bootstrapped by .claude/hooks/master-hook.sh on the first hook event of every session and tracked in workspace/sessions/.current.

Important: until company_slug is set, the master hook runs no per-company hooks (fail-closed for tenant isolation). Setting it from startwork is what activates the per-company harness for the rest of the session.

Skip if: no company resolved (resume mode with no company context).

2.5 Report Applicable Policies (display-only — no policy re-reads)

Policy loading is NOT this skill's job. Two mechanisms already inject policies before this step runs:

  1. Company policies: surfaced automatically when orient (§1.2 or the fast path) binds the company — the bind emits the company's hard-enforcement rules (deduped and budgeted) directly into the tool result. Do NOT re-scan companies/{co}/policies/ frontmatter here; that duplicates the bind emission.
  2. Repo policies: if repo context resolved and {repoPath}/.claude/policies/ exists, collect its files except example-policy.md, preserve their order, and split the stable file order into consecutive chunks of at most 40 files. For each chunk, run bash core/scripts/read-policy-frontmatter.sh {file1} {file2} ... once with each path as a separate argument. Keep each call under 30 KB of output. The first output block belongs to the chunk’s first file argument; each later block belongs to the path named by its preceding # --- policy-file: <path> --- separator. This is the one scan this step still owns; repo policies are not covered by the company bind.
  3. Global policies: injected by the SessionStart/PreToolUse trigger hook (inject-policy-on-trigger.sh). No action here.

Display in orientation block (counts only — ls | wc -l is enough for N/K):

Policies: {N} company, {M} repo, {K} global ({H} hard-enforcement)

Rules:

  • This step performs no company-policy file reads. The bind emission from orient is the company-policy surface
  • Repo policies: frontmatter only; for repo hard-enforcement policies read the ## Rule section
  • If no company resolved (resume mode with no company context), the count line may omit company
  • Precedence: company > repo > global

2.6 Worker Routing & Skill Readiness

After policies are known, build a compact Worker Packet for the resolved context.

  1. When a company is resolved, the capability block's Workers line is the candidate list; do not re-read core/workers/registry.yaml for it. Read the registry (auto-generated read-only index) only in task mode without a company, or to map an intent onto public workers, and keep only entries relevant to the current company, project, repo, or task intent. Skip any entry whose path is not a directory containing worker.yaml. If an active company worker is listed but missing, say so in the orientation block — do not invent a raw-script fallback.
  2. If company {co} is resolved, include any registry entries whose company: field is {co} (sourced from worker.company in each worker.yaml) or whose path starts with companies/{co}/workers/.
  3. If project mode and prd.json story metadata includes declared workers or worker hints, include those first.
  4. If task mode, map the classified intent to a worker route before offering direct execution:
    • design, ui_component → design/frontend workers
    • content → content workers
    • ops, deploy/CI/infrastructure → ops/deploy workers
    • api_development, schema_change, full_stack, enhancement → implementation workers plus QA/review workers when available
  5. Do not read every worker.yaml. Read a worker.yaml only when:
    • it is the selected/recommended worker, or
    • you need its skill list to present a concrete option.

Display in orientation block:

Worker route: {primary worker/skill or "none matched"} ({N} candidates)

Rules:

  • Worker-backed paths should appear before direct parent-session execution whenever a relevant worker exists.
  • Direct execution remains available, but label it as direct/no-worker so the user can make an informed choice.
  • If no worker matches, say so and proceed normally.
  • If the selected path needs worker execution, route through /run {worker} {skill} or /execute-task rather than reimplementing the worker inline.

3. Present Options

Display a concise orientation block:

Session Start
--------------
{Mode: Resume | Company: {slug} | Project: {name}}
{<startwork-context> block, verbatim, whenever a company is resolved}

{If resume: "Last session: {summary}" + "Next steps: {next_steps with status: open}" + "Still open from earlier handoffs: {bash core/scripts/handoff-open-steps.sh list --limit 10, excluding this thread}"; any delegation manifest under workspace/delegations/ still at status `sent` gets `bash core/scripts/hq-delegate-pickup.sh --manifest <m> --check` and its result shown as verified / waiting / FAILED}
{If project: "Goal: {description}" + "Branch: {branchName}"}
{If repo: "Repo: {repoPath}" + "Company: {slug}" + "Branch: {branch}"}
{If a repo was resolved (Repo mode, `via: repo`, or a project repoPath): the `edit-target` lines verbatim, so the worktree command is on screen before any work starts}
{If task: "Task: {description}" + "Intent: {classified_intent}" + "Pipeline: {worker count} workers"}

Git: {branch} @ {short-hash} {" (dirty)" if dirty}
Worker route: {primary worker/skill or "none matched"} ({N} candidates)

Active work:
  - {project} -- {done}/{total} stories ({remaining} left)
  ...

Board (work mesh):
  - {id} {title} — {status}
  ...
Work mesh threads:
  {active mesh owners/blockers for the selected company/project, or omit if none/unavailable}

Then present numbered options built from context:

  • Entry-gate mode (no arg): no orientation block is rendered before the gate — the AskUserQuestion gate (Gather Context → Entry-Gate Mode step 2) is the first interaction. Render an orientation block only after the user picks "Resume last session", using the loaded thread context; then offer next_steps items (up to 3) + "Pick a project" + "Something else".
  • Company mode: worker-recommended next actions + active projects for that company (up to 3) + "Run a worker" + "Something else"
  • Project mode: top 3 queued Board stories from work-mesh stories[] via /execute-task + matching worker route + "Something else". Skip in_progress unless the user already owns that row.
  • Repo mode: related projects with incomplete work (up to 3) + "Open repo (no project)" + "Something else"
  • Task mode: proposed worker pipeline phases (up to 5) + "Run this worker pipeline" + "Modify pipeline" + "Do it directly (no worker)" + "Plan it with /prd (send /prd as its own message)" + "Something else"

Output the numbered list and wait for user input. When an option starts another skill, phrase it as the skill name for the user to send as its own message (for example "send /deep-plan {co} {description} as a new message"). Never suggest a message that chains two slash commands, such as /startwork {co} /deep-plan ...: the desktop app refuses to send it. If the user picks such an option by number, run the skill in this session instead of asking them to type it. After user picks, proceed directly into the work.

Rules

  • NEVER read INDEX.md, agents files, or company knowledge dirs during startup
  • NEVER run exploratory searches to orient — this skill replaces exploration with targeted reads
  • NEVER grep the manifest, list project directories, or read the worker registry by hand when core/scripts/startwork-context.sh block can answer; one script call replaces those reads
  • The capability block reads only the bound company. Never render it for a second company in the same session to compare; that is a tenant-isolation bug
  • A bounded single-action request (§1.0b table) routes to its owning skill and never triggers orientation loading, session-metadata writes, policy scans, worker routing, or background maintenance
  • NEVER spawn a background knowledge-pulse (or any maintenance agent) from startup. The pulse is spawned only by the planning skills (/brainstorm, /prd, /deep-plan) — interactive startup spawns zero agents
  • Max file reads: handoff.json + 1 thread + manifest + up to 5 prd.json (headers only) + up to 2 journal files per resolved project (frontmatter + Open threads section only — never load Auto-capture)
  • If >5 active projects found, show top 5 by most recent file modification
  • Always verify git branch with git branch --show-current before displaying git state
  • Context diet: every read must serve the orientation summary. No speculative loading
  • Naked /startwork (no arg) MUST hit the entry gate first — ask via AskUserQuestion before reading the thread file or running any project scan. The only pre-gate read allowed is handoff.json itself (one-liner peek)
  • If the user is unsure what to work on, route them to /strategize rather than doing eager project discovery
  • If handoff.json doesn't exist, skip the "Resume last session" option — the gate still asks (pick target / not sure / something else)
  • Use qmd search via shell command — if qmd unavailable, fall back to Grep to scan for prd.json files
  • Before specialized work, prefer the relevant worker route surfaced by the Worker Packet

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

accept

免费

Accept HQ membership invites from a magic link or raw token.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

adr

免费

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

architect

免费

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

查看 indigoai-us 的全部技能

报告此技能的问题