Loading...
Loading...
Installs or updates Codex CLI, Gemini CLI, and Claude Code. Use when CLI agents need installation or update.
npx skill4agent add levnikolaevich/claude-code-skills ln-011-agent-installerPaths: File paths (,shared/) are relative to skills repo root. Locate this SKILL.md directory and go up one level for repo root.references/
| Direction | Content |
|---|---|
| Input | OS info, |
| Output | Per-agent status: |
| Agent | Install Command | Health Check |
|---|---|---|
| Codex | | |
| Gemini | | |
| Claude | | |
For each agent: Install → Verify → Record| Condition | Action | Report |
|---|---|---|
| SKIP | "disabled by user" |
| Show planned command | "dry run" |
| npm agent | | version or error |
| Claude | | version or error |
| Error | Detection | Response |
|---|---|---|
| npm not in PATH | | FAIL gracefully, report "npm not found in PATH" |
| Permission denied | stderr contains "EACCES" | FAIL, suggest |
| Network error | stderr contains "ETIMEDOUT" or "ENETUNREACH" | FAIL, report "network error" |
| Unknown error | Any other non-zero exit | FAIL, include stderr |
Agent Installation:
| Agent | Action | Version | Status |
|--------|-----------|----------|--------|
| Codex | installed | 0.1.2503 | ok |
| Gemini | skipped | - | disabled by user |
| Claude | updated | 1.0.30 | ok |disablednpm install -g| DON'T | DO |
|---|---|
| Separate check/install/verify phases | Single pass: install then verify |
| Retry failed installs automatically | One attempt, report failure |
Use | Suggest |
Install agents marked | Skip with clear report |