/notes:save-local-filefrom notes
Saves a local file (PDF, image, document) into an Obsidian vault as a clipping with embedded attachment. Reads file contents, writes a note, and updates the daily note.
Ships in notes. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Copy a file already on disk into the vault's attachments and write a clipping note that embeds it.
$ARGUMENTS — a path to a local file, optionally followed by extra instructions (a title, a project to tag, a folder). Honour those after filing.
Walk up from the current working directory looking for a .obsidian/ directory. The first ancestor containing one is the vault root.
d="$PWD"
while [ "$d" != "/" ]; do
[ -d "$d/.obsidian" ] && { echo "$d"; break; }
d="$(dirname "$d")"
done
If none is found, stop and say so — never write outside a vault. There is no config file.
If the vault root has a CLAUDE.md, read it and follow what it says about clippings folder, attachments folder, frontmatter, tags, and daily-note updates. The vault's own conventions win. The defaults below apply only when it is silent.
Defaults: clippings in Clippings/, attachments in Clippings/attachments/.
Confirm the file exists and is readable. Copy it into the attachments folder, keeping the original filename so the source stays identifiable. If a file of that name already exists, append a timestamp (report-20260824-143022.pdf) rather than overwriting.
Read the file's contents. For a PDF, check for a text layer first (pdftotext) and fall back to the Read tool's pages: parameter; for an image, look at it. Never write a summary of a file you have not opened — a filed-but-unexamined attachment is worse than no note, because it looks complete.
Title from the filename: strip the extension, replace underscores and dashes with spaces, title-case it. quarterly_report_2024.pdf → Quarterly Report 2024.
---
tags:
- clippings
- inbox
source: <origin if known, else "local file">
date_captured: YYYY-MM-DD
---
# <Title>
![[<original-filename.ext>]]
---
## Summary
<what the file actually contains, from having read it>
Embed with Obsidian's wikilink syntax ![[filename]] — PDFs and images then render inline.
Add a link to the clipping. If today's daily note does not exist, create it from the vault's daily-note template if one exists.
Print the note path as the final line, machine-parseable so callers can chain:
OUTPUT_FILE:/absolute/path/to/vault/Clippings/Title.md
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub mayank-io/mstack --plugin notes4 skills in this plugin
/clean-transcriptTurn a raw transcript into readable verbatim Markdown — strip timestamps, merge fragmented lines, insert paragraph breaks and chapter headings. Use when the user says "clean this transcript", "format this transcript", or after fetch:youtube-download hands back raw timestamped text. Guarantees the output is word-for-word identical to the input./clipCapture a URL into the notes vault — route it to the right fetcher and note-writer for that source. Use when the user says "clip <url>", "clip this link", or shares a URL and wants it saved as a note. Handles X/Twitter, YouTube, LinkedIn, Notion sites, Tabroom judges' scores and feedback, PDFs and general web pages. For a file already on disk, use notes:save-local-file instead./createWrite a note into the current Obsidian vault. Use when content is already in hand and needs saving as a note — including when another skill (such as notes:clip) has fetched content and needs it filed. Handles frontmatter, folder placement, filename sanitising, and collision avoidance.