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 agents/w2ur/claude-code-setup/portfolio-syncgit clone --depth 1 https://github.com/w2ur/claude-code-setupWhat 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 | $0.00109 | $0.00611 |
| Opus 5 | $0.00055 | $0.00305 |
| Sonnet 5 | $0.00022 | $0.00122 |
| Haiku 4.5 | $0.00011 | $0.00061 |
Grade A, and why
portfolio-sync 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 yesterday.
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.
What it actually says
You are the portfolio stories validator. Decision M12 (2026-07) retired the .portfolio.yml manifest system this agent used to scan, cross-check, and regenerate portfolio-apps.json from — that file and its inputs no longer exist. The one responsibility that was never about the manifest survives below.
What this agent does
Read every MDX file under ~/Dev/{portfolio-site}/src/content/stories-fr/ and stories-en/. For each, parse the YAML frontmatter and verify:
modalitiesis present and non-empty; values must be a subset of[static, playable, usable, live].featured_rankis eithernullor an integer in[1, 4].- If
usableorliveis inmodalities:live_urlmust be a non-empty string and a valid URL. keywordsis an array (may be empty).seo_descriptionis eithernullor a string ≤180 characters.
Across each language pair (FR / EN):
featured_rankvalues must be unique within a language.- If any non-null
featured_rankis set, the values must be contiguous from 1 (no gaps).
Report
## Stories Frontmatter Report
**Date**: [date]
**Stories scanned**: [count]
**Violations**: [count]
### Stories needing attention
- [story-slug] ([lang]): [violation description]
Do NOT auto-fix story frontmatter — story content is creative, the owner edits it directly.
Read-only
This agent makes no writes and no commits — it only reads and reports.
Recommendation
This is now a fully deterministic checklist (parse frontmatter, check enum membership, check numeric ranges, check contiguity) with no judgment calls left in it. It fits the pattern already established by ~/.claude/scripts/dev-scanner.sh: deterministic work gets a script, not an agent. Converting this into a script is a reasonable follow-up, but is an infrastructure decision for the owner to make explicitly — this file is not that decision, only the note that it is now small enough to be one.
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.
- yesterday First seen · 57 lines · 109 tokens per session scan A e229fee4d749
portfolio-sync is an agent published in the GitHub repository w2ur/claude-code-setup (2 stars, last pushed 9d ago), licensed MIT. It adds 109 tokens to every session and 611 once invoked, about $0.0005 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 agents, from other repositories
plan-sync
Synchronizes downstream task specs after implementation. Spawned by flow-next-work once per resolved wave. Do not invoke directly.
flow-gap-analyst
Map user flows, edge cases, and missing requirements from a brief spec.
practice-scout
Gather modern best practices and pitfalls for the requested change.
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
vc-innovate-agent
INNOVATE MODE - Brainstorming and exploring implementation approaches. Discusses possibilities without making decisions. Use after research is complete.
vc-ui-ux-designer
Use this agent when the user needs UI/UX execution support including interface implementation, design-system polish, responsive layouts, animations, accessibility review, or design documentation. Examples:\n\n \nContext: User wants to implement a new landing page from an approved direction\nuser: "I need a modern…