All skills
davila7 avatar

/obsidian-clipper-template-creator

@1deb97c

Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.

Use this Skill: https://skilld.dev/gh/davila7/claude-code-templates/obsidian-clipper-template-creator

This session only. Nothing lands on disk.

referencesvariables.md

≈448 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Obsidian Web Clipper Variables

Official Docs: help.obsidian.md/web-clipper/variables

Preset Variables

Automatically extracted from the page.

  • {{content}}: Main article content (markdown).
  • {{contentHtml}}: Main article content (HTML).
  • {{title}}: Page title.
  • {{url}}: Page URL.
  • {{author}}: Author name.
  • {{date}}: Current date.
  • {{published}}: Publication date (if detected).
  • {{site}}: Site name.
  • {{description}}: Meta description.
  • {{highlights}}: Highlighted text (if any).
  • {{selection}}: Selected text.
  • {{fullHtml}}: Full page HTML.
  • {{favicon}}: Favicon URL.
  • {{image}}: Social share image URL.
  • {{words}}: Word count.
  • {{domain}}: Domain name.

Prompt Variables (AI)

Use {{"Your prompt here"}} to ask the AI Interpreter to extract or summarize info. Requires Interpreter to be enabled.

Examples:

  • {{"Summarize in 3 bullet points"}}
  • {{"Extract the ingredients list"}}
  • {{"Translate to English"}}

Selector Variables

Extract content using CSS selectors. Syntax: {{selector:css-selector}} or {{selector:css-selector?attribute}}

Examples:

  • {{selector:h1}}: Text of H1 tag.
  • {{selector:img.hero?src}}: Source of image with class 'hero'.
  • {{selector:.author}}: Text of element with class 'author'.
  • {{selectorHtml:body|markdown}}: Full HTML converted to markdown.

Meta Variables

Extract data from meta tags. Syntax: {{meta:name}} or {{meta:property}}

Examples:

  • {{meta:description}}
  • {{meta:og:title}}

Schema.org Variables

Extract structured data. Syntax: {{schema:Property}} or {{schema:@Type:Property}}

Examples:

  • {{schema:Recipe:recipeIngredient}}
  • {{schema:author.name}}
  • {{schema:Article:headline}}

Source: SKILL.md on GitHub

2 warnings16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is generally safe but has a surface for indirect prompt injection because it retrieves and processes untrusted content from external websites and local files to generate templates.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    8/8 files flagged

Signed by skilld at 1deb97c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 hours ago.

Activeupdated 8 months ago

README badge

README badge for davila7/claude-code-templates/obsidian-clipper-template-creator