/claude-eng-pack:managing-context-reliabilityfrom claude-eng-pack
Provides best practices and audit checklists for managing context reliability in long-running or multi-agent Claude systems: context window management, error propagation, escalation, human review, and information provenance.
Ships in claude-eng-pack. 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.
Read when SKILL.md points to them.
Best-practice reference for the reliability layer: keeping context healthy over long sessions, escalating instead of guessing, propagating errors with structure, calibrating automation against human review, and preserving provenance. Each reference module states the correct pattern, the named anti-patterns, and ends with an Audit Checklist of verifiable conditions.
Not for the loop/orchestration structure itself (use auditing-agent-architecture).
| Module | Read when the question is about |
|---|---|
references/5-1-context-window-management.md | Summarisation traps, lost-in-the-middle, tool-result trimming, prompt caching |
references/5-2-escalation-and-ambiguity-resolution.md | Valid vs unreliable escalation triggers, explicit escalation criteria |
references/5-3-error-propagation-in-multi-agent-systems.md | Structured error context, coverage annotations, local recovery |
references/5-4-codebase-exploration-and-context-degradation.md | Scratchpads, subagent delegation, summary injection, /compact, crash recovery |
references/5-5-human-review-and-confidence-calibration.md | Stratified sampling, field-level calibration, validation before automation |
references/5-6-information-provenance-and-multi-source-synthesis.md | Claim-source mapping, conflicts, temporal awareness, attribution |
file:line evidence and the module's recommended fix.For a fast full-domain sweep, checklists.md aggregates all six checklists.
Loop and orchestration structure: auditing-agent-architecture. Review-pipeline calibration: engineering-prompts-and-output (4-6).
This skill is a reliability review reference for long-running and multi-agent systems. It covers six areas: context window management, escalation and ambiguity, error propagation between agents, codebase exploration, human review and confidence calibration, and provenance in synthesised answers. Each module names the correct pattern, the anti-patterns, and a checklist of conditions you can verify against real code.
auditing-agent-architecture.engineering-prompts-and-output.designing-tools-and-mcp.Skill(skill: "claude-eng-pack:managing-context-reliability")
Invoke it, then name the system and the symptom you are chasing. The skill's table maps your question to the reference modules worth reading; you read only those.
A quick-reference table pointing at six numbered reference modules, plus a three-step audit procedure: match the system to modules, run each module's Audit Checklist against the actual code and config, and report every unchecked item as a finding with file:line evidence and the module's recommended fix. For a full sweep, checklists.md aggregates all six checklists in one place.
Skill(skill: "claude-eng-pack:managing-context-reliability")
"Our review pipeline in orders/line-items runs five agents in sequence.
When agent 3 fails, the report still comes out clean. Audit the failure handling."
You are pointed at the error-propagation module. Its checklist asks whether failures carry structured context, whether results are annotated with what they did and did not cover, and whether recovery happens locally or is passed up. You run those items against the pipeline code and get back findings like "step 3's catch block returns an empty result with no coverage annotation — pipeline.ts:88", each paired with the fix the module recommends.
auditing-agent-architecture — for the agentic loop, orchestration, and subagent structure rather than its reliability layer.engineering-prompts-and-output — for system prompts, structured output, and review-pipeline calibration.checklists.md (opens in a new tab)references/5-1-context-window-management.md (opens in a new tab)references/5-2-escalation-and-ambiguity-resolution.md (opens in a new tab)references/5-3-error-propagation-in-multi-agent-systems.md (opens in a new tab)references/5-4-codebase-exploration-and-context-degradation.md (opens in a new tab)references/5-5-human-review-and-confidence-calibration.md (opens in a new tab)references/5-6-information-provenance-and-multi-source-synthesis.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/auditing-agent-architectureUse when designing or reviewing Claude-based agent systems — agentic loops and stop_reason handling, multi-agent orchestration, coordinators, subagent invocation and context passing, workflow enforcement, Agent SDK hooks (PreToolUse/PostToolUse), task decomposition, or session state and resumption. Also when an agent terminates prematurely, loops forever, repeats work, or subagents return inconsistent or incomplete results. NOT for tool schemas (use designing-tools-and-mcp), prompts (use engineering-prompts-and-output), or context degradation (use managing-context-reliability)./configuring-claude-codeUse when setting up or auditing Claude Code in a repository — CLAUDE.md hierarchy and imports, .claude/rules, custom slash commands and skills, path-specific rules, plan mode vs direct execution, iterative refinement workflow, or CI/CD integration with headless -p mode. Also when instructions get ignored, conventions load in the wrong scope, CLAUDE.md has grown bloated, or a CI pipeline needs non-interactive Claude runs. NOT for task prompt content (use engineering-prompts-and-output), agent loops/orchestration (use auditing-agent-architecture), or MCP tools (use designing-tools-and-mcp)./designing-tools-and-mcpUse when creating or reviewing tool definitions for Claude — tool names, descriptions, input schemas, structured error responses, tool_choice configuration, MCP server setup and scoping, or built-in tool usage (Grep, Glob, Read, Edit). Also when Claude picks the wrong tool, confuses similar tools, retries hopeless failures, treats empty results as errors, or degrades because too many tools are exposed. NOT for agent loops/orchestration (use auditing-agent-architecture), system prompts/schemas (use engineering-prompts-and-output), or multi-turn error loss (use managing-context-reliability)./engineering-prompts-and-outputUse when writing or reviewing system prompts, few-shot examples, structured output via tool use, JSON schema validation with retry loops, Message Batches API processing, or multi-instance/multi-pass review pipelines such as automated PR reviewers. Also when outputs are inconsistent between runs, JSON fails validation, false positives erode reviewer trust, hallucinated fields appear, or self-review keeps missing defects. NOT for tool interface design (use designing-tools-and-mcp), context/review calibration (use managing-context-reliability), or loop orchestration (use auditing-agent-architecture).npx claudepluginhub atretyak1985/swarmery --plugin claude-eng-pack