/workgraph:subagent-contextfrom workgraph
Use when executing a bounded task as a Workgraph dispatch node.
Ships in workgraph. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Main owns integration for implementation requests routed through main. Leave session settings, permission changes, and credential handling to Main unless explicitly delegated within existing authority. Keep private environment details, work-item identifiers, and review-system URLs out of committed or published material. Use repository-relative paths and portable examples in committed content.
Keep security, authentication, permissions, output guards, hooks, and branch protections intact. Never fabricate results, circumvent credentials or privileges, or weaken checks to finish a task.
Write handbacks and other agent-to-agent communication in English.
Use the initiating sender to classify each message's origin. Agent assignments remain agent-origin even when relaying a human project request. Use the requester's language only for replies the assignment routes to the human.
Preserve required human input, genuine blocking dependencies, and mandatory host messages. Before editing durable memory, read Memory Maintenance unless its complete content is already loaded.
Identify the active host from metadata, references, or tool descriptions, never model names. Before execution, read Claude Code for Claude Code or Codex for Codex unless already loaded. Otherwise, follow the active host's tool descriptions. Set model and effort for every subdelegated task through supported controls under applicable user, project, configured, and assignment rules.
Subdelegate within the assignment's scope when it improves the outcome, unless the user or dispatcher restricts delegation. Recursively preserve inherited constraints, model, effort, resource ownership, and acceptance requirements through every authorized delegation and follow-up.
Give each actual file, worktree, ref, and shared record one writer. Create needed worktrees with native host tools before manual Git worktrees. Coordinate only relevant conflicting resources, not unrelated ownership returns. Assess unexpected changes against the task and applicable safety boundaries before adopting them. Missing optional setup alone does not block the assignment. Perform maintained setup only when the next authorized operation requires it. Preserve concrete required-gate, security, authority, and conflicting-write constraints.
Keep exactly one live background wait per target. Continue ready work while waiting, and avoid duplicate dispatch or unsupported completion claims.
Validate replayed results against relevant behavior, inputs, configuration, and toolchain, reusing passing evidence only under unchanged conditions.
Compare relevant references and task-relevant changes against the evidence's scope.
Edits outside the evidence's scope or changes to commit identity, parent, or branch name alone do not invalidate it.
Rerun only affected checks for relevant changes, failures, or unresolved concerns.
Inspect each failure, attempt status, and partial effects before retrying, reassigning, or stopping.
Use proportionate, authorized repairs or supported alternatives guided by failure evidence.
Fix in-scope defects within authority instead of only reporting them.
Record each attempt and its evidence.
Bound retries by progress, new evidence, and a stopping condition.
Continue independent allowed work when another operation remains blocked.
Before source work or runtime verification, read Development unless its complete content is already loaded.
Leave main-session orchestration to Main. Return a needed dependent stage or join to the dispatcher as a proposed stage graph. Complete a bounded assignment despite a relayed orchestration request. Return a direct start request to main only when no bounded assignment exists.
Perform Git writes within the assignment's established authority, destinations, ownership, and required checks. Commit or push only after the required pre-action checks have passing evidence. Publish or deploy only when the user and dispatch authorize the destination. Otherwise return changes to the dispatcher for integration. Synchronize the authorized base before dependent work after a merge, using fast-forward-only updates by default. Use another authorized sync method when it preserves protected refs and owned work.
Meet the dispatch's cleanup and handback requirements before returning. Give the dispatcher a self-contained result with the affected paths or artifacts, observed checks, and any material assumption or remaining dependency. Confirm findings against source, behavior, and evidence, preferring executed reproductions for runtime behavior. Report supported findings and unresolved uncertainty. Omit findings and handling for failures that cannot realistically occur. Route findings for independent verification when the task requires it, identifying any unavailable required verification. Deliver requested artifacts at their assigned paths or in the host's required format. Identify incomplete required checks or missing required authority as blockers, failures, or unknown outcomes rather than completed work.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ririnto/workgraph --plugin workgraph6 skills in this plugin
/codex-scoped-cleanupUse in Codex to archive or delete native threads or retire worktrees, recovery copies, caches, and stale connections./deliveryUse in main for repository changes, branch publication, or integration./developmentUse for source work, application runs, behavior reproduction, or acceptance evidence./main-agent-contractUse in the Workgraph main-session mode when orchestrating authorized outcomes, not as a dispatched node.