ways-tests

ways-tests is a skill for Claude Code from aaronsb/claude-code-config. It costs 49 tokens per session (6,917 once invoked), scanned A, original, MIT.

A collection of commands for testing how well an instruction, called a way, matches a prompt and for checking its metadata. It can score matches, find missing vocabulary, validate files, and inspect structure or token budgets.

In plain words
What is it for?
Use it to rank matching ways, analyze vocabulary gaps, lint way files, test scoring, and measure tree structure, overlap, or token cost.
Why use it?
It helps maintainers detect weak matching, incomplete wording, invalid metadata, and inefficient instruction structures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; positional $N argument.

Good fit Use it to rank matching ways, analyze vocabulary gaps, lint way files, test scoring, and measure tree structure, overlap, or token cost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaronsb/claude-code-config/ways-tests
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 aaronsb/claude-code-config --skill ways-tests
Clone the repo
git clone --depth 1 https://github.com/aaronsb/claude-code-config

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 ways-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronsb/claude-code-config/ways-tests/github.svg)](https://agentmods.dev/skills/aaronsb/claude-code-config/ways-tests)
Your own site
<a href="https://agentmods.dev/skills/aaronsb/claude-code-config/ways-tests"><img src="https://agentmods.dev/badge/skills/aaronsb/claude-code-config/ways-tests/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 ways-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaronsb/claude-code-config/ways-tests"><img src="https://agentmods.dev/badge/skills/aaronsb/claude-code-config/ways-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,917 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.00049 $0.06917
Opus 5.5 $0.00020 $0.02767
Sonnet 5.5 $0.00010 $0.01383
Haiku 4.5 $0.00005 $0.00692

Measured 2mo ago against content hash 94f8b02b1e21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ways-tests 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 2mo 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/ways-tests/SKILL.md · 702 lines

How it starts

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

ways-tests: Way Matching & Vocabulary Tool

Test how well a way matches sample prompts, analyze vocabulary for gaps, and validate frontmatter.

Usage

/ways-tests score <way> "prompt"          # Score one way against a prompt
/ways-tests score-all "prompt"            # Rank all ways against a prompt
/ways-tests suggest <way>                 # Analyze vocabulary gaps
/ways-tests suggest <way> --apply         # Update vocabulary in-place
/ways-tests suggest --all [--apply]       # Analyze/update all ways
/ways-tests lint <way>                    # Validate frontmatter
/ways-tests lint --all                    # Validate all ways
/ways-tests check <check> "context"       # Test check scoring curve
/ways-tests check-all "context"           # Rank all checks against context
/ways-tests tree <path>                   # Analyze progressive disclosure tree structure
/ways-tests budget <path>                 # Token cost analysis for a way tree
/ways-tests jaccard <tree>                # Sibling vocabulary isolation for a tree
/ways-tests jaccard <way1> <way2>         # Vocabulary overlap between two specific ways
/ways-tests crowding "prompt"             # Detect vocabulary crowding across all ways
/ways-tests compare <path1> <path2>       # Side-by-side tree metrics comparison
/ways-tests metrics                       # Show tree disclosure metrics for current session
/ways-tests embed-status                  # Embedding engine health dashboard
/ways-tests embed-score <way> "prompt"   # Cosine similarity score for one way
/ways-tests embed-score-all "prompt"     # Cosine similarity ranking across all ways

Engine Hierarchy

The matching pipeline has three tiers. Always report which tier is active before presenting scores — the numbers mean different things across tiers:

Tier 1 — Embedding (primary, ~20ms batch)
  ways embed: cosine similarity, 0–1 scale
  Threshold field: embed_threshold (per-way, default: 0.35)
  Fires when: cosine(query, way) >= embed_threshold

Tier 2 — BM25 (fallback when embedding model missing)
  ways match: BM25 relevance score, unbounded scale
  Threshold field: threshold (per-way, default: 2.0)
  Fires when: BM25_score >= threshold

Read the full file on GitHub · 702 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. 2mo ago First seen · 702 lines · 49 tokens per session scan A 94f8b02b1e21

Subscribe to this mod's changes

ways-tests is a skill published in the GitHub repository aaronsb/claude-code-config (18 stars, last pushed 6mo ago), licensed MIT. It adds 49 tokens to every session and 6,917 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

clawbench-base

Run and diagnose ClawBench evaluations through ClawMind and ClawWeb. Use when the user wants to trigger /clawbench, inspect benchmark progress, locate run artifacts, or troubleshoot evaluation execution.

inclusionAI/Avernet · 46 tokens

clawbench-report

A workflow that reads one ClawBench evaluation and writes a Markdown diagnostic report. The report can summarize scores, task outcomes, failures, evidence, and likely causes when the data is available.

inclusionAI/Avernet · 50 tokens

data-data-contracts

Use this skill when asked about data contract, data agreement, schema contract, producer/consumer contract, schema evolution, compatibility, data SLA, dbt contracts, or data product contract. This skill enforces: data contract definition with schema, semantics, SLA, and ownership, contract enforcement in CI/CD, schema…

j4flmao/agent-skills · 109 tokens

deploy-registry-server-with-otel

Deploy the ToolHive Registry Server to a Kind cluster with telemetry enabled. Use when you need to deploy the registry server for testing with OTEL metrics and tracing.

stacklok/toolhive-registry-server · 40 tokens

governance-validator

Validate FCVW structure, schemas, ownership, plan states, reading routes, Markdown and wiki health, and clean-template boundaries. Use before structural closeout, after moving governed files, or when auditing the framework. Do not use to change a skill or policy's content.

Sistema2D/FrameCode-VibeWork · 59 tokens

smoke-test

Start the Registry Server via docker compose and run a suite of curl-based smoke tests covering system, read-only MCP API, admin API, entry lifecycle, and OAuth/auth enforcement scenarios.

stacklok/toolhive-registry-server · 40 tokens