{"id":"2ab668e0-d747-48fa-b0ad-00460b02968f","entityType":"agent","slug":"clawhub-wangjipeng977-code-to-mindmap","name":"Code To Mindmap","canonicalUrl":"https://www.xpersona.co/agent/clawhub-wangjipeng977-code-to-mindmap","canonicalPath":"/agent/clawhub-wangjipeng977-code-to-mindmap","generatedAt":"2026-10-12T12:54:47.977Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T23:51:46.886Z","emptyReason":null},"description":"Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the... Skill: Code To Mindmap Owner: wangjipeng977 Summary: Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-05-19T05:55:32.712Z | user Update README with real Features and 功能特性 content v1.0.0 | 2026-05-19T04:17:08.925Z | user Initial release Archive index: Archive","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 973 downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s179qwqch3yp9926afz4rxbz0h85z9mm:code-to-mindmap","sourceUrl":"https://clawhub.ai/wangjipeng977/code-to-mindmap","homepage":"https://clawhub.ai/wangjipeng977/skills/code-to-mindmap","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/wangjipeng977/code-to-mindmap","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/wangjipeng977/skills/code-to-mindmap","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the... "},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T23:51:46.886Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T23:51:46.886Z","emptyReason":null},"stars":null,"forks":null,"downloads":973,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"1.0.1","tractionLabel":"973 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T23:51:46.873Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T23:51:46.886Z","lastCrawledAt":"2026-10-11T23:51:46.873Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T23:51:46.873Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.1","createdAt":"2026-05-19T05:55:32.712Z","changelog":"Update README with real Features and 功能特性 content","fileCount":12,"zipByteSize":12879},{"version":"1.0.0","createdAt":"2026-05-19T04:17:08.925Z","changelog":"Initial release","fileCount":11,"zipByteSize":10932}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s179qwqch3yp9926afz4rxbz0h85z9mm:code-to-mindmap","setupComplexity":"medium","setupSteps":["Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.","Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-12T12:54:47.976Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wangjipeng977-code-to-mindmap/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T23:51:46.886Z","emptyReason":null},"readme":"Skill: Code To Mindmap\n\nOwner: wangjipeng977\n\nSummary: Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the...\n\nTags: latest:1.0.1\n\nVersion history:\n\nv1.0.1 | 2026-05-19T05:55:32.712Z | user\n\nUpdate README with real Features and 功能特性 content\n\nv1.0.0 | 2026-05-19T04:17:08.925Z | user\n\nInitial release\n\nArchive index:\n\nArchive v1.0.1: 12 files, 12879 bytes\n\nFiles: CHANGELOG.md (65b), CONTRIBUTING.md (2115b), README_zh.md (2264b), README.md (2376b), references/index.md (125b), scripts/render.py (2027b), scripts/requirements.txt (60b), scripts/setup.sh (240b), skill-card.md (1977b), SKILL.md (5133b), tests/test_skill.py (12115b), _meta.json (134b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: code-to-mindmap\ndescription: >\n  Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. \n  (2) user says \"show this as a mindmap\", \"draw the architecture\", \"make a flowchart of this code\", or \n  \"visualize the structure\". (3) user wants to understand an unfamiliar codebase by seeing its structure visually. \nlicense: MIT\nmetadata:\n  version: \"1.0\"\n  category: productivity\n  author: wangjipeng\n  sources:\n    - https://github.com/MiniMax-AI/skills\n---\n\n# Code to Mindmap\n\nUse when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the architecture\", \"make a flowchart of this code\", or \"visualize the structure\". (3) user wants to understand an unfamiliar codebase by seeing its structure visually.\n\n## Core Position\n\nThis skill solves the specific problem of: *code structure is hard to grasp from raw text — a visual map reveals relationships, hierarchy, and architecture at a glance.*\n\nThis skill IS NOT:\n- A code documentation tool — it produces visual diagrams, not written docs\n- A UML class diagram tool — use PlantUML for detailed class relationships\n- A code formatter — it does not change source code\n\nThis skill IS activated ONLY when: source code + visualization intent are both present.\n\n## Modes\n\n### `/code-to-mindmap`\n\n**Default mode.** Parses source code and outputs a Mermaid-compatible mindmap or graph.\n\nWhen to use: User provides code and wants a visual structure diagram.\n\n### `/code-to-mindmap/hierarchy`\n\nOutputs a tree showing file/folder hierarchy without analyzing imports.\n\nWhen to use: User wants to see project structure, not code relationships.\n\n## Execution Steps\n\n### Step 1 — Parse the Code Structure\n\n1. Receive source code (single file, snippet, or multi-file content)\n2. Detect language and framework:\n   - Python: parse `def`, `class`, `import`, `async def`\n   - JavaScript/TypeScript: parse `function`, `const`, `class`, `import`, `export`\n   - Go: parse `func`, `type`, `struct`, `package`\n   - General: detect class definitions, function definitions, module-level declarations\n3. Identify:\n   - Entry points (`main`, `app`, `index`)\n   - Class/struct names and their methods\n   - Top-level functions\n   - Cross-file dependencies (import/require statements)\n4. Build a hierarchical tree: modules → classes → methods → nested logic\n\n### Step 2 — Select Diagram Type\n\n| Code Shape | Diagram Type |\n|---|---|\n| Single file, class-heavy | Mindmap (center = class, branches = methods) |\n| Multi-file, import dependencies | Graph (nodes = files, edges = imports) |\n| Hierarchical directory | Tree / flowchart |\n| State machine or flow | State diagram |\n| Call graph (who calls whom) | Flowchart / directed graph |\n\n### Step 3 — Generate Diagram\n\nOutput as Mermaid `mindmap` or `graph LR` format:\n\n```mermaid\nmindmap\n  root((Code))\n    ClassName\n      method_one\n      method_two\n        nested_helper\n    another_class\n      handler\n```\n\nFor large codebases (>20 nodes), summarize: show top-level structure only, note that deeper nodes exist.\n\n### Step 4 — Validate\n\n- All detected classes/functions appear as nodes\n- Root/entry point is clearly marked as the center\n- No fabricated nodes (only from actual code)\n- Mermaid syntax is valid and renderable\n\n## Mandatory Rules\n\n### Do not\n\n- Do not make up method names, class names, or relationships not in the code\n- Do not render >30 nodes in a single diagram (split into sub-diagrams)\n- Do not replace source code comments with diagram comments\n- Do not activate for pseudo-code or algorithm descriptions without actual code\n\n### Do\n\n- Use the language's actual syntax to detect structure\n- Label nodes with function signatures for disambiguation (e.g., `calculate_sum(nums: list) -> int`)\n- Mark external library calls differently from project-internal calls\n- Preserve the root entry point as the diagram center\n\n## Quality Bar\n\n**A good output:**\n- Every class and function in the provided code appears as a labeled node\n- Relationships (calls, imports, inheritance) are represented as edges\n- The diagram is valid Mermaid and renders correctly\n- Entry points are visually distinct (center or top)\n\n**A bad output:**\n- Adds classes or methods not in the source code\n- Renders >30 nodes making the diagram unreadable\n- Misrepresents call direction (A calls B shown as B calls A)\n- Output is not valid Mermaid syntax\n\n## Good vs. Bad Examples\n\n| Scenario | Bad Output | Good Output |\n|---|---|---|\n| Single Python class | All methods listed flat with no hierarchy | Center = class name, methods as child nodes |\n| Multi-file project | One giant diagram with 50 nodes | Multiple sub-diagrams per module |\n| Imported standard library | Treated as internal dependencies | Marked differently (dashed border) |\n| Anonymous/lambda functions | Omitted | Listed as \"anonymous / lambda\" |\n\n## References\n\n- `references/` — Mermaid mindmap syntax guide, language-specific parsing patterns, code architecture patterns\n- `scripts/render.py` — Render Mermaid diagram to PNG/SVG\n\nFile v1.0.1:README.md\n\n# Code To Mindmap\n\n[中文版](./README_zh.md)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Version](https://img.shields.io/badge/version-1.0-blue)](SKILL.md)\n\n> Converts source code into visual mind maps, node graphs, and tree diagrams using Mermaid syntax\n\n## What Problem This Solves\n\nCode structure is hard to grasp from raw text — class hierarchies, function relationships, and module dependencies are invisible in a flat file. This skill parses source code and produces a visual diagram that reveals the architecture at a glance.\n\n**When triggered:** Source code + visualization/mindmap/flowchart intent.\n\n## Features\n\n- **Multi-language support** — parses Python, JavaScript/TypeScript, Go, and general class/function structures\n- **Hierarchical visualization** — shows modules → classes → methods → nested logic as a tree\n- **Smart diagram selection** — mindmap for class-heavy files, graph for import dependencies, tree for directory structure\n- **External library distinction** — marks imported stdlib/packages differently from project-internal calls\n\n## Quick Start\n\n```bash\n# Via ClawHub\nclawhub install code-to-mindmap\n\n# Or manually\ncp -r code-to-mindmap ~/.openclaw/skills/\n```\n\n### Usage\n\n```\n/code-to-mindmap\n```\n\nPaste source code and ask to visualize it as a mind map.\n\n```\n/code-to-mindmap/hierarchy\n```\n\nShows project file/folder tree without analyzing imports.\n\n## Modes\n\n| Mode | Description |\n|------|-------------|\n| `/code-to-mindmap` | Parses code, outputs Mermaid mindmap or graph |\n| `/code-to-mindmap/hierarchy` | Shows file/folder structure only, no import analysis |\n\n## Examples\n\n| Scenario | Diagram |\n|----------|---------|\n| Single Python class | Center = class name, methods as child nodes |\n| Multi-file project | Multiple sub-diagrams per module, import edges |\n| Anonymous/lambda functions | Listed as \"anonymous / lambda\" node |\n| 20+ node codebase | Split into sub-diagrams, top-level summary first |\n\n## Directory Structure\n\n```\ncode-to-mindmap/\n├── SKILL.md\n├── LICENSE\n├── README.md\n├── README_zh.md\n├── CONTRIBUTING.md\n├── .gitignore\n├── references/       # Mermaid syntax guide, parsing patterns\n├── scripts/          # render.py — Mermaid to PNG/SVG\n└── tests/\n```\n\n## License\n\nMIT License — see [LICENSE](LICENSE).\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn70zthc74p61mvctddrancx0s832g4r\",\n  \"slug\": \"code-to-mindmap\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1779170132712\n}\n\nFile v1.0.1:references/index.md\n\n# code-to-mindmap — References\n\nDetailed documents for `code-to-mindmap` skill.\n\nTODO: Add reference files here as needed.\n\nFile v1.0.1:scripts/requirements.txt\n\n# No external Python deps — uses mmdc CLI or mermaid.live\n\nFile v1.0.1:CHANGELOG.md\n\n# Changelog\n\n## [1.0] - 2026-05-18\n\n### Added\n\n- Initial release\n\nFile v1.0.1:CONTRIBUTING.md\n\n# Contributing to `Code To Mindmap`\n\nThank you for your interest in contributing! Please follow these steps to set up your development environment and submit changes.\n\n## Development Setup\n\n```bash\n# 1. Fork the repository on GitHub\n\n# 2. Clone your fork\ngit clone https://github.com/<your-username>/Code To Mindmap.git\ncd Code To Mindmap\n\n# 3. Install dependencies (if any)\npip install -r scripts/requirements.txt\n\n# 4. Run the self-audit to verify quality\npython scripts/audit_skill.py .\n```\n\n## Workflow\n\nWe use a standard feature branch workflow:\n\n```bash\n# 1. Create a new branch from main\ngit checkout -b feat/<your-feature-name>\n\n# 2. Make your changes\n#    - Follow the SKILL.md structure standards\n#    - Keep SKILL.md body in English\n#    - Do not hardcode API keys or secrets\n\n# 3. Run the audit to check for issues\npython scripts/audit_skill.py .\n\n# 4. Commit your changes\ngit add .\ngit commit -m \"feat(code-to-mindmap): add <brief description>\"\n\n# 5. Push to your fork\ngit push origin feat/<your-feature-name>\n\n# 6. Open a Pull Request on GitHub\n#    - Title: feat(code-to-mindmap): add <brief description>\n#    - Description: What + Why + Testing\n```\n\n## Code Standards\n\n- **SKILL.md**: Follow the YAML frontmatter standard (name, description, license, metadata)\n- **Scripts**: Must include shebang, requirements.txt, and graceful error handling\n- **Language**: SKILL.md body must be in English; reference docs in English\n- **No secrets**: Never commit API keys, tokens, or credentials\n\n## Quality Checklist\n\nBefore opening a PR, verify:\n\n- [ ] `audit_skill.py` exits with code 0 or 2\n- [ ] `validate_skills.py` exits with code 0\n- [ ] README.md and README_zh.md are both present\n- [ ] CONTRIBUTING.md is present\n- [ ] .gitignore is present\n- [ ] No hardcoded secrets anywhere in the codebase\n\n## Reporting Issues\n\nPlease report issues via GitHub Issues with:\n\n1. **What you expected to happen**\n2. **What actually happened**\n3. **Steps to reproduce**\n4. **Environment** (OS, Python version, etc.)\n\n## License\n\nBy contributing, you agree that your contributions will be licensed under the MIT License.\n\nFile v1.0.1:README_zh.md\n\n# Code To Mindmap\n\n[English](./README.md)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n![版本](https://img.shields.io/badge/version-1.0-blue)\n\n> 将源代码转换为可视化的思维导图、节点图和树状图 — 使用 Mermaid 语法\n\n## 解决什么问题\n\n代码结构从原始文本很难把握——类层次结构、函数关系和模块依赖在扁平文件中是不可见的。这个技能解析源代码并生成可视化图表，一目了然地展示架构。\n\n**触发条件：** 源代码 + 可视化/思维导图/流程图意图。\n\n## 功能特性\n\n- **多语言支持** — 解析 Python、JavaScript/TypeScript、Go 及通用类/函数结构\n- **层级可视化** — 将模块 → 类 → 方法 → 嵌套逻辑显示为树状结构\n- **智能图表选择** — 类密集型文件用思维导图，导入依赖用图表，目录结构用树状图\n- **区分外部库** — 将导入的标准库/包与项目内部调用区分标记\n\n## 快速开始\n\n```bash\n# 通过 ClawHub 安装\nclawhub install code-to-mindmap\n\n# 或手动复制\ncp -r code-to-mindmap ~/.openclaw/skills/\n```\n\n### 使用方法\n\n```\n/code-to-mindmap\n```\n\n粘贴源代码，要求可视化为思维导图。\n\n```\n/code-to-mindmap/hierarchy\n```\n\n仅显示项目文件/文件夹结构，不分析导入关系。\n\n## 工作模式\n\n| 模式 | 说明 |\n|------|------|\n| `/code-to-mindmap` | 解析代码，输出 Mermaid 思维导图或图表 |\n| `/code-to-mindmap/hierarchy` | 仅显示文件/文件夹结构，不分析导入 |\n\n## 示例\n\n| 场景 | 图表 |\n|------|------|\n| 单个 Python 类 | 中心 = 类名，方法作为子节点 |\n| 多文件项目 | 每个模块多个子图表，导入关系用边表示 |\n| 匿名/lambda 函数 | 标记为\"anonymous / lambda\"节点 |\n| 20+ 节点的代码库 | 拆分为多个子图表，先显示顶层结构 |\n\n## 目录结构\n\n```\ncode-to-mindmap/\n├── SKILL.md\n├── LICENSE\n├── README.md\n├── README_zh.md\n├── CONTRIBUTING.md\n├── .gitignore\n├── references/       # Mermaid 语法指南、解析模式\n├── scripts/          # render.py — Mermaid 转 PNG/SVG\n└── tests/\n```\n\n## 许可证\n\nMIT 许可证 — 详见 [LICENSE](LICENSE)。\n\nFile v1.0.1:skill-card.md\n\n## Description:\n\nConverts source code into Mermaid-compatible mind maps, node graphs, and tree diagrams so users can visualize code structure and relationships.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[wangjipeng977](https://clawhub.ai/user/wangjipeng977)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and engineers use this skill to turn source code, snippets, or project structures into concise Mermaid diagrams for code review, onboarding, and architecture understanding.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Optional diagram rendering depends on local Mermaid tooling or an external Mermaid rendering service.\n\nMitigation: Use a trusted local Mermaid CLI when possible and pin or lock renderer dependencies before use.\n\nRisk: Diagrams generated from private source code may expose sensitive structure if pasted into a public or third-party renderer.\n\nMitigation: Avoid sending diagrams derived from private code to mermaid.live unless the content has been approved and sanitized.\n\n## Reference(s):\n\n- [Code To Mindmap on ClawHub](https://clawhub.ai/wangjipeng977/skills/code-to-mindmap)\n- [Skill metadata source](https://github.com/MiniMax-AI/skills)\n- [Reference index](references/index.md)\n- [Mermaid Live](https://mermaid.live)\n\n## Skill Output:\n\n**Output Type(s):** [Markdown, Code, Shell commands, Guidance]\n\n**Output Format:** [Markdown with Mermaid code blocks and optional shell commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Limits diagrams to about 30 nodes and may split larger codebases into multiple diagrams.]\n\n## Skill Version(s):\n\n1.0.1 (source: release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v1.0.0: 11 files, 10932 bytes\n\nFiles: CHANGELOG.md (65b), CONTRIBUTING.md (2115b), README_zh.md (1420b), README.md (1486b), references/index.md (125b), scripts/render.py (2027b), scripts/requirements.txt (60b), scripts/setup.sh (240b), SKILL.md (5133b), tests/test_skill.py (12115b), _meta.json (134b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: code-to-mindmap\ndescription: >\n  Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. \n  (2) user says \"show this as a mindmap\", \"draw the architecture\", \"make a flowchart of this code\", or \n  \"visualize the structure\". (3) user wants to understand an unfamiliar codebase by seeing its structure visually. \nlicense: MIT\nmetadata:\n  version: \"1.0\"\n  category: productivity\n  author: wangjipeng\n  sources:\n    - https://github.com/MiniMax-AI/skills\n---\n\n# Code to Mindmap\n\nUse when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the architecture\", \"make a flowchart of this code\", or \"visualize the structure\". (3) user wants to understand an unfamiliar codebase by seeing its structure visually.\n\n## Core Position\n\nThis skill solves the specific problem of: *code structure is hard to grasp from raw text — a visual map reveals relationships, hierarchy, and architecture at a glance.*\n\nThis skill IS NOT:\n- A code documentation tool — it produces visual diagrams, not written docs\n- A UML class diagram tool — use PlantUML for detailed class relationships\n- A code formatter — it does not change source code\n\nThis skill IS activated ONLY when: source code + visualization intent are both present.\n\n## Modes\n\n### `/code-to-mindmap`\n\n**Default mode.** Parses source code and outputs a Mermaid-compatible mindmap or graph.\n\nWhen to use: User provides code and wants a visual structure diagram.\n\n### `/code-to-mindmap/hierarchy`\n\nOutputs a tree showing file/folder hierarchy without analyzing imports.\n\nWhen to use: User wants to see project structure, not code relationships.\n\n## Execution Steps\n\n### Step 1 — Parse the Code Structure\n\n1. Receive source code (single file, snippet, or multi-file content)\n2. Detect language and framework:\n   - Python: parse `def`, `class`, `import`, `async def`\n   - JavaScript/TypeScript: parse `function`, `const`, `class`, `import`, `export`\n   - Go: parse `func`, `type`, `struct`, `package`\n   - General: detect class definitions, function definitions, module-level declarations\n3. Identify:\n   - Entry points (`main`, `app`, `index`)\n   - Class/struct names and their methods\n   - Top-level functions\n   - Cross-file dependencies (import/require statements)\n4. Build a hierarchical tree: modules → classes → methods → nested logic\n\n### Step 2 — Select Diagram Type\n\n| Code Shape | Diagram Type |\n|---|---|\n| Single file, class-heavy | Mindmap (center = class, branches = methods) |\n| Multi-file, import dependencies | Graph (nodes = files, edges = imports) |\n| Hierarchical directory | Tree / flowchart |\n| State machine or flow | State diagram |\n| Call graph (who calls whom) | Flowchart / directed graph |\n\n### Step 3 — Generate Diagram\n\nOutput as Mermaid `mindmap` or `graph LR` format:\n\n```mermaid\nmindmap\n  root((Code))\n    ClassName\n      method_one\n      method_two\n        nested_helper\n    another_class\n      handler\n```\n\nFor large codebases (>20 nodes), summarize: show top-level structure only, note that deeper nodes exist.\n\n### Step 4 — Validate\n\n- All detected classes/functions appear as nodes\n- Root/entry point is clearly marked as the center\n- No fabricated nodes (only from actual code)\n- Mermaid syntax is valid and renderable\n\n## Mandatory Rules\n\n### Do not\n\n- Do not make up method names, class names, or relationships not in the code\n- Do not render >30 nodes in a single diagram (split into sub-diagrams)\n- Do not replace source code comments with diagram comments\n- Do not activate for pseudo-code or algorithm descriptions without actual code\n\n### Do\n\n- Use the language's actual syntax to detect structure\n- Label nodes with function signatures for disambiguation (e.g., `calculate_sum(nums: list) -> int`)\n- Mark external library calls differently from project-internal calls\n- Preserve the root entry point as the diagram center\n\n## Quality Bar\n\n**A good output:**\n- Every class and function in the provided code appears as a labeled node\n- Relationships (calls, imports, inheritance) are represented as edges\n- The diagram is valid Mermaid and renders correctly\n- Entry points are visually distinct (center or top)\n\n**A bad output:**\n- Adds classes or methods not in the source code\n- Renders >30 nodes making the diagram unreadable\n- Misrepresents call direction (A calls B shown as B calls A)\n- Output is not valid Mermaid syntax\n\n## Good vs. Bad Examples\n\n| Scenario | Bad Output | Good Output |\n|---|---|---|\n| Single Python class | All methods listed flat with no hierarchy | Center = class name, methods as child nodes |\n| Multi-file project | One giant diagram with 50 nodes | Multiple sub-diagrams per module |\n| Imported standard library | Treated as internal dependencies | Marked differently (dashed border) |\n| Anonymous/lambda functions | Omitted | Listed as \"anonymous / lambda\" |\n\n## References\n\n- `references/` — Mermaid mindmap syntax guide, language-specific parsing patterns, code architecture patterns\n- `scripts/render.py` — Render Mermaid diagram to PNG/SVG\n\nFile v1.0.0:README.md\n\n# Code To Mindmap\n\n[中文版](./README_zh.md)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Version](https://img.shields.io/badge/version-1.0-blue)](SKILL.md)\n\n> user pastes source code and wants to convert it into a visual mindmap structure\n\n## What Problem This Solves\n\nBrief paragraph explaining the specific engineering problem this skill solves.\nWhen triggered: [trigger condition].\n\n## Features\n\n- Feature 1\n- Feature 2\n- Feature 3\n\n## Quick Start\n\n### Installation\n\n```bash\n# Via ClawHub\nclawhub install Code To Mindmap\n\n# Or manually\ncp -r Code To Mindmap ~/.openclaw/skills/\n```\n\n### Usage\n\n```bash\n# Mode 1\nclawhub run Code To Mindmap --mode read\n\n# Mode 2\nclawhub run Code To Mindmap --mode write --input ./data.json\n```\n\n## Directory Structure\n\n```\nCode To Mindmap/\n├── SKILL.md          # Entry point\n├── LICENSE           # MIT\n├── README.md         # This file\n├── README_zh.md      # Chinese version\n├── CONTRIBUTING.md    # Contribution guide\n├── .gitignore\n├── references/       # Templates and schemas\n│   └── ...\n└── scripts/          # Helper scripts (if any)\n    └── ...\n```\n\n## Configuration\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `API_KEY` | Yes | API key for the service |\n\n## License\n\nThis project is licensed under the MIT License — see [LICENSE](LICENSE) for details.\n\n---\n\nPowered by [MiniMax](https://minimax.io).\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn70zthc74p61mvctddrancx0s832g4r\",\n  \"slug\": \"code-to-mindmap\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1779164228925\n}\n\nFile v1.0.0:references/index.md\n\n# code-to-mindmap — References\n\nDetailed documents for `code-to-mindmap` skill.\n\nTODO: Add reference files here as needed.\n\nFile v1.0.0:scripts/requirements.txt\n\n# No external Python deps — uses mmdc CLI or mermaid.live\n\nFile v1.0.0:CHANGELOG.md\n\n# Changelog\n\n## [1.0] - 2026-05-18\n\n### Added\n\n- Initial release\n\nFile v1.0.0:CONTRIBUTING.md\n\n# Contributing to `Code To Mindmap`\n\nThank you for your interest in contributing! Please follow these steps to set up your development environment and submit changes.\n\n## Development Setup\n\n```bash\n# 1. Fork the repository on GitHub\n\n# 2. Clone your fork\ngit clone https://github.com/<your-username>/Code To Mindmap.git\ncd Code To Mindmap\n\n# 3. Install dependencies (if any)\npip install -r scripts/requirements.txt\n\n# 4. Run the self-audit to verify quality\npython scripts/audit_skill.py .\n```\n\n## Workflow\n\nWe use a standard feature branch workflow:\n\n```bash\n# 1. Create a new branch from main\ngit checkout -b feat/<your-feature-name>\n\n# 2. Make your changes\n#    - Follow the SKILL.md structure standards\n#    - Keep SKILL.md body in English\n#    - Do not hardcode API keys or secrets\n\n# 3. Run the audit to check for issues\npython scripts/audit_skill.py .\n\n# 4. Commit your changes\ngit add .\ngit commit -m \"feat(code-to-mindmap): add <brief description>\"\n\n# 5. Push to your fork\ngit push origin feat/<your-feature-name>\n\n# 6. Open a Pull Request on GitHub\n#    - Title: feat(code-to-mindmap): add <brief description>\n#    - Description: What + Why + Testing\n```\n\n## Code Standards\n\n- **SKILL.md**: Follow the YAML frontmatter standard (name, description, license, metadata)\n- **Scripts**: Must include shebang, requirements.txt, and graceful error handling\n- **Language**: SKILL.md body must be in English; reference docs in English\n- **No secrets**: Never commit API keys, tokens, or credentials\n\n## Quality Checklist\n\nBefore opening a PR, verify:\n\n- [ ] `audit_skill.py` exits with code 0 or 2\n- [ ] `validate_skills.py` exits with code 0\n- [ ] README.md and README_zh.md are both present\n- [ ] CONTRIBUTING.md is present\n- [ ] .gitignore is present\n- [ ] No hardcoded secrets anywhere in the codebase\n\n## Reporting Issues\n\nPlease report issues via GitHub Issues with:\n\n1. **What you expected to happen**\n2. **What actually happened**\n3. **Steps to reproduce**\n4. **Environment** (OS, Python version, etc.)\n\n## License\n\nBy contributing, you agree that your contributions will be licensed under the MIT License.\n\nFile v1.0.0:README_zh.md\n\n# Code To Mindmap\n\n[English](./README.md)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n![版本](https://img.shields.io/badge/version-1.0-blue)\n\n> user pastes source code and wants to convert it into a visual mindmap structure\n\n## 解决什么问题\n\n简要说明这个技能解决的具体工程问题。\n触发条件：[trigger condition]。\n\n## 功能特性\n\n- 特性 1\n- 特性 2\n- 特性 3\n\n## 快速开始\n\n### 安装\n\n```bash\n# 通过 ClawHub 安装\nclawhub install Code To Mindmap\n\n# 或手动复制\ncp -r Code To Mindmap ~/.openclaw/skills/\n```\n\n### 使用方法\n\n```bash\n# 模式 1：读取\nclawhub run Code To Mindmap --mode read\n\n# 模式 2：写入\nclawhub run Code To Mindmap --mode write --input ./data.json\n```\n\n## 目录结构\n\n```\nCode To Mindmap/\n├── SKILL.md          # 技能入口\n├── LICENSE           # MIT 许可证\n├── README.md         # 英文说明\n├── README_zh.md      # 本文件\n├── CONTRIBUTING.md    # 贡献指南\n├── .gitignore\n├── references/       # 模板和 schema\n│   └── ...\n└── scripts/          # 辅助脚本（如有）\n    └── ...\n```\n\n## 配置\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `API_KEY` | 是 | 服务 API Key |\n\n## 许可证\n\n本项目采用 MIT 许可证 — 详见 [LICENSE](LICENSE)。\n\n---\n\n由 [MiniMax](https://minimax.io) 提供支持。","readmeExcerpt":"Skill: Code To Mindmap Owner: wangjipeng977 Summary: Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-05-19T05:55:32.712Z | user Update README with real Features and 功能特性 content v1.0.0 | 2026-05-19T04:17:08.925Z | user Initial release Archive index: Archive ","codeSnippets":[],"executableExamples":[{"language":"mermaid","snippet":"mindmap\n  root((Code))\n    ClassName\n      method_one\n      method_two\n        nested_helper\n    another_class\n      handler"},{"language":"bash","snippet":"# Via ClawHub\nclawhub install code-to-mindmap\n\n# Or manually\ncp -r code-to-mindmap ~/.openclaw/skills/"},{"language":"text","snippet":"/code-to-mindmap"},{"language":"text","snippet":"/code-to-mindmap/hierarchy"},{"language":"text","snippet":"code-to-mindmap/\n├── SKILL.md\n├── LICENSE\n├── README.md\n├── README_zh.md\n├── CONTRIBUTING.md\n├── .gitignore\n├── references/       # Mermaid syntax guide, parsing patterns\n├── scripts/          # render.py — Mermaid to PNG/SVG\n└── tests/"},{"language":"bash","snippet":"# 1. Fork the repository on GitHub\n\n# 2. Clone your fork\ngit clone https://github.com/<your-username>/Code To Mindmap.git\ncd Code To Mindmap\n\n# 3. Install dependencies (if any)\npip install -r scripts/requirements.txt\n\n# 4. Run the self-audit to verify quality\npython scripts/audit_skill.py ."}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: code-to-mindmap\ndescription: >\n  Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. \n  (2) user says \"show this as a mindmap\", \"draw the architecture\", \"make a flowchart of this code\", or \n  \"visualize the structure\". (3) user wants to understand an unfamiliar codebase by seeing its structure visually. \nlicense: MIT\nmetadata:\n  version: \"1.0\"\n  category: productivity\n  author: wangjipeng\n  sources:\n    - https://github.com/MiniMax-AI/skills\n---\n\n# Code to Mindmap\n\nUse when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the architecture\", \"make a flowchart of this code\", or \"visualize the structure\". (3) user wants to understand an unfamiliar codebase by seeing its structure visually.\n\n## Core Position\n\nThis skill solves the specific problem of: *code structure is hard to grasp from raw text — a visual map reveals relationships, hierarchy, and architecture at a glance.*\n\nThis skill IS NOT:\n- A code documentation tool — it produces visual diagrams, not written docs\n- A UML class diagram tool — use PlantUML for detailed class relationships\n- A code formatter — it does not change source code\n\nThis skill IS activated ONLY when: source code + visualization intent are both present.\n\n## Modes\n\n### `/code-to-mindmap`\n\n**Default mode.** Parses source code and outputs a Mermaid-compatible mindmap or graph.\n\nWhen to use: User provides code and wants a visual structure diagram.\n\n### `/code-to-mindmap/hierarchy`\n\nOutputs a tree showing file/folder hierarchy without analyzing imports.\n\nWhen to use: User wants to see project structure, not code relationships.\n\n## Execution Steps\n\n### Step 1 — Parse the Code Structure\n\n1. Receive source code (single file, snippet, or multi-file content)\n2. Detect language and framework:\n   - Python: parse `def`, `class`, `import`, `async def`\n   - JavaScript/TypeScript: parse `function`, `const`, `class`, `import`, `export`\n   - Go: parse `func`, `type`, `struct`, `package`\n   - General: detect class definitions, function definitions, module-level declarations\n3. Identify:\n   - Entry points (`main`, `app`, `index`)\n   - Class/struct names and their methods\n   - Top-level functions\n   - Cross-file dependencies (import/require statements)\n4. Build a hierarchical tree: modules → classes → methods → nested logic\n\n### Step 2 — Select Diagram Type\n\n| Code Shape | Diagram Type |\n|---|---|\n| Single file, class-heavy | Mindmap (center = class, branches = methods) |\n| Multi-file, import dependencies | Graph (nodes = files, edges = imports) |\n| Hierarchical directory | Tree / flowchart |\n| State machine or flow | State diagram |\n| Call graph (who calls whom) | Flowchart / directed graph |\n\n### Step 3 — Generate Diagram\n\nOutput as Mermaid `mindmap` or `graph LR` format:\n\n```mermaid\nmindmap\n  root((Code))\n    ClassName\n      method_one\n      method_two\n        nested_helper\n    anot"},{"path":"README.md","content":"# Code To Mindmap\n\n[中文版](./README_zh.md)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Version](https://img.shields.io/badge/version-1.0-blue)](SKILL.md)\n\n> Converts source code into visual mind maps, node graphs, and tree diagrams using Mermaid syntax\n\n## What Problem This Solves\n\nCode structure is hard to grasp from raw text — class hierarchies, function relationships, and module dependencies are invisible in a flat file. This skill parses source code and produces a visual diagram that reveals the architecture at a glance.\n\n**When triggered:** Source code + visualization/mindmap/flowchart intent.\n\n## Features\n\n- **Multi-language support** — parses Python, JavaScript/TypeScript, Go, and general class/function structures\n- **Hierarchical visualization** — shows modules → classes → methods → nested logic as a tree\n- **Smart diagram selection** — mindmap for class-heavy files, graph for import dependencies, tree for directory structure\n- **External library distinction** — marks imported stdlib/packages differently from project-internal calls\n\n## Quick Start\n\n```bash\n# Via ClawHub\nclawhub install code-to-mindmap\n\n# Or manually\ncp -r code-to-mindmap ~/.openclaw/skills/\n```\n\n### Usage\n\n```\n/code-to-mindmap\n```\n\nPaste source code and ask to visualize it as a mind map.\n\n```\n/code-to-mindmap/hierarchy\n```\n\nShows project file/folder tree without analyzing imports.\n\n## Modes\n\n| Mode | Description |\n|------|-------------|\n| `/code-to-mindmap` | Parses code, outputs Mermaid mindmap or graph |\n| `/code-to-mindmap/hierarchy` | Shows file/folder structure only, no import analysis |\n\n## Examples\n\n| Scenario | Diagram |\n|----------|---------|\n| Single Python class | Center = class name, methods as child nodes |\n| Multi-file project | Multiple sub-diagrams per module, import edges |\n| Anonymous/lambda functions | Listed as \"anonymous / lambda\" node |\n| 20+ node codebase | Split into sub-diagrams, top-level summary first |\n\n## Directory Structure\n\n```\ncode-to-mindmap/\n├── SKILL.md\n├── LICENSE\n├── README.md\n├── README_zh.md\n├── CONTRIBUTING.md\n├── .gitignore\n├── references/       # Mermaid syntax guide, parsing patterns\n├── scripts/          # render.py — Mermaid to PNG/SVG\n└── tests/\n```\n\n## License\n\nMIT License — see [LICENSE](LICENSE)."},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn70zthc74p61mvctddrancx0s832g4r\",\n  \"slug\": \"code-to-mindmap\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1779170132712\n}"},{"path":"references/index.md","content":"# code-to-mindmap — References\n\nDetailed documents for `code-to-mindmap` skill.\n\nTODO: Add reference files here as needed."},{"path":"scripts/requirements.txt","content":"# No external Python deps — uses mmdc CLI or mermaid.live"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the... Skill: Code To Mindmap Owner: wangjipeng977 Summary: Use when (1) user pastes source code and wants to visualize it as a mind map, node graph, or tree diagram. (2) user says \"show this as a mindmap\", \"draw the... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-05-19T05:55:32.712Z | user Update README with real Features and 功能特性 content v1.0.0 | 2026-05-19T04:17:08.925Z | user Initial release Archive index: Archive","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":909,"uniquenessScore":53,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T23:51:46.886Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T23:51:46.886Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-12T12:54:47.977Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}