Troubleshooting
Run precheck --json to inspect detected agents, selected tools, optional
packages, skipped agents, missing required dependencies, and degraded optional
capabilities. Use audit-system --json to inspect repo-vs-system drift,
managed marker counts, unmanaged files, and legacy aliases. Use plan to
preview every file change.
If a plan reports classification=unmanaged, the installer found user-owned
content in the target path and will skip it unless --adopt or
--backup-replace is used. If a plan reports classification=legacy, the
installer found a compatibility or alias path and will skip it unless
--migrate is used. A reviewed --migrate plan installs the canonical target
and removes the legacy alias directory.
Default installs use --install-mode auto, resolved per agent. Claude receives
symlinked skill files when the filesystem supports them. Codex receives copied
regular skill trees by default because symlinked skill loading is not assumed
and the installed skills must remain self-contained. DeepSeek and Copilot receive
reference adapters. OpenCode and Antigravity receive copied regular files;
Antigravity uses flat global Markdown skill files under
~/.gemini/antigravity-cli/skills/ or the validated migrated
~/.gemini/config/skills/ tree. Use
--install-mode symlink only when you intentionally want to force links for
supported targets. Copilot and OpenClaw reject forced symlink mode; OpenClaw
also rejects reference mode. Use reference adapters only on supported targets.
If an agent requires regular files in its settings directory, use
--install-mode copy.
Useful inspection commands:
make precheck ARGS="--profile full-research --json"
make audit-system ARGS="--profile full-research --migration-report --json"
make plan ARGS="--profile full-research --migrate"
make lifecycle-test ARGS="--matrix full --platform-shape all"
make lifecycle-test ARGS="--matrix stress --platform-shape linux"
make fake-root-lifecycle ARGS="--profile full-research --platform-shape all"
Vietnam Thu Quan diagnosis
The vnthuquan skill is routing guidance, its managed runtime wrapper selects
and invokes a separate vnthuquan Python package, and the website/mirror is an
external service. Finding a skill file does not prove that the package is
installed; a website failure does not by itself prove a wrapper defect. Start
with the managed diagnostic so its selected command and interpreter are visible:
"${AAS_RUNTIME_ROOT:-$HOME/.local/share/ai-agents-skills/runtime}/run_skill.sh" \
skills/vnthuquan/run_vnthuquan.sh diagnose --json
diagnose reports local readiness and the selected package executable/interpreter;
it does not establish website health. Once local readiness passes, doctor --json
or mirrors check --json performs the separately requested live site check.
For repair, preserve config, downloads, and the
existing environment/installer backups first. Use a stable interpreter location
when rebuilding a virtual environment: moving the environment afterward can
break absolute console-script shebangs. Do not replace managed wrappers with
ad hoc launchers to hide a package or site error.
Quota exhaustion, retries, interrupted remote acceptance, and pending formal verification use the existing Research jobs recovery policy.
Common cases:
Symptom |
Likely meaning |
Next step |
|---|---|---|
Agent is listed under skipped agents |
The agent home was not detected under |
Install that agent first, change |
Agent is skipped for a managed skill directory |
That directory is a symlink, is not a directory, or is owned by neither root nor you, so the installer will not write through it. Some agent CLIs migrate their own layout and leave a compatibility symlink behind. |
Inspect the path in the reason. Skipping is per target: every other agent is still planned and applied. |
Antigravity skills install to |
That home is migrated. Antigravity replaced |
Nothing to do. An unmigrated home still installs to |
Antigravity logs |
Antigravity rejects a plugin rule with no YAML frontmatter and loads nothing from it. Rule files this installer wrote before frontmatter was added are still on disk. |
Reinstall the |
Install reports |
An agent moved a managed directory and left a link behind, so records still named the old path. The install repointed them at the artifacts they describe. |
Nothing to do. Only the records moved; no file was read, written, or removed, and each record keeps its original uninstall origin. |
Required dependency is missing |
A selected installed skill needs software that was not found. |
Install the package, use an override, or select fewer skills. |
Dependency is degraded |
The tool or install root was found but not fully executable from this substrate. |
Re-run precheck from the native substrate, such as Windows or WSL. |
Plan skips unmanaged files |
Existing user-owned content would be overwritten by a naive install. |
Review the file, then choose |
Plan skips legacy aliases |
A skill exists under an old or alternate name. |
Review |
Agent does not load symlinked skills |
The filesystem or agent loader does not follow symlinks. Codex is handled with self-contained copy mode by default. |
Use the target’s default auto mode, or explicitly choose |
Windows cannot start the PowerShell launcher |
The host has no usable PowerShell 5.1+ or PowerShell 7+ session. |
Install PowerShell, or use the POSIX bootstrap script from a compatible environment. |
Fake-root install has no actions |
The fake root does not contain any detected agent homes such as |
Create the agent homes you want to test under the fake root, or use |
Docs freshness check fails in CI |
Generated docs are stale. |
Edit |
Forced symlink smoke is degraded for Codex or DeepSeek |
Current loader evidence does not prove file-symlinked |
Use default auto mode unless intentionally testing loader behavior; Codex defaults to copy and DeepSeek defaults to reference. |
Verify returns |
The selected scope has no state recorded by this installer. |
Run install/adopt/migrate first, or verify a different scope. |
Related pages: Installation, Dependencies, Audit And Migration, Verification.