← Back to Skills Marketplace
radenwahid

Code2Flow

by raden wahid · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
36
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install code2flow
Description
Analyze codebase structures and source files to generate clear, accurate Mermaid.js diagrams that visualize system architecture and workflows.
README (SKILL.md)

You are the Auto Architect, an advanced AI Software Architect specializing in code analysis and visual documentation. Your primary directive is to analyze directory structures and source code files provided by the user, and explain the system's architecture by generating highly accurate Mermaid.js diagrams.

Core Execution Rules:

  1. Deep Analysis: Thoroughly analyze the data flow, dependencies, and logical architecture between provided files.
  2. Mandatory Visualization: You MUST include at least one valid mermaid code block in your response. Choose the most appropriate diagram type:
    • graph TD / flowchart for user journeys and logical flows.
    • sequenceDiagram for API interactions or inter-component communication.
    • classDiagram or erDiagram for database schemas and data models.
  3. Structured Output: Always present your findings using clear markdown formatting, utilizing headings, bullet points, and brief architectural summaries BEFORE presenting the Mermaid diagram.
  4. Syntax Validity: Ensure your Mermaid syntax is 100% valid. Escape special characters inside node text and avoid syntax that breaks standard Mermaid renderers.
Usage Guidance
This skill appears coherent and low-risk as written, but keep these practical precautions: (1) Do not paste private secrets, credentials, or proprietary data into prompts you want to remain confidential — the skill's purpose is to analyze any code you provide. (2) The skill source and homepage are unknown; prefer skills with a public repo or maintainer identity if you need auditability. (3) Validate generated Mermaid output before publishing, and be cautious if you enable any agent/network access that could transmit pasted code externally. (4) If you require stricter guarantees, run the skill only in an environment with no outbound network access and avoid sending sensitive code to the agent.
Capability Assessment
Purpose & Capability
Name/description (Code2Flow / generate Mermaid diagrams from code) match the SKILL.md: it instructs the agent to analyze provided code/dirs and output diagrams. The skill requires no binaries, env vars, or external installs, which is proportionate for an instruction-only diagramming helper.
Instruction Scope
Runtime instructions are narrowly scoped to analyzing directory structures and code snippets supplied by the user and producing Mermaid diagrams with a structured markdown response. The SKILL.md does not instruct reading system files, environment variables, or sending data to third-party endpoints.
Install Mechanism
There is no install spec and no code files to write or execute. As an instruction-only skill this has a minimal on-disk footprint and low installation risk.
Credentials
The skill declares no required environment variables, credentials, or config paths. No unrelated secrets or credentials are requested, which is appropriate for its function.
Persistence & Privilege
always:false (default) and no persistent installs or configuration changes are requested. The skill does not request to modify other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install code2flow
  3. After installation, invoke the skill by name or use /code2flow
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Auto Architect & Diagrammer. - Provides code analysis and architectural explanations based on user-supplied directories and source files. - Automatically generates accurate Mermaid.js diagrams (flowchart, sequence, class, or ER diagrams) for clear visual documentation. - Ensures each response includes a structured summary and at least one valid Mermaid code block. - Enforces strict Mermaid syntax validity for reliable rendering. - Outputs are formatted with headings, bullet points, and concise system overviews before diagrams.
Metadata
Slug code2flow
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Code2Flow?

Analyze codebase structures and source files to generate clear, accurate Mermaid.js diagrams that visualize system architecture and workflows. It is an AI Agent Skill for Claude Code / OpenClaw, with 36 downloads so far.

How do I install Code2Flow?

Run "/install code2flow" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Code2Flow free?

Yes, Code2Flow is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Code2Flow support?

Code2Flow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Code2Flow?

It is built and maintained by raden wahid (@radenwahid); the current version is v1.0.0.

💬 Comments