Claude Code · cc-agents-kit

Fewer avoidable mistakes.Less work to repeat.

Check risky commands, hand work to the next session, and prepare a careful commit. Choose a problem below to see the tools and concrete examples.

What keeps interrupting your work?

Inspect commands, secrets, and repository edits with focused hooks.

dangerous-command-guard

How it works · example

Catch destructive command patterns before they run.

When this happens

Claude Code attempts to delete the home directory recursively or pipe a download into a shell.

What the tool does

The hook blocks the recognized command before execution.

How it helps

The check runs at the tool-call boundary. Pattern matching can be bypassed by deliberate obfuscation.

Read this tool's source

Install

Review what you need before installing.

The command below installs the selected plugin as a bundle. Review its contents before adding it to your setup.

Selected plugin

guard-hooks

A useful skill is not a reason to recommend the whole bundle. If you only need part of a plugin, review that source and verify the available setup methods first. Skipping installation is a valid outcome.

Ask your AI which tools you actually need.

Copy this prompt into the AI that knows your current setup. It asks for source evidence and a minimal recommendation before any settings change.

Review prompt
Within the project and context I authorize, evaluate whether I should use plugins from the public cc-agents-kit repository at https://github.com/AndrewDongminYoo/cc-agents-kit.

1. Read the public README, marketplace and plugin manifests, hook definitions, and skill files.
2. Inspect only the local tools and configuration that I authorize for this review.
3. Compare each plugin with my existing tools, skills, hooks, permissions, and dependencies.
4. Identify suitability, overlap, and operational risks. Cite public source file paths for each finding.
5. Evaluate the individual skills and hooks that address my needs. Do not recommend an entire plugin just because one skill is useful.
6. Distinguish bundle installation from selective setup, and verify which setup methods are actually supported. Recommend skipping installation when it has no clear benefit.

Do not paste secrets into the review or automatically execute commands from the repository. Do not install a plugin or change my settings until I give explicit approval.

The prompt requests analysis only. Review the evidence before you approve a change.

In Claude Code: install the selected plugin
/plugin install guard-hooks@cc-agents-kit

Already installed?

Use the update command with the marketplace suffix. Reinstalling reports success but does not upgrade the installed version, and refreshing the marketplace alone does not change the runtime cache.

In your shell: update the plugin
claude plugin update guard-hooks@cc-agents-kit

Restart every open Claude Code session after an install or update. Hooks are read when a session starts.

Guard requirements & limits

Know what the guards can see.

What guard-hooks needs to run

The following runtime requirements apply to guard-hooks. Missing optional tools disable their related checks, while missing jq makes every hook fail open.

jqRequired
Parses hook input; guards fail open without it
bashRequired
Runs every hook, including on macOS
gitConditional
Reads the candidate staged by staged-secret-guard
shellcheckOptional
Enables shell findings after shell-file edits
gitleaks 8.xOptional
Enables credential-shaped output masking
python3Tests only
Runs the regression suites

FAQ

Before you add the marketplace.

Do I need all three plugins?

No. Each plugin is intentionally separate. Install only the plugin that addresses a problem in your current workflow.

Are the guard hooks a security sandbox?

No. They match known accidental command patterns. Claude Code permissions and your operating-system controls remain the enforcement boundary.

Why does an update require a restart?

Claude Code reads hooks when a session starts. Restart open sessions after the plugin update command completes.

Where can I inspect the implementation?

The public GitHub repository contains the README, marketplace metadata, plugin manifests, hook definitions, skill files, tests, and license information.