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

CHANGELOG.md

View on GitHub
# Changelog

## 1.1.2 (2026-10-22)

- Documentation only: README rewritten as a full reference (install per agent, permissions, examples, troubleshooting, test results). SKILL.md and references unchanged.

## 1.1.1 (2026-10-21)

- Secrets are shown only as a known type prefix (`sk-…`, `ghp_…`, `AKIA…`) or `****`, never the first
  characters of the value. The audit says to revoke a secret if the file was ever committed, and no longer
  claims a value is in git history without evidence.
- Version-specific Claude Code behaviour (for example which version reads `AGENTS.md` directly) is now
  quoted from the Claude Code docs with the date checked, and presented as "per Claude Code docs, checked
  2026-10-21", not as a fact about the user's setup. `references/memory-docs.md` adds `.claude/AGENTS.md`.
- Line numbers are copied from Read, summary counts must add up to the Findings table, and the proposed
  file may contain only facts kept from the original or verified in Step 3.
- The independent evaluation ran on 1.1.0.

## 1.1.0 (2026-10-21)

- Line counts now come from Read's line numbers and the summary is written last from the findings table. An independent evaluation of 1.0.0 found answers that misstated file lengths.

## 1.0.0 (2026-10-21)

- First version, written for the AI Craftbook pre-launch expansion. Not yet evaluated or released.
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: 196kUpdated Claude CodeCodexVerifiedInstall