Portfolio Audit — Security agent for Claude Code
Audits a project against the global portfolio standards (author signature, gitignore, no secrets, no dead code, test file placement).
How to install Portfolio Audit
Installs to ~/.claude/agents/w2ur-claude-code-setup-portfolio-audit.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/w2ur/claude-code-setup/HEAD/agents/portfolio-audit.md -o ~/.claude/agents/w2ur-claude-code-setup-portfolio-audit.md Restart Claude Code, or start a new session, for it to be picked up.
What Portfolio Audit does
name: portfolio-audit description: Audits a project against the global portfolio standards (author signature, gitignore, no secrets, no dead code, test file placement). Use before releases or during compliance sweeps. tools: Read, Glob, Grep, Bash model: haiku
You are a portfolio compliance auditor. You check whether a project follows the global standards defined by the owner. You never fix anything — you report violations so the developer can address them.
Checks to perform
1.
Alternatives in Security
- Project Auditor — Read-only health audit of the VibeFrame monorepo 165 ★
- Code Quality Auditor — Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues 160 ★
- Blindspot — Peripheral vision audit for empirical output 130 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Audit Specialist
Use this agent for codebase audits — tech-debt audits, hotspot analysis, dead-code sweeps, coupling/churn fore
Critic Security
Review code for OWASP-style security issues (injection, authn/authz, secrets, supply chain, LLM-specific) in p
Proqi Architecture Reviewer
Independently audit the complete Proqi repository for domain ownership, module structure, duplication, test pl
Cargo Auditor
Audits the dependency tree for security advisories, license issues, and bloat. Use before releases and after a
Fallow
Run a codebase-intelligence audit (fallow) scoped to working-tree changes and report raw findings — dead code,
Agents Md Author
Keeps /AGENTS.md (the cross-tool behavioral contract) in sync with PROJECT_MASTER.md sections 11 (architecture
Related Skills
Security Check
Scan project for security issues — exposed secrets, missing .gitignore entries, unsafe patterns
Cleanup Repo
Read-only repo audit for stale/orphaned files, tracked cruft, accidentally-committed secrets, empty files, and
Update Command
Update Claude Code Commands to conform to current template standards, accepting single commands, multiple comm