Knap Markdown Template Renderer
Render Markdown notes from templates plus JSON/CSV data using the Knap CLI, one file or in bulk.
AutomationIntermediate★ 53,680⑂ 3,821AI score 9/10Last updated: Nov 20, 2026
What it does
- Renders Markdown templates with
{{ variables }},|filters and{% if %}logic into finished notes viaknap render. - Batch-generates one file per CSV row, JSON array item, or JSON file in a folder with
knap batchand filename templates. - Validates template syntax up front with
knap validate, and covers--dry-run,--overwrite, and stdin/stdout rules. - Pipes Defuddle web-article JSON straight into a template to produce a clipped note.
- States its limits clearly: no Web Clipper browser variables, selectors, prompts, or DOM-dependent filters; never claim success if the CLI errors.
Who it's for
- Obsidian users who generate notes from templates
- Anyone turning CSV spreadsheets or API JSON into a set of Markdown documents
- Knowledge workers standardizing web clippings
Examples
knap render template.md --data article.json -o note.md— turn one JSON record into a note with frontmatter.knap batch template.md --data articles.csv --output-dir notes --filename '{{ title | safe_name }}.md'— generate a note per CSV row.defuddle parse <URL> --md --json | knap render template.md --data - -o note.md— clip a web article into a formatted note.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/obsidianmd/obsidian-skills/HEAD/plugins/obsidian/skills/knap/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the plugins/obsidian/skills/knap folder from the GitHub repo obsidianmd/obsidian-skills into my ~/.claude/skills/knap/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/obsidianmd/obsidian-skills.git && mkdir -p ~/.claude/skills && cp -r obsidian-skills/plugins/obsidian/skills/knap ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install Node.js 20 or later (check with
node -v). - Install the CLI:
npm install -g knap(or usenpx knapper run). - Clone the skills repo:
git clone https://github.com/obsidianmd/obsidian-skills.git - Copy the skill folder:
mkdir -p ~/.claude/skills && cp -r obsidian-skills/plugins/obsidian/skills/knap ~/.claude/skills/ - Restart Claude Code and ask something like "apply this Knap template to my CSV" to trigger it.
- Verify the tool with
knap --helpin your terminal.
View source on GitHub ↗License: MIT