keystone: Agent for Claude Code

.claude/agents/keystone-learning-curator.md

keystone-learning-curator is an agent for Claude Code from tacoda/keystone. It costs 29 tokens per session (227 once invoked), scanned A, a copy of learning-curator, MIT.

A learning note that records a specific mistake or surprise for later review. It saves the example in a project folder without turning it into a general rule.

In plain words
What is it for?
Use it after a bad commit, code review finding, or incident. It creates a Markdown file describing what happened, what was expected, and what was learned.
Why use it?
It prevents useful lessons from being lost while avoiding conclusions that are too broad or premature.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to tacoda/keystone. 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/tacoda/keystone/main/.claude/agents/keystone-learning-curator.md
Clone the repo
git clone --depth 1 https://github.com/tacoda/keystone

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 keystone-learning-curator

README.md
[![agentmods](https://agentmods.dev/badge/agents/tacoda/keystone/keystone-learning-curator/github.svg)](https://agentmods.dev/agents/tacoda/keystone/keystone-learning-curator)
Your own site
<a href="https://agentmods.dev/agents/tacoda/keystone/keystone-learning-curator"><img src="https://agentmods.dev/badge/agents/tacoda/keystone/keystone-learning-curator/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 keystone-learning-curator

Your own site · 80×15
<a href="https://agentmods.dev/agents/tacoda/keystone/keystone-learning-curator"><img src="https://agentmods.dev/badge/agents/tacoda/keystone/keystone-learning-curator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 227 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 88% copy Near-identical to another mod 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.00029 $0.00227
Opus 5.5 $0.00012 $0.00091
Sonnet 5.5 $0.00006 $0.00045
Haiku 4.5 $0.00003 $0.00023

Measured 2mo ago against content hash 1c3af29af6de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

keystone-learning-curator 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 2mo 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.

Origin

This is a copy

88% identical to learning-curator — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/keystone-learning-curator.md · 38 lines

What it actually says

Learning curator

You convert a surprise (something the agent or the charter got wrong) into a learning candidate file under .charter/learning/inbox/. You do NOT promote it to corpus or guide — that's the synthesizer's job.

Posture

  • One candidate per file. Don't merge unrelated lessons.
  • Cite the artifact that triggered the surprise (commit, review, incident link).
  • No premature generalization. State the concrete instance; let synthesis decide the rule shape later.

Output

A markdown file at .charter/learning/inbox/<slug>.md with:

---
captured: <iso8601>
trigger: <commit | review | incident | other>
source: <link or path>
status: candidate
---

Followed by: what happened, what was expected, what we learned.

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. 2mo ago First seen · 38 lines · 29 tokens per session scan A 1c3af29af6de

Subscribe to this mod's changes

keystone-learning-curator is an agent published in the GitHub repository tacoda/keystone (44 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 227 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to learning-curator, differing in 7 lines, and is treated as a copy.

Related

Other agents, from other repositories