ergopti: Skill for Claude Code

.agents/skills/meta-test/SKILL.md

meta-test is a skill for Claude Code, Codex from adrienm7/ergopti. It costs 25 tokens per session (1,059 once invoked), scanned A, original, MIT.

A guide to tests that inspect source code instead of running program behavior. These tests check structural rules such as ordering and required source annotations.

In plain words
What is it for?
Use it when writing or maintaining source-scanning tests for drivers, including tests that read combined files, function bodies, or directories.
Why use it?
Some rules cannot be checked through runtime calls, and careless source paths can make these tests fragile or weaken their coverage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is adrienm7/ergopti's own configuration. It tells Claude Code and Codex how to work on ergopti 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 ergopti configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adrienm7/ergopti. 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/adrienm7/ergopti/main/.agents/skills/meta-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adrienm7/ergopti

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/adrienm7/ergopti/meta-test"><img src="https://agentmods.dev/badge/skills/adrienm7/ergopti/meta-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,059 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.00025 $0.01059
Opus 5.5 $0.00010 $0.00424
Sonnet 5.5 $0.00005 $0.00212
Haiku 4.5 $0.00003 $0.00106

Measured 15d ago against content hash aeed7d81930f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

meta-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 15d 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.

.agents/skills/meta-test/SKILL.md · 109 lines

How it starts

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

Writing source-scanning meta-tests

Meta-tests live in static/ergopti_plus/windows/tests/meta/ and assert structural invariants — "this hotkey is gated by #HotIf", "this constant is included before that loader" — that no runtime call can check.

Always read source through the helpers

Defined in tests/test_framework.ahk:

Helper Returns
_DriverSourceConcat() the whole driver source, concatenated
_DriverSourceNoComments() same, with comments stripped
_DriverFuncBody(Name) one function's body
_DriverDirConcat(RelDir) every file under one directory
_StripFullLineComments(Src) comment-stripped copy of any source string

Never hardcode a path like "platform/remap/lalt.ahk". A CI ratchet (tools/test/test-no-pinned-source-reads.cjs) fails the build when the count of location-pinned reads rises above BASELINE = 20.

Never raise that baseline to make a change pass — convert the test to a helper read instead. Raising it is the ratchet equivalent of weakening a test.

Why this works: each file's content is contiguous inside the concatenation, so relative order and "nearest preceding #HotIf" assertions stay valid even after the file is moved or renamed. State that reasoning in a comment — it is not obvious to the next reader.

The same rule on macOS — and it is automated

Lua tests use helpers.read_driver_source(symbol), never helpers.driver_root() .. "modules/foo/bar.lua". The twin ratchet is tools/test/test-no-pinned-source-reads-lua.cjs.

You should not have to think about this: the pre-commit hook blocks a staged Lua test that introduces a pinned read, and npm run fix:pinned-reads converts it for you. npm run lint:pinned-reads surveys the whole tree.

The one thing the fixer will not do for you is guess. read_driver_source returns every production file containing the symbol, concatenated — so a selector matching two files changes what a position-comparing assertion means, silently. The fixer therefore proves a candidate declaration is unique across the production tree before using it, and refuses when none is (_on_config_changed is assigned in two files — a real case). When it refuses, make the assertion order-independent first, then convert by hand.

Read the full file on GitHub · 109 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. 15d ago First seen · 109 lines · 25 tokens per session scan A aeed7d81930f

Subscribe to this mod's changes

meta-test is a skill published in the GitHub repository adrienm7/ergopti (14 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 1,059 once invoked, about $0.0001 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-10-14.

Related

Other skills, from other repositories

CI Pipeline Optimizer

Optimize CI test pipelines through intelligent test splitting, parallelization, caching strategies, and selective test execution based on code changes.

PramodDutta/qaskills · 29 tokens

data-scientist

!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults".

buiphucminhtam/forgewright · 52 tokens

Database Performance Testing

Database performance testing including query optimization, index analysis, connection pooling, slow query detection, and N+1 query prevention.

PramodDutta/qaskills · 28 tokens

Frontend Performance Testing

Frontend performance testing covering bundle size analysis, render performance, animation frame rate, React re-render detection, and lazy loading verification.

PramodDutta/qaskills · 29 tokens

template-code-project

Code-centric optimization research exemplar — gradient descent, convergence analysis, automated figures, dashboard, and publication-quality PDF.

docxology/template · 26 tokens

vectorbt-expert

VectorBT backtesting expert. Use when user asks to backtest strategies, create entry/exit signals, analyze portfolio performance, optimize parameters, fetch historical data, use VectorBT/vectorbt, compare strategies, position sizing, equity curves, drawdown charts, or trade analysis. Also triggers for openalgo.ta…

marketcalls/vectorbt-backtesting-skills · 85 tokens