sandgardenhq/sgai/subagent-return-protocol

Claude Code and agent skill by sandgardenhq/sgai

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Shared return contract for SGAI Task subagents. Use before any delegated implementation, deployment, writing, verification, review, or project-critic subagent reports back to its caller.

Install

npx vskill@latest install sandgardenhq/sgai/subagent-return-protocol

SKILL.md

Subagent Return Protocol

Use this skill when a Task subagent reports completion, concerns, missing context, review findings, or blockers to the agent that invoked it.

Core Rules

  • Return exactly one envelope as the final answer.
  • Do not call workflow-state tools unless your prompt explicitly permits them.
  • Read TASK_PACKET paths first when a packet is provided.
  • If context is insufficient, return the missing path, evidence item, decision, or question through NEEDS_CONTEXT.
  • Use NEXT_OWNER: invoking agent when the caller should reconcile the result.
  • Use NEXT_OWNER: coordinator only when the coordinator must decide or route the next step.
  • Use a concrete owner such as project-critic only when your prompt names that wrapper as the caller.

Execution Envelope

Use this for implementation, deployment, writing, cleanup, and other work-producing subagents:

markdown
STATUS: DONE | DONE_WITH_CONCERNS | NEEDS_CONTEXT | BLOCKED
TASK: ...
READ_PATHS:
-...
CHANGED_PATHS:
-...
VERIFICATION:
-command: ...
result: ...
EVIDENCE:
-...
REVIEW_SCOPE:
-...
CONCERNS:
-...
NEXT_OWNER: invoking agent | coordinator

Review Envelope

Use this for reviewer, verifier, safety-review, and project-critic subagents:

markdown
REVIEW_STATUS: PASS | NEEDS_WORK | NEEDS_CONTEXT | BLOCKED
SCOPE_REVIEWED:
-...
EVIDENCE_REVIEWED:
-...
FINDINGS:
-file:line - required fix
BLOCKERS:
-...
NEXT_OWNER: invoking agent | developer | coordinator

Status Meanings

  • DONE: completed the task with required verification.
  • DONE_WITH_CONCERNS: completed the task, but caller must consider listed concerns.
  • PASS: reviewed scope has no required fixes.
  • NEEDS_WORK: caller must route listed findings for fixes.
  • NEEDS_CONTEXT: caller must provide only the missing context listed.
  • BLOCKED: caller must resolve the blocker before this work can complete.

Reconciliation Guidance

  • Put required fixes in FINDINGS, not prose outside the envelope.
  • Put unknowns or unavailable resources in BLOCKERS.
  • Put command output, screenshots, docs, and files read in evidence fields.
  • Keep NEXT_OWNER about routing, not blame.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
126
Repository forks
7
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sandgardenhq/sgai/subagent-return-protocol/badge)](https://verified-skill.com/skills/sandgardenhq/sgai/subagent-return-protocol)

Something wrong with this skill or its page? Tell us.