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 skills add liuyi0808/android-review --skill kotlin-qualitygit clone --depth 1 https://github.com/liuyi0808/android-reviewWrote 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/liuyi0808/android-review/kotlin-quality)<a href="https://agentmods.dev/skills/liuyi0808/android-review/kotlin-quality"><img src="https://agentmods.dev/badge/skills/liuyi0808/android-review/kotlin-quality/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/liuyi0808/android-review/kotlin-quality"><img src="https://agentmods.dev/badge/skills/liuyi0808/android-review/kotlin-quality.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.00073 | $0.02208 |
| Opus 5 | $0.00036 | $0.01104 |
| Sonnet 5 | $0.00015 | $0.00442 |
| Haiku 4.5 | $0.00007 | $0.00221 |
Grade A, and why
kotlin-quality 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 11d 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 — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kotlin Code Quality Review
Evaluate Kotlin code across five quality categories and produce structured findings with concrete fixes.
Review Process
Phase 1: Triage
Scan project structure (build.gradle, source tree, imports) to determine which categories apply. SKIP categories only when the skip condition is met.
| Category | Skip If |
|---|---|
| Coroutines | No kotlinx-coroutines dependency |
| Flow | No import kotlinx.coroutines.flow in source |
| Null Safety | NEVER skip |
| Type Design | NEVER skip |
| Collections | NEVER skip |
Phase 2: Parallel Scan
Run all applicable categories in PARALLEL using independent Task agents. Each agent:
- Grep for the category's anti-patterns (see search guide below)
- Read matched files to confirm the finding is real
- Return findings in the output format below
Phase 3: Report
Merge parallel results into a single structured report, grouped by category and sorted by severity.
Output Format
[KT-{CATEGORY}-{NNN}] severity: CRITICAL | HIGH | MEDIUM | LOW
Finding: <description>
Location: <file:line>
Fix: <concrete action>
Reference Guide — Load on Demand
Each reference file contains detailed patterns, code examples, and rationale. Read the relevant file when reviewing that category.
| # | Reference File | Content | When to Load |
|---|---|---|---|
| 1 | references/coroutines.md | Structured concurrency, Scope, exception propagation, Dispatcher | Reviewing coroutine usage or async code |
| 2 | references/flow.md | Cold/hot Flow, operators, stateIn/shareIn, lifecycle collection | Reviewing Flow usage or reactive streams |
| 3 | references/null-safety.md | !! elimination, lateinit alternatives, safe casts, ?. chains | Reviewing null handling patterns |
| 4 | references/type-design.md | Sealed class/interface, data class, value class, generics | Reviewing type definitions or API design |
| 5 | references/collections.md | Immutability, sequence vs list, scope functions | Reviewing collection operations or functional patterns |
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 219 lines · 73 tokens per session scan A bf4caebe6d94
kotlin-quality is a skill published in the GitHub repository liuyi0808/android-review (12 stars, last pushed 14d ago), licensed MIT. It adds 73 tokens to every session and 2,208 once invoked, about $0.0004 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 skills, from other repositories
axiom-audit-codable
Use when the user mentions Codable review, JSON encoding/decoding issues, data serialization audit, or modernizing legacy code.
axiom-swift-simplifier
Use when the user wants to simplify Swift code, reduce boilerplate, or make Swift more readable and idiomatic without changing behavior.
kotlin-concurrency-and-flow
Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.
kotlin-api-design
Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.
coding-best-practices
Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. Use when user mentions best practices, code review, clean code, refactoring, or wants to improve code quality.
adversarial-swift
Use this skill to gate Swift language code with a pass/fail adversarial review — a single blind reviewer subagent judges a diff or file set against 36 decidable rules covering concurrency (unresumed continuations, cancellation checks, async let, TaskGroup, @concurrent), property invariants (stored-derived state…