anneal

anneal is a skill for Claude Code, Codex from letrplB/second-brain. It costs 29 tokens per session (1,652 once invoked), scanned A, original, MIT.

A review command that checks selected knowledge-base notes against a methodology and suggests ways to make them more orderly, without adding new content.

In plain words
What is it for?
Use it on one note, a topic and its claims, the whole vault, or notes changed during the last seven days.
Why use it?
It helps find inconsistent titles, descriptions, or reasoning in recent work while leaving changes under the user's control. It applies suggested fixes only after confirmation.

Skill for Claude CodeCodex

Part of the second-brain plugin — 10 skills 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 skills/letrplb/second-brain/anneal
Any agent
npx skills add letrplB/second-brain --skill anneal
Clone the repo
git clone --depth 1 https://github.com/letrplB/second-brain

Made for: Claude Code, Codex.

Or install second-brain, the plugin that ships this one along with the rest of its 10 skills.

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 anneal

README.md
[![agentmods](https://agentmods.dev/badge/skills/letrplb/second-brain/anneal.svg)](https://agentmods.dev/skills/letrplb/second-brain/anneal)
Your own site
<a href="https://agentmods.dev/skills/letrplb/second-brain/anneal"><img src="https://agentmods.dev/badge/skills/letrplb/second-brain/anneal.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,652 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.00029 $0.01652
Opus 5 $0.00015 $0.00826
Sonnet 5 $0.00006 $0.00330
Haiku 4.5 $0.00003 $0.00165

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

Security

Grade A, and why

anneal 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 4d 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/anneal/SKILL.md · 132 lines

How it starts

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

/anneal

Intent. A patient pass that lowers the disorder of the graph without adding new content. Reviews recent work against the methodology core; flags drift; offers fixes; applies on user confirmation.

The metallurgical metaphor is the right one: you are not creating; you are bringing existing structure to a more ordered, lower-energy state. Slow heat, careful cooling. Never proactive — only invoked.

Scopes

Scope What's in scope
--scope=note <path> one note
--scope=topic <topic-slug> one topic-MOC + every claim it owns
--scope=vault the whole vault (sampling for very large vaults)

If no --scope, default to "all notes modified in the last 7 days".

Behaviour

Phase 1 — gather

  1. Resolve scope into a concrete list of note paths.
  2. Read each note: title, frontmatter, body.

Phase 2 — assess

For each note, check against the methodology core:

  • Title is a prose proposition. Not a topic label. (reference/empirical-grounding/title as claim enables traversal as reasoning.md)
  • Description adds information. Not a paraphrase of the title. Layers heuristic → mechanism → implication. (reference/empirical-grounding/good descriptions layer heuristic then mechanism then implication.md)
  • Frontmatter contract complete. All required fields per type. Enums valid. Source link present for claims.
  • Body length 150–400 words (claims/memories). Outside the band → flag for split or expand.
  • Inline wikilinks have surrounding prose. Bare [[a]] [[b]] = drift.
  • MOC membership. Every claim/memory should appear in at least one _<topic>.md. (reference/empirical-grounding/MOCs are attention management devices not just organizational tools.md)
  • No dangling links. Every [[wikilink]] resolves to an existing file.

For --scope=topic add MOC-specific checks:

  • The MOC's ## Core claims lists ≥3 claims (else: too narrow, consider absorbing into parent).
  • MOC density (paired-axis check, replacing the old single-axis "≤30 claims" rule). Run walk/tools/topology.py moc-density --threshold N to compute claim count and internal-edge density (mean internal degree among the MOC's members). The verdict combines both:
    • split-candidate — count > threshold AND mean internal degree < 1.0. The MOC is a "cocktail party": many claims that don't talk to each other. Splitting harms nothing.
    • productive-crowd — count > threshold AND mean internal degree ≥ 1.0. The MOC is a "working group" or programme-organising thesis: claims cross-link, density is the evidence engine. Do not suggest splitting. Note the high count for transparency, recommend audit instead.
    • ok — count ≤ threshold.
    • small — count < 3 (consider absorbing into parent).
    • The mean-internal-degree threshold (1.0) is a starting calibration; tune against the vault's distribution before tightening.
  • Isolated members (optional extension). topology.py moc-density also lists, per MOC, the claims that have zero links to siblings in the same MOC. These are split candidates regardless of MOC-level density — they're sitting in a tag that doesn't reflect their epistemic position. Suggest re-tagging them or moving them to a more appropriate MOC.
  • Bidirectionality: every claim in ## Core claims lists this MOC in its ## Topics footer, and vice versa.

Read the full file on GitHub · 132 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. 4d ago First seen · 132 lines · 29 tokens per session scan A 9d8f2f85fcfb

Subscribe to this mod's changes

anneal is a skill published in the GitHub repository letrplB/second-brain (1 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 1,652 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-31.

Related

Other skills, from other repositories

shodh-memory

Persistent memory system for AI agents. Use this skill to remember context across conversations, recall relevant information, and build long-term knowledge. Activate when you need to store decisions, learnings, errors, or context that should persist beyond the current session.

varun29ankuS/shodh-memory · 53 tokens

methodology

Analyzes captured HTTP traffic, designs the CLI architecture, and implements the Python CLI package (Phase 2): parse raw-traffic.json, identify the protocol, write api-spec.json, scaffold from templates, and implement endpoint methods and Click command groups. Use after a capture completes and raw-traffic.json exists.

ItamarZand88/CLI-Anything-WEB · 65 tokens

sync-check

Walks the documentation dependency web after a CLI code change and reports which downstream files (skills, SOPs, READMEs, plugin references) are out of sync. Use after fixing a bug, adding a command, changing auth behavior, refactoring, or before committing — and when the user says "sync check", "update docs"…

ItamarZand88/CLI-Anything-WEB · 95 tokens

boilerplate

Documents the template inventory and variable contract behind scaffold-cli.py — which Jinja2 template renders with which variables for each site profile. Use during Phase 2 scaffolding when choosing scaffold flags or understanding what the generated boilerplate contains. The scaffold-cli.py script is the primary path.

ItamarZand88/CLI-Anything-WEB · 60 tokens

gap-analyzer

Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in standards.

ItamarZand88/CLI-Anything-WEB · 62 tokens

linkedin-cli

Interacts with LinkedIn via the cli-web-linkedin command-line tool — search people/jobs/companies, view profiles and feed, create/edit/delete posts, react and comment, manage connections and invitations, read and send messages, view notifications, follow companies. Use when the user asks about LinkedIn or wants to…

ItamarZand88/CLI-Anything-WEB · 93 tokens