portfolio-conventions

portfolio-conventions is a skill for Claude Code, Codex from w2ur/claude-code-setup. It costs 21 tokens per session (1,215 once invoked), scanned A, original, MIT.

Shared rules for keeping multiple portfolio projects consistent in their naming, authorship details, data structure, and support for light and dark display modes. Each project still keeps its own visual identity.

In plain words
What is it for?
Use it when creating or updating portfolio projects, adding them to the portfolio site, choosing names, handling themes, or applying shared project conventions.
Why use it?
It prevents accidental naming patterns, missing portfolio updates, inconsistent attribution, and unwanted differences in common project behavior.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/w2ur/claude-code-setup/portfolio-conventions
Any agent
npx skills add w2ur/claude-code-setup --skill portfolio-conventions
Clone the repo
git clone --depth 1 https://github.com/w2ur/claude-code-setup

Made for: Claude Code, Codex.

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-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/w2ur/claude-code-setup/portfolio-conventions.svg)](https://agentmods.dev/skills/w2ur/claude-code-setup/portfolio-conventions)
Your own site
<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>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00021 $0.01215
Opus 5 $0.00010 $0.00607
Sonnet 5 $0.00004 $0.00243
Haiku 4.5 $0.00002 $0.00121

Measured 5d ago against content hash cd881e463d02, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

skills/portfolio-conventions/SKILL.md · 97 lines

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

Read the full file on GitHub · 97 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. 5d ago First seen · 97 lines · 21 tokens per session scan A cd881e463d02

Subscribe to this mod's changes

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.

Related

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…

mindfold-ai/Trellis · 65 tokens

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…

natsukium/dotfiles · 89 tokens

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.

withkynam/vibecode-pro-max-kit · 34 tokens

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.

withkynam/vibecode-pro-max-kit · 52 tokens

bootstrap-prd

Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.

joshukraine/dotfiles · 25 tokens

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…

sebastienrousseau/dotfiles · 137 tokens