agentleFS
danmestasdanmestas/wardrobe/skills/vault-save/SKILL.md

vault-save

Skill4 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", "/save", "file this", "save to wiki", "save this session", "file this conversation", "keep this", "save this analysis", "add this to the wiki".

1 other project uses 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, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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 38
  2. Distinctive:

    Extract: all relevant content from the conversation.

    line 47
  3. Distinctive:

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

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

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/questions/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. Collect links: identify any wiki pages mentioned in the conversation. Add them to related in frontmatter.
  7. Update wiki/index.md. Add the new entry at the top of the relevant section.
  8. 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]
  9. Update wiki/hot.md to reflect the new addition.
  10. 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.