agentleFS
kriscardkriscard/Skills/skills/obsidian/save-note/SKILL.md

save-note

Skill14 starsChanged 4 months agoMITView on GitHub

Files the current conversation answer as a permanent wiki page in Obsidian. Make sure to use this skill whenever the user says "save this to my notes", "add this to my knowledge base", "create a wiki page for this", "save what we discussed", or "file this answer". Converts session synthesis, insights, or technical decisions into a self-contained reference note. Never writes a note that references "the conversation above" — the body must stand alone.

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

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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. Very specific:

    If $ARGUMENTS provides a title, use it.

    line 20
  2. Very specific:

    Default subfolders in 3 - Resources/:

    line 23
  3. Very specific:

    Add to index.md under the ## Concept notes (claude-memory) heading.

    line 79
  4. Distinctive:

    Search before writing — never create duplicate pages

    line 96
  5. Distinctive:

    Write in wiki style: neutral, reference-focused, not diary voice

    line 97
  6. Distinctive:

    If Obsidian CLI fails: tell the user "Obsidian CLI isn't working — update Obsidian with CLI enabled"

    line 98

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

File this session's answer as a permanent wiki page in Obsidian. The note must be self-contained — a reader with no context should be able to understand it.

Step 1 — Determine Title and Folder

If $ARGUMENTS provides a title, use it. Otherwise ask: "What should this note be titled, and which folder?" using AskUserQuestion.

Default subfolders in 3 - Resources/:

SubfolderWhen to use
Coding/Engineering patterns, technical decisions, API notes
Reflections/Personal insights, mental models, lessons learned
Concepts/General concepts, frameworks, ideas
Communication/Leadership, writing, comms patterns

Step 2 — Search Before Writing

qmd query "<topic>" --json -n 8 2>/dev/null
  • Score ≥ 0.7 → append a dated section to the existing page
  • Score 0.5–0.7 → show candidates and ask whether to append, create a distinct page, or cancel
  • Score < 0.5 → create a new page

Step 3 — Write the Note

New page:

obsidian create path="3 - Resources/<subfolder>/<title>.md" content="<note>"

Append to existing:

obsidian append path="3 - Resources/<subfolder>/<existing>.md" \
  content="\n## Update — $(date +%Y-%m-%d)\n\n<content>"

Frontmatter for new pages:

---
source: claude-memory
created: YYYY-MM-DD
aliases: [<acronyms, alternate names, spelling/casing variants>]
tags: [claude-memory, <topic-tags>]
---

Generate 2–6 aliases: off-title terms someone would search to find this page (acronyms, alternate names, "X vs Y" framings). This is what makes the page recall-able from queries that don't match the title. Skip only when the title is the sole term anyone would use.

Body: the synthesized answer from this session. Neutral, reference-focused voice — no "I learned that..." framing. Should make sense to a reader with no context. Completion: the note has a title, chosen folder, duplicate-search result, self-contained body, aliases for likely search terms, and no references to "above" or "this conversation."

Step 4 — Update Index and Log

Add to index.md under the ## Concept notes (claude-memory) heading. The CLI has no patch, so this section-targeted insert means either the MCP obsidian_patch_content tool (target the heading, operation: append) or read + create ... overwrite. Ask the user which. Entry format:

- **<Title>** ($(date +%Y-%m-%d)) — [[<stem>]] (<path>). _<one-line summary>_

Append to log.md (chronological — append is fine):

obsidian append path="3 - Resources/log.md" content="\n## $(date +%Y-%m-%d)\nsave-note | <title>"

Hard Rules

  • Body must be self-contained — no "as we discussed" or "see above"
  • Search before writing — never create duplicate pages
  • Write in wiki style: neutral, reference-focused, not diary voice
  • If Obsidian CLI fails: tell the user "Obsidian CLI isn't working — update Obsidian with CLI enabled"

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.