AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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 via knap render.
  • Batch-generates one file per CSV row, JSON array item, or JSON file in a folder with knap batch and 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

  1. knap render template.md --data article.json -o note.md — turn one JSON record into a note with frontmatter.
  2. knap batch template.md --data articles.csv --output-dir notes --filename '{{ title | safe_name }}.md' — generate a note per CSV row.
  3. 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Install Node.js 20 or later (check with node -v).
  2. Install the CLI: npm install -g knap (or use npx knap per run).
  3. Clone the skills repo: git clone https://github.com/obsidianmd/obsidian-skills.git
  4. Copy the skill folder: mkdir -p ~/.claude/skills && cp -r obsidian-skills/plugins/obsidian/skills/knap ~/.claude/skills/
  5. Restart Claude Code and ask something like "apply this Knap template to my CSV" to trigger it.
  6. Verify the tool with knap --help in your terminal.