agent-browser-upstream
БесплатноБез исполняемых скриптовНе проверенSafely sync navigator's agent-browser fork with upstream vercel-labs/agent-browser, analyze changes, and generate integration documentation
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Agent-Browser Upstream Sync Skill
Manages the process of keeping navigator's agent-browser fork in sync with the upstream vercel-labs/agent-browser repository.
Related Skills
| Skill | Purpose |
|---|---|
| upstream-evaluation | Decision frameworks for what to adopt/skip/adapt |
| docs/architecture/DESIGN.md | Navigator's design philosophy and conventions |
Workflow: Use upstream-evaluation skill for the "what and why" decisions, then return here for the "how" execution.
Prerequisites
None required - the skill auto-manages everything:
- Auto-clone: If
.agent-browser/repo/doesn't exist, the script clones the fork automatically - Auto-configure: Upstream remote is added if missing
- Override: Set
AGENT_BROWSER_LOCALenv var to use an existing local clone instead
The .agent-browser/ directory is gitignored and contains:
repo/— Git clone of the forkanalysis/<sha>/— Generated artifacts (jq-able JSON, diffs)
Workflow Overview
Phase 1: Check Status (fetch, compare)
↓
Phase 2: Analyze Changes (categorize commits)
↓
Phase 3: Evaluate Changes ← uses upstream-evaluation skill
↓
Phase 4: Write Integration Docs + Create Issue
↓
Phase 5: User Review & Confirmation
↓
Phase 6: Execute Merge (ONLY after user confirms)
CRITICAL: Never merge without completing phases 3-5 first. Phase 3 MUST use the
upstream-evaluationskill to apply Navigator's design frameworks.
Phase 1: Sync Fork
Steps
Run the analysis script (handles everything automatically)
bun run .claude/skills/agent-browser-upstream/scripts/analyze-upstream.ts --format summaryThe script will:
- Clone
.agent-browser/if missing - Add upstream remote if needed
- Fetch latest from both remotes
- Show divergence summary
- Clone
Or check manually
cd .agent-browser/repo # Current fork version git describe --tags origin/main 2>/dev/null || git rev-parse --short origin/main # Latest upstream version git describe --tags upstream/main 2>/dev/null || git rev-parse --short upstream/main # Divergence git log --oneline origin/main..upstream/main
Decision Point
If no commits in divergence → STOP with "Fork is up to date with upstream"
If commits exist → CONTINUE to Phase 2 (never skip to merge)
Phase 2: Analyze Changes
Steps
Run analysis script
bun run .claude/skills/agent-browser-upstream/scripts/analyze-upstream.ts \ --repo "$REPO_PATH" \ --base origin/main \ --target upstream/mainReview commit categories The script outputs JSON with commits categorized as:
breaking- API changes, removed exportsadditive- New features, new exportsfix- Bug fixesdocs- Documentation onlychore- Build, deps, tooling
Identify key files changed Focus on these files for navigator impact:
src/protocol.ts- MCP protocol definitionssrc/browser.ts- Browser control APIsrc/index.ts- Public exportssrc/cli/- CLI commands (may inform navigator CLI)
Output
Present a summary table:
| Category | Count | Key Changes |
|---|---|---|
| Breaking | N | List significant ones |
| Additive | N | List new features |
| Fix | N | List relevant fixes |
Phase 3: Evaluate Changes
REQUIRED — Even for "clean" updates with 0 breaking changes.
Run the Evaluation Command
Use /agent-browser:integrate-changes, which:
- Loads the upstream-evaluation skill
- Provides decision frameworks from DESIGN.md
- Guides through structured evaluation process
- Outputs adopt/skip/defer tables for integration docs
Why This Phase Exists
The 2025-01-20 v0.6.0 sync skipped evaluation because "0 breaking changes" was treated as a green light. This caused:
- Marketplace plugin merged without review (Vercel-branded, not navigator-appropriate)
- 8 new features not assessed for navigator integration
- No documentation created before merge
Evaluation Output
The upstream-evaluation skill produces:
- Adopt table: Features to add with Navigator naming and schema changes
- Skip table: Features to exclude with rationale
- Defer table: Features to revisit later
- Extend existing table: Changes to existing actions
Review evaluation output
- Ensure all new commands identified
- Ensure plugins flagged
- Ensure schema changes documented
Do NOT proceed to merge until analyst complete
Phase 4: Impact Assessment (Navigator-Specific)
Steps
Map upstream changes to navigator usage
Check which navigator files import from agent-browser:
grep -r "@outfitter/agent-browser" packages/*/src --include="*.ts" -lCross-reference with changed APIs
For each br
Установить agent-browser-upstream в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-browser-upstream?
Safely sync navigator's agent-browser fork with upstream vercel-labs/agent-browser, analyze changes, and generate integration documentation
Как установить скилл agent-browser-upstream?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-browser-upstream запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic