matt1398/claude-devtools
The missing DevTools for Claude Code — inspect session logs, tool calls, token usage, subagents, and context window in a visual UI. Free, open source.
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit matt1398/claude-devtools/.claude ./rig-claude-devtools # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ curl -fsSL --create-dirs -o .claude/agents/claude-md-auditor.md https://raw.githubusercontent.com/matt1398/claude-devtools/main/.claude/agents/claude-md-auditor.md $ curl -fsSL --create-dirs -o .claude/agents/quality-fixer.md https://raw.githubusercontent.com/matt1398/claude-devtools/main/.claude/agents/quality-fixer.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "jq -r '.tool_input.file_path // empty' | { read f; for p in pnpm-lock.yaml .env dist/ dist-electron/ node_modules/; do if [ -n \"$f\" ] && echo \"$f\" | grep -q \"$p\"; then echo \"Blocked: $f matches protected pattern '$p'\" >&2; exit 2; fi; done;"
}
]
}
]
}
} Subagents (2)
| claude-md-auditor model: opus | Use this agent when CLAUDE.md files or .claude/rules/ files may have drifted from the actual codebase state. This includes after significant refactors, feature additions, file renames, directory restr |
| quality-fixer model: opus | Use this agent when the user wants to fix all code quality issues in the project, including linting, formatting, and unused code detection. This agent runs `pnpm fix` followed by `pnpm quality` in a l |
Hooks (3)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Edit|Write | jq -r '.tool_input.file_path // empty' | { read f; for p in pnpm-lock.yaml .env dist/ dist-electron/ node_modules/; do if [ -n "$f" ] && echo "$f" | grep -q "$p"; then echo "Blocked: $f matches protected pattern '$p'" >&2; exit 2; fi; done; |
| PostToolUse | Edit|Write|NotebookEdit | jq -r '.tool_input.file_path // .tool_input.notebook_path // empty' | { read file_path; if [ -n "$file_path" ] && echo "$file_path" | grep -qE '\.(ts|tsx|js|jsx)$'; then pnpm eslint --fix "$file_path" 2>/dev/null || true; fi; if [ -n "$file |
| SessionStart | compact | echo '[Post-compaction context reminder] - Package manager: pnpm only (not npm/yarn) - Path aliases: @main/*, @renderer/*, @shared/*, @preload/* - Electron 3-process: main/ (Node), preload/ (bridge), renderer/ (React), shared/ (cross-proces |
Slash commands (5)
/devtools/chatgroup-architecture/devtools/design-system/devtools/explain-visible-context/devtools/markdown-search-logic/devtools/navigation-scroll
Similar rigs
shinpr/claude-code-workflows
Development workflows for Claude Code that keep broad exploration focused on the outcome you approved.
Orchestrator 3.2k tok ·
anomalyco/opencode
The open source coding agent.
Pragmatist 4.2k tok ·
DietrichGebert/ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Pragmatist 1.6k tok ·
Shubhamsaboo/awesome-llm-apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
Pragmatist 4.2k tok ·