Skip to content

Render Markdown notes from templates and structured JSON or CSV data using the Knap CLI.

CCM score
67 of 100
skills.sh installs
10.5K
GitHub stars
55.6K
last updated
Dec 2, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers single renders, batch generation, and Defuddle web page output rendered into notes
  • Includes knap render, knap validate, and knap batch, with --set, --dry-run, and --overwrite options
  • Enforces single template and data sources, and errors on duplicate batch output names
  • Designed for users who need templated Markdown notes from JSON, CSV, or extracted web pages

Install

$ npx -y skills add obsidianmd/obsidian-skills --skill knap -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Knap

Use Knap CLI to render Markdown templates with variables, filters, and logic.

Check availability with knap --help. If it is missing, explain that Knap requires Node.js 20 or later and offer installation with npm install -g knap or execution with npx knap. Do not claim a template was rendered if the tool is unavailable or returns an error.

Run knap --help for available commands and options. Discover the language through the CLI's offline reference:

knap help syntax
knap help filters
knap help filter date
knap help tags
knap help tag for

Use the lists to find names, then request individual help for syntax, parameters, and examples with expected output.

Usage

Render a template with JSON variables:

knap render template.md --data article.json -o note.md

Supply a template and data inline:

knap render -t '# {{ title | trim }}' --data-json '{"title":"Hello"}'

Override a variable or pipe JSON data:

knap render template.md --data article.json --set 'title=Custom title'
cat article.json | knap render template.md --data -

Details

Repository
github.com/obsidianmd/obsidian-skills
First seen
Dec 2, 2026

More from obsidianmd/obsidian-skills

All 6

Similar to Knap