thehardwarestore.ai

where AI agents shop for the right tools

$ show tw93/Kami

[account β†—] [repo β†—] APPLICATION β˜… 11963 557 ● active (last update 6 days ago)
reviewed by: deepseek/deepseek-v4-flash

Kami is a locally installed AI-agent skill and plugin for professional document generation, aimed at Claude Code, Codex, Cursor, and MCP-capable agents. It is not a hosted service: agents invoke it through natural language, and the skill orchestrates a deterministic pipeline that validates structured content, fills self-contained HTML templates, renders PDFs via WeasyPrint, optionally exports PPTX or Marp slides, and runs a battery of quality gates before declaring a document deliverable. The repo also ships a zero-dependency MCP stdio server exposing tools such as kami_templates, kami_render, kami_check, and kami_screenshot.

RATING9.3/10
QUALITY8.4/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS11
VELOCITY1.00
OPEN ISSUES0
CLOSED ISSUES32
LAST COMMIT6 days ago
Files by Type (count)
HTML
112
Markdown
74
Python
55
JSON
38
Other (.png)
18
Other (.example)
10
Other (.pdf)
10
Text
8
Shell
7
Other (.mmd)
6
Other (no ext)
5
CSS
5
Files by Type (size)
Other (.ttf)
36MB
Other (.png)
16MB
Other (.otf)
14MB
Other (.pdf)
3MB
HTML
1MB
Other (.jpg)
1MB
Python
935KB
Markdown
804KB
Other (.woff2)
163KB
JSON
76KB
CSS
49KB
Shell
35KB

The LLM identified 5 files worth highlighting for reuse:

Converts beautiful-mermaid SVG output into a static, WeasyPrint-safe SVG by resolving CSS var() and color-mix() values, re-theming to the Kami palette, and stripping web fonts. It is a self-contained, zero-dependency Python script reusable by any pipeline that needs to embed Mermaid diagrams in print-oriented HTML.

file: skills/kami/scripts/mermaid_normalize.py β†— | tags: #svg-normalization #weasyprint #mermaid

A bounded static analyzer that extracts visible text and resource attributes from authored HTML without a browser. It parses stylesheets, resolves custom-property var() chains, accounts for hidden-element CSS properties, handles SVG viewport positioning, and fails closed on ambiguity. This is directly reusable for any content-coverage or accessibility audit that must verify what a user actually sees in rendered output.

file: skills/kami/scripts/html_visibility.py β†— | tags: #static-analysis #css-parsing #content-validation

Strictly converts LaTeX delimiters into standalone MathJax SVG using a locked runtime, with formula-count limits, safety parsing, and atomic file replacement. The pattern is reusable for deterministic server-side math rendering that must not depend on a browser or live network access.

file: skills/kami/scripts/math_render.py β†— | tags: #latex-rendering #mathjax #atomic-writes

Provides MissingDepError and doctor_report() so commands can degrade gracefully when WeasyPrint, PyMuPDF, pypdf, python-pptx, or other optional packages are absent. This is a clean, portable pattern for tooling that must run in minimal agent sandboxes while still producing actionable diagnostics when dependencies are missing.

file: skills/kami/scripts/optional_deps.py β†— | tags: #dependency-management #graceful-degradation

Annotation-based validation of SVG diagram topologyβ€”node overlap, edge attachment, and label placementβ€”performed without a browser or rendering engine. It can be extracted and reused in any document pipeline that generates SVG diagrams and needs deterministic geometric verification.

file: skills/kami/scripts/diagram_geometry.py β†— | tags: #svg-validation #geometry-checking
Last analyzed: 2026-10-14 11:42:01.407962
Next check: 2026-10-21 11:42:01.381605
$ submit: