ZenNotes is a keyboard-first notes application that edits ordinary Markdown files stored on the user's computer, with desktop and self-hosted web versions. It is for people who want Vim-style editing along with notes, diagrams, tasks, search, and other workflows while keeping ownership of their files.
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 ZenNotes/zennotes --skill zennotes-cligit clone --depth 1 https://github.com/ZenNotes/zennotesWrote 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/zennotes/zennotes/zennotes-cli)<a href="https://agentmods.dev/skills/zennotes/zennotes/zennotes-cli"><img src="https://agentmods.dev/badge/skills/zennotes/zennotes/zennotes-cli/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/zennotes/zennotes/zennotes-cli"><img src="https://agentmods.dev/badge/skills/zennotes/zennotes/zennotes-cli.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00107 | $0.01644 |
| Opus 5.5 | $0.00043 | $0.00658 |
| Sonnet 5.5 | $0.00021 | $0.00329 |
| Haiku 4.5 | $0.00011 | $0.00164 |
Grade A, and why
zennotes-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 3d 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 — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The zn command line
zn is ZenNotes in a terminal. It works on a plain folder and on a self-hosted
ZenNotes server, and it does not need the desktop app to be running or even installed.
Prefer it to editing files by hand for anything structural: it resolves the vault's
folders, rewrites links on a rename, keeps ids stable and returns JSON.
If your session has the ZenNotes MCP tools (vault_info, read_note, list_tasks and
the rest), use those instead of zn for the same job. They do the same things, and
edits made through them can be reviewed by the user in the app.
Before the first command
zn --version # is it installed?
zn status --json # which vault is selected, and why
zn doctor --json # configuration, access and server connectivity
When zn is missing, say so and offer to install it. Do not install without a yes.
- macOS and Linux with Homebrew:
brew install zennotes/tap/zn - Anywhere: the archive for the platform from
https://github.com/ZenNotes/tui/releases/latest, checked against its
checksums.txt - The ZenNotes desktop app installs it from Settings, CLI
When no vault is selected, ask the user which folder or server to use. zn setup is an
interactive wizard: ask the user to run it themselves, since it cannot run unattended.
Choosing the vault
Be explicit, so a command never lands in the wrong vault:
| Target | Write |
|---|---|
| A folder | zn --vault ~/Notes <command> or ZENNOTES_VAULT=~/Notes |
| A server | zn --server https://notes.example.com <command>, with the token in ZENNOTES_REMOTE_TOKEN |
| The saved default | Nothing. zn status says what it is |
- Never put a server token on the command line or in a file you write. Read it from the
environment. To save a server for later, ask the user to run
zn connect <url>, which asks for the token without showing it. zn use,zn init,zn connectandzn vault addchange the user's saved default. Do not run them unless the user asked to change it.zn vault mode rootorzn vault mode inboxmoves every note to the other layout. Never pass an argument to it unless the user asked for exactly that.
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.
- 3d ago First seen · 135 lines · 107 tokens per session scan A 8ce6f760394b
zennotes-cli is a skill published in the GitHub repository ZenNotes/zennotes (2,615 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 1,644 once invoked, about $0.0004 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-12-02.
zennotes-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| zennotes-cliZenNotes/zennotes | Skill | 2.6k | today | MIT | A | 107 | Claude Code |
| 自动化建议Changan-Su/Forsion | Skill | 228 | today | Apache-2.0 | A | 169 | Claude Code, Codex |
| markdown-documentsagent0ai/agent-zero | Skill | 20k | today | none | A | 22 | Claude Code |
| kimun-clinico2sh/kimun | Skill | 69 | today | MIT | A | 42 | Claude Code, Codex |
| mnemosyne-reviewMnemosyne-OS/Mnemosyne-Neural-OS | Skill | 28 | yesterday | MIT | A | 120 | Claude Code, Codex |
| yaps-dictationrichawo/yaps-codex-plugin | Skill | 2 | 23d ago | MIT | A | 103 | Claude Code, Codex |
| weeklyjzhao234/big-brain | Skill | 1 | today | MIT | A | 73 | Claude Code, Codex |