KMPilot: Instructions file for Claude Code

CLAUDE.md

KMPilot CLAUDE.md is an instructions file for Claude Code from ThisIsSadeghi/KMPilot. It costs 1,015 tokens per session, scanned A, original, MIT.

A set of mandatory workflow instructions for the KMPilot project. It routes feature work, reviews, tests, and interface design to specific skills before files are changed.

In plain words
What is it for?
Use it when creating, modifying, reviewing, or testing features, designing screens, verifying interfaces, or connecting iOS and Kotlin code.
Why use it?
It prevents agents from editing protected feature files in the wrong order or skipping required project workflows.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths.

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

Reuse

Borrowing it

Nothing to install: this file belongs to ThisIsSadeghi/KMPilot. 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/ThisIsSadeghi/KMPilot/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ThisIsSadeghi/KMPilot

Made for: Claude Code.

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 KMPilot CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thisissadeghi/kmpilot/claude-md/github.svg)](https://agentmods.dev/instructions/thisissadeghi/kmpilot/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/thisissadeghi/kmpilot/claude-md"><img src="https://agentmods.dev/badge/instructions/thisissadeghi/kmpilot/claude-md/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 KMPilot CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/thisissadeghi/kmpilot/claude-md"><img src="https://agentmods.dev/badge/instructions/thisissadeghi/kmpilot/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,015 This file is loaded in full into every session.
When invoked 1,015 The same file — it is already loaded in full.
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.01015 $0.01015
Opus 5.5 $0.00406 $0.00406
Sonnet 5.5 $0.00203 $0.00203
Haiku 4.5 $0.00102 $0.00102

Measured 1mo ago against content hash 699542e9b7af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

KMPilot 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 1mo 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.

CLAUDE.md · 66 lines

How it starts

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

CLAUDE

STOP - Mandatory Workflow Rules

NEVER edit feature/ files directly. ALWAYS invoke the required skill FIRST.

Action Skill Trigger Keywords
Create feature /create-feature "new feature", "add feature", "create"
Modify feature /modify-feature "add to", "change", "update", "fix", "modify"
Review feature /review-feature "review", "check", "audit"
Test feature /test-feature "test", "generate tests"
Design UI /design-ui "design screen", "Stitch", "design UI", "mockup"
Verify UI /verify-ui "verify UI", "audit UI", "check implementation"
Bridge iOS↔Kotlin /bridge-swift "iOS SDK", "Swift", "call Swift", "native framework", "MapKit", "biometrics", "Apple Pay"

IMPORTANT: Invoke the skill IMMEDIATELY upon recognizing feature work. Do NOT:

  • Read files first to "understand the codebase"
  • Explore the feature structure first
  • Plan the implementation first

The skills contain workflows that handle exploration, planning, and implementation in the correct order.

/using-design-system auto-activates for UI work and does not need explicit invocation.

Design Pipeline

The design pipeline uses a blueprint artifact contract for decoupled skill coordination:

  1. /design-ui designs screens in Stitch and produces a self-contained blueprint (sets blueprintConsumed: false in stitch-project.json)
  2. /create-feature or /modify-feature auto-detect the blueprint and enter design-aware mode (sets blueprintConsumed: true after implementation)
  3. /verify-ui audits the implementation against the Stitch design (three-way token audit)

Each skill is independently invocable — no skill calls another skill. The user controls the pipeline.

Platform Capabilities & Native Views (Rule 14)

Features needing a device capability (GPS, camera, BLE, biometrics) or a native view (map, camera preview, WebView) are handled inside /create-feature / /modify-feature — no separate command. Those skills classify the feature's Platform Profile (network / platform-capability / native-view / mixed) in Phase 2, then route work to platform (capability behind a commonMain DataSource → Either<T>, per-platform actuals incl. desktop) and ui-layer (the expect @Composable native-view interop). When an iOS actual needs Swift, they finish the Kotlin side and route you to /bridge-swift (the iOS-Swift leg). Full patterns: .claude/skills/create-feature/architecture/platform.md.

Read the full file on GitHub · 66 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. 1mo ago First seen · 66 lines · 1,015 tokens per session scan A 699542e9b7af

Subscribe to this mod's changes

KMPilot CLAUDE.md is an instructions file published in the GitHub repository ThisIsSadeghi/KMPilot (55 stars, last pushed 2mo ago), licensed MIT. It adds 1,015 tokens to every session, about $0.0041 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-08-30.

Related

Other instructions, from other repositories