Skip to content
Kitbay

knap

MITUpdated on Nov 11, 202652,433GitHub stars

A skill in Obsidian's official skills repository for Knap, a Node.js command-line tool that fills Markdown templates from data using variables, filters, conditions and loops.

What the skill teaches

A skill in Obsidian's official skills repository for Knap, a Node.js command-line tool that fills Markdown templates from data using variables, filters, conditions and loops. The agent checks whether knap is installed, offers to install it or run it through npx, and never claims a render worked when the tool failed. It renders one template from JSON or standard input, validates template syntax and filter names, and batch-creates one Markdown file per CSV row or JSON item, with dry runs and safe filenames. It also shows how to pipe Defuddle's extracted web page JSON into a note template. The skill itself does not mention Obsidian vaults.

Capabilities

  • Render a Markdown template from JSON data
  • Validate template syntax and filters
  • Create one note per CSV row or JSON item
  • Turn Defuddle web page output into a note