mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Replace platform-specific install approaches with a consistent per-skill symlink pattern for OpenCode and Codex (both share ~/.agents/skills/), matching the OpenCode docs requirement of <name>/SKILL.md discovery. Changes: - OpenCode: migrate from opencode.json plugin config to direct skill symlinks in ~/.agents/skills/<name>/ - Codex: replace broken bundle symlink (understand-anything/ had no SKILL.md at root) with individual per-skill symlinks, matching OpenCode exactly - All platforms: add universal ~/.understand-anything-plugin symlink so understand-dashboard SKILL.md can reliably find packages/dashboard/ - All platforms: use idempotent [ -e ] || [ -L ] || ln -s guard to handle multi-platform installs on the same machine - All platforms: use ln -sf and rm -f for robust re-installs and partial uninstalls - understand-dashboard/SKILL.md: replace fragile dirname-based path resolution with a prioritized candidate loop with explicit error guard - Remove orphaned .opencode/plugins/understand-anything.js and its build scaffolding - Update all three README variants (en, zh-CN, ja-JP) to reflect new OpenCode AI-driven install method Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Installing Understand-Anything for OpenClaw
Prerequisites
- Git
Installation
-
Clone the repository:
git clone https://github.com/Lum1104/Understand-Anything.git ~/.openclaw/understand-anything -
Create the skills symlinks:
mkdir -p ~/.openclaw/skills ln -s ~/.openclaw/understand-anything/understand-anything-plugin/skills ~/.openclaw/skills/understand-anything # Universal plugin root symlink — lets the dashboard skill find packages/dashboard/ # Skip if already exists (e.g. another platform was installed first) [ -e ~/.understand-anything-plugin ] || [ -L ~/.understand-anything-plugin ] || ln -s ~/.openclaw/understand-anything/understand-anything-plugin ~/.understand-anything-pluginWindows (PowerShell):
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.openclaw\skills" cmd /c mklink /J "$env:USERPROFILE\.openclaw\skills\understand-anything" "$env:USERPROFILE\.openclaw\understand-anything\understand-anything-plugin\skills" cmd /c mklink /J "$env:USERPROFILE\.understand-anything-plugin" "$env:USERPROFILE\.openclaw\understand-anything\understand-anything-plugin" -
Restart OpenClaw to discover the skills.
Usage
@understand— Analyze the current codebase@understand-chat— Ask questions about the knowledge graph@understand-dashboard— Launch the interactive dashboard
Updating
cd ~/.openclaw/understand-anything && git pull
Uninstalling
rm ~/.openclaw/skills/understand-anything
rm ~/.understand-anything-plugin
rm -rf ~/.openclaw/understand-anything