By ch4rl3i
Small, tested Claude Code plugins: hand-off integrity, hidden acceptance tests, worktree cleanup, memory routing, MCP health, long-run state.
npx claudepluginhub ch4rl3i/claude-code-kitPrefixes Agent/SendMessage hand-offs with the user's latest words, verbatim, so subagents know who decided what.
Hidden acceptance scenarios: a build route, a validator agent that uses the app like a user, and a guard that keeps scenarios from builders.
Removes git worktrees whose work is clean, pushed, unlocked and not in use, after a git push and at session end.
UserPromptSubmit hook that injects the best-matching lines of your MEMORY.md index, with optional local embeddings via Ollama.
A `mcp-health` command that checks every MCP server Claude Code knows about, with an ignore list and optional proxy check.
STATE.md discipline for long unattended runs, with PreCompact/SessionStart hooks that carry it across context compaction.
Skill: collect real references and agree the design direction with the user before building anything visual.
Skill: find out which step of an inconsistent skill varies by splitting it into steps and comparing runs.
7-day visitors to each marketplace page
Small, tested plugins for Claude Code, extracted from one person's daily setup. Plain Python 3 (standard library only), no network except an optional local Ollama.
Long agentic sessions fail in boring, repeatable ways:
Every hook is defensive: on any error it exits 0 and stays silent, so it can never break a session.
/plugin marketplace add CH4RL3I/claude-code-kit
/plugin install owner-words@claude-code-kit
/plugin install holdouts@claude-code-kit
/plugin install worktree-cleanup@claude-code-kit
/plugin install prompt-router@claude-code-kit
/plugin install mcp-health@claude-code-kit
/plugin install long-run@claude-code-kit
/plugin install references-first@claude-code-kit
/plugin install skill-step-check@claude-code-kit
Install only what you want; the plugins are independent. Hooks need python3 on your PATH. Run the test suite with python3 -m unittest discover -s tests.
What. A PreToolUse hook on Agent and SendMessage. It prefixes the brief with your latest message, verbatim:
FROM THE USER, word for word: "<your message>"
Brief written by Claude (the coordinating session), not by the user. The words above are context for who decided what; your task is only this brief:
<the brief>
Why. A subagent otherwise sees only the model's paraphrase of your request. With your actual words attached it can tell what you decided from what the coordinator assumed.
Config. OWNER_WORDS_NAME sets the name in the marker (OWNER_WORDS_NAME=Alice gives FROM ALICE, word for word:). Default: the user.
Limits.
SendMessage (a <cross-session-message arrived after you last spoke) it adds nothing, because your last words belong to another task.op:// references) are replaced by [redacted]; messages over 2000 characters are cut. This is a heuristic, not a guarantee.transcript_path) from the hook payload.What. A full build route with hidden acceptance tests: size the work, write 3-8 user-level scenarios with the plan, build in parallel slices, then let a separate holdout-validator agent use the real app and run scenarios the builders never saw. Includes mutation checks ("tests with teeth") and a regression gate. Ships a skill (holdouts), an agent (holdouts:holdout-validator), a holdout CLI (added to PATH by the plugin) and a guard hook.
Why. Builders tend to grade their own homework. Hidden scenarios plus a validator that behaves like a user catch what unit tests written by the builder do not.
Use.
holdout add <project> <slug> < scenarios.md # stored in ~/.holdouts/<project>/<slug>.md, mode 700/600
holdout ls [project]
holdout path <project> <slug>
Then invoke the holdouts skill and follow its route. The validator returns PASS/FAIL/BLOCKED per scenario with evidence.
Config. HOLDOUTS_DIR moves the storage directory (the guard then protects that path too).
Limits.
PreToolUse on Read|Grep|Glob|Bash|Edit|Write|MultiEdit|NotebookEdit) denies every subagent except holdout-validator access to the literal .holdouts (or HOLDOUTS_DIR) and the holdout CLI. The main session is not restricted. It is a speed bump for honest agents, not a sandbox.What. Removes git worktrees that are safe to remove. Runs as a hook after a Bash command containing git push (PostToolUse) and at SessionEnd, as a detached background process.
Why. Agent workflows create many worktrees; once the branch is pushed the folder is just clutter.
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.