skill-portfolio-repo-placement-scan

skill-portfolio-repo-placement-scan is a skill for Claude Code from wan-huiyan/claude-ecosystem-hygiene. It costs 291 tokens per session (1,895 once invoked), scanned A, original, MIT.

A scanning method for deciding where a collection of authored Claude Code skills belongs across repositories. It recommends skills to add, update, or link instead of copying.

In plain words
What is it for?
Use it to compare skills with target repositories, identify missing or outdated placements, record update directions, and decide when a repository should link to an existing skill.
Why use it?
It prevents duplicate skills, misplaced content, and outdated copies across repositories with different purposes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the skill-portfolio-repo-placement-scan plugin — 1 skill shipped together

Good fit Use it to compare skills with target repositories, identify missing or outdated placements, record update directions, and decide when a repository should link to an existing skill.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan
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.

Any agent
npx skills add wan-huiyan/claude-ecosystem-hygiene --skill skill-portfolio-repo-placement-scan
Clone the repo
git clone --depth 1 https://github.com/wan-huiyan/claude-ecosystem-hygiene

Made for: Claude Code.

Or install skill-portfolio-repo-placement-scan, the plugin that ships this one along with the rest of its 1 skill.

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 skill-portfolio-repo-placement-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan/github.svg)](https://agentmods.dev/skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan)
Your own site
<a href="https://agentmods.dev/skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan"><img src="https://agentmods.dev/badge/skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan/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 skill-portfolio-repo-placement-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan"><img src="https://agentmods.dev/badge/skills/wan-huiyan/claude-ecosystem-hygiene/skill-portfolio-repo-placement-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 291 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,895 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.00291 $0.01895
Opus 5 $0.00146 $0.00948
Sonnet 5 $0.00058 $0.00379
Haiku 4.5 $0.00029 $0.00189

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

Security

Grade A, and why

skill-portfolio-repo-placement-scan 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 12d 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.

plugins/skill-portfolio-repo-placement-scan/SKILL.md · 142 lines

How it starts

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

Skill-Portfolio → Repo Placement Scan

When you maintain dozens of authored skills and several themed repos (bundles, marketplaces, lesson collections), skills end up in the wrong place or nowhere: a worktree lesson that belongs in the parallel-agents bundle sits loose in ~/.claude/skills/, a repo's published copy of a skill drifts behind the local one, or the same skill gets copied into two repos and the copies diverge. This skill maps the portfolio to the repos cleanly.

The output is a recommendation report — per repo: ADD / UPDATE / CROSS-LINK / NOTES. Do not mutate any repo as part of this scan; mutating is a separate, confirmed step.

Why the naive approach fails (read this first)

The instinct is "grep skill names/descriptions for each repo's theme keywords and recommend the matches." That produces garbage, for three reasons this skill exists to prevent:

  1. Repos are not homogeneous — match on FUNCTION, not theme. A liberal lesson collection absorbs any on-theme lesson; a curated workflow bundle has a high bar and should reject general lessons that merely share keywords. Each repo needs its own function-level inclusion test, not a shared keyword filter. Expected yield differs wildly per repo (high / moderate / low / near-zero) — and "nothing fits" is a correct, valuable answer for a focused repo.

  2. Portfolio duplication. Many candidates are already homed — as their own standalone repo, or inside a sibling target repo. Recommending those as ADDs creates cross-repo copies that drift. They must be detected and downgraded to CROSS-LINK (mention in README, don't bundle).

  3. "Update" needs a real method. The installed copy at ~/.claude/skills/<name> is often just stale install-lag, not an improvement — so it isn't automatically the source of truth. UPDATE detection means comparing version: / last_verified: frontmatter (and body size) between the repo copy and the most-developed local copy, and reporting the direction of divergence.

Read the full file on GitHub · 142 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 142 lines · 291 tokens per session scan A baa457a6a592

Subscribe to this mod's changes

skill-portfolio-repo-placement-scan is a skill published in the GitHub repository wan-huiyan/claude-ecosystem-hygiene (1 stars, last pushed 26d ago), licensed MIT. It adds 291 tokens to every session and 1,895 once invoked, about $0.0015 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

session-handoff

End-of-session handoff that captures session knowledge, dispatches output across the canonical 7-bucket docs/ taxonomy (decisions/runbooks/analysis/references/reviews/handoffs/deliverables — aligned with memory-hygiene v3.3), triggers a doc-freshness reverse-lint + skill-freshness audit to catch stale normative…

wan-huiyan/context-baton · 247 tokens

successor-handoff

Use when orchestrating long-running autonomous work — overnight runs, multi-hour research, multi-track experiments, 10+ hour jobs — where a single Claude context window cannot hold the full run. Establishes a lean parent orchestrator, file-first subagents, and successor-handoff (fresh subagent spawned mid-run when…

wan-huiyan/context-baton · 163 tokens

ghost-blog

This skill should be used when the user wants to interact with a Ghost blog via its Content and Admin APIs. Relevant when the user says things like 'list my blog posts', 'create a new draft', 'publish my draft', 'schedule a post for tomorrow', 'upload an image to my blog', 'manage blog tags', 'show my Ghost site…

georgeguimaraes/claude-code-ghost · 118 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

traction-eos

Implement the Entrepreneurial Operating System (EOS) to align vision and execution across a company. Use when the user mentions "EOS", "Entrepreneurial Operating System", "V/TO", "quarterly rocks", "Level 10 meetings", "accountability chart", "IDS process", "my company feels chaotic", "we keep having the same…

wondelai/skills · 147 tokens

create-app

Guided journey from a raw app idea to a validated, cleanly architected first version that ships on a sustainable cadence. Orchestrates ten skills phase by phase - lean-startup, design-sprint, clean-architecture, domain-driven-design, clean-code, pragmatic-programmer, system-design, ios-hig-design, 37signals-way…

wondelai/skills · 217 tokens