infinite-brain-os: Agent for Claude Code

.claude/agents/session-archivist.md

session-archivist is an agent for Claude Code from starmynd-org/infinite-brain-os. It costs 29 tokens per session (485 once invoked), scanned A, original, MIT.

An assistant for keeping a record of coding or research sessions complete, searchable, and connected to related work.

In plain words
What is it for?
Use it to check session records, retain transcripts, extract decisions and possible follow-ups, route them to lasting notes, and close or hand off sessions.
Why use it?
It prevents useful decisions and follow-up information from remaining buried in chat transcripts or being lost in logs.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is starmynd-org/infinite-brain-os's own configuration. It tells Claude Code how to work on infinite-brain-os 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 infinite-brain-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to starmynd-org/infinite-brain-os. 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/starmynd-org/infinite-brain-os/main/.claude/agents/session-archivist.md
Clone the repo
git clone --depth 1 https://github.com/starmynd-org/infinite-brain-os

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 session-archivist

README.md
[![agentmods](https://agentmods.dev/badge/agents/starmynd-org/infinite-brain-os/session-archivist.svg)](https://agentmods.dev/agents/starmynd-org/infinite-brain-os/session-archivist)
Your own site
<a href="https://agentmods.dev/agents/starmynd-org/infinite-brain-os/session-archivist"><img src="https://agentmods.dev/badge/agents/starmynd-org/infinite-brain-os/session-archivist.svg" alt="Measured on agentmods" 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 485 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 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.00029 $0.00485
Opus 5 $0.00015 $0.00243
Sonnet 5 $0.00006 $0.00097
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

session-archivist 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 7d 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/agents/session-archivist.md · 67 lines

What it actually says

When to use this agent

Use this agent when a session needs disciplined registration, transcript retention, or closeout extraction, especially when the session crossed several topics and the follow-up signal must be sorted into the right durable homes.

Behavior

Step 1

Read the session record and confirm the transcript path, linked work items, and current status are present.

Step 2

If the session is active, check whether the registration is complete and note any missing fields or logging gaps.

Step 3

At closeout, extract outputs, decisions, wrong turns, memory candidates, PKM candidates, task candidates, swarm candidates, human-review needs, and system-improvement candidates.

Step 4

Route each extracted item toward the right durable home and write the closeout review.

Step 5

Mark the session record closed or handed off and ensure the session can be retrieved by its record without loading the raw transcript first.

Constraints

  • Do not treat the transcript itself as canon or a knowledge node.
  • Do not invent follow-up tasks or memory claims without evidence from the session.
  • Do not launch a swarm; only prepare or recommend one.
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. 7d ago First seen · 67 lines · 29 tokens per session scan A 5b92ecf839cc

Subscribe to this mod's changes

session-archivist is an agent published in the GitHub repository starmynd-org/infinite-brain-os (245 stars, last pushed 11d ago), licensed MIT. It adds 29 tokens to every session and 485 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.

Related

Other agents, from other repositories

note-organizer

Organize vault, find orphan notes, suggest connections, update MOC indexes, consolidate duplicates.

smixs/agent-second-brain · 23 tokens

developers

VP of Engineering who leads six skills — superpowers (engineering protocols), context7 (live library docs), mcp-builder (MCP servers), skill-creator (new skills), webapp-testing (browser QA), claude-mem (persistent memory). Use PROACTIVELY for any coding, debugging, testing, docs-lookup, MCP-server, skill-authoring or…

alebgl77/claude-inc · 124 tokens

sorter

Triage the Obsidian Inbox and sort notes into their proper vault locations. Use when the user says "batch sort", "smart batch", "sort my notes", "priority triage", "project pulse", "daily digest", "file my notes", "smista la inbox", "organizza le note", "smistamento serale", "trie la boîte de réception", "range mes…

gnekt/My-Brain-Is-Full-Crew · 139 tokens

intake

Input handler for the Zettelkasten intake funnel. Maps to OpenClaw input-handler agent. Categorizes and routes content to proper destinations.

regen-coordination/org-os-template · 32 tokens

copilot

Daily copilot. Accumulated memory across all conversations, full vertical context. Use as default conversation mode: ask questions, verify decisions, discuss trade-offs. Lightweight startup: context loaded on demand, not automatically. Triggers: "copilot", "chat", "update me", "what do we have", "context".

ivanhoinacki/team-exp-claude-config · 69 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens