Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The smallest useful slice of CCMAF, packaged as a Claude Code plugin so no per-project files are ever needed. Install once per machine; every repo gets:
/home, /Users, C:\Users), a core
system directory at the root (/etc, /usr, /bin, /sbin, /lib,
/lib64, /var, /boot, /opt, macOS /System, /Library,
/Applications, /private, C:\Windows, C:\Program Files*,
C:\ProgramData), or a whole block device — by recursive delete, move,
recursive chmod/chown/ACL rewrite, raw disk write or filesystem format;
plus fork bombs. It also judges strings re-run through eval, bash -c,
pwsh -Command and cmd /c. It deliberately does NOT judge git
(push --force, reset --hard, clean -fdx) or deletes of deeper or
project paths (rm -rf build, /usr/local/src/app) — opt-in wave mode,
below, is the one git exception. Heuristic
defence in depth, not a security boundary.CCMAF_WAVE_GUARD=1 (for one project: its
.claude/settings.json → "env": {"CCMAF_WAVE_GUARD": "1"}). While more
than one /ccmaf:build dispatch marker
(.claude/telemetry/.task-dispatch.<ID>, younger than 2 days) is armed,
scripts/wave-guard.sh (chained from the guard wrapper only when the flag
is set) blocks a subset of the git commands that sweep the shared tree:
git stash (except list/show), git checkout -- <paths> /
git checkout ., git restore (except --staged-only), git reset --hard, git clean (except -n), git add -A / --all / -u / .,
and git commit -a / --all. Heredoc bodies are not screened. With zero
or one marker armed it does nothing; a block it should not have made
usually means stale .claude/telemetry/.task-dispatch.* markers. It applies to every
caller (it cannot tell a worker from the orchestrator) and screens only
;/&&/||/|-separated segments that start with git; git run
inside bash -c or a script is not seen. Defence in depth, not a
boundary.claude plugin marketplace add drushegh/CCMAF
claude plugin install ccmaf-kernel@ccmaf --scope user
Update later — refresh the marketplace catalogue, then update the plugin
itself (marketplace update alone only refreshes the catalogue), then
restart Claude Code to load the new version:
claude plugin marketplace update ccmaf
claude plugin update ccmaf-kernel@ccmaf
In a project scaffolded with the full framework (marked by
.claude/.framework-version), the kernel self-defers: context injection
and the budget counter become silent no-ops (the framework's own instruction
set and lifecycle hooks take over), while the guard stays live.
FRAMEWORK_LINE=v2 — the ccmaf core plugin): this
plugin is the sole owner of the dangerous-command guard; core ships no
guard of its own and only monitors this one (its SessionStart
interpreter check). The kernel also warns at session start if the core
plugin shows no recent activity..claude/hooks/ and registered in .claude/settings.json): the project
registers its own byte-identical copy, so the guard runs twice. That never
changes the blocking decision (both copies see the same input), but each
screened command pays the guard's subprocess cost twice and bash-guard
telemetry totals count every command double.Per-project opt-out, if you ever need one: add
"enabledPlugins": {"ccmaf-kernel@ccmaf": false} to that project's
.claude/settings.json — the key must be marketplace-qualified
(plugin-name@marketplace-name); a bare "ccmaf-kernel" is silently
ignored. The interactive equivalent is /plugin disable ccmaf-kernel@ccmaf.
In a v2 project this removes the only dangerous-command guard, so do it
deliberately.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub drushegh/ccmaf --plugin ccmaf-kernelPlugins from other owners that cover similar ground