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 samibs/skillfoundry --skill test-mapgit clone --depth 1 https://github.com/samibs/skillfoundryWrote 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/samibs/skillfoundry/test-map)<a href="https://agentmods.dev/skills/samibs/skillfoundry/test-map"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/test-map/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/samibs/skillfoundry/test-map"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/test-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00010 | $0.02618 |
| Opus 5.5 | $0.00004 | $0.01047 |
| Sonnet 5.5 | $0.00002 | $0.00524 |
| Haiku 4.5 | $0.00001 | $0.00262 |
Grade A, and why
test-map 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 1mo 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 — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/test-map — Test Cases Documentation Generator
Read every test file in the project, classify each test by value tier, and produce a structured HTML deliverable documenting what is tested, why, and how good the coverage actually is.
Usage
/test-map Generate full report for current project
/test-map [path] Generate report for a specific directory
/test-map --format=html Output as HTML file (default)
/test-map --format=md Output as Markdown
/test-map --open Generate HTML and open in browser (if tool available)
Output saved to: docs/test-map-[YYYY-MM-DD].html (or .md)
Instructions
You are the Test Cartographer. You read every test file in the project, understand what each test actually verifies (not just what its name says), classify it by business value tier, and produce a deliverable-grade HTML report that a client, auditor, or engineering lead can read and act on.
This is NOT a static checker. You READ the test bodies. You UNDERSTAND the assertions. You EXPLAIN the value in plain language.
Phase 1: Discovery
Find all test files matching these patterns:
*.spec.ts *.spec.tsx *.test.ts *.test.tsx
*.spec.js *.test.js
test_*.py *_test.py
*.Tests.cs *Tests.cs
*Test.java *Spec.java
*_test.go
Exclude: node_modules/, dist/, .next/, build/, coverage/, __pycache__/
For each file, record:
- File path (relative to project root)
- Number of test cases (
it(...),test(...),it.each(...),@Test,def test_) - Framework detection (Jest, Vitest, pytest, NUnit, JUnit, Go test)
Phase 2: Classification
Read each test file body. Classify the file's primary tier based on what the tests actually do:
Tier 1 — Business Logic (HIGH VALUE)
A file is Tier 1 if ANY test in it:
- Asserts conditional rendering or visibility based on input combinations
- Verifies state transitions (step 1 → step 2, open → closed, disabled → enabled)
- Tests data transformation rules (format strings, concatenation, filtering logic)
- Validates business rules (permission checks, validation logic, calculation correctness)
- Verifies that specific fields are/aren't exposed (information hiding)
- Tests orchestration: component A calls service B with exact payload shape
- Tests multi-step flows (open popup → reset form → call API with formatted payload)
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.
- 1mo ago First seen · 257 lines · 10 tokens per session scan A 9b13f8aa85ea
test-map is a skill published in the GitHub repository samibs/skillfoundry (12 stars, last pushed 23d ago), licensed MIT. It adds 10 tokens to every session and 2,618 once invoked, about $0.0000 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-09-03.
Other skills, from other repositories
ring:running-dev-cycle
Running the backend dev cycle: implements every task in a rolling-wave plan.md (ring:writing-plans format) for a Go/TS service, driving specialist agents through Gate 0 implementation/TDD, Gate 8 parallel review, and Gate 9 validation per epic, elaborating later phases at each phase boundary. Use when starting or…
ring:writing-skills
Writing or editing a Ring skill: SKILL.md structure, frontmatter and Agent-Search-Optimization rules, token-efficiency targets, and bulletproofing (Iron Law, rationalization tables, Red Flags) so discipline-enforcing skills resist excuses. Use when creating or revising a skill. Delegates pressure-testing to…
ring:detecting-goroutine-leaks
Detecting goroutine leaks in Go: greps for goroutine patterns, audits goleak coverage (VerifyTestMain/VerifyNone), runs goleak, and dispatches ring:backend-go to fix leaks and add regression tests. Use after implementation or during review when code spawns goroutines or a leak is suspected. Runs before…
ring:test-driven-development
Enforcing the RED-GREEN-REFACTOR loop: write one failing test and watch it fail, write minimal code to pass, then refactor green. Use when starting implementation of a new feature or bugfix, or writing any new production code. Requires pasted failure output as proof of RED; code written before its test must be…
ring:validating-acceptance-criteria
Validating a completed task against its acceptance criteria, mapping each AC to evidence, and gating completion on explicit user sign-off (self-approval prohibited). Gate 5 of ring:running-dev-cycle / ring:running-dev-cycle-frontend, run at task cadence after ring:reviewing-code. Use when implementation and tests are…
ring:creating-handoffs
Creating a handoff document that captures session state (completed work, decisions, open items, next steps) and delivering it via Plan Mode so the user gets the native 'clear context and continue implementing' resume option. Use when ending a session, when context grows large, or the user says 'handoff', 'save…