portfolio-audit

portfolio-audit is an agent for Claude Code from w2ur/claude-code-setup. It costs 40 tokens per session (1,366 once invoked), scanned A, original, MIT.

An auditing agent that checks a project against a defined set of portfolio standards, such as author signatures, secret protection, ignored files, and test-file placement.

In plain words
What is it for?
Use it to inspect HTML or JSX signatures, search for API keys and personal data, check .gitignore coverage, and report other listed portfolio violations.
Why use it?
It finds compliance problems before a release or review without changing the project. This helps identify missing required files, exposed sensitive data, and unused code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it to inspect HTML or JSX signatures, search for API keys and personal data, check .gitignore coverage, and report other listed portfolio violations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/w2ur/claude-code-setup/portfolio-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/w2ur/claude-code-setup

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for portfolio-audit

README.md
[![agentmods](https://agentmods.dev/badge/agents/w2ur/claude-code-setup/portfolio-audit/github.svg)](https://agentmods.dev/agents/w2ur/claude-code-setup/portfolio-audit)
Your own site
<a href="https://agentmods.dev/agents/w2ur/claude-code-setup/portfolio-audit"><img src="https://agentmods.dev/badge/agents/w2ur/claude-code-setup/portfolio-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for portfolio-audit

Your own site · 80×15
<a href="https://agentmods.dev/agents/w2ur/claude-code-setup/portfolio-audit"><img src="https://agentmods.dev/badge/agents/w2ur/claude-code-setup/portfolio-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01366
Opus 5.5 $0.00016 $0.00546
Sonnet 5.5 $0.00008 $0.00273
Haiku 4.5 $0.00004 $0.00137

Measured 2mo ago against content hash f1bc884d5229, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

portfolio-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/portfolio-audit.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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. Author signature

Search the files that render — HTML, JSX, TSX, .astro, .vue, .svelte, Python templates, i18n/translation .ts/.json, and .md/.mdx only under content/, pages/ or src/ — for the signature in either language, "Made with care by {author-first-name}" or "Fait avec soin par {author-first-name}", linking to https://{portfolio-site-url}. README.md, CLAUDE.md, .claude/, docs/, plans/ and strategy/ quote the rule without rendering it, so a match there never counts as a footer. Run from the repo root:

sig='Made with care by|Fait avec soin par'
ex=(--exclude-dir={node_modules,dist,build,out,.next,.astro,.git,.claude,docs,plans,strategy} --exclude={README.md,CLAUDE.md})
{ grep -rliE "$sig" . "${ex[@]}" --include={'*.html','*.jsx','*.tsx','*.astro','*.vue','*.svelte','*.py','*.j2','*.jinja','*.ts','*.json'}
  grep -rliE "$sig" . "${ex[@]}" --include={'*.md','*.mdx'} | grep -E '/(content|pages|src)/'; }
# A repo with no page or template file at all (a CLI, a library, a proxy) has
# no footer to render: its README is the only page anyone sees, so there the
# README signature counts.
ui=$(find . \( -name node_modules -o -name .git -o -name dist -o -name build \) -prune -o -type f \( -name '*.html' -o -name '*.jsx' -o -name '*.tsx' -o -name '*.astro' -o -name '*.vue' -o -name '*.svelte' -o -name '*.j2' -o -name '*.jinja' \) -print -quit)
[ -z "$ui" ] && grep -liE "$sig" README.md 2>/dev/null

The name usually sits inside the link, so the command matches the prefix; read each listed file for the link. No output means the footer is missing. Report if:

  • The footer is completely missing
  • The text is present but the link is wrong or missing
  • Exception: if the project's CLAUDE.md explicitly opts out of the signature, note it and skip

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +14 lines f1bc884d5229
  2. 3mo ago First seen · 88 lines · 40 tokens per session scan A f484f57523ac

Subscribe to this mod's changes

portfolio-audit is an agent published in the GitHub repository w2ur/claude-code-setup (1 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,366 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

portfolio-audit compared with agents from other repositories

portfolio-audit next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
portfolio-auditw2ur/claude-code-setupAgent1yesterdayMITA40Claude Code
code-reviewerFlorianBruniaux/claude-code-pluginsAgent475d agoMITA34Claude Code
integration-reviewerFlorianBruniaux/claude-code-pluginsAgent475d agoMITA59Claude Code
architecture-reviewerFlorianBruniaux/claude-code-pluginsAgent475d agoMITA45Claude Code
output-evaluatorFlorianBruniaux/claude-code-pluginsAgent475d agoMITA22Claude Code
ccf-spec-checkernaniiluja/ccfAgent91mo agoMITA78Claude Code
ccf-scope-checkernaniiluja/ccfAgent91mo agoMITA119Claude Code