agentleFS
gntrsgntrs/workflow/skills/dream/SKILL.md

dream

Skill4 starsChanged 7 days agoMITView on GitHub

Optional vault maintenance, fixes links and backlinks, orphans, frontmatter, rebuilds now.md, checks memory claims, flags secret shapes by path. Invoke on /dream, "clean the vault", "tidy the brain", "fix the links".

56 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ingest, init and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Google CloudSkill

    ingest

    Extracts, distills, and compiles raw sources (PPTX slide decks, PDFs, Word docs, Excel sheets, web URLs, transcripts, codebases, or raw/ directories) into persistent, structured Knowledge Compiler markdown wikis following the Open Knowledge Format (OKF v0.2) and Andrej Karpathy LLM-Wiki standard. Use when the user invokes /ingest, asks to ingest raw files or a target path, compile knowledge, update the wiki, or extract unstructured files into markdown knowledge bases. Don't use for retrospectively compiling the active chat conversation without external files (use distill-session) or for read-only vault lookups (use vault-query).

    Also in 4 projects that use this

  • MicrosoftSkill

    init

    Also in 5 projects that use this

  • genomewalkerSkill

    resume

    Resume a thread by loading its ~800-token context capsule

    Also in 3 projects that use this

  • AnthropicSkill

    start

    Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.

    Also in 4 projects that use this

  • VercelSkill

    investigate

    Investigate an issue report, or analyze the constraints of a proposed change, with strict, evidence-driven diagnosis.

    Also in 3 projects that use this

  • MicrosoftSkill

    council

    Convene the persona panel — six orthogonal review lenses — on a target. Cold independent fan-out, debate-to-consensus, synthesized verdict with recorded dissent and a roster manifest.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 55 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    no other session is writing the vault right now.

    line 15
  2. Very specific:

    links: every [[x]] resolves to exactly one file.

    line 28
  3. Very specific:

    frontmatter: every note has type, project, date, status.

    line 32
  4. Very specific:

    not checkable: add as of YYYY-MM-DD if it has no date.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 55 edited versions of this file we could read. “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

dream

optional: only if the brain is installed. keeps the vault honest. edits vault files only. never deletes: anything dead moves to archive/ with a link from what replaced it.

the vault is $VAULT if set, else ~/vault. below, V means that path.

first

  • test -d "$V". missing: say "no vault on this machine", do not guess, offer to set one up from this repo's brain-template/ (the brain skill has the step), and stop.
  • no other session is writing the vault right now. if one is, do the read only checks and stop before the passes that write.

the two scripts, run them first

both are plain python 3, no packages, beside this file.

  • python3 -I <this skill>/linkcheck.py "$V" -v: broken links, duplicate names, orphans, cloud-evicted files. read only, exit 1 if anything is broken.
  • python3 -I <this skill>/index.py "$V": rewrites only the <!-- auto:index --> blocks in every hub and HOME.md, and now.md. creates a missing log or tbd beside a hub.

<this skill> is the folder holding this file, usually ~/.claude/skills/dream.

passes, in order

  1. links. every [[x]] resolves to exactly one file. broken: fix it when the target is obvious (renamed, moved), else list it.
  2. duplicate basenames. two files with the same name: list both. rename the newer one only when nothing links it by the bare name yet.
  3. backlinks. a note links a hub, the hub links it back. add the missing line on the hub.
  4. orphans. notes with no inbound link. link them from their project hub or HOME.md when the home is obvious, else list.
  5. frontmatter. every note has type, project, date, status. fill what can be read from the path and file name. memory/ keeps its own format: lint it, do not reshape it.
  6. now.md. rebuilt by index.py from every projects/*/*-tbd.md: the open - [ ] items grouped by project, each linking its tbd. overwrite only now.md.
  7. memory claims. for each memory file:
    • a git sha: git -C <repo> cat-file -e <sha>, and whether it is still the branch head it claims.
    • a path: exists or not.
    • a claim about code (a bug is live, a function exists): read the code.
    • wrong: fix the line and add checked YYYY-MM-DD.
    • not checkable: add as of YYYY-MM-DD if it has no date.
  8. secrets. grep for key shapes: sk-, sk_live_, ghp_, github_pat_, xox[bp]-, AKIA, eyJ jwt bodies, -----BEGIN, password\s*[:=], recovery code blocks. flag the path and line number only. never quote the match, never print any part of it, never edit it out on your own. the user decides.
  9. inbox. each note in inbox/ goes to its typed folder per brain's table, with links both ways. not sure: it stays and is listed.
  10. logs. two entries with the same heading in one log (two sessions wrote at once): merge them under one heading, keep every line.

report

sessions/YYYY-MM-DD-dream.md, frontmatter type: session, linked from HOME.md (index.py lists it).

## fixed
- 6 broken links, 4 backlinks, 12 frontmatter blocks, now.md (41 items, 9 projects)
## for the user
- secret shape in projects/x/research/notes.md:14, look at it
- duplicate name: export-plan.md in two folders
- 3 orphans with no obvious home: [[a]], [[b]], [[c]]
## memory
- a project note claimed main was <old sha>, it is <new sha>, fixed
- a note said a bug was live, the code has the fix, note fixed

then three lines in chat: what was fixed, how many items wait on the user, the report link.

never

  • deletes, rm, or anything outside the vault.
  • commits or pushes the vault. if it is a git repo, say what changed and stop.
  • quotes a secret, even partly.
  • rewords the user's first person lines.

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.