Skip to content
Agentmart
Submit a tool

install-hooks

X-7 per §23 — installs the packaged Claude Code hooks bundle (Stop, PreToolUse, PostToolUse, SessionStart subset) plus slash commands, agents, and detectors…

Skill by drumfiend21

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drumfiend21-install-hooks

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

X-7 per §23 — installs the packaged Claude Code hooks bundle (Stop, PreToolUse, PostToolUse, SessionStart subset) plus slash commands, agents, and detectors into a target settings.json. Idempotent; emits uninstall metadata so /uninstall-cleanup (O-3) can restore prior state.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/install-hooks

What's inside

Skill name
install-hooks
Description
X-7 per §23 — installs the packaged Claude Code hooks bundle (Stop, PreToolUse, PostToolUse, SessionStart subset) plus slash commands, agents, and detectors into a target settings.json. Idempotent; emits uninstall metadata so /uninstall-cleanup (O-3) can restore prior state.
License
Apache-2.0
Instructions
45 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# X-7 installable hooks bundle (§23 amendment)

Writes packaged hooks + slash commands + agents + detectors to the
target `settings.json`. Uninstall metadata block stamped at install
time so the cleanup path (O-3) can restore prior state without
auto-deleting audit-log or evidence directories.

## Invocation

```
/install-hooks [--scope user|project] [--include <component>...] [--dry-run] [--force]
```

- `--scope user|project` — install to `~/.claude/settings.json` (user)
  or `.claude/settings.json` (project). Default: `project`.
- `--include <component>` — install only this component (repeatable).
  Components: `hooks`, `commands`, `agents`, `detectors`.
- `--dry-run` — emit plan; no settings.json writes (per §2.14).
- `--force` — override the conflict refusal when target already has
  conflicting hook scripts. Logged to C-4 with conflict diff.

## Uninstall metadata block

```json
{
  "tdd_pro_installed_at": "<ISO 8601>",
  "tdd_pro_components": ["hooks", "commands", "..."],
  "tdd_pro_version": "<semver>",
  "tdd_pro_signature": "<sha256>"
}
```

## Idempotency

Re-running with no version change is a no-op. On version change,
runs the appropriate `migrations/<from>-to-<to>.sh` per O-3.

## Cross-references

- §23 v1.9.1 amendment (this skill)
- O-3 /uninstall-cleanup
- C-4 audit log
- §2.14 destructive command dry-run subjects

From drumfiend21/claude-tdd-pro, Apache-2.0.

More from drumfiend21/claude-tdd-pro

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 3, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from drumfiend21

Cite this page

install-hooks skill. Agent Mart. https://agentmart.dev/skills/drumfiend21-install-hooks (last updated 2026-10-24)