agentleFS
AndyMelnykovAndyMelnykov/obsidian-claude/skills/capture/SKILL.md

capture

Skill2 starsChanged 3 months agoMITView on GitHub

Capture a source — pasted text, a local file path, an image, or a URL — into the vault as one plain Markdown note: derive a title/slug, place it in notes/, projects/, or inbox/ (or straight to inbox/ if the user explicitly asked for that), copy any binary attachment, keep the topic's index page current, and add wikilinks to genuinely related notes. Use when the user gives Claude a source and asks to capture/save/file/add-to-inbox it. Plain file reads/writes/copies only — no transactions, ledgers, or MoCs.

59 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use weekly, ingest and 9 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.
  • gaiaaiagentSkill

    weekly

    Generate a weekly digest rolling up dailies into higher-level pattern analysis

    Also in 4 projects that use this

  • JaimeGBASkill

    ingest

    Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base

    Also in 8 projects that use this

  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 6 projects that use this

  • QuixiAISkill

    weekly-review

    Review the past week across goals, tasks, calendar, journal, and commitments, then propose the next week

    Also in 5 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 6 projects that use this

  • AlexPEClubSkill

    refine

    Always use when the user wants to discuss an exsiting feature or specification. Open an existing feature spec to improve, extend, or fundamentally challenge it. Pass the feature ID as argument (e.g. /refine PROJ-2).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 57 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Read the note format and vault layout reference first — it defines the vault skeleton, the note template's roles, the slug/uniqueness rule, …

    line 8
  2. Very specific:

    Read the note template: Read templates/note-template.md (create it with the seed content from the note format reference if missing) to …

    line 25
  3. Very specific:

    Copy binary sources: If the source is a local binary file (image, PDF, etc.), copy it as-is into attachments/.

    line 36
  4. Distinctive:

    No existing file with that slug: continue.

    line 43
  5. Very specific:

    Check indexes/ before creating a brand-new notes/ topic folder.

    line 49
  6. Very specific:

    Update the index: if the note landed in notes/<topic>/: ensure indexes/<Topic>.md exists per Indexes and lists the new note.

    line 60
  7. Very specific:

    No transactions/bundles, SHA-256 manifests, source/claim ledgers, address allocation, methodology modes, or git checkpointing.

    line 76

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

Capture a source into the vault

Read the note format and vault layout reference first — it defines the vault skeleton, the note template's roles, the slug/uniqueness rule, the notes/projects/inbox placement rule, index maintenance, and the linking pass that this skill uses below.

This skill does one thing: turn one source into one short, filed, optionally-linked note. It does not run automatically — only act when the user hands Claude a source and asks to capture/save/file it.

Steps

  1. Resolve the vault per Resolving the vault (an explicit directory named in the request, then OBSIDIAN_VAULT, then the current directory). Create inbox/, notes/, projects/, indexes/, templates/, and attachments/ in it if any don't already exist.
  2. Read the note template. Read templates/note-template.md (create it with the seed content from the note format reference if missing) to learn the current source/content/connections field and heading names.
  3. Read or view the source.
    • Local text file or pasted text: read it directly.
    • Image: use Claude's native image understanding to produce the content. Do not attempt OCR or invoke an external tool.
    • PDF or other binary: read what the host's tools can extract; note in the content if some of it couldn't be extracted.
  4. Copy binary sources. If the source is a local binary file (image, PDF, etc.), copy it as-is into attachments/. If a file with that name already exists there with different content, disambiguate the filename (append -2, -3, ...).
  5. Derive a title and slug, then check the whole vault for a filename collision per the uniqueness rule:
    • No existing file with that slug: continue.
    • One exists: ask the user whether to update the existing note or create a new, differently-titled one. Never silently overwrite.
  6. Decide the destination — projects/<slug>/, notes/<topic>/, or inbox/ — per folder placement. Check indexes/ before creating a brand-new notes/ topic folder. Ask the user when it's genuinely ambiguous between a project and a general note. If the user's request explicitly says to add it to the inbox rather than asking generally to capture/save/file it, skip this decision and go straight to inbox/ — an explicit instruction, not a guess.
  7. Write the note using the template's current roles: source, content (a summary in the user's own words, not a copy — one full note, never split into several), and connections if anything is genuinely related. If there's an attachment, embed it in the content role with ![[attachments/<filename>]].
  8. Update the index if the note landed in notes/<topic>/: ensure indexes/<Topic>.md exists per Indexes and lists the new note.
  9. Regenerate the master index. Regenerate indexes/README.md per Master index — every capture writes to projects/<slug>/, notes/<topic>/, or inbox/, so this step always runs.
  10. Look for related notes and fill the connections role, per the linking pass.
  11. Report the note's path, the attachment path (if any), the index updated (if any), any links added, and whether it landed in inbox/ for later triage.

Out of scope

No transactions/bundles, SHA-256 manifests, source/claim ledgers, address allocation, methodology modes, or git checkpointing. Plain file reads/writes/copies only, using the host's normal file tools.

URL capture is not handled by this pass of the skill — treat a URL source the same as any unclear input and ask the user for pasted text instead of fetching it (fetching untrusted web content safely is defuddle's job).

Error handling

  • Missing or unreadable source: report the problem, don't fabricate a summary.
  • Note name collision: ask per step 5 — never silently overwrite.
  • Vault directory not writable: report the error and stop.

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.