guard-hooks
dangerous-command-guard
Catch destructive command patterns before they run.
Claude Code attempts to delete the home directory recursively or pipe a download into a shell.
The hook blocks the recognized command before execution.
The check runs at the tool-call boundary. Pattern matching can be bypassed by deliberate obfuscation.
zsh-quoting-guard
Catch quoting mistakes before zsh changes the meaning.
A find command contains an unquoted filename glob.
The hook blocks the command and asks for the glob to be quoted.
It checks known zsh quoting traps. Quoted-heredoc handling deliberately stops scanning later content.
pathless-rewriter-guard
Give formatters an explicit boundary.
Claude Code prepares a formatter write command without a target path.
The hook blocks execution until a path or quoted glob is supplied.
The check covers a known list of rewriters. Aliases and package scripts can hide commands from it.
staged-secret-guard
Check what is about to enter a commit.
Staged additions contain a recognized credential pattern when a commit is requested.
The hook blocks the commit so the staged content can be corrected.
It scans added commit content for high-confidence patterns, not every possible secret.
secrets-path-guard
Keep live secret files out of tool access.
Claude Code requests access to a live credential file.
The hook blocks a recognized secret path while allowing supported example files.
Literal paths in prose can also trigger this pattern matcher.
lockfile-drift-check
Notice a manifest edit that leaves the lockfile behind.
package.json changes without its sibling lockfile being regenerated.
A warning is added after the edit to flag possible lockfile drift.
This is a post-edit reminder. It does not block the edit or regenerate the lockfile.
shellcheck-on-edit
See shell lint findings while editing.
A shell script is edited and contains an issue recognized by ShellCheck.
ShellCheck findings are attached to the tool result.
The hook uses the installed ShellCheck binary. It does nothing when ShellCheck is unavailable.
output-secret-mask
Mask recognized tokens in Bash output.
A Bash command prints a credential pattern recognized by the scanner.
The recognized value becomes [REDACTED] before entering the model transcript.
It runs after execution and requires gitleaks. Only recognized patterns in Bash output under 2 MB are covered.
/plugin install guard-hooks@cc-agents-kit
context-handoff
handoff
Start the next session with the decisions already made.
Work needs to move to a fresh session at a clear stopping point.
The skill prints a self-contained brief in chat for you to copy into the next session.
You carry the brief into the next session. Summaries lose detail, so use a handoff when context must cross a boundary.
session-export
Turn a session into something you can read later.
You need to review a local Claude conversation without every tool response getting in the way.
The session becomes Markdown with tool calls collapsed or omitted.
The export stays local. Default exports truncate individual tool results; choose options for the evidence you need.
log-it
Put a lasting finding where it will be read again.
You discover a project convention that future sessions should know.
The finding is routed to the relevant memory store and index.
The destination follows the intended audience. Memory does not replace repository documentation or an unfinished-work handoff.
wayfinder
Find the next decision in a large, unclear task.
A feature spans several sessions, but its specification is not yet clear.
A map under docs/plans/ breaks the uncertainty into decision tickets.
Resolve one decision ticket at a time. The skill plans work and stops before implementation.
context-budget
See what may be consuming your context budget.
Your setup has accumulated many skills and MCP tools.
An estimate ranks context overhead and possible reductions.
These are heuristic estimates for prioritizing inspection, not live runtime measurements.
config-gc
Review stale configuration before removing it.
An old hook or configuration entry may no longer be used.
The skill presents evidence and asks for an individual decision before reversible cleanup.
Removal requires approval for each item. It does not bulk-delete configuration on its own.
/plugin install context-handoff@cc-agents-kit
repo-gate
semantic-commit
Make a mixed diff easier to review.
A feature change and unrelated documentation edits are mixed together.
The skill inspects staged and unstaged work and groups changes into Conventional Commits.
Existing staged work is preserved. Creating commits still depends on the authority you have granted.
setup-trunk
Choose repository checks from the actual project.
A repository needs a quality gate, but its stack and existing violations vary.
The skill inspects the repository before proposing scoped Trunk checks.
It uses repository evidence rather than assuming one language or an initially clean codebase.
ci-babysit
Find out why CI failed before trying to fix it.
A pushed branch fails a lockfile check in CI.
The skill reads the logs and classifies the failure before proposing a repair.
Watching is read-only. Reruns, repairs, commits, and pushes require explicit authority.
fix-osv-vulnerabilities
Trace a vulnerability to the dependency that brings it in.
OSV reports a vulnerable transitive dependency with an applicable patched version.
The advisory and dependency path guide the fix, followed by verification of the resolved graph.
Overrides are scoped by installed major where needed. Suppression requires reachability evidence and explicit approval.
cspell-triage
Fix spelling reports without filling a dictionary with mistakes.
CSpell flags a known ecosystem term such as pytest.
The skill classifies the finding, enables the appropriate dictionary, and reruns the project gate.
It distinguishes typos, ecosystem terms, and project vocabulary instead of adding every unknown token to a dictionary.
/plugin install repo-gate@cc-agents-kit