Reverse engineer anything with agents, from app behavior down to native binaries.
knap
Agent skill fromobsidianmd/obsidian-skills
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.
How to install knap
npx skills add obsidianmd/obsidian-skills# or add only this skill to Claude Code: copy the folder
plugins/obsidian/skills/knap/
# into
~/.claude/skills/knap/ (all projects)
.claude/skills/knap/ (one project)
1# Knap23Use Knap CLI to render Markdown templates with variables, filters, and logic.45Check 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.67Run `knap --help` for available commands and options. Discover the language through the CLI's offline reference:89```bash10knap help syntax11knap help filters12knap help filter date13knap help tags14knap help tag for15```1617Use the lists to find names, then request individual help for syntax, parameters, and examples with expected output.1819## Usage2021Render a template with JSON variables:2223```bash24knap render template.md --data article.json -o note.md25```2627Supply a template and data inline:2829```bash30knap render -t '# {{ title | trim }}' --data-json '{"title":"Hello"}'31```3233Override a variable or pipe JSON data:3435```bash36knap render template.md --data article.json --set 'title=Custom title'37cat article.json | knap render template.md --data -38```3940Data 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.4142Choose 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.43…
Excerpt shown under the repository's MIT license.
More skills in obsidian-skills
Similar skill repositories
Skills for Real Engineers. Straight from my .agents directory.
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
