AGENT SKILL

q

Capture natural-language asks and situate them on the graph as repo-scoped epic tasks, wire value-chain links, and consolidate similar work. Use for strategic intake, task capture, and situating new asks under governing epics. Exclude for starting containers on queued tasks (use /dispatch) or decomposing abstract objectives (use /decompose).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 5
Forks
3

01 前言 Front Matter

name
q
type
command
description
Capture natural-language asks and situate them on the graph as repo-scoped epic tasks, wire value-chain links, and consolidate similar work. Use for strategic intake, task capture, and situating new asks under governing epics. Exclude for starting containers on queued tasks (use /dispatch) or decomposing abstract objectives (use /decompose).
allowed-tools
[ "Skill", "AskUserQuestion", "mcp__services__*" ]

03 SKILL.md 正文

/q -- Strategic Intake & Graph Placement

Capture natural-language asks and situate them on the strategic graph: parented, connected, and valued at intake per specs/workflows/graph-valuation.md. The task dispatch pipeline is used for any durable deliverable -- including agent workflows, instruction updates, specifications, and code changes. Plans, designs, and decisions are captured directly on the task graph, never as markdown plan files in target repositories. Questions and lookups that can be answered in-turn are answered directly without queueing tasks.

Placement and Valuation

  1. Search and consolidate (mandatory across all invocations): Search both open and closed tasks in the PKB (include_done: true), as well as related targets, before minting any task. Aggregating similar tasks is explicitly preferred: if an incoming ask (or its per-repo parts) can be distributed across one or more existing open epic-sized tasks and handled as the same chunk of work, fold and update those existing tasks rather than creating new tasks. Evaluate three outcomes:
    • Consolidate or resume an open task: If an existing open or in-progress task covers the topic or repo scope, extend and update that task instead of creating a new one.
    • Reopen a closed task: If a completed or closed task directly addresses the topic and requires follow-up, iteration, or expansion, reopen the closed task (setting status: "queued" or "ready") to preserve continuity.
    • Mint a new task: Only if no matching open or closed task can absorb the ask, create a new task situated under the right parent container and wire what it serves. Set status: "queued" when ready for immediate container dispatch, or "ready"/"inbox" when held or blocked.
    • Closed-loop delivery: When a conversational ask requires reporting results back to the user on channel, create a closed-loop delivery task (assignee: ida, needs: [<repo-task-id>]) so conversational reporting triggers automatically after container execution completes.
  2. Multi-repository scoping: When an incoming ask spans two or more repositories, create related repo-specific tasks (type: "task", project set per repo; never pass type: "epic"):
    • Link tasks via needs when execution is sequential, or place under a shared cross-repo parent objective when parallel.
    • Create strictly one epic-sized task per repository, never splitting further at intake. In-container supervision decomposes in-repo execution workflows.
  3. Affordable loss check: Evaluate affordable loss before admitting commitments. If prospective downside or commitment cost violates affordable loss, flag as a priority ask for the user rather than admitting to the flow. Flow maths remains unpolluted by subjective risk gating.
  4. Wire value-chain links under the Three-Purpose Taxonomy (ADR-0002): Add edges strictly per purpose, pushing weight links as far up the parent hierarchy as accurate:
    • Weight Flow (serves, supports):
      • serves: Every minted non-bare task must wire a serves weight-flow link (quantum, probability, effect, justification, set_by: "agent-proposed") pointing either directly to a priced target node OR, more commonly, to an existing epic that adds weight (serves) to a priced target, allowing the task to be valued down the chain. Avoid duplicate links to the same target already reached via that epic.
      • supports: Wire only when executing the task directly reduces effort/risk or increases the completion probability of an upstream task/target. Tracking/coordination tasks do NOT support tracked tasks; tracking tasks serve user understanding targets.
      • Weight fields: quantum (words all..none or float 0.0..=1.0), probability (words certain..impossible or float 0.0..=1.0, default 1.00), effect: helps | harms, justification, set_by: agent-proposed.
    • Work Sequencing (needs):
      • Wire from dependent to prerequisite task ($B \to A$).
      • Boolean execution gate; carries neither quantum nor probability.
    • Structural Clustering (Body wikilinks):
      • Contextual references and cited artifacts live exclusively as markdown [[wikilinks]] in the body (## Context, ## Pointers). Direct body references already act as clustering/interconnection edges in graph physics; duplicate formal frontmatter edges are strictly prohibited.
  5. Capital stock hubs: Wire foundational investments that expand future optionality (reputation, relationships, tool scaffolding, capital reserves) directly to capital stock targets rather than inventing speculative multi-hop downstream chains.
  6. A bare idea stays bare: An idea with no clear link to anything priced gets its container and no other edge. Never invent a link to make it count.
  7. Opportunity is one node plus its edges: Mark opportunities as classification: opportunity. Adding it changes no other node's fields.
  8. Dates: Record any date as due with deadline_class:
    • fake: Default for captured dates where no real loss lands on it.
    • soft: Input carries the user's acceptance or sent mail agreeing to the date.
    • hard: The user explicitly states the date is hard, or a published real-loss date proposed hard. Never derive a date from urgency.
  9. Effort: Record effort duration string when the input states it or work is a known kind (read by the cliff lane).
  10. Decisions and empirical probes: A task that has options to choose between with no commitment to doing anything immediately beyond choosing keeps the choices and instructions inside the single task body. Competing options remain in the task body or ADR until chosen; when chosen, only the selected option is reified into an actionable task under parent: <task_id>. Empirical probes are active tasks (classification: probe) wired to the scoping task via standard needs: [<probe_task_id>]. Stored alternative and settles edges are prohibited.
  11. Do not write: intent, severity, stakeholder as a weight, target worth, set_by: user, soft_depends_on, supersedes, stored alternative or settles edges, duplicate frontmatter edges for body citations, supports edges from tracking tasks to tracked tasks, or redundant child-to-ancestor serves edges.

Headless Context (Email, Mobile Capture)

When invoked headlessly (e.g. correspondence sweep or notes/mobile-captures/ intake):

  1. Read for homophones: Treat voice-dictated captures as phonetic transcripts; resolve homophones in context before judging meaning or ambiguity.
  2. Classify and route each capture:
    • Task (or Expand probe): If an existing task already carries the ask (Step 1), fold the capture into that task (update_body) and delete the capture after the write succeeds. Otherwise, convert the capture into a task in place via convert_document(id=<capture-id>, type="task", status="ready"|"inbox") so the same file and ID move out of notes/mobile-captures/ into tasks/ with task frontmatter, then set the verb-led imperative title, parent, project, classification (probe for Expand), links, and task body via update_task and update_body. Do not create a replacement task or edit PKB files on disk to simulate conversion.
    • Note (or Expand into an existing note): Synthesize into the target note (update_body) or create a canonical note (create(type="knowledge", ...)), then delete the capture only after the destination write succeeds.
    • Discard: Delete the capture via delete.
  3. Defer when uncertain: Apply placement and valuation without prompting the user. If the classification, parent container, or target cannot be identified with confidence, or if convert_document fails, leave the capture note untouched in notes/mobile-captures/ for the next interactive pass (specs/workflows/capture-intake.md). Do not guess.

Task Body

Title: Write a concise, verb-led imperative (e.g. Implement X).

Description: Synthesize the ask in a minimal task body:

  • Restate the user's terse, fragmented words into clear, complete tasks and notes, judged by fidelity to meaning and distinctions, not by wording.
  • Keep the user's exact words only in the referent the premise check reads (## Ask and equivalents); do not treat keeping exact words in PKB outputs as a goal.
  • Fault a restatement only for lost, added, or distorted meaning.
  • Link new messages to prior context, recompose asks into a clear logical structure, and cite message IDs as pointers.
  • Leave ambiguity unresolved in the task; do not guess at intent.

Other sections: Never duplicate structured frontmatter edges in prose or vice versa. Contextual citations, background references, and related artifacts are recorded exclusively as markdown [[wikilinks]] in the body (under ## Context or ## Pointers), which naturally provide structural clustering for graph physics and search without duplicating formal frontmatter weight edges.

Output

Return a reference to the task created or updated:

- Captured [TASK-ID] - [TASK-TITLE] (under [PARENT-ID]: [PARENT-TITLE])

04 同仓库更多 Skills

nicsuzor
nicsuzor/academicOps

supervise

Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).

★ 5
nicsuzor
nicsuzor/academicOps

supervise

Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).

★ 5
nicsuzor
nicsuzor/academicOps

supervise

Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).

★ 5
nicsuzor
nicsuzor/academicOps

supervise

Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).

★ 5
nicsuzor
nicsuzor/academicOps

supervise

Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).

★ 5
nicsuzor
nicsuzor/academicOps

madr

Draft Markdown Architectural Decision Records (MADR) capturing context, considered options, decision outcomes, and consequences. Use when recording an architectural decision, documenting a technical choice, or evaluating design alternatives. Exclude for declarative target-state specifications (use specs) or task planning (use reify).

★ 5