/subagent-system:context-packagerfrom subagent-system
Packages minimal context from a completed phase for the next agent, extracting interface changes, breaking changes, key file changes, and constraints. Uses character count to decide injection or fork.
Ships in subagent-system. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Input: Previous phase results + description of the next agent's task.
Extract only the information the next agent needs to avoid breaking existing work:
Target output size: ≤500 tokens. This is a guideline, not a hard limit:
CLAUDE_CODE_FORK_SUBAGENT=1) instead of manual injection — fork reuses the parent's prompt cache and handles large context more efficientlyExclude:
Empty context guard: After extracting, if all four sections (interface changes, breaking changes, key file changes, constraints) are empty or contain only "none" / "N/A" entries, output:
WARNING: context package is empty — the previous phase may not have produced output,
or its output was not in a parseable form. Verify the previous phase actually completed
before injecting this package into the next agent.
Output format:
CONTEXT PACKAGE for [next agent task]:
─────────────────────────────────────
Interface changes:
- [function/API]: [what changed]
Breaking changes:
- [what must not be violated]
Key file changes:
- [file]: [one-line summary]
Constraints:
- [constraint]: [detail]
─────────────────────────────────────
Estimated tokens: ~N ← count characters in this package ÷ 4 (code-heavy text ≈ 3.5–4 chars/token)
Recommendation: INJECT | USE_FORK
Recommendation logic (character-count based — more reliable than LLM estimation):
INJECTINJECT with caution noteUSE_FORKUse character count, not LLM token estimate — LLMs systematically underestimate token counts for code (identifiers and symbols count more than prose words).
What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/apply-improvementsThis skill should be used when the user asks to apply improvement proposals ('apply improvements', 'ap dung improvement proposals') from .claude/improvement-proposals.md (written by pipeline-retrospective) to the plugin files./audit-outputThis skill should be used after a pipeline run completes, when the user asks to audit the pipeline output ('audit output', 'audit the run', '4-level audit'). Requires the project's test command as argument - without it Level 4 regression tests are skipped and the report is marked incomplete./chain-verifierThis skill should be used at the final step of any multi-phase pipeline to verify the complete working-tree state satisfies the original requirements. Trigger after all fix agents and pipeline-reviewer have completed. Also invoke when user asks to "run chain-verifier", "verify the pipeline output", or "confirm requirements are met".npx claudepluginhub minhthang1009/dotclaude --plugin subagent-systemOther plugins' skills for the same job