bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
Agent skill for generating clean Kroki diagrams, interactive SVG viewers, and auto-built diagram indexes.
SkillsPython · ShellGitHub @smoldragoSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Installable projects can be verified without a deployment domain. Use GitHub sign-in for a personal repository, or the repository verification file above for an organization repository.
Ask about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A distributable agent skill for turning architecture ideas, flows, schemas, and dependency maps into clean, versionable diagrams.
Kroki is a diagram rendering service. Instead of drawing boxes manually in a GUI, you write diagrams as text using engines like PlantUML, Mermaid, Graphviz, and ERD syntax, then Kroki renders them to SVG, PNG, PDF, or text output.
That gives you a few big advantages:
This skill packages that workflow for coding agents so they do not just dump raw diagram syntax or pick a random engine. It helps them choose the right diagram type, style it sanely, render it, and optionally make it interactive.
https://github.com/user-attachments/assets/e22072b9-ae73-4405-b6ad-659f2cefc868
From start to finish, the skill:
interactive.html viewer around the SVGindex.html page for the diagram collectionSo it is not just “render this diagram.” It is a full diagram production workflow.
plantuml, c4plantuml, graphviz, mermaid, and erdindex.html pages with list and card viewsdocs/diagrams/<artifact-name>/When you render an interactive wrapper, the generated HTML viewer can provide:
Support is strongest for:
Best-effort support exists for:
This skill is built for tasks like:
Examples:
The packaged skill payload lives at plugins/kroki-diagrams/.
Important pieces:
SKILL.md
The main workflow and decision rules.render_kroki_diagram.py
Renders diagram source through Kroki, prints a shareable URL, writes metadata, and refreshes index.html.build_interactive_kroki_html.py
Wraps rendered SVG output in an interactive HTML viewer (dark/light theme, node list, minimap, copy-URL).build_diagram_index.py
Builds the collection gallery page for a directory of diagram artifacts (filter rail, search, grid/list, theme toggle).references/
Holds the selection matrix, style templates, layout rules, and support notes the agent reads on demand.The skill usually writes one folder per diagram artifact:
docs/diagrams/my-diagram/
source.puml
rendered.svg
interactive.html
.diagram-meta.json
And at the parent level it can maintain:
docs/diagrams/index.html
That index is useful once a repo accumulates a larger diagram library.
Normal SVG render:
python3 plugins/kroki-diagrams/scripts/render_kroki_diagram.py \
--engine plantuml \
--input /path/to/source.puml \
--output /path/to/rendered.svg
SVG render plus interactive viewer:
python3 plugins/kroki-diagrams/scripts/render_kroki_diagram.py \
--engine plantuml \
--input /path/to/source.puml \
--output /path/to/rendered.svg \
--interactive-output /path/to/interactive.html
What you get back:
index.html by defaultThis repo includes a ready-to-open sample set under examples/interactive-playground/.
It includes medium-complex examples across the main supported engines:
Start with:
To rebuild the sample outputs from source:
cd examples/interactive-playground
./render_all.sh
Because different diagram jobs want different engines.
This skill handles that selection step so the agent does not force one engine onto every problem.
/plugin marketplace add smoldrago/kroki-diagrams
/plugin install kroki-diagrams@kroki-diagrams-marketplace
git clone --depth 1 https://github.com/smoldrago/kroki-diagrams.git /tmp/kroki-diagrams
cp -r /tmp/kroki-diagrams/plugins/kroki-diagrams ~/.agents/skills/kroki-diagrams
rm -rf /tmp/kroki-diagrams
Invoke with $kroki-diagrams or let Codex trigger it implicitly.
curl -fsSL https://raw.githubusercontent.com/smoldrago/kroki-diagrams/main/install-pi.sh | bash
Or clone and run:
git clone --depth 1 https://github.com/smoldrago/kroki-diagrams.git
cd kroki-diagrams
./install-pi.sh
.claude-plugin/
plugin.json
marketplace.json
plugins/
kroki-diagrams/
.claude-plugin/plugin.json
SKILL.md
agents/openai.yaml
references/
scripts/
install-pi.sh
Shipped:
Planned:
MIT