kimun-cli

kimun-cli is a skill for Claude Code, Codex from nico2sh/kimun. It costs 42 tokens per session (3,963 once invoked), scanned A, original, MIT.

A command reference for Kimün, a local notes app that stores notes as Markdown files and lets terminal commands search and edit them.

In plain words
What is it for?
Creating, appending, replacing, deleting, showing, searching, and listing notes; recording journal entries; viewing labels; and rebuilding the search index after external edits.
Why use it?
It makes note-taking and retrieval usable from scripts, automation, and coding-agent workflows without opening the app's visual interface.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/nico2sh/kimun/kimun-cli
Any agent
npx skills add nico2sh/kimun --skill kimun-cli
Clone the repo
git clone --depth 1 https://github.com/nico2sh/kimun

Made for: Claude Code, Codex.

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 kimun-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/nico2sh/kimun/kimun-cli.svg)](https://agentmods.dev/skills/nico2sh/kimun/kimun-cli)
Your own site
<a href="https://agentmods.dev/skills/nico2sh/kimun/kimun-cli"><img src="https://agentmods.dev/badge/skills/nico2sh/kimun/kimun-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,963 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.03963
Opus 5 $0.00021 $0.01982
Sonnet 5 $0.00008 $0.00793
Haiku 4.5 $0.00004 $0.00396

Measured 5d ago against content hash 3473a43039b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kimun-cli 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.

skills/kimun-cli/SKILL.md · 367 lines

How it starts

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

Kimün CLI Reference

Kimün is a local-first, terminal notes app. Notes are plain Markdown files indexed for fast search. Use the CLI to write, append, search, and read notes without opening the TUI — ideal for automation, piping, and AI-driven workflows.

Quick Reference

Task Command
Create note kimun note create "path" "content"
Append to note kimun note append "path" "content"
Overwrite a note kimun note overwrite "path" "content" --force
Replace text in a note kimun note replace "path" "old" "new" [--all] [--regex] [--preview]
Delete a note kimun note delete "path" --force
Log to today's journal kimun journal "text"
Log to a specific date kimun journal --date YYYY-MM-DD "text"
Show today's journal kimun journal show
Show a specific journal entry kimun journal show --date YYYY-MM-DD
Show note content kimun note show "path"
Search notes kimun search "query"
List notes kimun notes
List all labels kimun labels
Reindex after external edits kimun workspace reindex

Writing Notes

All write commands accept content as a second argument or from stdin (when stdin is not a TTY).

Create

Creates a new note. Fails if the note already exists — use append if unsure.

kimun note create "inbox/idea" "My content"
echo "My content" | kimun note create "inbox/idea"

Append

Appends to a note. Creates it automatically if it doesn't exist. Safe to use as the default write command.

kimun note append "inbox/log" "New entry"
echo "Entry" | kimun note append "inbox/log"

Modifying Notes

Three destructive operations let you change or remove existing content. Each one backs up the note first (see below), so an edit is recoverable.

Overwrite

Replaces a note's entire body. Requires --force (it discards the old body). Content comes from an argument or stdin.

kimun note overwrite "projects/roadmap" "Brand new body" --force
echo "New body" | kimun note overwrite "projects/roadmap" --force

Read the full file on GitHub · 367 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. 5d ago First seen · 367 lines · 42 tokens per session scan A 3473a43039b4

Subscribe to this mod's changes

kimun-cli is a skill published in the GitHub repository nico2sh/kimun (56 stars, last pushed 17d ago), licensed MIT. It adds 42 tokens to every session and 3,963 once invoked, about $0.0002 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.