Skip to content

aicraftbook/aicraftbook-skills / skills/context-trim

context-trim

Flagged

Audits 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.

FileKindSize
CHANGELOG.mdmarkdown1.3 KB
LICENSEother1.0 KB
README.mdmarkdown11.0 KB
SKILL.mdskill md8.3 KB
evals/independent-2026-10-21-v1.0.0.jsonconfig67.8 KB
evals/independent-2026-10-21.jsonconfig66.3 KB
evals/results-2026-10-22.jsonconfig5.4 KB
evals/tasks.jsonconfig9.1 KB
examples/requests.mdmarkdown1023 B
references/checklist.mdmarkdown7.2 KB
references/memory-docs.mdmarkdown8.3 KB
skill.jsonconfig1.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"
    ]
  }
}
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall