create_note

A command for saving findings or project context as a dated note in a repository’s thoughts directory.

In plain words
What is it for?
It gathers project and Git details, then creates a Markdown note with metadata, a topic, tags, and completion status.
Why use it?
It prevents useful research and decisions from being lost when a coding session ends.

Command

Part of the rpi plugin — 12 commands, 12 agents shipped together

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 commands/hoblin/claude-ruby-marketplace/create_note
Clone the repo
git clone --depth 1 https://github.com/hoblin/claude-ruby-marketplace

Or install rpi, the plugin that ships this one along with the rest of its 12 commands, 12 agents.

Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 633 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.00012 $0.00633
Opus 5 $0.00006 $0.00316
Sonnet 5 $0.00002 $0.00127
Haiku 4.5 $0.00001 $0.00063

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

Security

Grade A, and why

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

plugins/rpi/commands/create_note.md · 82 lines

How it starts

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

Create Note

You are tasked with capturing content as a persistent note in the thoughts system. This could be findings from a research subagent, insights from the current session, or any content worth preserving for future reference.

Process

1. Gather Metadata

Run spec-metadata (in the PATH) to get date, time, git commit, branch, and repository name.

2. Filepath & Naming

Create your file under ./thoughts/shared/notes/YYYY-MM-DD/description.md, where:

  • YYYY-MM-DD is today's date
  • description is a brief kebab-case description of the content

Examples:

  • 2026-02-23/rails-8-turbo-stream-patterns.md
  • 2026-02-23/sidekiq-retry-best-practices.md
  • 2026-02-23/authentication-library-comparison.md

3. Note Writing

Using the above conventions, write your document with the following YAML frontmatter pattern. Use the metadata gathered in step 1:

---
date: [Current date and time with timezone in ISO format]
author: [Author name from spec-metadata]
git_commit: [Current commit hash]
branch: [Current branch name]
repository: [Repository name]
topic: "[Brief topic description]"
tags: [note, relevant-keywords]
status: complete
last_updated: [Current date in YYYY-MM-DD format]
last_updated_by: [Author name]
---

# [Topic]

## Context

[What prompted this note - the question, task, or goal]

## Content

[The actual content - preserved exactly as provided without summarization or transformation]

## Sources

[Links, file paths, or references - if applicable, omit section if none]

## Related

[Links to related notes, research, or plans in thoughts/ - if applicable, omit section if none]

4. Sync and Present

Run thoughts-sync to save the document.

Once complete, respond with:

Note captured at: ./thoughts/shared/notes/YYYY-MM-DD/description.md

You can reference this in future sessions or as input to other RPI commands.

Additional Notes & Instructions

  • Preserve content exactly: The value of this note is capturing content losslessly. Do not summarize, synthesize, or transform the content unless explicitly asked.
  • Include all links: If content came from web research, documentation lookups, or file analysis, preserve all URLs and file:line references.
  • Topic from context: Derive the topic from the content being captured. Only ask the user if genuinely ambiguous.
  • Sections are flexible: The Content section is required. Sources and Related sections should be included when applicable, omitted when not.
  • Follow-up notes: If adding to an existing topic, consider updating the existing note rather than creating a duplicate. Update last_updated and last_updated_by fields.

Read the full file on GitHub · 82 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. 3d ago First seen · 82 lines · 12 tokens per session scan A 1948c3eee5c3

Subscribe to this mod's changes

create_note is a command published in the GitHub repository hoblin/claude-ruby-marketplace (36 stars, last pushed 23d ago), licensed MIT. It adds 12 tokens to every session and 633 once invoked, about $0.0001 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.