Radin setup hooks
Wire up per-repo hooks/MCP config for radin's companion tools (code-review-graph). Use for "set up hooks", "wire up code-review-graph", "enable the knowledge graph here", or right after install.sh in a new project.From its SKILL.md
npx -y skills add shortcuts/radin --skill radin-setup-hooksAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, 485 tokens by cl100k_base, as published. Nobody here has run it
radin: Set Up Companion-Tool Hooks
install.sh installs companion tool binaries globally (rtk, code-review-graph, caveman). No per-repo config wiring. That config — MCP server registration, hooks, CLAUDE.md instructions — repo-scoped, needs setup once per project. Skill does that setup, for repo user currently in.
Scope
Only code-review-graph needs this step today. caveman = Claude Code plugin — hooks register globally at plugin-install time, nothing repo-scoped to do. rtk = CLI, no hook/MCP wiring. Radin adds more per-repo-wired companion tools later, extend this skill rather than write new one.
Steps
- Confirm
code-review-graphinstalled:command -v code-review-graph. Missing: tell user run radin'sinstall.shfirst (or install themselves), stop — don't install it from this skill. - Confirm user in repo they want wired (check
git rev-parse --show-toplevel, show path). Doesn't look right: ask. - Preview first: run
code-review-graph install --platform claude-code --dry-run, show user exactly which files it will write/edit (typically.mcp.jsonand append toCLAUDE.md/AGENTS.md). - Ask explicit y/n confirmation before writing anything — edits files in user's repo. State plainly: "This will write
.mcp.jsonand append graph-tool instructions to CLAUDE.md in<repo path>. Proceed?" - Yes: run
code-review-graph install --platform claude-code -y. - No: stop. Don't run any variant of install command.
Never pass --no-hooks or --no-instructions unless user specifically asks skip one — skill's whole point full wiring.
Non-goals
- Don't touch global
~/.claude/state — that'sinstall.sh's job, already done. - Don't run against repo user didn't ask about.
- Don't silently re-run if config already exists.
code-review-graph installsafe to re-run (idempotent, per own contract), but still confirm with user first, per step 4.
What ships with it: 1 file
137 B alongside SKILL.md
agents/
- openai.yaml137 B