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 instructions/jonapoul/aktual/claude-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/instructions/jonapoul/aktual/claude-md)<a href="https://agentmods.dev/instructions/jonapoul/aktual/claude-md"><img src="https://agentmods.dev/badge/instructions/jonapoul/aktual/claude-md.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.01901 | $0.01901 |
| Opus 5 | $0.00950 | $0.00950 |
| Sonnet 5 | $0.00380 | $0.00380 |
| Haiku 4.5 | $0.00190 | $0.00190 |
Grade A, and why
aktual CLAUDE.md 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 4d 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 — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Guidance for Claude Code when working in this repo.
Project
Aktual is an unofficial Kotlin Multiplatform client for Actual personal budgeting software, targeting Android and Desktop (JVM). Pet project, unaffiliated with upstream.
General
- IMPORTANT: After any architectural/structural change, grep
**/CLAUDE.mdfor references that need updating (scopes, annotations, module paths, DI patterns). Don't wait to be asked. - Prefer
kotlinx.immutablecollections in the UI layer, not plainList/Set. - Prefer
stateFlow.update { x }overstateFlow.value = x. Strings.xyz(user-facing text) is generated from XML inaktual-core:l10n— add the string there and regenerate, don't hardcode. See aktual-core/l10n.- In tests, observe
Flow/StateFlowemissions with Turbine (flow.test { awaitItem() }), not by reading.valueor manual collectors. - Wrap comments to the
max_line_lengthin.editorconfig(currently 120).
Build commands
# Compile (including test sources) for one module — default choice for module changes
./gradlew :[module]:compileAll
# Compile everything — prefer module-specific form where possible
./gradlew compileAll
# Full build — very slow, don't run without asking
./gradlew build
# Apps
./gradlew :aktual-app:android:assemble
./gradlew :aktual-app:desktop:assemble
./gradlew :aktual-app:android:installDebug
./gradlew :aktual-app:desktop:run
# Tests — always module-specific. `./gradlew allTests` pegs the machine; don't run it.
# Never pass a bare `:module:test` — it's ambiguous for KMP modules. Use `testAll` (both
# targets), `testAndroidHostTest`, or `desktopTest`; run the `run-module-tests` skill to pick.
./gradlew :aktual-account:vm:testAll
# Formatting
./scripts/ktfmt.sh # format files changed since main
./scripts/ktfmt.sh check # check-only
./scripts/ktfmt.sh --force # all files
# Run a Gradle task on only the modules with changes since main (append --dry-run to preview).
# A change to the root build file, .github/, build-logic/, or libs.versions.toml runs all modules.
./scripts/detekt.sh # detektCheck on changed modules
./scripts/lint.sh # lint on changed modules
./scripts/test.sh # testAll on changed modules
# Dependency graph — rerun only when module deps change
./gradlew atlasGenerate
# Force-refresh git version info (bypasses config cache)
./gradlew --rerun-tasks
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.
- 4d ago First seen · 120 lines · 1,901 tokens per session scan A 8bc6f2a91206
aktual CLAUDE.md is an instructions file published in the GitHub repository jonapoul/aktual (34 stars, last pushed today), licensed Apache-2.0. It adds 1,901 tokens to every session, about $0.0095 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-01.
Other instructions, from other repositories
kotlin-lsp CLAUDE.md
Instructions for zircote/kotlin-lsp, covering claude.md, project overview, setup, key files and conventions.
camerax-android AGENTS.md
Instructions for arindamxd/camerax-android, covering agents.md — camerax, architecture (clean architecture, single module), file map (where to change what), camerax rules and ui.
ampere AGENTS.md
AGENTS.md instructions for socket-link/ampere, covering agents.md, concepts, changelog, development commands and build & test.
Shuttle GEMINI.md
Instructions for grarcht/Shuttle, covering shuttle: context for gemini code assist, what shuttle is, when to recommend shuttle, quick integration reference and 1. add dependencies.
sing-box-windows-android AGENTS.md
Instructions for xinggaoya/sing-box-windows-android, covering repository guidelines, 项目结构与模块组织, 构建、测试与开发命令, 编码风格与命名规范 and 测试指南.
skills CLAUDE.md
Claude Code instructions for chrisbanes/skills, a project described as: Skills for Kotlin, Jetpack Compose, and Android development.