aicraftbook/aicraftbook-skills / skills/context-trim
context-trim
FlaggedAudits a coding agent's project instruction file (CLAUDE.md, AGENTS.md, CLAUDE.local.md, .claude/rules, GEMINI.md, copilot-instructions.md or similar) against the repository it describes, then proposes a shorter, accurate version and changes nothing until the user approves. Use when someone asks to audit, clean up, trim, shorten, fix or review their CLAUDE.md or AGENTS.md, says the agent ignores its instructions, or suspects the file is stale, too long or contradicts the code.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 1.3 KB |
| LICENSE | other | 1.0 KB |
| README.md | markdown | 11.0 KB |
| SKILL.md | skill md | 8.3 KB |
| evals/independent-2026-10-21-v1.0.0.json | config | 67.8 KB |
| evals/independent-2026-10-21.json | config | 66.3 KB |
| evals/results-2026-10-22.json | config | 5.4 KB |
| evals/tasks.json | config | 9.1 KB |
| examples/requests.md | markdown | 1023 B |
| references/checklist.md | markdown | 7.2 KB |
| references/memory-docs.md | markdown | 8.3 KB |
| skill.json | config | 1.3 KB |
skill.json
View on GitHub{
"name": "context-trim",
"displayName": "Context Trim",
"subtitle": "Audit and tighten an agent's CLAUDE.md or AGENTS.md",
"title": "Context Trim",
"version": "1.1.2",
"license": "MIT",
"maintainer": "AI Craftbook",
"status": "released",
"supportedAgents": [
"claude-code",
"claude-desktop"
],
"installMethods": [
"copy folder to ~/.claude/skills/ or .claude/skills/",
"Upload the folder as a zip in Claude apps: Customize > Skills (upload not tried by us)"
],
"permissions": {
"files": "Reads instruction files (CLAUDE.md, AGENTS.md, rules) and the repository files that define commands, paths and versions. Writes instruction files only after the user approves the proposal.",
"shell": "None. It does not run the commands it checks. Bundles no scripts.",
"network": "None required.",
"mcp": "None."
},
"sitePath": "/skills/context-trim",
"created": "2026-10-21",
"updated": "2026-10-22",
"nameCheck": {
"name": "Context Trim",
"id": "context-trim",
"checkedAt": "2026-10-22",
"conflicts": [],
"notes": [
"GitHub repo stapesco/context-trim (1 stars)"
],
"sources": [
"GitHub code search (SKILL.md frontmatter, verified)",
"GitHub repositories",
"npm",
"PyPI",
"AI Craftbook catalogue"
]
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |