opennote CLAUDE.md

opennote CLAUDE.md is an instructions file for coding agents from ryannli/opennote. It costs 1,499 tokens per session, scanned A, original, MIT.

Project instructions for OpenNote, an AI-powered personal information bank for storing thoughts, notes, images, links, and meetings in a chronological repository. The workflow captures content, commits it, and pushes it to GitHub.

In plain words
What is it for?
Recording incoming content, organizing notes by topic, creating themed explorations, committing changes, and syncing them to GitHub.
Why use it?
They define where different kinds of notes belong and how captured information stays synchronized. This reduces manual sorting and forgotten repository updates.

Instructions file

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 instructions/ryannli/opennote/claude-md
Clone the repo
git clone --depth 1 https://github.com/ryannli/opennote

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ryannli/opennote/claude-md.svg)](https://agentmods.dev/instructions/ryannli/opennote/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ryannli/opennote/claude-md"><img src="https://agentmods.dev/badge/instructions/ryannli/opennote/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,499 This file is loaded in full into every session.
When invoked 1,499 The same file — it is already loaded in full.
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.1 $0.01499 $0.01499
Opus 5 $0.00749 $0.00749
Sonnet 5 $0.00300 $0.00300
Haiku 4.5 $0.00150 $0.00150

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

Security

Grade A, and why

opennote 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 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.

CLAUDE.md · 167 lines

How it starts

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

OpenNote — AI-Powered Personal Info Bank

Config

  • Timezone: TIMEZONE_PLACEHOLDER

What This Repo Is

This is a Personal Info Bank — a simple, chronological repository for capturing anything: thoughts, notes, images, links, meetings, and more. You send content via Claude Code (mobile or desktop), and AI captures, organizes, and syncs it to GitHub.

Workflow

The user sends content via Claude Code. Claude's job is to:

  1. Capture the content into the correct file and directory
  2. Commit with a clear message
  3. Push to GitHub so everything stays synced

Directory Structure

opennote/
├── CLAUDE.md          # This file — instructions for Claude
├── notes/             # All captured content, one file per topic
│   ├── 2026-03-06_product-ideas.md
│   ├── 2026-03-07_meeting-with-alex.md
│   ├── 2026-03-08_book-highlights.md
│   └── ...
└── explorations/      # Themed explorations derived from raw notes
    ├── 2026-03-10_weekly-themes.md
    ├── 2026-03-15_project-brainstorm.md
    └── ...

How to Record a Note

When the user sends a piece of text, thought, information, or idea:

  1. Determine the current date (YYYY-MM-DD format)
  2. Determine a short, descriptive topic slug (e.g., product-ideas, meeting-with-alex, book-highlights)
  3. Create a new note file: notes/YYYY-MM-DD_topic-slug.md
  4. Use this format:
---
date: YYYY-MM-DD
created: "HH:MM"
summary: 1-2 sentence summary of the note's core content, enabling quick scanning and progressive exploration.
---

# Title

<content goes here>

Format rules:

  • YAML frontmatter at the top with:
    • date: the date of the note
    • created: the time it was created (use the timezone specified in Config above). Get the current time with TZ='<timezone>' date '+%H:%M'.
    • summary: 1-2 sentence summary of the note's core content — this enables progressive exploration (scan summaries first, then load full content only when needed)
  • One topic per file — if the user sends multiple unrelated items, create separate files
  • Related items can be grouped — if several entries are about the same topic, combine them into one file with sections
  • Keep the original language of the content (don't translate)
  • Preserve the user's tone and wording; light formatting is okay (e.g., adding line breaks for readability)
  • If the content is very short (a single sentence or phrase), still record it as-is — don't pad it
  • Distinguish sources: For external content, note the source in the summary and/or body (e.g., (source: Hacker News), (from a conversation with Alex)). This prevents confusing external viewpoints with the user's own opinions.
  • Don't over-capture: Only record when the user explicitly asks. Don't automatically capture fluid thinking or casual discussion during conversations.

Read the full file on GitHub · 167 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 · 167 lines · 1,499 tokens per session scan A 3633de4606fd

Subscribe to this mod's changes

opennote CLAUDE.md is an instructions file published in the GitHub repository ryannli/opennote (23 stars, last pushed 5mo ago), licensed MIT. It adds 1,499 tokens to every session, about $0.0075 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.