npx claudepluginhub effinrich/claude-modsSaves the task, plan and recent asks to a handoff file before each compaction, puts it back after, and warns when compaction starts thrashing.
Measures the fixed context every turn carries at session start, names the biggest contributors, and flags changes to global CLAUDE.md, enabled plugins and user hooks.
Keeps context use, session cost, compactions, rate limit and model in the status line, with warnings before the window fills.
Runs `claude plugin …` and `claude mcp …` typed at the prompt directly, without spending a model turn on them.
Blocks edits outside the task spec, made-up packages, check-weakening edits and destructive git; gates finishing, committing and /ship on passing checks.
Pins chosen skills (ponytail, feature-based-architecture and its own plain-writing by default) into the system prompt every session, so they are on from the start and survive compaction.
Plans a goal as a ticket graph, then runs specialist agents (designer, frontend, backend, tester, docs, reviewer) in parallel worktrees, each limited to the files its ticket owns, and merges their work into one branch.
7-day visitors to each marketplace page
Guardrails, compaction handoffs, drift checks and default skills for Claude Code, Codex CLI, Gemini CLI, Cursor and Copilot CLI. None of them call the model on their own.
npx --allow-git=all github:effinrich/claude-mods
--allow-git=all is needed from npm 12 on, which refuses to fetch packages from git by default (EALLOWGIT); older npm ignores it.
It detects which of the five tools you have and wires each one up. Claude Code gets its plugins from this repo's marketplace. The others get command hooks that call a small Node runtime copied to ~/.claude-mods/runtime/<version>/. Before editing any config file you own, it writes a .claude-mods-backup-<time> copy next to it.
| Command | Does |
|---|---|
npx --allow-git=all github:effinrich/claude-mods install | install (the default command) |
… update | reinstall with your last choices, after a new version lands |
… uninstall | remove only what it added (hook entries, /ship and /checks, copied skills, the marked instruction block) |
… doctor | what is installed where, a stale Node path in the hooks, tokens pinned into every turn, blocks per rule over the last 7 days, payload capture status, recent hook errors |
… project | add shared claude-mods files to the repo you are in; --remove takes them out (see below) |
Options: --tools claude,codex,gemini,cursor,copilot (default: detected), --mods guardrails,compaction-guard,context-audit,default-skills (default: all), --skills "ponytail:ponytail full", --dry-run.
Needs Node 20 or newer. MIT licensed.
| Codex | Gemini CLI | Cursor | Copilot CLI | |
|---|---|---|---|---|
| Block out-of-scope, lockfile and check-weakening edits | ✓ | ✓ | ◐ Write tool input is undocumented: blocked when a path is found | ◐ same for edit/create |
| Block made-up packages | ✓ | ✓ | ◐ | ◐ |
Block destructive git and --no-verify | ✓ | ✓ | ✓ | ✓ |
| Commit gate on checks | ✓ | ✓ | ✓ | ✓ |
| Plain wording in commit, PR and issue text | ✓ | ✓ | ✓ | ✓ |
| End-of-turn check gate (2 retries) | ✓ Stop | ✓ AfterAgent | ✓ stop follow-up | ✓ agentStop |
Long prompt saved as .claude/spec.md draft | ✓ | ✓ | ✓ | ✓ |
| Handoff saved before compaction | ✓ | ✓ | ✓ | ✓ |
| Handoff returned after compaction | ✓ SessionStart compact | ✓ next prompt | ◐ next session start | ◐ next session start |
| Drift check on global instruction files | ✓ | ✓ | ✓ | ✓ |
/ship and /checks | skills ($ship) | /ship command | skills | skills |
| Default skills (ponytail, plain-writing) always on | ✓ AGENTS.md | ✓ GEMINI.md | ◐ skill copied; add the rule in Cursor Settings → Rules, or per repo with project | ✓ copilot-instructions.md |
In a git repo the gates see every change to the working tree, including edits made through the shell, and skip the check run when nothing changed since the checks last passed. With no checks: in the spec they run the typecheck, lint and test scripts, with CI=true so test runners don't start in watch mode. At the end of a turn, a test script that is just vitest, vitest run or jest runs only the tests related to changed files (vitest run --changed, jest --onlyChanged); commits run the whole suite. With backgroundChecks on (auto does this for those changed-only runs; on for any checks, off never), the checks start in the background a moment after each edit; when the turn ends the gate uses that result if it was run on exactly the current files, waits for a run that is still going, or runs the checks itself if the files changed since. A repo with none of those gets a one-time notice instead of a silent pass. A reply that claims success ("tests pass", "all green", "fixed", "verified") is checked once per turn: if the checks fail, the agent is sent back to correct the reply. Codex and Gemini CLI pass the reply to their hooks; Cursor and Copilot don't, so they skip that part.
Not ported: context-meter (these tools have no custom status line command) and cli-passthrough (it is specific to Claude Code's own CLI). The context-percentage hold is also missing, because none of these tools tell hooks how full the context is, and so is the research-first hold, because their hooks don't see reads and searches. They get the matching instruction line instead.
/hooks.Then check it works: ask the agent to run git reset --hard. It should be refused with a guardrails: reason. If it isn't, run doctor and see ~/.claude-mods/hook.log.
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Plugins with agents, skills, and commands for Claude Code and six other coding tools. Local plugins are maintained as one Markdown source and adapted to each tool.