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
Critic Security
Review code for OWASP-style security issues (injection, authn/authz, secrets, supply chain, LLM-specific) in p
Content Eeat Analyst
Read-only content quality specialist. Use proactively during an audit to evaluate E-E-A-T (author identity, cr
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,
Bcs
Cryptographer and security technologist. Author of Applied Cryptography (1994, 1996), Secrets and Lies (2000),
Ae Reviewer
Agent Engineer reviewer. Adversarial code reviewer. Judges a diff against its plan across spec fidelity, corre
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
Revelio
Reveal what's hidden — secrets, TODOs, dead code, risky deps