This skill should be used when the user asks to "analyze a large log", "summarize a big file", "read the whole repository", "process long tool output", "avoid context window overflow", "use sub-agents for preprocessing", "add evidence with line numbers", "verify claims with locators", or mentions "TaskSpec", "SubResult", "Evidence Contract", "Context Firewall", "Map-Reduce", "FileWorker", "Aggregator", "Critic".
This skill should be used when the user asks to "analyze a large log", "summarize a big file", "read the whole repository", "process long tool output", "avoid context window overflow", "use sub-agents for preprocessing", "add evidence with line numbers", "verify claims with locators", or mentions "TaskSpec", "SubResult", "Evidence Contract", "Context Firewall", "Map-Reduce", "FileWorker", "Aggregator", "Critic".
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeDeclared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Skill metadata
Parsed from SKILL.md frontmatter.
Version0.1.0
Declared agentsclaude-code
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md3,948 B
docsSUMMARY.md439 B
History
First recorded snapshot · 1 installs
SKILL.md
Implement a Context Firewall workflow to prevent the master context from being flooded by large inputs.
Purpose
Route large inputs (big files, logs, PDFs/images, long MCP/tool outputs) through sub-agents that produce compressed, auditable results. Only pass back:
Structured claims
Evidence locators (line/symbol/tool-call)
Coverage statements
When to use
Prefer this workflow when any of the following is true:
The user wants the "full" content of a large file/log/document.
Tool output is long/noisy (search results, crawls, API responses).
The task needs multi-file scanning or cross-file synthesis.
The output must be verifiable without re-reading everything.
Core contract (Evidence Contract)
For every meaningful claim:
Attach at least one evidence item.
Use a locator that enables low-cost verification.
Locator preference order:
line_range (default)
symbol_range (functions/classes)
tool_call (tool-derived facts; include args hash and rerun hint when safe)
byterange/jsonpath/stack_signature (define, but treat as harder to verify in v1)
Keep quotes short:
Respect the quotemaxchars constraint.
Never paste large raw blobs.
Recommended workflow
1) Generate TaskSpec
Create a TaskSpec.v1 that is explicit about:
Objective
Inputs (files/tool calls)
Questions
must_cover checklist
Constraints (budget + evidence requirements)
Risk level
Prefer using the command:
/cf-spec to generate a schema-valid template.
2) Run Map-Reduce preprocessing
Use /cf-run to:
Split inputs into shards
Run cf-fileworker on each shard in parallel
Merge with cf-aggregator into a final SubResult.v1
Hard requirements for sub-agents:
Output strict JSON only (no markdown fences, no extra commentary).