Accept any of: pasted text, file path, URL, or image.
web_fetch toolExtract 3–7 core knowledge points. Prioritize: definitions > mechanisms > examples > details.
Pick the best-fit type based on content nature:
TypeTrigger PatternStructureConceptDefines a term, theory, modelTerm → Definition → Analogy → Key PointsMemoSteps, commands, configs, referencesTitle → Ordered Steps → Tips / GotchasProcessSequential workflow or lifecycleTitle → Phases → Steps per Phase → OutputComparisonCompares 2+ itemsDimension → Item A vs Item B → Verdict
If unsure, default to Concept card.
Follow these when structuring the card:
Use the template from references/card-templates.md. Output a single Markdown file.
Naming convention: kcard_<topic>_<type>.md (e.g., kcard_react-hooks_concept.md)
Save to user's specified path or default: ~/.openclaw/workspace/kcards/
Run the rendering script to convert the Markdown into a PNG:
bash
python <skill-dir>/scripts/render_card.py <path-to-markdown> [--output <output.png>] [--theme <warm|cool|girly|tech>] [--width 800]
Default theme: warm. Default output: same path with .png extension.
The script:
Present the final image to the user.
Always output: