koan: Command for Claude Code

.claude/commands/koan.incubate.md

koan.incubate is a command for Claude Code from Anantys-oss/koan. It costs 0 tokens per session (1,620 once invoked), scanned A, original, GPL-3.0.

A controlled workflow for merging the main development branch into an experimental branch. It requires a review and explicit approval first, then records the merge in a dated changelog.

In plain words
What is it for?
Use it when updating a Kōan incubation branch from main and maintaining its release journal.
Why use it?
It makes potentially disruptive merges reviewable and keeps a written record of changes entering the experimental branch.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Anantys-oss/koan. 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/Anantys-oss/koan/main/.claude/commands/koan.incubate.md
Clone the repo
git clone --depth 1 https://github.com/Anantys-oss/koan

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 koan.incubate

README.md
[![agentmods](https://agentmods.dev/badge/commands/anantys-oss/koan/koan.incubate/github.svg)](https://agentmods.dev/commands/anantys-oss/koan/koan.incubate)
Your own site
<a href="https://agentmods.dev/commands/anantys-oss/koan/koan.incubate"><img src="https://agentmods.dev/badge/commands/anantys-oss/koan/koan.incubate/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 koan.incubate

Your own site · 80×15
<a href="https://agentmods.dev/commands/anantys-oss/koan/koan.incubate"><img src="https://agentmods.dev/badge/commands/anantys-oss/koan/koan.incubate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00000 $0.01620
Opus 5 $0.00000 $0.00810
Sonnet 5 $0.00000 $0.00324
Haiku 4.5 $0.00000 $0.00162

Measured 10d ago against content hash ba3fb2f5aa23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

koan.incubate 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 10d 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/commands/koan.incubate.md · 106 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 10d ago First seen · 106 lines · 0 tokens per session scan A ba3fb2f5aa23

Subscribe to this mod's changes

koan.incubate is a command published in the GitHub repository Anantys-oss/koan (46 stars, last pushed today), licensed GPL-3.0. It costs nothing until one of its globs matches a file; then it loads 1,620 tokens. 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 commands, from other repositories

pr-ready

Run the project's pre-commit review loop to determine whether the current branch is ready to push — lint, tests, parallel pr-review-toolkit agents plus an over-engineering audit, fix-and-re-run until convergence.

costajohnt/oss-autopilot · 45 tokens

nyann:doctor

Run nyann's read-only hygiene + documentation audit on the current repo. Emits the same drift sections retrofit uses, but never offers remediation or writes to the filesystem. Use this on session start, in CI, or any time you want to sanity-check a repo without risking mutations.

thettwe/nyann · 61 tokens

nyann:retrofit

Audit an existing repo against a profile and fix what's drifted. Unlike doctor (read-only), retrofit detects missing hooks, misconfigured gitignore, documentation gaps, and non-compliant history, then offers to remediate via bootstrap. Idempotent — safe to re-run.

thettwe/nyann · 61 tokens

nyann:ship

Open a GitHub pull request AND merge it in one step. Default uses GitHub's native auto-merge (returns immediately with outcome:"queued"); --client-side polls for green CI in the foreground then runs gh pr merge. Requires gh installed + authed.

thettwe/nyann · 63 tokens

nyann:cleanup-branches

Prune local branches whose work is already merged into the base. Lists candidates first, then applies on --yes. Mirrors the safe-delete semantics of git branch -d (lowercase d): nothing unmerged is touched.

thettwe/nyann · 54 tokens

nyann:gh-protect

Audit or apply GitHub branch protection, tag rulesets, signing requirements, and repo settings based on the active profile.

thettwe/nyann · 31 tokens