GitDiagram Repository Overview
ahmedkhaleel2004/gitdiagram
Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.
Generate Mermaid diagrams from your codebase. An agent skill from sundial-org/awesome-openclaw-skills.
$ npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sundial-org/awesome-openclaw-skills diagram-gen --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/diagram-gen .claude/skills/diagram-gen && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "diagram-gen" agent skill from https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-gen into .claude/skills/diagram-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagram-gen", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-genType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sundial-org/awesome-openclaw-skills diagram-gen --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/diagram-gen .agents/skills/diagram-gen && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "diagram-gen" agent skill from https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-gen into .agents/skills/diagram-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagram-gen", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sundial-org/awesome-openclaw-skills diagram-gen --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/diagram-gen .cursor/skills/diagram-gen && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "diagram-gen" agent skill from https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-gen into .cursor/skills/diagram-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagram-gen", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sundial-org/awesome-openclaw-skills.git --path skills/diagram-gen--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sundial-org/awesome-openclaw-skills diagram-gen --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/diagram-gen .gemini/skills/diagram-gen && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "diagram-gen" agent skill from https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-gen into .gemini/skills/diagram-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagram-gen", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sundial-org/awesome-openclaw-skills diagram-genInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/diagram-gen .github/skills/diagram-gen && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "diagram-gen" agent skill from https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-gen into .github/skills/diagram-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagram-gen", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sundial-org/awesome-openclaw-skills diagram-gen --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/diagram-gen .opencode/skills/diagram-gen && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "diagram-gen" agent skill from https://github.com/sundial-org/awesome-openclaw-skills/tree/main/skills/diagram-gen into .opencode/skills/diagram-gen/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "diagram-gen", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
diagram-genGenerate Mermaid diagrams from your codebase. An agent skill from sundial-org/awesome-openclaw-skills.
Diagram Gen is an agent skill from sundial-org/awesome-openclaw-skills. Generate Mermaid diagrams from your codebase. Use when you need architecture visualizations.
Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files (for example `README.md`, `dist/cli.d.ts` and `dist/cli.js`).
It sits in Development, covering Diagrams. It works with GitHub and Mermaid. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.
Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (TypeScript and JavaScript), which the agent can run.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comx.comlxgicstudios.substack.comlxgicstudios.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Diagram Gen loads about 527 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 213 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 213 words (~527 tokens).
“Architecture diagrams are always out of date because nobody maintains them. This tool reads your code and generates accurate Mermaid diagrams automatically.”
SKILL.md and 10 other files in skills/diagram-gen of sundial-org/awesome-openclaw-skills.
Open the folder on GitHubat commit b80cde2
Diagram Gen next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Diagram Gen this skillsundial-org/awesome-openclaw-skills | 663 | — | ~527 | Automated safety check: Pass | None | |
| GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram | 18k | — | ~427 | Automated safety check: Pass | MIT | |
| Design Doc MermaidSpillwaveSolutions/design-doc-mermaid | 176 | 1 repos | ~5.6k | Automated safety check: Pass | None | |
| GitDiagram Repo Architectureahmedkhaleel2004/gitdiagram | 18k | — | ~429 | Automated safety check: Pass | MIT | |
| Deep Repository Architecture Analyzeryzddmr6/repo-analyzer | 492 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Work Issuejoesaby/astro-mermaid | 123 | — | ~891 | Automated safety check: Pass | MIT |
ahmedkhaleel2004/gitdiagram
Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.
SpillwaveSolutions/design-doc-mermaid
Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.
ahmedkhaleel2004/gitdiagram
Explains how a public GitHub repository is built by fetching its GitDiagram architecture diagram, components and optional explainer video.
yzddmr6/repo-analyzer
Produces an in-depth architecture report on an open-source project or framework, explaining why it is designed the way it is rather than just what the code does.
joesaby/astro-mermaid
End-to-end workflow for resolving a GitHub issue in astro-mermaid — triages complexity, then runs brainstorm → TDD → implement → docs/spec → code review at the right depth.
shuotao/REVIT_MCP_study
引導剛寫完 domain 的老師把 SOP 流程圖像化:先討論主流程、做流程健檢(迴圈/死路/缺口),再把流程整理成結構化 spec,交由 .claude/skills/domain-diagram/scripts/mermaidfromspec.py 確定性地產出 GitHub 原生 mermaid 圖與健檢結論並回嵌…
sundial-org/awesome-openclaw-skills
UI/UX design intelligence and implementation guidance for building polished interfaces.
sundial-org/awesome-openclaw-skills
Create and deploy single-page static websites to GitHub Pages with autonomous workflow.
sundial-org/awesome-openclaw-skills
Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.
sundial-org/awesome-openclaw-skills
Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.
sundial-org/awesome-openclaw-skills
AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.
sundial-org/awesome-openclaw-skills
Text-to-speech conversion using node-edge-tts npm package for generating audio from text.
Categories
Generate Mermaid diagrams from your codebase. An agent skill from sundial-org/awesome-openclaw-skills. Diagram Gen is an agent skill from sundial-org/awesome-openclaw-skills. Generate Mermaid diagrams from your codebase.
Diagram Gen fits situations like: you need architecture visualizations; tasks that involve Diagrams.
Run `npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a claude-code`. Or copy the skill folder (skills/diagram-gen in sundial-org/awesome-openclaw-skills) into .claude/skills/diagram-gen in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a codex`. Or copy the skill folder (skills/diagram-gen in sundial-org/awesome-openclaw-skills) into .agents/skills/diagram-gen in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill diagram-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diagram-gen, .gemini/skills/diagram-gen, .github/skills/diagram-gen and .opencode/skills/diagram-gen in your project.
Going by SKILL.md and its folder, Diagram Gen needs TypeScript and JavaScript for the scripts in its folder, the command-line tools its instructions call (npx) and credentials named OPENAI_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY.
SKILL.md names 4 domains. As links in the text: github.com, x.com, lxgicstudios.substack.com and lxgicstudios.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for Diagram Gen or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 527 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Diagram Gen: GitDiagram Repository Overview (ahmedkhaleel2004/gitdiagram, 18k stars), Design Doc Mermaid (SpillwaveSolutions/design-doc-mermaid, 176 stars), GitDiagram Repo Architecture (ahmedkhaleel2004/gitdiagram, 18k stars) and Deep Repository Architecture Analyzer (yzddmr6/repo-analyzer, 492 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.
Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.