test-classification

test-classification is a skill for Claude Code from ashaykubal/essential-agents-skills. It costs 14 tokens per session (2,236 once invoked), scanned A, a copy of test-classification, MIT.

An internal prompt template for the first stage of a test-audit workflow. It quickly classifies test files and flags which ones need deeper inspection before later stages examine mocks and produce the final report.

In plain words
What is it for?
Use it as part of the Test Audit pipeline to triage test files before mock detection and audit synthesis. It is not intended for direct user invocation.
Why use it?
It gives the larger audit process an organized starting point instead of deeply analyzing every test file in the same way. It is meant to support the audit orchestrator rather than be used alone.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Good fit Use it as part of the Test Audit pipeline to triage test files before mock detection and audit synthesis. It is not intended for direct user invocation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashaykubal/essential-agents-skills/test-classification
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 ashaykubal/essential-agents-skills --skill test-classification
Clone the repo
git clone --depth 1 https://github.com/ashaykubal/essential-agents-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashaykubal/essential-agents-skills/test-classification/github.svg)](https://agentmods.dev/skills/ashaykubal/essential-agents-skills/test-classification)
Your own site
<a href="https://agentmods.dev/skills/ashaykubal/essential-agents-skills/test-classification"><img src="https://agentmods.dev/badge/skills/ashaykubal/essential-agents-skills/test-classification/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 test-classification

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashaykubal/essential-agents-skills/test-classification"><img src="https://agentmods.dev/badge/skills/ashaykubal/essential-agents-skills/test-classification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod 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.00014 $0.02236
Opus 5 $0.00007 $0.01118
Sonnet 5 $0.00003 $0.00447
Haiku 4.5 $0.00001 $0.00224

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

Security

Grade A, and why

test-classification scanned grade A with 1 finding 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 9d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| Imports system modules (`child_process`, `fs`, `http`) | Note for risk assessment |
Origin

This is a copy

92% identical to test-classification — 641 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/test-classification/SKILL.md · 311 lines

How it starts

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

Test Classification

Prompt template for surface-level test classification and triage. Designed for a Haiku sub-agent to quickly categorize test files and flag those needing deep analysis.


When to Use This Skill

This is an internal skill loaded by the orchestrator during Test Audit pipeline.

Context Action
/test-audit invoked Orchestrator loads this skill for Stage 1
Test Audit pipeline triggered by hook Orchestrator loads this skill for Stage 1
Need to classify test files Load directly as prompt template for Haiku

DO NOT use for:

  • Direct user invocation (not user-invocable)
  • Mock detection (use mock-detection skill)
  • Full audit synthesis (use test-audit skill)

Role in Test Audit Pipeline

This skill provides the first stage prompt template:

test-audit (P0.8) orchestrates:
  Stage 1: test-classification (Haiku) → classification YAML
  Stage 2: mock-detection (Sonnet) → violations YAML
  Stage 3: synthesis (Sonnet) → audit report

The orchestrator loads this skill and constructs a 4-part prompt for a general-purpose Haiku sub-agent.


4-Part Prompt Template

GOAL

Classify all test files in {target} by type and flag files needing deep analysis for mock appropriateness.

CONSTRAINTS

  • Do NOT modify any files
  • Classify every test file found
  • Use filename-first classification (content validates)
  • Flag mock+integration mismatches for deep analysis
  • Use AST verification_lines as ground truth when provided in context (do NOT re-count). Only fall back to manual counting if AST data is unavailable.
  • Complete within 30 tool calls

CONTEXT

Target directory: {target}

Test file patterns: *.test.*, *.spec.*, test_*, *.integration.*, *.e2e.*

Classification rules: See "Classification Logic" section below

Deep analysis triggers: See "needs_deep_analysis Triggers" section below

Read the full file on GitHub · 311 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. 9d ago First seen · 311 lines · 14 tokens per session scan A 334707cc1d8d

Subscribe to this mod's changes

test-classification is a skill published in the GitHub repository ashaykubal/essential-agents-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 2,236 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 92% identical to test-classification, differing in 641 lines, and is treated as a copy.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens