reweave

reweave is a skill for Claude Code, Codex from agenticnotetaking/arscontexta. It costs 70 tokens per session (5,646 once invoked), scanned C, original, MIT.

A note-maintenance skill that revisits older notes after newer related information appears. It adds connections, improves claims, and considers whether notes should be split.

In plain words
What is it for?
Use it to update related notes, add backward links, sharpen statements, and review possible note divisions.
Why use it?
It helps prevent older notes from becoming disconnected or outdated as a knowledge base grows.

Skill for Claude CodeCodex

Part of the arscontexta plugin — 26 skills, 1 agent, 2 hooks shipped together

About the project

Ars Contexta is a Claude Code plugin that creates a personalized knowledge system from a conversation about how someone thinks and works, using connected Markdown files, note-processing skills, hooks, navigation maps, and templates. It is for people who want an owned, persistent second brain tailored to their domain. The catalogue entries are its generated skills, hooks, agent, and plugin workflow.

agenticnotetaking/arscontexta · 3,486 stars · on GitHub

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/agenticnotetaking/arscontexta/reweave
Any agent
npx skills add agenticnotetaking/arscontexta --skill reweave
Clone the repo
git clone --depth 1 https://github.com/agenticnotetaking/arscontexta

Made for: Claude Code, Codex.

Or install arscontexta, the plugin that ships this one along with the rest of its 26 skills, 1 agent, 2 hooks.

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 reweave

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticnotetaking/arscontexta/reweave.svg)](https://agentmods.dev/skills/agenticnotetaking/arscontexta/reweave)
Your own site
<a href="https://agentmods.dev/skills/agenticnotetaking/arscontexta/reweave"><img src="https://agentmods.dev/badge/skills/agenticnotetaking/arscontexta/reweave.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00070 $0.05646
Opus 5 $0.00035 $0.02823
Sonnet 5 $0.00014 $0.01129
Haiku 4.5 $0.00007 $0.00565

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

Security

Grade C, and why

reweave scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$LOCKDIR"
skill-sources/reweave/SKILL.md · 657 lines

How it starts

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

Runtime Configuration (Step 0 — before any processing)

Read these files to configure domain-specific behavior:

  1. ops/derivation-manifest.md — vocabulary mapping, platform hints

    • Use vocabulary.notes for the notes folder name
    • Use vocabulary.note / vocabulary.note_plural for note type references
    • Use vocabulary.reweave for the process verb in output
    • Use vocabulary.topic_map / vocabulary.topic_map_plural for MOC references
    • Use vocabulary.cmd_verify for the next-phase suggestion
  2. ops/config.yaml — processing depth, pipeline chaining

    • processing.depth: deep | standard | quick
    • processing.chaining: manual | suggested | automatic
    • processing.reweave.scope: related | broad | full

If these files don't exist, use universal defaults.

Processing depth adaptation:

Depth Reweave Behavior
deep Full reconsideration. Search extensively for newer related {vocabulary.note_plural}. Consider splits, rewrites, challenges. Evaluate claim sharpening. Multiple search passes.
standard Balanced review. Search semantic neighbors and same-{vocabulary.topic_map} {vocabulary.note_plural}. Add connections, sharpen if needed.
quick Minimal backward pass. Add obvious connections only. No rewrites or splits.

Reweave scope:

Scope Behavior
related Search {vocabulary.note_plural} directly related to the target (same {vocabulary.topic_map}, semantic neighbors)
broad Search across all {vocabulary.topic_map_plural} and semantic space for potential connections
full Complete review including potential splits, rewrites, and claim challenges

EXECUTE NOW

Target: $ARGUMENTS

Parse immediately:

  • If target contains [[note name]] or note name: reweave that specific {vocabulary.note}
  • If target contains --handoff: output RALPH HANDOFF block at end
  • If target is empty: find {vocabulary.note_plural} that most need reweaving (oldest, sparsest, most outdated)
  • If target is "recent" or "--since Nd": reweave {vocabulary.note_plural} not touched in N days
  • If target is "sparse": find {vocabulary.note_plural} with fewest connections

Read the full file on GitHub · 657 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 657 lines · 70 tokens per session scan C d1cf3d54296a

Subscribe to this mod's changes

reweave is a skill published in the GitHub repository agenticnotetaking/arscontexta (3,486 stars, last pushed 6mo ago), licensed MIT. It adds 70 tokens to every session and 5,646 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

migrate

Scan the project and migrate existing documentation into OKF format. Use when the user wants to populate the knowledge base from existing docs, README, schemas, API specs, runbooks, or any structured project knowledge. Trigger on "migrate to okf", "populate the knowledge base", "scan my docs", "convert docs to okf"…

guhcostan/claude-mega-brain · 147 tokens

llm-wiki

Build and maintain an LLM-curated personal knowledge base — the "LLM Wiki" pattern from Andrej Karpathy's April 2026 gist. Use this skill whenever the user wants to ingest a source (paper, article, transcript, PDF, notes) into a persistent compounding knowledge base, ask a question against accumulated notes, lint or…

praneybehl/llm-wiki-plugin · 221 tokens

dogfood

Run a dogfooding session for hyalo — build from source, exercise the CLI against real knowledgebases (own KB, MDN, GitHub Docs, VS Code docs), find bugs, verify recent fixes, assess UX, measure performance, and write a structured report. Use this skill whenever the user says /dogfood, "dogfood", "run a dogfood…

ractive/hyalo · 102 tokens

claude-mega-brain

OKF knowledge navigation. ALWAYS use this skill the moment a block appears in session context — it means the project has documented concepts and you must consult them before answering questions about data, schemas, metrics, APIs, or systems. Also trigger when the user asks about a table, column, metric definition…

guhcostan/claude-mega-brain · 96 tokens

ingest

Create or update a single OKF concept file from raw input. Use when the user wants to document a specific table, metric, API, service, or concept in the knowledge base — even if they say "add this to the okf", "documenta essa tabela", "cria um conceito pra isso", "adiciona no knowledge base", "register this API", or…

guhcostan/claude-mega-brain · 108 tokens

release

Cut a hyalo release end-to-end — verify/bump the workspace version, rotate the changelog with hyalo itself, sync the winget fork, publish the GitHub release with curated + auto-generated notes, and watch the pipeline. Use this skill whenever the user wants to release a new hyalo version, cut/tag/publish vX.Y.Z, says…

ractive/hyalo · 102 tokens