Tooluck logoTooluck
SKILL.md

session-brain

Agent skill fromAr9av/obsidian-wiki

Build or refresh a browser-viewable topic graph over Claude session history using local clustering. Use for mapping or clustering sessions, recent or stale topic analysis, or rebuilding/showing the session graph. Unlike wiki-history-ingest, it indexes raw sessions and never writes to the vault.

How to install session-brain

install session-brain
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/session-brain/

# into

~/.claude/skills/session-brain/ (all projects)

.claude/skills/session-brain/ (one project)

skills/session-brain/SKILL.md

MITFull file
1# Session Brain
2
3Builds a searchable topic graph over your agent session history. The output is a **sidecar**
4at `~/.claude/session-brain/` — the vault is never touched.
5
6All the heavy lifting is deterministic Python in the `obsidian-wiki` CLI. Your only job is to
7name the clusters, which takes exactly one turn and requires reading no transcripts.
8
9## When to use which skill
10
11| Goal | Skill |
12|---|---|
13| Build or refresh the graph; survey topics | `session-brain` (this one) |
14| Find and load a specific past session | `session-search` |
15| Distil sessions into permanent vault pages | `wiki-history-ingest` / `claude-history-ingest` |
16
17## Step 1: Build
18
19```bash
20obsidian-wiki sessions-build --json
21```
22
23Roughly 3 seconds cold on ~1000 sessions, well under a second incrementally — it re-reads only
24transcripts whose size or mtime changed. Useful flags:
25
26| Flag | When |
27|---|---|
28| `--full` | Ignore all caches and re-read everything |
29| `--mutual` | Tighter, smaller clusters (mutual-kNN edges only) |
30| `--half-life N` | Change the recency half-life (default 90 days) |
31| `--min-sim 0.15` | Fewer, stronger edges — use if the graph is too dense to read |
32| `--skip name` | Exclude a project. Match is substring-based; pass the bare name, because cache dirs start with `-` and argparse reads that as a flag |
33
34Report the headline numbers: total sessions, how many have transcripts vs. are history-only,
35edges, and cluster count.
36
37## Step 2: Name the unnamed clusters
38
39```bash
40…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates