Claude Code hook
Claude Code Setup
My full Claude Code configuration — agents, skills, hooks, plugins, and global instructions
Install
git clone https://github.com/tomascortereal/claude-code-setup.gitFrom the README
Claude Code Setup My full Claude Code configuration — agents, skills, hooks, plugins, and global instructions. How It Works Interactive diagram: docs/architecture.drawio (open in diagrams.net). What's Included Quick Install Then edit ~/.claude/settings.json to fill in your personal values (API URL, OTEL endpoint, etc.). Plugins Official (claude-plugins-official) — 12 plugins Third-Party — 3 plugins OpenAI (openai/codex-plugin-cc) — 1 plugin LSPs (Piebald-AI/claude-code-lsps) — 3 plugins MCP Servers Standalone MCP servers configured globally via ~/.claude/.mcp.json (not part of the plugin system): Install: uvx code-review-graph serve (runs via uvx, no global pip install needed). Standalone Skills (External) Skills installed globally via pip/uvx (not part of the plugin system): Install: uvx --from graphifyy graphify install (auto-detects Claude Code, installs skill to ~/.claude/skills/graphify/). Architecture See docs/ARCHITECTURE.md for the full directory tree, model config, hook details, and exact counts. Hooks 8 hook files, 6 wired in settings.json: Global Memory Memory is global (shared across all projects), not project-scoped. The global-memory-symlink.sh hook runs on every session start to ensure new projects automatically use the shared memory at ~/.claude/memory/. Customization After installing, you'll want to: 1. settings.json — Set your ANTHROPIC_BASE_URL, OTEL endpoint, and resource attributes 2. CLAUDE.md — Adjust the decision rules and tool preferences to match your workflow 3. memory/ — Add your own memory files (communication preferences, dev profile, etc.) See docs/CUSTOMIZATION.md for detailed guidance. Requirements - Claude Code CLI installed - Node.js 18+ - Git
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- tomascortereal/claude-code-setup
- Type
- Hooks
- Language
- JavaScript
- Last updated
- 8 April 2026
FAQ
What is Claude Code Setup?
My full Claude Code configuration — agents, skills, hooks, plugins, and global instructions It is a hook for Claude Code, from tomascortereal/claude-code-setup on GitHub.
How do I install Claude Code Setup?
Clone tomascortereal/claude-code-setup from GitHub and follow the setup steps in its README.
Is Claude Code Setup popular?
tomascortereal/claude-code-setup has 64 GitHub stars and 25 forks. It was last updated on 8 April 2026.
More hooks
Claude Code Message Timestamps
77zoharbabin/claude-code-message-timestamps
Show local time on every Claude Code message, and let Claude know when each prompt was sent. Zero-config plugin, cross-OS, graceful degradation.
Claude Code Plugin Template
68ivan-magda/claude-code-plugin-template
GitHub template for creating Claude Code plugin marketplaces. Includes plugin scaffolding, validation commands, hooks, skills, agents, and CI/CD workflows. Ready-to-use toolkit for teams distributing Claude Code plugins.
Deepsafe Scan
77XiaoYiWeio/deepsafe-scan
Universal preflight security scanner for AI coding agents — Detects hooks injection, credential exfiltration & backdoors in .cursorrules, CLAUDE.md, AGENTS.md and more.
Agent Security
78mintmcp/agent-security
Hooks for Claude Code and Cursor for secrets scanning
Claude Code Blueprint
73faizkhairi/claude-code-blueprint
A battle-tested, framework-agnostic reference architecture for Claude Code. Beginner-friendly with graduated adoption (minimal / standard / core / full presets). 12 agents, 19 skills, 15 hooks, 6 rules, with reasoning behind every decision.
Claude Plugins
71hrconsultnj/claude-plugins
Claude Code plugin — code quality hooks, knowledge graph, impact-aware reviews, decomposition enforcement. Babysitter for your AI's code quality.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.