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 agentmods add commands/ashtanko/kotlin-app-template/testgit clone --depth 1 https://github.com/ashtanko/kotlin-app-templateWrote 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/commands/ashtanko/kotlin-app-template/test)<a href="https://agentmods.dev/commands/ashtanko/kotlin-app-template/test"><img src="https://agentmods.dev/badge/commands/ashtanko/kotlin-app-template/test.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00016 | $0.00456 |
| Opus 5 | $0.00008 | $0.00228 |
| Sonnet 5 | $0.00003 | $0.00091 |
| Haiku 4.5 | $0.00002 | $0.00046 |
Grade A, and why
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 5d 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.
What it actually says
Run the project's JUnit 5 unit tests with Gradle and report the result.
How to run
The argument is: $ARGUMENTS
- No argument (empty): run the full suite with
./gradlew test. - Argument given: run only the matching tests using Gradle's
--testsfilter. Always wrap the value in double quotes (backticked test names contain spaces):- Bare class name (e.g.
ExampleTest) →./gradlew test --tests "*ExampleTest" - Class + method (e.g.
ExampleTest.`Divide test`) →./gradlew test --tests "*ExampleTest.Divide test" - Fully-qualified pattern already containing the package (e.g.
dev.shtanko.template.ExampleTest) → pass it through verbatim to--tests.
- Bare class name (e.g.
If Gradle reports the test task as UP-TO-DATE and you need a genuine re-run,
re-run as ./gradlew cleanTest test (optionally with the same --tests filter).
Reporting
- Success: state how many tests ran/passed in one line. Don't dump the log.
- Failure: show only the failing test name(s) and the key assertion or exception
from the output — not the whole log. Then open the relevant test/source file,
explain the likely cause, and ask before changing anything. The HTML report is
at
build/reports/tests/test/index.html. - Compilation error: surface the compiler error itself rather than reporting it as a test failure.
- No matching tests (
No tests found for given includes): report that the filter matched nothing and suggest the closest test names.
Do not modify any source or test files unless the user explicitly asks you to fix a failure.
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.
- 5d ago First seen · 39 lines · 16 tokens per session scan A a57699da5f9f
test is a command published in the GitHub repository ashtanko/kotlin-app-template (41 stars, last pushed 8d ago), licensed Apache-2.0. It adds 16 tokens to every session and 456 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-08-30.
Other commands, from other repositories
kmp-test
Run KMP tests across all platforms.
resolve-deps
Diagnose and resolve Swift Package Manager dependency conflicts (launches spm-conflict-resolver agent).
gradle-build
Fix Gradle build errors for Android and KMP projects.
swift-exercise-new
Новое упражнение по Swift.
test
Your mission: Achieve a completely clean test suite with zero failures, warnings, or skipped tests.
CLAUDE_CODE_F090_SDK_ONLY
JavaScript SDK, Python SDK의 버그 수정 + 누락 기능 추가 + 테스트 작성.