agentleFS
eliransueliransu/digital-brain/skills/save/SKILL.md

save

Skill1 starsChanged 7 months agoMITView on GitHub

Save the current conversation, answer, or insight into the Obsidian wiki vault as a structured note. Analyzes the chat, determines the right note type, creates frontmatter, files it in the correct wiki folder, and updates index, log, and hot cache. Triggers on: "save this", "save that answer", "/digital-brain:save", "file this", "save to wiki", "save this session", "file this conversation", "keep this", "save this analysis", "add this to the wiki".

19 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use ingest, lint and 3 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.
  • raven-souravSkill

    ingest

    Also in 6 projects that use this

  • Microsoft AzureSkill

    lint

    Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.

    Also in 4 projects that use this

  • ArtemXTechSkill

    query

    Query data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep to extract frontmatter - do NOT read full files.

    Also in 3 projects that use this

  • termdockSkill

    recall

    Retrieves cross-session memories about past decisions, lessons, and patterns. Use when user asks about prior work, past decisions, or mentions a feature. Triggers include check memory, what did we decide, how did we solve.

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the user specifies a type, use that.

    line 33
  2. Distinctive:

    Extract: all relevant content from the conversation.

    line 42
  3. Distinctive:

    If it's already in the wiki, update the existing page instead of creating a duplicate.

    line 121

“Common” is measured: kept by at least 6 in 10 of the 18 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

save: File Conversations Into the Wiki

Good answers and insights shouldn't disappear into chat history. This skill takes what was just discussed and files it as a permanent wiki page.

The wiki compounds. Save often.


Note Type Decision

Determine the best type from the conversation content:

TypeFolderUse when
synthesiswiki/synthesis/Multi-step analysis, comparison, or answer to a specific question
conceptwiki/concepts/Explaining or defining an idea, pattern, or framework
sourcewiki/sources/Summary of external material discussed in the session
decisionwiki/meta/Architectural, project, or strategic decision that was made
sessionwiki/meta/Full session summary: captures everything discussed

If the user specifies a type, use that. If not, pick the best fit based on the content. When in doubt, use synthesis.


Save Workflow

  1. Scan the current conversation. Identify the most valuable content to preserve.
  2. Ask (if not already named): "What should I call this note?" Keep the name short and descriptive.
  3. Determine note type using the table above.
  4. Extract all relevant content from the conversation. Rewrite it in declarative present tense (not "the user asked" but the actual content itself).
  5. Create the note in the correct folder with full frontmatter.
  6. Flywheel: file new people BEFORE wikilinking. Scan the note's body for distinct person names. Read wiki/entities/people/_index.md. For each name not yet filed (no page in wiki/entities/people/<Full Name>.md and no alias match), invoke the ppl skill's add flow to create a page. Use the conversation context for role/relationship; if uncertain, file with role: "—" + a > [!todo] Confirm role callout. Default company: Your Organization unless the source says otherwise. Track newly-filed names and show them in the final confirmation. Never emit a [[Name]] wikilink to a non-existent page — phantom links rot the graph.
  7. Collect links: identify any wiki pages mentioned in the conversation. Add them to related in frontmatter.
  8. Update wiki/index.md. Add the new entry at the top of the relevant section.
  9. Append to wiki/log.md. New entry at the TOP:
    ## [YYYY-MM-DD] save | Note Title
    - Type: [note type]
    - Location: wiki/[folder]/Note Title.md
    - From: conversation on [brief topic description]
  10. Update wiki/hot.md to reflect the new addition.
  11. Confirm: "Saved as [[Note Title]] in wiki/[folder]/."

Frontmatter Template

---
type: <synthesis|concept|source|decision|session>
title: "Note Title"
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags:
  - <relevant-tag>
status: developing
related:
  - "[[Any Wiki Page Mentioned]]"
sources:
  - "[[.raw/source-if-applicable.md]]"
---

For question type, add:

question: "The original query as asked."
answer_quality: solid

For decision type, add:

decision_date: YYYY-MM-DD
status: active

Writing Style

  • Declarative, present tense. Write the knowledge, not the conversation.
  • Not: "The user asked about X and Claude explained..."
  • Yes: "X works by doing Y. The key insight is Z."
  • Include all relevant context. Future sessions should be able to read this page cold.
  • Link every mentioned concept, entity, or wiki page with wikilinks.
  • Cite sources where applicable: (Source: [[Page]]).

What to Save vs. Skip

Save:

  • Non-obvious insights or synthesis
  • Decisions with rationale
  • Analyses that took significant effort
  • Comparisons that are likely to be referenced again
  • Research findings

Skip:

  • Mechanical Q&A (lookup questions with obvious answers)
  • Setup steps already documented elsewhere
  • Temporary debugging sessions with no lasting insight
  • Anything already in the wiki

If it's already in the wiki, update the existing page instead of creating a duplicate.

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.