O
obsidian-clipper-template-creator
About obsidian-clipper-template-creator
Obsidian Web Clipper Template Creator is a skill for producing importable JSON templates. It checks Obsidian Bases and analyzes a sample webpage to validate template properties and variables.
Key features
- 01Map Bases properties to templates
- 02Inspect sample page HTML
- 03Analyze Schema.org and metadata
- 04Draft valid JSON templates
- 05Verify template variables
Use cases
- 01Create a recipe clipping template
- 02Build a template for a specific website
- 03Match clip fields to an existing Base
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ davila7/ claude-code-templates --skill obsidian-clipper-template-creatorAfter installing, type/obsidian-clipper-template-creatorin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
assets/clipping-template.jsonrecipe-template.jsonreferences/analysis-workflow.mdbases-workflow.mdfilters.mdjson-schema.mdvariables.mdDetails
From the project READMEObsidian Web Clipper Template Creator
This skill helps you create importable JSON templates for the Obsidian Web Clipper.
Workflow
- Identify User Intent: specific site (YouTube), specific type (Recipe), or general clipping?
- Check Existing Bases: The user likely has a "Base" schema defined in
Templates/Bases/.- Action: Read
Templates/Bases/*.baseto find a matching category (e.g.,Recipes.base). - Action: Use the properties defined in the Base to structure the Clipper template properties.
- See references/bases-workflow.md for details.
- Action: Read
- Fetch & Analyze Reference URL: Validate variables against a real page.
- Action: Ask the user for a sample URL of the content they want to clip (if not provided).
- Action: Use
WebFetchto retrieve the page HTML. - Action: Analyze the HTML for Schema.org JSON, Meta tags, and CSS selectors.
- See references/analysis-workflow.md for analysis techniques.
- Draft the JSON: Create a valid JSON object following the schema.
- Verify Variables: Ensure the chosen variables (Preset, Schema, Selector) exist in your analysis.
Output Format
ALWAYS output the final result as a JSON code block that the user can copy and import.
{
"schemaVersion": "0.1.0",
"name": "My Template",
...
}
Resources
- references/variables.md - Available data variables.
- references/filters.md - Formatting filters.
- references/json-schema.md - JSON structure documentation.
- references/bases-workflow.md - How to map Bases to Templates.
- references/analysis-workflow.md - How to validate page data.
Official Documentation
Examples
See assets/ for JSON examples.
Comments
Markdown supported