battle-test

battle-test is a command for GitHub Copilot from HoangNguyen0403/agent-skills-standard. It costs 22 tokens per session (537 once invoked), scanned A, original, MIT.

A command workflow that audits a directory of SKILL.md files against a shared standard for coding-agent skills. It finds skill files, checks their structure and triggers, and produces a scored report with a staged repair plan.

In plain words
What is it for?
Use it to count and inspect skills, detect missing sections and broad file patterns, check length limits, review a sample against a rubric, and prioritize remediation.
Why use it?
It makes inconsistent, incomplete, or overly broad skill instructions easier to find and fix. Without an audit, important format and verification problems can remain hidden across many files.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

Good fit Use it to count and inspect skills, detect missing sections and broad file patterns, check length limits, review a sample against a rubric, and prioritize remediation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hoangnguyen0403/agent-skills-standard/battle-test
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.

Clone the repo
git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard

Made for: GitHub Copilot.

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 battle-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/hoangnguyen0403/agent-skills-standard/battle-test/github.svg)](https://agentmods.dev/commands/hoangnguyen0403/agent-skills-standard/battle-test)
Your own site
<a href="https://agentmods.dev/commands/hoangnguyen0403/agent-skills-standard/battle-test"><img src="https://agentmods.dev/badge/commands/hoangnguyen0403/agent-skills-standard/battle-test/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 battle-test

Your own site · 80×15
<a href="https://agentmods.dev/commands/hoangnguyen0403/agent-skills-standard/battle-test"><img src="https://agentmods.dev/badge/commands/hoangnguyen0403/agent-skills-standard/battle-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 537 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.00022 $0.00537
Opus 5 $0.00011 $0.00269
Sonnet 5 $0.00004 $0.00107
Haiku 4.5 $0.00002 $0.00054

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

Security

Grade A, and why

battle-test 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 6d 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.

.github/prompts/battle-test.prompt.md · 61 lines

What it actually says

⚔️ Battle Test Orchestrator

Goal: Evaluate every SKILL.md in the target directory against common-skill-creator. Deliver a quantified health report and prioritized remediation plan.


Step 1 — Target Discovery & Tech Stack

Identify the tech stack and all skill files.

# Count total skills per category
find . -name "SKILL.md" | sed 's|/[^/]*/SKILL.md||' | sort | uniq -c

Step 2 — Frontmatter Audit (Breadth Scan)

Run scans to detect format and structure violations.

  1. Check for missing mandatory sections: grep -rL "triggers:\|priority:\|Anti-Patterns" <SKILLS>/
  2. Check for broad glob triggers: grep -r "src/\*\*" <SKILLS>/
  3. Check for length limits: find . -name "SKILL.md" -exec awk 'END{if(NR>100) print FILENAME": "NR" lines"}' {} \;

Step 3 — Deep Audit & Scoring

Pick every P0 (CRITICAL) and a random sample of P1/P2 skills. Evaluate them against the Grading Rubric in: <SKILLS>/common/common-skill-creator/references/rubric.md when synced.

  1. Trigger Accuracy: File patterns + keywords?
  2. Format Quality: **No X**: Do Y. anti-patterns?
  3. Verification: Mandatory checklists?
  4. Token Efficiency: Under 100 lines? Imperative mood?

Step 4 — Scored Report

Scoring Algorithm: Start at 100 points for each category. Apply deductions for findings (🔴-15 / 🟠-8 / 🟡-3 / 🔵-1).

📊 Report Format

Output the report using the Battle Test Report and Phased Plan templates in: <SKILLS>/common/common-skill-creator/references/rubric.md when synced.


Step 5 — Interactive Follow-up

  1. "Generate a task.md for Phase 1 remediation?"
  2. "Fix the worst offender in [category] now?"
  3. "Deep-dive audit on a specific category (e.g., security)?"
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. 6d ago First seen · 61 lines · 22 tokens per session scan A cfc1e68998a8

Subscribe to this mod's changes

battle-test is a command published in the GitHub repository HoangNguyen0403/agent-skills-standard (565 stars, last pushed 3d ago), licensed MIT. It adds 22 tokens to every session and 537 once invoked, about $0.0001 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-09-06.