Claudia
askclaudia.dev- Category
- Developer Tools
- Rank
- No. 3415Tools index
Previous survey · No. 3290 ·
- Listed in
- #2 Review code for security
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Software Testing & Quality · Coding
- Interfaces
- Agent Skill / Plugin
- Builder
- @0xthegipper
- GitHub
- 4 stars
- Date
About
A mentor plugin for Claude Code that catches security bugs, teaches coding best practices, and coaches your prompts in real-time. It automatically scans code for vulnerabilities, provides contextual guidance, and helps improve AI coding workflows.
What it does
Claudia adds a second voice to Claude Code sessions. It installs as a plugin through npm, then attaches small Python scripts to the moments Claude Code exposes: before a file is written, when a prompt is submitted, when a session starts, when context is compacted, and when Claude finishes a turn. The write-time scripts look for leaked credentials and common mistakes; the conversation scripts inject short notes telling Claude to ask clarifying questions or explain a term. A set of advice documents covers choices like databases, cloud hosting and API style.
Why it's ranked here
The credential blocker is the real asset. It checks every file edit against fourteen patterns, from cloud access keys and personal access tokens to database connection strings with embedded passwords, and refuses the write rather than just warning. That behaviour has its own test suite covering each pattern, the file exemptions, repeat hits and malformed input. MIT licensed, a single install command, and a clear per-level switch for how chatty it gets. The coaching half is lighter: fixed phrase lists aimed at beginners.
What's good
Blocking is used sparingly and on purpose: credentials stop the write, while style and accessibility checks only warn. Prompt coaching is capped at three nudges per session and ignores slash commands, so it cannot take over a conversation. The turn-end behaviours run in a single process in a fixed order and only one speaks per turn, which keeps noise down. Users can silence specific topics or whole behaviours in a config file, and the contributing guide forbids network calls in any hook.
Tradeoffs
The credential check exempts any file whose full path contains words like test, spec, mock or fixture as plain substrings, so a folder named inspector or latest skips scanning entirely. It also remembers each file and secret type per session and lets the second identical attempt through, so a retried write succeeds. Coaching matches a short list of exact phrases, which catches only the vaguest prompts. Every hook needs Python 3 on the machine, and the npm package and plugin manifest declare different version numbers.
How to use it well
Fits people new to Claude Code, or teams who want a local backstop against committing keys. Start at the default moderate level, which acts on security and major anti-patterns, and raise it to high only if you want vague-prompt coaching. Keep real config files out of paths containing the exempt words, and treat the block as a first line, not a replacement for a proper secret scanner in CI. Experienced users will likely want to mute milestones and next-step suggestions.
Technical notes+
hooks/hooks.json registers eight python3 scripts on PreToolUse (matcher Edit|Write|MultiEdit, 10s timeout) plus one script each for Stop, PreCompact, SessionStart and UserPromptSubmit. hooks/scripts/check-secrets.py holds 14 regexes in SECRET_PATTERNS, exits 2 to block, skips any file_path containing a SKIP_PATTERNS substring ('test', 'spec', 'mock', '.md' and others), and dedups by file+type in a per-session state file under ~/.claude; tests/test_check_secrets.py asserts the second hit exits 0. hooks/scripts/claudia-stop-dispatch.py imports four modules in order, first non-empty result wins, exceptions swallowed, with a 2s lock. hooks/scripts/claudia-prompt-coach.py sets MAX_COACHING_PER_SESSION = 3. package.json runs a postinstall script to configure the shell.
Observed
- License
- MIT (LICENSE)
- Distribution
- npm package with a postinstall script (package.json)
- Interface
- Claude Code plugin: slash commands, skills and hooks (.claude-plugin/plugin.json, hooks/hooks.json)
- Hook language
- Python 3 scripts invoked via python3 (hooks/hooks.json)
- Secret blocking
- 14 regex patterns, exit code 2 blocks the write (hooks/scripts/check-secrets.py)
- Tests
- pytest suite configured in pyproject.toml, including tests/test_check_secrets.py
- Default proactivity
- moderate (config/defaults.json)
Read from README.md, package.json, pyproject.toml, .claude-plugin/plugin.json, hooks/hooks.json, hooks/scripts/claudia-stop-dispatch.py, hooks/scripts/check-secrets.py, hooks/scripts/claudia-prompt-coach.py, skills/claudia-mentor/SKILL.md, config/defaults.json, tests/test_check_secrets.py, LICENSE.
What it can do
Scan code for security vulnerabilities
Source code files → List of identified security bugs and vulnerabilities
Provide coding best practices guidance
Code snippets or development context → Contextual recommendations and best practice suggestions
Coach AI coding prompts in real-time
User prompts for AI code generation → Improved prompt suggestions and coaching feedback
Analyze AI coding workflows
Coding workflow patterns and interactions → Workflow improvement recommendations
Detect code quality issues
Code repositories or files → Code quality assessment and improvement suggestions
Tags
Tech Stack
Media

Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.