| name | vaultr-quote-extract |
| description | Extract high-value verbatim quotes from a Vaultr note and save each as a short note with a backlink wikilink. Use this skill whenever the user wants to extract key quotes, highlight important passages, or "ๅ้็น" from a vault note. Trigger on phrases like "extract quotes", "highlight this note", "save important quotes from", "ๆๅๅผๆ", "ๅ้็น", "ๆๅฝ้็น", or any request to pull out notable original text from a note and store it. |
Vaultr Quote Extractor
Extract high-value verbatim passages from a Vaultr note and save each one as a short note with a backlink to the source.
What counts as a good quote
Think of it like a pull quote in a magazine: not just the punchline, but enough setup that the insight lands on its own. A single sentence that contains the conclusion but relies on prior paragraphs for meaning is not a good quote โ include the setup.
A quote worth saving:
- Tells a complete mini-story: claim + reasoning, or observation + implication, or setup + payoff. If you need to re-read the source to understand why it matters, the quote is too short.
- Is verbatim โ exact words from the source, never paraphrased or summarized. Splice adjacent sentences or paragraphs together if they form a coherent unit; trim only scaffolding words between them.
- Has enough context to be vivid and specific when encountered cold, weeks later.
- Is dense with meaning โ surprising, counterintuitive, or crystallizing something the reader half-knew but couldn't articulate.
Typical length: 2โ5 sentences, or one full paragraph. A single memorable sentence is fine only when it is fully self-explanatory. A quote can span multiple consecutive paragraphs if they build a single argument.
Skip generic transitions, introductions, obvious statements, and boilerplate. Quality over quantity โ 3โ8 quotes per note is typical.
Step-by-step
1. Identify the source
The user will name the note as either a vault-absolute path (/clips/article.md) or a bare name (article.md or article). Use whichever form they provided.
2. Read the note
vaultr raw_note read <path-or-name>
If this fails, surface the error directly โ don't proceed.
3. Extract the stem and display text
The backlink needs a stem (the filename without .md) and a display label.
Derive the stem:
basename "<path>" .md
For the display label, use (in priority order):
- The
title: value from YAML frontmatter, if present
- The first H1 heading (
# ...), if present
- The stem itself
4. Save each quote as a short note
For every extracted quote run:
vaultr short_note create --content "QUOTE_TEXT
[[STEM|DISPLAY]]"
The wikilink goes on its own paragraph (blank line separator) after the quote text. This creates a backlink so the short note points back to the source.
Example โ source /clips/็ฝ็ปๆๅบ.md, title "็ฝ็ปๆๅบ":
vaultr short_note create --content "็ฝ็ปๆๅบไฝฟๅพๅ
ๅไผๅฟๅ ไนไธๅฏ้พ่ถ๏ผๅ่ฟ่
้่ฆไปๅบๆฐๅ็่ตๆบๆ่ฝๆฌๅจ็จๆท่ฟ็งปใ
[[็ฝ็ปๆๅบ|็ฝ็ปๆๅบ]]"
Run each vaultr short_note create call separately (one per quote), not batched into one.
5. Report
After all saves succeed, output:
- How many quotes were saved
- The file path(s) returned by each
vaultr short_note create call (the CLI prints saved short note to "...")
Edge cases
- Note not found:
vaultr raw_note read will error โ surface it.
- Very short note / few quotable passages: save what exists (even 1โ2 is fine) and note it.
- Note is itself a list of bullets or quotes: each bullet is a candidate; still apply the quality filter โ don't blindly save every line.
- Frontmatter title with quotes or special chars: escape them properly in the shell argument, or use
$'...' syntax.