Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

skills/Browser/SKILL.md ships without install instructions for the agent-browser CLI it depends on

Open JElliottMiller opened this issue 6 months ago • 1 comments

Summary

Releases/v5.0.0/.claude/skills/Browser/SKILL.md documents agent-browser as its Tool ("headless Rust CLI daemon with persistent auth profiles") and uses it in every workflow, but provides zero install instructions. Fresh PAI v5.0.0 installs have no agent-browser on PATH; the skill assumes the binary exists; the user has to web-search to find the upstream project.

Repro

# Fresh PAI v5.0.0 install on Linux/WSL2:
ls ~/.claude/skills/Browser/SKILL.md   # exists, 8302 bytes
which agent-browser                     # not found

# Try to use the skill — every example fails at the shell level:
agent-browser open https://example.com
# bash: agent-browser: command not found

The current SKILL.md has detailed usage (agent-browser open, --profile, batch execution, recipes, story validation) but no install path or external-dependency note.

Expected

The SKILL.md (or a sibling INSTALL.md / VERIFY.md) tells the user — and the AI agent reading the skill at session start — that agent-browser is vercel-labs/agent-browser on GitHub, installable via:

bun install -g agent-browser
bun pm -g trust agent-browser    # allow postinstall to fetch Rust binary
agent-browser install            # downloads Chrome-for-Testing 148 (~175 MB)

VERIFY.md should check the binary is on PATH and runs.

Suggested fix

Add an External Dependency section near the top of SKILL.md (before the first usage example):

## External Dependency

Browser uses `agent-browser` (vercel-labs/agent-browser, native Rust CLI).
Install with bun:

    bun install -g agent-browser
    bun pm -g trust agent-browser   # allow postinstall to fetch Rust binary
    agent-browser install            # downloads Chrome 148 (~175 MB)

Verify: `agent-browser --version` should print 0.27.0 or later.

If the postinstall is blocked or the Chrome download flakes (common on
WSL2 with NAT throttling), retry `agent-browser install`. To use a
system Chrome instead: `AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/google-chrome`.

VERIFY.md should add:

which agent-browser >/dev/null && echo "OK agent-browser on PATH" || echo "ERROR agent-browser not installed"
agent-browser --version | grep -q "agent-browser" && echo "OK runs" || echo "ERROR binary fails to run"

Why this matters

Skills self-activate at session start based on their SKILL.md descriptions. The AI agent reads the description, decides to use the skill, executes the first agent-browser command, and hits command not found. The skill is effectively broken-by-default on every fresh install, and the failure mode looks like a Claude/AI bug rather than a missing-dependency bug.

A 5-line ## External Dependency section turns the skill from undocumented-assumes-installed to self-bootstrapping.

Environment

  • PAI v5.0.0 (current main, skills/Browser/SKILL.md size 8302 bytes, no install instructions)
  • Ubuntu 24.04 on WSL2
  • Tested install path: agent-browser v0.27.0 — works after agent-browser install completes Chrome download

JElliottMiller avatar May 12 '26 14:05 JElliottMiller

Hey @JElliottMiller, thanks for raising this, and sorry it sat for a while.

We're changing how LifeOS ships. Instead of cloning a full ~/.claude directory and running it as a complete system, LifeOS is becoming a skill you install through an agentic installer. The installer hands integration to your own AI, which reads your actual machine (your OS, your paths, your harness) and wires the hooks and system prompt in where they belong.

That's aimed right at what you hit here. The old "one directory, one layout, hope it matches your setup" approach is exactly what broke for so many people, and the new model should handle it far better because your AI does the integration per machine instead of us guessing.

So we're closing this in prep for that release. If it still bites you once the skill-based version is out, reopen or file a fresh one and we'll jump on it. Appreciate you taking the time.

danielmiessler avatar Jun 21 '26 03:06 danielmiessler