Skip to content
Development
Skill

/slim

Slim the instructions Claude Code loads in every session (CLAUDE.md, rules, their imports) without losing a rule - weigh them, sort every block, show the changes, write only on the user's go, prove nothing was lost, weigh again.

From plugin
arsenal
2311 skills4 agents

Claude Code

$ npx -y skills add mirkobozzetto/arsenal --skill slim --agent claude-code

SKILL.md

slim.SKILL.md
name: slim
description: Slim the instructions Claude Code loads in every session (CLAUDE.md, rules, their imports) without losing a rule - weigh them, sort every block, show the changes, write only on the user's go, prove nothing was lost, weigh again.
argument-hint: "[file or folder to slim]"

Slim

Lighten what every session pays before its first word, and lose no rule. Resolve `scripts/` from this skill's directory. Run each script with Bash `run_in_background: true` and read its output when it ends: a foreground Bash may run in another shell, without the session's `CLAUDE_CONFIG_DIR` or working directory. `<work>` is a new scratch folder for this run. Talk in the conversation language.

1. **Weigh.** `node scripts/weigh.cjs --save <work>/before.json`. Show its table: every file loaded at launch, its size and its share. An argument narrows the files to slim; the weighing stays whole. 2. **Sort.** Read each file and give every block one destination:

  • stays loaded: a rule every session needs, kept short;
  • skill: a procedure, or a block for one kind of task. It becomes

`skills/<name>/SKILL.md` in the same scope (`<config>/skills/` or `<project>/.claude/skills/`), its description saying when it applies;

  • `paths:` rule: a block that matters only for matching files. It loads

after a matching Read, Write or Edit, and user-level patterns start from the session's working directory: a rule needed before any read stays loaded;

  • evidence: a dated citation, a date, the story of why. It moves word

for word to `evidence/<file>.md` beside `rules/` (`<config>/evidence/` or `<project>/.claude/evidence/`), never inside `rules/`, where every `.md` loads. List the duplicates and contradictions between files too, each with both passages. Never edit `MEMORY.md`, nor a block a tool generates (the GitNexus block between its markers): weigh and report them only. 3. **Show.** File by file: what moves where, and each rewritten or removed sentence beside its original. Write nothing yet. Ask one question for the go; the user may validate some files and not others. 4. **Save.** `node scripts/check.cjs save <work> <files to change>`. Exit 2 names a file with changes not committed: stop there. 5. **Write** only what was validated. Move text word for word. Each validated rewrite or removal goes in `<work>/rewrites.json` as `{"from": "<original>", "to": "<new, or empty>"}`. Add once, to the CLAUDE.md of that scope, one line saying where its evidence lives. 6. **Verify.** `node scripts/check.cjs verify <work> --in <evidence dir> --in <rules dir> --in <each new skill or rule> --rewrites <work>/rewrites.json`. It puts back, as it was, any file with a piece found nowhere: report each lost piece in one line, and never write that file again another way. 7. **Commit** each changed file in the repository that holds it: one commit per file, with the evidence, skill or rule it fed, `chore(rules): slim <file>`. `git revert` undoes it. A file outside Git keeps its `.slim.bak` copy. 8. **Weigh again.** `node scripts/weigh.cjs --compare <work>/before.json`. Show before, after and the gain. Counts are estimates; `/context` in a fresh session gives the exact one. For stale references, suggest `/doctor prompt-audit` (Claude Code 2.1.283 or later) in one line.

Read more
@mirkobozzetto
Ships witharsenal

Portable workflow skills and controlled runtime for Pi, OMP, Codex, and Claude Code

2311 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
23
Star history of mirkobozzetto/arsenal on GitHub, a chart by star-history.com

Other skills on arsenal.

arsenal

arsenal

Use when the user invokes Arsenal, needs help choosing an approach, or wants an end-to-end task handled with the installed…

brief

brief

Write a product brief and its task list when the user requests a product specification. Never implement it.

issue

issue

Create, update or resume a GitHub or Linear issue as durable resolution memory when requested.

nap

nap

Session nap in Claude Code - save where the session stands with trace, clear it, and resume it with next, with no question and no…

next

next

Start a session from what was left - trace saves, briefs, proposals, review reports, issues - and ask what to continue. Never…

propose

propose

Design a concrete technical proposal with evidence and tradeoffs when a decision needs design. No implementation or automatic…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about slim.

Which coding agents can use slim?
slim installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.