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 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/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.
<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="Reviewed on agentmods" width="80" 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.00041 | $0.01699 |
| Opus 5.5 | $0.00016 | $0.00680 |
| Sonnet 5.5 | $0.00008 | $0.00340 |
| Haiku 4.5 | $0.00004 | $0.00170 |
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 2d 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 — 99 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.
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 the hub tells are appended to
editorial.ts(see below) — there is no numeric sort field to default.
Documentation
- README: plus the Layer 2 pitch block (below). Created at project init, never boilerplate. It is a landing page, not the manual — the shape below is checked by
docs-checker.
README landing-page shape
GitHub readers decide in the first screen; private READMEs are re-entry docs for the owner and agents. Same shape for both, lighter for private.
- Nothing renders above the H1. Only the pitch comment may precede it.
- First screen (about 25 rendered lines): H1 = the pitch
name; one-line promise;**Status:**line — one of in use · maintained · frozen · prototype · archived, plus public/private; the live link; then one picture for a public app. - Why, 1–3 sentences, taken from the owner's own material (hub stories in
{portfolio-site}/src/content/stories-*, infolettre and devlog texts —post.md/source.md, never*.proposed.md). Load the owner's voice skill first (named in the global CLAUDE.md). Never invent a reason: without a source, write<!-- why: owner to write -->. - Keep: what, why, status, run locally (commands that work today, env via
.env.example), deploy in one paragraph, a short Documentation link list, the signature footer. Move out: history, incident narratives, rationale, specification rules, structure trees and long env tables go todocs/*.md. Only rules an agent must obey go to CLAUDE.md, which is billed every session. - Length: a public README stays under about 150 lines. Private: no cap, but history still moves out.
- No hand-typed counts, versions or file inventories in prose. Derive them (a badge, a link to the data) or omit them.
- Badges only when they report something that changes: CI, npm version, license, live-site status, store version. No static or vanity badges (last commit, "made with").
- Pictures live in
docs/media/(never a deployed or bundled path), each with alt text saying what it shows. Use<picture>dark/light sources when the UI has both themes, and a GIF for an interactive app (≤ 5 MB, about 10 s, ffmpeg palette). Capture with a standalone headless Playwright process, not the shared MCP browser. - Language: public README in English. A bilingual public app adds
README.fr.mdwith only the landing part (promise, why, status, links) and a switch line atop both. French-native projects stay in French. - On every change, fix what became false; never append the story of the change.
- CLAUDE.md: project-specific only, never duplicates global rules. Written in English.
- No per-repo manifest file. Project metadata lives in the three layers below (decision M12).
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.
- 2d ago Changed 517be8033ce8
- 1mo ago Changed · +17 lines · -1 tokens per session 5d9c954d3826
- 2mo ago Changed · -15 lines · +21 tokens per session d87df8d6d996
- 2mo ago Changed 8ac784760cd0
- 3mo 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 (1 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,699 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.
portfolio-conventions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| portfolio-conventionsw2ur/claude-code-setup | Skill | 1 | yesterday | MIT | A | 41 | Claude Code |
| audit-agents-skillsFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 41 | Claude Code |
| check-cache-bugsFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 38 | Claude Code |
| land-and-deployFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 41 | Claude Code |
| issue-triageFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 65 | Claude Code |
| pr-triageFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 73 | Claude Code |
| eval-rulesFlorianBruniaux/claude-code-plugins | Skill | 47 | yesterday | MIT | A | 82 | Claude Code |