Borrowing it
Nothing to install: this file belongs to jonapoul/aktual. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jonapoul/aktual/main/.claude/skills/run-module-tests/SKILL.mdgit clone --depth 1 https://github.com/jonapoul/aktualWrote 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/skills/jonapoul/aktual/run-module-tests)<a href="https://agentmods.dev/skills/jonapoul/aktual/run-module-tests"><img src="https://agentmods.dev/badge/skills/jonapoul/aktual/run-module-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.
<a href="https://agentmods.dev/skills/jonapoul/aktual/run-module-tests"><img src="https://agentmods.dev/badge/skills/jonapoul/aktual/run-module-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00026 | $0.00946 |
| Opus 5.5 | $0.00010 | $0.00378 |
| Sonnet 5.5 | $0.00005 | $0.00189 |
| Haiku 4.5 | $0.00003 | $0.00095 |
Grade A, and why
run-module-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 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run the correct test task(s) for a Gradle module in this KMP project.
Arguments
$ARGUMENTSshould be the Gradle module path (e.g.,aktual-api,aktual-account:vm,aktual-app:desktop)- If omitted, infer it from the most recently discussed or edited module in conversation context
Step-by-Step Process
1. Determine what test source sets exist
Check which test source set directories exist for the module under src/:
src/commonTest/ -> shared tests (run by desktopTest, and by testAndroidHostTest if the module has an android target)
src/androidHostTest/ -> Android-specific tests (runs on host JVM, Robolectric where a class opts in)
src/desktopTest/ -> JVM/Desktop-specific tests
src/test/ -> Standard JVM test (JVM-only modules)
Use Glob to check: <module-path>/src/*test*/ and <module-path>/src/*Test*/
The module path on disk uses / separators (e.g., aktual-core/api/src/commonTest), but the Gradle path uses : (e.g., :aktual-api).
2. Determine the module type
Check the module's build.gradle.kts for which convention plugin it uses:
| Plugin | Module Type | Available Test Tasks |
|---|---|---|
aktual.module.kotlin / aktual.module.di |
KMP + Android | allTests, testAndroidHostTest, desktopTest |
aktual.module.compose |
KMP + Android + Compose | allTests, testAndroidHostTest, desktopTest |
aktual.module.viewmodel |
KMP + Android + Compose + VM | allTests, testAndroidHostTest, desktopTest |
aktual.module.jvm |
Plain JVM, not KMP | test |
aktual.module.android |
Plain Android library, not KMP | testDebugUnitTest |
3. Choose the right task
For KMP modules:
| Source Sets Present | Recommended Task | Why |
|---|---|---|
Only commonTest |
testAndroidHostTest |
commonTest is compiled into both androidHostTest and desktopTest; pick one to avoid running twice. androidHostTest is preferred as it includes Robolectric support. |
Only androidHostTest (with or without commonTest) |
testAndroidHostTest |
Runs commonTest + androidHostTest together |
Only desktopTest (with or without commonTest) |
desktopTest |
Runs commonTest + desktopTest together |
Both androidHostTest and desktopTest |
allTests |
Need both targets to cover all tests |
commonTest + androidHostTest + desktopTest |
allTests |
Need both targets |
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 Changed a15598acd54c
- 11d ago Changed b641e5f3c3fc
- 2mo ago First seen · 84 lines · 26 tokens per session scan A fffe2aa583bd
run-module-tests is a skill published in the GitHub repository jonapoul/aktual (43 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 946 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-09-01.
run-module-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| run-module-testsjonapoul/aktual | Skill | 43 | yesterday | Apache-2.0 | A | 26 | Claude Code |
| compose-animationschrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 64 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 41 | Claude Code |
| compose-multiplatformericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 80 | Claude Code, Codex |
| deliver-specchrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 33 | Claude Code, Codex |
| to-planchrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 73 | Claude Code, Codex |
| changelogchrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 39 | Claude Code |