Repository navigation
feat(nix): install agent-browser and agent-desktop with their skills - #383
Merged
Merged
Conversation
Picks up the approval rules and sandbox exclusions for agent-browser and agent-desktop (agent-config #63, #64, #65). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both CLIs ship version-matched skill text, so the skills are generated at build time from the installed binaries instead of being vendored. agent-browser bundles no browser on Darwin and is pointed at the Homebrew cask Chrome. Co-Authored-By: Claude Opus 5.5 <[email protected]>
furedea
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
agent-browser(llm-agents 0.41.0)と agent-desktop(v1.1.0 の公式バイナリ)を Home Manager で入れ,両 CLI が同梱する skill をビルド時に生成して agent-harness に渡す.あわせて agent-config input を #63,#64,#65 を含む main に更新する.マージ後に switch とアクセシビリティ許可の手動確認が必要.
Closes #377
計画: #377 (comment)
変更前後
agent-browserhome.packagesに追加AGENT_BROWSER_EXECUTABLE_PATHzsh/.zshenvで/Applications/Google Chrome.app/Contents/MacOS/Google Chrome(Homebrew cask)agent-desktopnix/packages/agent_desktop.nix(v1.1.0,hash 固定,versionCheckHook,Apache-2.0,binaryNativeCode)herdr,nix-dotfilesagent-browser(skills get core),agent-desktop(skills get desktopのdata.content)を追加確認結果
nix flake check: all checks passednix build .#[email protected] .#darwinConfigurations.mbp.system .#darwinConfigurations.mba.system: 成功agent-desktop-release: ビルド時にversionCheckHookがagent-desktop --versionから 1.1.0 を確認automation-cli-skills: 生成された 2 つの skill のnameと本文を確認(ビルドのサンドボックス内で両 CLI ともネットワークや権限なしで出力できた)home-configurationの契約追加: 両パッケージの導入,skill 名,Chrome パスとgoogle-chromecask の対応checksums.txtと一致マージ後の手動手順
darwin-rebuild switch(または Home Manager の switch)を実行し,新しいシェルを開くagent-browser open https://example.com→agent-browser snapshot -iagent-desktop snapshot --app Finder -iで確認し,終わったら許可を外す判断事項・前提
agent-browser skills get coreの frontmatter はname: coreなので,ビルド時に 2 行目だけname: agent-browserに書き換え,結果をgrepで確認している.upstream の形式が変わるとビルドが失敗して気付けるscreenshot/screenshot --full以外 ask,許可リスト外のオプションは ask)は,既存の skill 生成に追記の仕組みがないため入れていない.必要なら別途skills get platform)を別 skill にせず,core skill の手順どおり実行時に読み込ませるAGENT_BROWSER_EXECUTABLE_PATHは既存のEDITORと同じくzsh/.zshenvで設定した.zsh 以外から起動した場合は効かないagent-desktop-macos-helperもbinに置いている🤖 Generated with Claude Code