www-ergarcade: Skill for Claude Code

.claude/skills/add-tool-card/SKILL.md

add-tool-card is a skill for Claude Code from ergarcade/www-ergarcade. It costs 103 tokens per session (1,754 once invoked), scanned C, original, MIT.

A step-by-step process for publishing a PM5 app as a tool card on the ergarcade website. It covers checking the app, deploying it to GitHub Pages, taking a screenshot, and adding its written card.

In plain words
What is it for?
Use it when adding a PM5 utility or app to www-ergarcade, including testing its Mock transport version, deploying it, and documenting it.
Why use it?
It removes the need to remember a cross-repository publishing process or guess how tool cards are structured.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is ergarcade/www-ergarcade's own configuration. It tells Claude Code how to work on www-ergarcade itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything www-ergarcade configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ergarcade/www-ergarcade. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ergarcade/www-ergarcade/master/.claude/skills/add-tool-card/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ergarcade/www-ergarcade

Made for: Claude Code.

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 add-tool-card

README.md
[![agentmods](https://agentmods.dev/badge/skills/ergarcade/www-ergarcade/add-tool-card/github.svg)](https://agentmods.dev/skills/ergarcade/www-ergarcade/add-tool-card)
Your own site
<a href="https://agentmods.dev/skills/ergarcade/www-ergarcade/add-tool-card"><img src="https://agentmods.dev/badge/skills/ergarcade/www-ergarcade/add-tool-card/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 add-tool-card

Your own site · 80×15
<a href="https://agentmods.dev/skills/ergarcade/www-ergarcade/add-tool-card"><img src="https://agentmods.dev/badge/skills/ergarcade/www-ergarcade/add-tool-card.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00103 $0.01754
Opus 5 $0.00051 $0.00877
Sonnet 5 $0.00021 $0.00351
Haiku 4.5 $0.00010 $0.00175

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

Security

Grade C, and why

add-tool-card scanned grade C with 2 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (screenshot-mock.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf public resources .hugo_build.lock

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl` every asset path the HTML references) — confirms nothing 404s before
.claude/skills/add-tool-card/SKILL.md · 149 lines

How it starts

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

Adding a new tool card to www-ergarcade

This is a cross-repo, mechanical process: most of it happens in the tool's own repo (a sibling directory, e.g. ../virtual-monitor), and the last step happens here in www-ergarcade. First worked through end-to-end for virtual-monitor — see that repo's git history and this repo's content/tools/virtual-monitor.md for a worked example.

Read CLAUDE.md's "Adding a new tool card" section first for the front matter schema and card conventions. This file is the detailed how-to.

0. Figure out the category

Tools vs Visualisations are different content/ sections with different front matter conventions (see CLAUDE.md). A PM5-connected utility or app is a Tool. A generative/visual thing driven by pace data with no real "utility" purpose is a Visualisation. If it's genuinely unclear which, ask the user rather than guessing — don't invent a third category.

1. Verify the app works, in its own repo

cd ../<tool-repo>
git status --short          # clean tree, expected branch
node --test                 # or whatever its test command is

Also do a quick local-serve smoke test (e.g. python3 -m http.server + curl every asset path the HTML references) — confirms nothing 404s before you build a whole deploy pipeline around it.

2. Add a GitHub Pages deploy workflow, in its own repo

Check whether .github/workflows/deploy-pages.yml (or similar) already exists — if the tool already deploys, skip to step 3. Otherwise, copy the pattern from an existing sibling repo (pm5-base or virtual-monitor) and adapt only the build step's file list to that repo's own layout:

  • pm5-base deploys example/ (a subfolder) + lib/, and has to rewrite ../lib/ path references since flattening the subfolder into the site root changes relative paths.
  • virtual-monitor deploys straight from the repo root (index.html, app.js, etc.) plus the pm5-base submodule's lib/ — no path rewriting needed since index.html already references pm5-base/lib/... directly.
  • If the tool vendors pm5-base as a submodule, the checkout steps need with: { submodules: true }, and the build step's cp -r of lib/ must be recursive so lib/mock-data/ (including the sample CSV) comes along — it's a normal tracked file, not LFS, so a plain recursive copy is enough.

Read the full file on GitHub · 149 lines

Files

What ships with it

1 file 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. 11d ago First seen · 149 lines · 103 tokens per session scan C 3ae313b662ed

Subscribe to this mod's changes

add-tool-card is a skill published in the GitHub repository ergarcade/www-ergarcade (2 stars, last pushed 1mo ago), licensed MIT. It adds 103 tokens to every session and 1,754 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens