Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

feat: add Kiro CLI/IDE platform support

smjeong84aa3a220e7522
diff --git a/.kiro-plugin/plugin.json b/.kiro-plugin/plugin.json
new file mode 100644
index 00000000..d877dbdd
--- /dev/null
+++ b/.kiro-plugin/plugin.json
@@ -0,0 +1,12 @@
+{
+ "name": "understand-anything",
+ "description": "AI-powered codebase understanding — analyze, visualize, and explain any project",
+ "version": "2.7.5",
+ "author": { "name": "Lum1104" },
+ "homepage": "https://github.com/Lum1104/Understand-Anything",
+ "repository": "https://github.com/Lum1104/Understand-Anything",
+ "license": "MIT",
+ "keywords": ["codebase-analysis", "knowledge-graph", "architecture", "onboarding", "dashboard"],
+ "skills": "./understand-anything-plugin/skills/",
+ "agents": "./understand-anything-plugin/agents/"
+}
diff --git a/README.md b/README.md
index 3bdb4db2..550ed56f 100644
--- a/README.md
+++ b/README.md
@@ -184,7 +184,7 @@ Understand-Anything works across multiple AI coding platforms.
/plugin install understand-anything
```
-### One-line install (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Trae)
+### One-line install (Codex / OpenCode / OpenClaw / Antigravity / Gemini CLI / Pi Agent / Vibe CLI / VS Code Copilot / Hermes / Cline / KIMI CLI / Trae / Kiro)
**macOS / Linux:**
```bash
@@ -200,7 +200,7 @@ iwr -useb https://raw.githubusercontent.com/Lum1104/Understand-Anything/main/ins
The installer clones the repo to `~/.understand-anything/repo` and creates the right symlinks for the chosen platform. Restart your CLI/IDE afterwards.
-- Supported `<platform>` values: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `trae`
+- Supported `<platform>` values: `gemini`, `codex`, `opencode`, `pi`, `openclaw`, `antigravity`, `vibe`, `vscode`, `hermes`, `cline`, `kimi`, `trae`, `kiro`
- Update later: `./install.sh --update`
- Uninstall: `./install.sh --uninstall <platform>`
@@ -222,6 +222,18 @@ For personal skills (available across all projects), run the `install.sh` above
copilot plugin install Lum1104/Understand-Anything:understand-anything-plugin
```
+### Kiro CLI / IDE
+
+```bash
+curl -fsSL https://raw.githubusercontent.com/Lum1104/Understand-Anything/main/install.sh | bash -s kiro
+```
+
+After installation:
+- **Kiro CLI**: `kiro-cli chat --agent understand "Analyze this project"`
+- **Kiro IDE**: Open the cloned repo — auto-discovered via `.kiro-plugin/plugin.json`
+
+For personal skills (available across all projects), run the `install.sh` above with the `kiro` platform.
+
### Platform Compatibility
| Platform | Status | Install Method |
@@ -241,6 +253,7 @@ copilot plugin install Lum1104/Understand-Anything:understand-anything-plugin
| Cline | ✅ Supported | `install.sh cline` |
| KIMI CLI | ✅ Supported | `install.sh kimi` |
| Trae | ✅ Supported | `install.sh trae` |
+| Kiro CLI / IDE | ✅ Supported | `install.sh kiro` |
---
diff --git a/install.sh b/install.sh
index 8ff42935..2563812f 100755
--- a/install.sh
+++ b/install.sh
@@ -40,6 +40,7 @@ hermes|$HOME/.hermes/skills|folder
cline|$HOME/.cline/skills|folder
kimi|$HOME/.kimi/skills|folder
trae|$HOME/.trae/skills|per-skill
+kiro|$HOME/.kiro/skills|per-skill
EOF
}
@@ -189,12 +190,41 @@ cmd_install() {
printf -- '→ Linking universal plugin root\n'
link_plugin_root
+ if [[ "$id" == "kiro" ]]; then
+ printf -- '→ Creating Kiro agent configuration\n'
+ mkdir -p "$HOME/.kiro/agents"
+ local plugin_root="$REPO_DIR/understand-anything-plugin"
+ cat > "$HOME/.kiro/agents/understand.json" <<KIROEOF
+{
+ "name": "understand",
+ "description": "Analyze codebase into interactive knowledge graph — Understand Anything",
+ "prompt": "file://$plugin_root/skills/understand/SKILL.md",
+ "tools": ["read", "write", "shell", "grep", "glob", "code", "subagent"],
+ "resources": [
+ "file://$plugin_root/agents/project-scanner.md",
+ "file://$plugin_root/agents/file-analyzer.md",
+ "file://$plugin_root/agents/architecture-analyzer.md",
+ "file://$plugin_root/agents/tour-builder.md",
+ "file://$plugin_root/agents/graph-reviewer.md",
+ "file://$plugin_root/agents/assemble-reviewer.md",
+ "file://$plugin_root/agents/domain-analyzer.md"
+ ]
+}
+KIROEOF
+ printf ' ✓ %s\n' "$HOME/.kiro/agents/understand.json"
+ fi
+
printf '\n✓ Installed Understand-Anything for %s\n' "$id"
printf ' Restart your CLI or IDE to pick up the skills.\n'
if [[ "$id" == "vscode" ]]; then
printf '\n Tip: VS Code can also auto-discover the plugin by opening this repo\n'
printf ' directly (it reads .copilot-plugin/plugin.json), no symlinks needed.\n'
fi
+ if [[ "$id" == "kiro" ]]; then
+ printf '\n Tip: Kiro IDE can also auto-discover the plugin by opening this repo\n'
+ printf ' directly (it reads .kiro-plugin/plugin.json), no symlinks needed.\n'
+ printf ' Usage: kiro-cli chat --agent understand "Analyze this project"\n'
+ fi
}
cmd_uninstall() {
@@ -206,6 +236,10 @@ cmd_uninstall() {
printf -- '→ Removing skill links for %s\n' "$id"
unlink_skills "$target" "$style"
+ if [[ "$id" == "kiro" && -f "$HOME/.kiro/agents/understand.json" ]]; then
+ rm -f "$HOME/.kiro/agents/understand.json"
+ printf ' ✓ removed %s\n' "$HOME/.kiro/agents/understand.json"
+ fi
if [[ -L "$PLUGIN_LINK" ]]; then
rm -f "$PLUGIN_LINK"
printf ' ✓ removed %s\n' "$PLUGIN_LINK"