-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and Setup
This page covers the installers, the three install modes, where files land, and how each AI client is wired up.
Source docs: docs/INSTALL_MODES.md · docs/UNIVERSAL_AI_SETUP.md · docs/UNIVERSAL_AI_CONNECTION_CONFIGS.md
Builds skill-router from Go source and installs it to a platform-detected bin directory (default ~/go/bin).
| Flag | Effect |
|---|---|
--bin-dir <dir> |
Where to install the binary. |
--copy-skills |
Copy skills into a target root (selected/full mode). |
--sync-codex / --sync-claude / --sync-paperclip
|
Sync the wrapper for a specific client. |
--skip-validate |
Skip post-install validation. |
bash install.shBuilds skill-router.exe, installs it (default %USERPROFILE%\go\bin), and materializes the Universal AI Stack under %USERPROFILE%\.universal-ai-stack. Returns a JSON object with ok, router, stackRoot, and pathUpdated.
| Flag | Effect |
|---|---|
-BinDir <dir> |
Binary install directory. |
-TargetRoot <dir> |
Stack root (default %USERPROFILE%\.universal-ai-stack). |
-SkipStackInstall |
Router-only install (no local stack). |
-InstallStartup / -StartNow
|
Register and start the stack at login. |
-KimiApiKey <key> |
Configure the Kimi (Moonshot) HTTP fallback. |
-SkipValidate |
Skip validation. |
-NoPathUpdate |
Don't modify PATH. |
.\install.ps1 # full stack
.\install.ps1 -SkipStackInstall # router only
.\install.ps1 -InstallStartup -StartNow
.\install.ps1 -KimiApiKey "<your-kimi-key>"Important
Real secrets are written only to %USERPROFILE%\.universal-ai-stack\secrets\.env (machine-local, never committed). The optional OPENROUTER_API_KEY env var enables an OpenAI-compatible fallback.
UASL deliberately defaults to the lightest mode. You almost never need to copy the corpus.
| Mode | What it does | Default? |
|---|---|---|
| Wrapper install | Installs a small universal-ai-skills skill that calls skill-router. Context-efficient; the corpus stays in one place. |
✅ Yes |
| Selected-skill install | Copies only specific skills into an agent root. For offline or CLI-only agents. | No |
| Full-copy install | Copies/links all ~1,812 skills into an agent root. Requires explicit --full-copy. |
No (explicit) |
skill-router sync installed # wrapper to all detected roots
skill-router sync matrix # preview detection (read-only)
skill-router skills install --target ~/.codex/skills # selected skills
skill-router skills install --target ~/.codex/skills --full-copy # explicit full copyUASL separates repo-owned (portable, committed) from machine-owned (local, never committed):
| Owned by | Holds | Example paths |
|---|---|---|
| Repo | Portable config, scripts, docs, adapter templates |
ai-setup/runtime/config/*.json, ai-setup/runtime/scripts/
|
| Machine | Secrets, logs, OAuth sessions, state, model files | %USERPROFILE%\.universal-ai-stack\{secrets,logs,state,bin} |
The Windows stack layout:
%USERPROFILE%\.universal-ai-stack\
├── config\
│ ├── agent-adapters.json # adapter inventory
│ └── source-integrations.json
├── secrets\.env # NEVER committed
├── logs\
├── state\
├── bin\ # symlinks or copies
└── scripts\ # test & memory wrappers
Every client receives the same policy contract, differing only in file location/format:
- Run
skill-router preflight --json "<prompt>"only for real prompts. - Load exactly one matching skill via
skill-router skill <name>. - Search with
skill-router skill search <query>when the name is unknown. - Use the memory wrappers (
Save-UniversalAIMemory/Search-UniversalAIMemory) for durable context. - Keep Context Mode for context-window protection (not durable memory).
- Never copy the full corpus, MCP manifests, or secrets into client roots.
Representative client config locations (Windows stack):
| Client | Config |
|---|---|
| Codex |
%USERPROFILE%\.codex\config.toml (+ Context Mode MCP) |
| Hermes |
%USERPROFILE%\.hermes\config.yaml (model + router fallback) |
| Paperclip |
%USERPROFILE%\.paperclip\instances\default\config.json → http://127.0.0.1:18100/v1
|
The local HTTP router endpoint is http://127.0.0.1:18100/v1 with model auto-coding. The default model failover order is GPT → Kimi (Moonshot) → Claude Opus → local Qwen. See the Agent Support Matrix for the full client list.
| Directory | Purpose |
|---|---|
ai-setup/ |
The portable stack: runtime router (universal_ai_router.py, local_qwen_proxy.py), model/routing/integration config JSON, and all install/validate/sync PowerShell scripts. |
plugin/ |
The universal wrapper & instructions: plugin.json, the universal-ai-skills skill, command docs, and per-client instruction files (codex/AGENTS.md, claude/CLAUDE.md, paperclip/AGENTS.md). |
plugin-codex/ |
Codex-specific plugin distribution (.codex-plugin/plugin.json + router wrapper). |
skill-router doctor
skill-router skills validate-manifestOn Windows you can also run the stack validators:
.\ai-setup\scripts\validate-universal-ai-stack.ps1
.\ai-setup\scripts\public-release-audit.ps1See Known Issues if something looks off, and Testing & CI for the full validation surface.
Getting started
Concepts
Reference
Project
- Roadmap & Phases
- Node → Go Migration
- Performance & Benchmarks
- Testing & CI
- Contributing
- Security
- Known Issues
Help