Download for macOS
Skill

knap

@kepano Updated 2026-09-15

Render Markdown from templates and structured data using Knap CLI. Use when the user asks to apply a Knap template, turn JSON or CSV data into notes, batch-generate Markdown files, or format Defuddle output into a note.

agentsagentskillsbasesclaudeclawdbotclicodexdefuddle

Install

With your agent

Install OMGSkills skill "kepano/obsidian-skills:knap" into this agent's normal skills directory: use the OMGSkills MCP get_skill tool, install only the pinned_install commit and path, verify SKILL.md against pinned_install.skill_md_sha, and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/kepano/obsidian-skills /tmp/obsidian-skills && ln -s /tmp/obsidian-skills/skills/knap ~/.claude/skills/knap

From README

Knap Use Knap CLI to render Markdown templates with variables, filters, and logic. If not installed: npm -g knap (requires Node.js 20 or later). Alternatively, use npx knap. Run knap --help for available commands and options. Discover the language through the CLI's offline reference: Use the lists to find names, then request individual help for syntax, parameters, and examples with expected output. Render a template with JSON variables: Supply a template and data inline: Override a variable or pipe JSON data: Data must be a JSON object; its properties become template variables. --set overrides literal top-level keys with strings. Use JSON for nested objects, arrays, numbers, and booleans. Choose one template source (file, -t, or stdin) and one data source (--data or --data-json). Only one input can read stdin. Without a template file or -t, Knap reads the template from stdin. Output defaults to stdout.