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.
npx agentmods add skills/w2ur/claude-code-setup/portfolio-conventionsnpx skills add w2ur/claude-code-setup --skill portfolio-conventionsgit clone --depth 1 https://github.com/w2ur/claude-code-setupWrote 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.
[](https://agentmods.dev/skills/w2ur/claude-code-setup/portfolio-conventions)<a href="https://agentmods.dev/skills/w2ur/claude-code-setup/portfolio-conventions"><img src="https://agentmods.dev/badge/skills/w2ur/claude-code-setup/portfolio-conventions.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.01215 |
| Opus 5 | $0.00010 | $0.00607 |
| Sonnet 5 | $0.00004 | $0.00243 |
| Haiku 4.5 | $0.00002 | $0.00121 |
Grade A, and why
portfolio-conventions 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portfolio Conventions
These are the active portfolio-wide rules. This skill is preloaded — do not invoke it manually.
Identity
- Each app has its own visual identity, name, and universe. No shared design system.
- Coherence comes from: author signature, quality standards, portfolio site, and the three-layer data system below.
- Portfolio site: {portfolio-site-url} — built from the three layers (see "Portfolio Manifest System" below), not from a hand-maintained JSON export.
- GitHub username: {github-username}. Dev directory: ~/Dev.
Naming
- All repos use kebab-case matching the folder name in ~/Dev.
- No unintentional naming patterns (an "-or" suffix once read as an agent-noun and forced a rename).
- New projects that get a hub tile are appended to
editorial.ts(see below) — there is no numeric sort field to default.
Signature
- Footer: "Made with care by {author-first-name}" with link to https://{portfolio-site-url}.
- Present by default on all apps. Opt-out must be explicit in project CLAUDE.md.
Dark/Light Mode
- All user-facing apps support dark and light mode via prefers-color-scheme.
- Manual toggle is optional per project. Opt-out requires justification in CLAUDE.md.
Documentation
- README: description, stack, local dev, deployment, plus the Layer 2 frontmatter block (below). Created at project init, never boilerplate.
- CLAUDE.md: project-specific only, never duplicates global rules. Written in English.
- No per-repo manifest file. Decision M12 (2026-07) retired
.portfolio.yml— 26 files × ~18 fields that nothing but the tooling policing them ever read. Three layers replace it.
Portfolio Manifest System (three layers, decision M12)
Layer 1 — Derived inventory. Nothing hand-typed.
~/Dev/{portfolio-site}/scripts/build-inventory.mjs, run from prebuild, writes ~/Dev/{portfolio-site}/src/data/inventory.json. Per repo it observes, via the GitHub API and the repo's own file tree — never declared by a human:
| field | source |
|---|---|
visibility, archived, description, homepage, license, pushed_at, stars |
GET /repos/{github-username}/<repo> |
stack |
presence of package.json / pyproject.toml / Cargo.toml / requirements.txt in the root tree |
deploy |
presence of vercel.json / netlify.toml / wrangler.toml |
pitch |
Layer 2 frontmatter parsed out of the repo's README.md |
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.
- 5d ago First seen · 97 lines · 21 tokens per session scan A cd881e463d02
portfolio-conventions is a skill published in the GitHub repository w2ur/claude-code-setup (2 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 1,215 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
trellis-brainstorm
Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex…
gui-debug
Verify a rendering or window-chrome change in any macOS GUI app unattended — find its CGWindowID via JXA, capture that window alone (with per-pixel alpha) using screencapture -l, and read exact RGBA via NSBitmapImageRep. Use for blur/opacity/corner-radius/glyph/color rendering bugs where a screenshot or pixel value is…
vc-autopilot
Emit and validate the provisional goal block for Autopilot Mode. Owns the 9-field format and resume detection from a pasted goal block.
vc-audit-vc
Audit agent harness health: Claude/Codex agent parity, skill registry consistency, README.md sync, and protocol file wiring. Use when agents, skills, README.md, or development-protocol files move, split, or drift.
bootstrap-prd
Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.
vibe
Delegate a coding task to a cheap AI model (Mistral Vibe by default, but any provider Vibe knows about — DeepSeek, Gemini Flash, etc.) and supervise the result via git diff. Claude orchestrates, the cheap model codes. Claude consumes 500-1500 tokens per delegation regardless of how many file reads the delegate does…