What problem does it solve?
This Skill helps you delegate repository verification work to an independent, headless subagent without losing control of scope, output format, or auditability. It is useful when a task needs context isolation, a written report on disk, and a repeatable invocation pattern instead of ad hoc prompting.
Core Features & Use Cases
- Standardized subagent execution: Wraps opencode run with a fixed call pattern, enforced primary agent selection, and prompt-file based execution.
- Verification-focused reporting: Produces a repository-local report file that checks story and optional design requirements against a specified file scope, then ends with a strict SUMMARY line.
- Safety guardrails: Blocks unsafe output paths like /tmp for final reports, rejects empty or incorrect scope usage, and discourages permission-bypass flags or fabricated success states.
- Use cases: Ideal for verification-gate reviews, requirements-gate follow-ups, and documentation maintenance tasks where the main agent needs an external, auditable subagent result.
Quick Start
Ask the AI to use the opencode-subagent skill to verify a story and optional design against specific repository files and write the report to a markdown file inside the repo.