Addresses the maintainer (@Lum1104) change requests and the Codex
review on PR #364.
install.sh
- Build the Kiro agent's "resources" list dynamically by iterating over
understand-anything-plugin/agents/*.md instead of hard-coding each path
(review: "do not hard code the agents, instead use loop of the repo
dir"). Deterministic order via LC_ALL=C sort; pure bash, no jq
dependency. This also fixes pre-existing drift: the hard-coded list had
7 entries and was missing article-analyzer.md and
knowledge-graph-guide.md, while 9 agent files actually exist.
- Drop the unsupported "Kiro IDE auto-discovers .kiro-plugin/plugin.json"
install tip; keep the usage hint.
install.ps1 (Windows)
- Add the `kiro` platform entry (~/.kiro/skills, per-skill) so
`install.ps1 kiro` no longer fails with "Unknown platform: kiro".
- Generate ~/.kiro/agents/understand.json in Cmd-Install using the same
dynamic agent discovery; emit forward-slashed file:// URIs and write
UTF-8 without a BOM via [System.IO.File]::WriteAllText.
- Remove the agent JSON in Cmd-Uninstall.
README.md
- Point the Kiro install command at the canonical Egonex-AI repo instead
of Lum1104 (Codex P2: a lagging fork would error "Unknown platform:
kiro" before cloning the canonical repo).
- Replace the unverified ".kiro-plugin auto-discovery" claim with the
actual behavior (skills symlinked into ~/.kiro/skills, agent written to
~/.kiro/agents/understand.json).
Remove .kiro-plugin/plugin.json
- Kiro's documented discovery locations are ~/.kiro/agents, .kiro/skills
and .kiro/prompts only; .kiro-plugin/plugin.json is never read, so the
file and the claims that referenced it are removed (maintainer: "use
install.sh only is fine").
Verification
- install.sh: `bash -n` clean; executed the real agent-JSON generation
block -> valid JSON with 9 resources; `kiro-cli agent validate` exit 0.
- install.ps1: parsed with 0 syntax errors (PowerShell 7.6.2 AST parser);
ConvertTo-FileUri yields file:///C:/... for Windows paths; the real
Cmd-Install "kiro" path runs without error and produces JSON that
passes `kiro-cli agent validate` (exit 0).
KIMI CLI scans ~/.kimi/skills/ (its brand path) for SKILL.md per the
official skill discovery spec, so distribution follows the same
folder-symlink pattern as Hermes / Cline / OpenClaw. install.sh and
install.ps1 register the `kimi` platform; README × 7 updated for the
one-line install title, <platform> values, and compatibility table.
Closes#134
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Cline natively scans ~/.cline/skills/ for SKILL.md, so distribution
follows the same folder-symlink pattern as Hermes / OpenClaw /
Antigravity. install.sh and install.ps1 register the `cline` platform;
README × 7 (English + 6 locales) updated for the one-line install
title, <platform> values, and the compatibility table.
Closes#116
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- install.sh / install.ps1: register `hermes` platform (folder-style
symlink to ~/.hermes/skills/understand-anything/). No new directories
or plugin manifests needed — Hermes scans skills via os.walk(...,
followlinks=True) and reads SKILL.md frontmatter directly.
- README × 7 (English + 6 locales): one-line install title, `<platform>`
values, and compatibility table updated for both Hermes and Vibe CLI
(locale READMEs were missing Vibe).
- README × 7: drop top-of-page Star History Rank badge and the TIP-style
thanks blockquote; rewrite the slogan into a longer line about quietly
teaching how the pieces fit; move a single italic thanks line between
Star History and the MIT footer.
- README × 7: remove the two outdated overview-*.gif blocks. The
Features section already opens with a NOTE callout linking to the live
demo, which serves as the visual entry instead.
- Delete assets/overview-{structural,domain}.gif (8.1 MB of orphaned
binaries) from the working tree.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- install.ps1 (P1): refuse to delete real files/directories; only remove
paths that are actual junctions/symlinks. Closes a data-loss path where
Cmd-Uninstall would Remove-Item -Recurse a pre-existing user directory at
~/.understand-anything-plugin (Cmd-Install correctly skipped touching it,
but uninstall did not). Cmd-Uninstall and Unlink-Skills now both go
through Remove-Reparse, which uses DirectoryInfo.Delete() so a junction's
target is never followed.
- install.sh (P2): --uninstall no longer exits early when the checkout has
been deleted. The per-skill unlinker falls back to scanning the target
dir for stale symlinks pointing into the plugin tree, so users can clean
up after manually rm -rf'ing the checkout.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace 7 nearly-identical .<platform>/INSTALL.md files with one
install.sh + install.ps1 that enumerate skills dynamically from
understand-anything-plugin/skills/ — the previous hardcoded list of 6
was already stale, missing understand-domain and understand-knowledge.
Supported usage:
install.sh <platform> # gemini/codex/opencode/pi/openclaw/antigravity/vscode
install.sh # interactive prompt; reads /dev/tty so curl|sh works
install.sh --update # git pull on the shared checkout
install.sh --uninstall <plat> # removes skill links for that platform
Single shared checkout at ~/.understand-anything/repo (override via
UA_DIR). Antigravity keeps its existing ~/.gemini/antigravity/skills
path for backward compatibility; OpenClaw keeps its folder-symlink
style. Universal ~/.understand-anything-plugin link unchanged.
README.md and the 6 translated READMEs replace the old per-platform
"Fetch and follow instructions from .../<plat>/INSTALL.md" blocks with
a single curl|sh / iwr|iex one-liner. Compatibility tables updated.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>