plugins/summarizer/skills/agent-result-relay/SKILL.md
Rules for orchestrators handling sub-agent results without lossy re-summarization. Activates when receiving agent output, relaying research results, passing data between agents, or combining agent findings. Prevents the failure mode where 'not found' becomes 'doesn't exist' and counts get dropped.
npx skillsauth add jamie-bitflight/claude_skills agent-result-relayInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Rules for how orchestrators MUST handle sub-agent results to prevent information corruption in the relay chain.
When an orchestrator receives results from a sub-agent, three failure modes commonly corrupt information:
Failure 1: Lossy Re-Summarization
Agent output: "Found 7 items with details. 3 sources returned HTTP 403."
Orchestrator: "Research complete. Found some items, the rest don't exist."
^^^ CORRUPTED
Failure 2: Count Dropping
Agent output: "Analyzed 15 files: 12 pass validation, 2 have warnings, 1 has errors."
Orchestrator: "Most files pass validation."
^^^ COUNTS LOST
Failure 3: Status Escalation
Agent output: "Unable to access 3 URLs (connection timeout)."
Orchestrator: "3 URLs are not available."
^^^ "UNABLE TO ACCESS" ≠ "NOT AVAILABLE"
When an agent reports numbers, the orchestrator MUST relay those exact numbers.
| Agent Says | Orchestrator MUST Say | Orchestrator MUST NOT Say | |------------|----------------------|--------------------------| | "7 of 10 found" | "7 of 10 found" | "most found" | | "3 errors, 2 warnings" | "3 errors, 2 warnings" | "several issues" | | "12 files analyzed" | "12 files analyzed" | "files were analyzed" | | "0 results" | "0 results found" | "nothing relevant" |
When an agent reports failures, the orchestrator MUST relay the specific reason.
| Agent Says | Orchestrator MUST Say | Orchestrator MUST NOT Say | |------------|----------------------|--------------------------| | "HTTP 403 Forbidden" | "access denied (HTTP 403)" | "not available" | | "Connection timeout" | "connection timed out" | "doesn't exist" | | "File not found at path X" | "file not found at X" | "no such file" | | "Rate limited, try later" | "rate limited" | "unavailable" | | "3 sources not accessible" | "3 sources not accessible" | "3 sources don't exist" |
When an agent wrote detailed results to a file, the orchestrator MUST reference the file rather than re-summarizing it.
Required pattern:
Research complete. 7 of 10 items documented. 3 sources were inaccessible (connection timeout).
Full results: ./research-output.md
Prohibited pattern:
Research complete. Here's a summary of the summary:
- Item 1 was about X
- Item 2 was about Y
[lossy re-interpretation of agent's already-summarized output]
When an agent returns structured output (STATUS, SUMMARY, ARTIFACTS, etc.), the orchestrator MUST preserve that structure.
Agent returns:
STATUS: DONE
SUMMARY: Validated 15 plugins. 12 pass, 2 warnings, 1 critical error.
ARTIFACTS:
- Report: ./validation-report.md
- Critical: plugin-X has invalid manifest
WARNINGS:
- plugin-Y: description exceeds 200 chars
- plugin-Z: missing homepage field
Orchestrator MUST relay:
Plugin validation complete. 12 of 15 pass, 2 warnings, 1 critical error.
Critical: plugin-X has invalid manifest.
Full report: ./validation-report.md
Orchestrator MUST NOT relay:
Validation done. Most plugins are fine, a couple have minor issues.
When an agent reports both observations and conclusions, the orchestrator MUST clearly distinguish between them.
Agent reports:
Observation: The config file does not contain a "timeout" field.
Conclusion: Using default timeout of 30s.
Orchestrator relays:
Config has no "timeout" field; agent reports default of 30s will be used.
Not:
Timeout is 30 seconds.
The distinction matters because the observation (no field) is verifiable, while the conclusion (default 30s) is the agent's interpretation.
The orchestrator MAY summarize agent output ONLY when:
Even when summarizing is appropriate, the orchestrator MUST:
Before relaying agent results, verify:
development
When an application needs to store config, data, cache, or state files. When designing where user-specific files should live. When code writes to ~/.appname or hardcoded home paths. When implementing cross-platform file storage with platformdirs.
testing
Enforce mandatory pre-action verification checkpoints to prevent pattern-matching from overriding explicit reasoning. Use this skill when about to execute implementation actions (Bash, Write, Edit) to verify hypothesis-action alignment. Blocks execution when hypothesis unverified or action targets different system than hypothesis identified. Critical for preventing cognitive dissonance where correct diagnosis leads to wrong implementation.
tools
Reference guide for the Twelve-Factor App methodology — 15 principles (12 original + 3 modern extensions) for building portable, resilient, cloud-native applications. Use when evaluating application architecture, designing cloud-native services, reviewing codebases for methodology compliance, advising on configuration, scaling, observability, security, and deployment patterns. Incorporates the 2025 open-source community evolution and cloud-native reinterpretations of each factor.
tools
Converts user-facing documentation (how-to guides, tutorials, API references, examples) in any format — Markdown, PDF, DOCX, PPTX, XLSX, AsciiDoc, RST, HTML, Jupyter notebooks, man pages, TOML/YAML/JSON configs, and plain text — into Claude Code skill directories with SKILL.md plus thematically grouped references/*.md files. Use when given a docs directory or mixed-format documentation to transform into an AI skill. Uses MCP file-reader server for binary formats.