agentleFS
Nightdreams-batNightdreams-bat/claude-code-kit/skills/hydrate/SKILL.md

hydrate

Skill0 starsChanged 37 days agoMITView on GitHub

Turn any raw source - a meeting transcript, voice-note brain-dump, article, YouTube video, chat log, PDF, screenshot batch, research brief - into structured knowledge in the project context repo, updating master.md, decisions, conventions, specs, the log, and the Obsidian vault, and reconciling contradictions with what is already there. Use when the user pastes or points at a source and wants it captured, says "hydrate this", "ingest this", "add this to the context", "process this transcript", "what should we keep from this", or after any meeting or research session. Differentiator: the vault rewrites itself around the new source - not a plain note-taker and not a summariser.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the whole source. Pull out, with a date on each item:

    line 48
  2. Very specific:

    Before writing, read context/master.md and the relevant decisions/.

    line 61
  3. Very specific:

    Add a rolling entry under master.md "Recently changed": "<date> - learned <one line> from <source>".

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

hydrate

Ported from Flo Crivello / Lindy ("automatic hydration", the self-building company wiki) and Karpathy's LLM-wiki pattern. The premise from the podcast: humans are terrible at memory - eyewitness testimony is the least reliable evidence there is, childhood memories are half-invented. Stop trying to remember what was decided in the last meeting. Feed it to the agent and let it maintain the knowledge base. The agent that has "been in every meeting" becomes irreplaceable.

What it maintains

Primary target: the project's context/ repo (Phase 2).

context/master.md        <- the self-hydrating knowledge base (Entities / Durable facts / Open questions / Recently changed)
context/decisions/       <- if the source contains a decision
context/conventions/     <- if the source establishes a rule
context/specs/           <- if the source defines new work
context/log.md           <- a one-line "hydrated <source> on <date>" entry

Secondary target (this user has obsidian-second-brain installed): route person/project/idea material into the Obsidian vault via that plugin's /obsidian-save, /obsidian-person, /obsidian-project, or obsidian_capture. Personal (non-project) sources go to the vault, not context/.

Workflow

1. Ingest the source

Source typeHow to get the text
Pasted text / brain-dumpuse as-is
YouTube URLyoutube-transcript skill (or /youtube)
PDFRead tool with pages
Article URLWebFetch
Screenshot batchRead each image
Meeting transcript fileRead it; if huge, scripts/hydrate.py chunk <file>
Voice note (already transcribed by SuperWhisper etc.)use as-is

For anything over ~6000 words: python scripts/hydrate.py chunk <file> splits it into overlapping chunks; process each, then merge findings before writing.

2. Extract - four buckets

Read the whole source. Pull out, with a date on each item:

  • Entities: people, companies, services, accounts, systems mentioned. One line each.
  • Durable facts: things now true and unlikely to change soon. (Not "we talked about X" - only "X is true".)
  • Decisions: anything settled. Candidate ADRs.
  • Open questions: unresolved, each with what/who would resolve it.
  • Action items: concrete next steps -> context/log.md or a spec or the Obsidian board via /obsidian-task.

python scripts/hydrate.py scan <file> gives a rough first pass (lines that look like decisions / questions / actions) - a starting point, not the answer.

3. Reconcile against what's already known

Before writing, read context/master.md and the relevant decisions/. For each extracted item:

  • New -> add it.
  • Confirms existing -> update the date, don't duplicate.
  • Contradicts existing -> this is the important case. Flag it explicitly to the user: "master.md says X (from <date>); this source says Y. Which is current?" Do NOT silently overwrite. Once resolved, update master.md and, if a decision changed, write a superseding ADR.

4. Write

  • master.md: merge into the four sections. Keep it tight - it's a living index, not an archive. Move anything bulky into its own file and link it.
  • Add a rolling entry under master.md "Recently changed": "<date> - learned <one line> from <source>".
  • New decision -> ctx new decision, fill it, status: accepted (or proposed if the user still needs to confirm).
  • New rule -> ctx new convention.
  • ctx log "hydrated <source name> - <one line of what changed>".
  • Personal / cross-project material -> Obsidian via the second-brain plugin.

5. Report

HYDRATED: <source> (<N words / M chunks>)
  + entities: <count new>
  + facts: <count new>
  ! contradictions: <list - RESOLVED with user or FLAGGED>
  decisions written: ADR <nums>
  actions: <where they went>
master.md updated. ctx log written.

Anti-patterns

  • Dumping the raw summary into master.md. Extract, don't transcribe.
  • Silently overwriting a contradicting fact. Always flag it.
  • Letting master.md grow unbounded. It's an index; archive the bulk.
  • Putting personal/life stuff in a project's context/. That goes to the vault.
  • Re-hydrating the same source twice (check log.md first).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.