Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-browser-upstream

БесплатноБез исполняемых скриптовНе проверен

Safely sync navigator's agent-browser fork with upstream vercel-labs/agent-browser, analyze changes, and generate integration documentation

diegosouzapwот 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:

  1. Auto-clone: If .agent-browser/repo/ doesn't exist, the script clones the fork automatically
  2. Auto-configure: Upstream remote is added if missing
  3. Override: Set AGENT_BROWSER_LOCAL env var to use an existing local clone instead

The .agent-browser/ directory is gitignored and contains:

  • repo/ — Git clone of the fork
  • analysis/<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-evaluation skill to apply Navigator's design frameworks.


Phase 1: Sync Fork

Steps

  1. Run the analysis script (handles everything automatically)

    bun run .claude/skills/agent-browser-upstream/scripts/analyze-upstream.ts --format summary
    

    The script will:

    • Clone .agent-browser/ if missing
    • Add upstream remote if needed
    • Fetch latest from both remotes
    • Show divergence summary
  2. 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

  1. Run analysis script

    bun run .claude/skills/agent-browser-upstream/scripts/analyze-upstream.ts \
      --repo "$REPO_PATH" \
      --base origin/main \
      --target upstream/main
    
  2. Review commit categories The script outputs JSON with commits categorized as:

    • breaking - API changes, removed exports
    • additive - New features, new exports
    • fix - Bug fixes
    • docs - Documentation only
    • chore - Build, deps, tooling
  3. Identify key files changed Focus on these files for navigator impact:

    • src/protocol.ts - MCP protocol definitions
    • src/browser.ts - Browser control API
    • src/index.ts - Public exports
    • src/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
  1. Review evaluation output

    • Ensure all new commands identified
    • Ensure plugins flagged
    • Ensure schema changes documented
  2. Do NOT proceed to merge until analyst complete


Phase 4: Impact Assessment (Navigator-Specific)

Steps

  1. Map upstream changes to navigator usage

    Check which navigator files import from agent-browser:

    grep -r "@outfitter/agent-browser" packages/*/src --include="*.ts" -l
    
  2. Cross-reference with changed APIs

    For each br

Полный SKILL.md на GitHub

Установить agent-browser-upstream в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

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), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-browser-upstream с