本文へ移動
cccskills
無料GitHub で公開日本語紹介

acp-provider

BBで使うACPエージェントの追加・検出やモデル選択を設定し、動作の問題を調べるスキル。独自エージェント、スキルの参照先、会話の圧縮も扱います。

原文原文の説明を見る

Configure or troubleshoot ACP agent discovery, custom models, skills, and compaction in BB.

インストール方法を見る

こんなときに便利

  • 公式レジストリからエージェントを追加
  • OpenCodeのモデルやモードを調査
  • 独自エージェントとスキル参照先の設定
  • 会話の圧縮に対応しているか確認
  • OpenCode Goの契約利用量を確認

日本語での紹介

できること

BBに接続するACPエージェントの追加や設定、認識されない場合の調査を支援します。ACPはエージェントを接続するための仕組みです。インストール済みCLIの自動検出、公式レジストリからの追加・更新・削除、モデル一覧の確認を扱います。独自エージェントの起動設定、スキルの参照先、会話の文脈を短くまとめる圧縮機能の対応確認も対象です。

こんなときに便利

BBで使うエージェントを増やしたい人や、OpenCodeのモデル・モードが選択肢に出ない原因を調べたい人に向いています。OpenCode Goの契約利用量を確認する手順も含みます。

使い方の例

  • 「公式ACPレジストリからエージェントを追加して」
  • 「OpenCodeの独自エージェントがモード一覧に出ない原因を調べて」
  • 「このエージェントで会話を圧縮できるか確認して」

注意点

BBと接続先ホストの実行環境が必要です。レジストリから追加するエージェントにはNode.jsまたはuvが必要です。モデルや圧縮機能の対応は接続先によって異なります。OpenCode Goの利用量確認には対象マシンでのサインインと契約が必要で、認証情報が取得できない場合は利用量不明として扱います。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md6.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

ACP providers

Known agents can be discovered automatically when their CLI is installed on the host: opencode, omp, grok, and hermes appear as acp-opencode, acp-omp, acp-grok, and acp-hermes-agent. Inspect the target host's catalog with bb provider list and bb provider models <provider-id> using its environment or machine selector.

Agents in the official ACP registry can be added without writing JSON. bb acp registry [--refresh] [--json] lists them with a status: available, added, update available, built in (bb already ships it), or manual install (the agent ships only as a downloadable binary). bb acp add <agent-id> adds the agent as provider acp-<agent-id>, or moves an added agent to the registry's current version while keeping the fields edited by hand. bb acp remove <agent-id> removes it. The plugin's settings page shows the same list. An added agent is an entry in the Custom agents setting that runs npx -y <package> or uvx <package> on the thread's host, so the host needs Node.js or uv. The list is cached for six hours; when the registry cannot be reached the saved copy is shown with the reason.

To hide a detected ACP agent, use bb provider disable acp-opencode, or Disable on Settings → Providers. Restore it with bb provider enable acp-opencode. This leaves other ACP agents and the host CLI intact. Disabled agents skip background capability probing. bb provider list --all includes disabled agents.

Cursor project skills come from .cursor/skills, which can link to .agents/skills. BB lists these linked skills as read-only under cursor-project.

ACP agents report their own models and may reject unlisted model IDs. For acp-opencode the list mirrors the OpenCode catalog, so add a model to the OpenCode config rather than bb's customModels:

bb provider models acp-opencode --environment "$BB_ENVIRONMENT_ID"
bb thread spawn --provider acp-opencode --model <provider/model>

OpenCode agents are session modes, not models selectable through BB's model field. OpenCode reports its primary agents as the mode session option. BB asks OpenCode for its models and modes in the directory the thread will run in: the project's checkout for a new thread, the environment's directory otherwise. Custom agents from the OpenCode config directory and from the project's .opencode/ directory therefore appear in the mode menu:

bb provider models acp-opencode --project "$BB_PROJECT_ID"
bb thread spawn --provider acp-opencode --option mode=<agent>

A new agent file shows up once the stored list is ten minutes old and is read again. The same holds for a custom agent with dialect: "opencode"; every other ACP agent is asked once per machine.

bb lists only the agents OpenCode itself loads, and OpenCode does not read agent files from other folders such as .agents/agents/. To use such a folder, set OPENCODE_CONFIG_DIR as a machine variable or in a custom agent's env; a relative value is resolved in each workspace, so .agents lists every project's own .agents/agents/*.md:

printf '.agents' | bb machine env set OPENCODE_CONFIG_DIR

Every file in that folder must be a valid OpenCode agent file; OpenCode refuses to start on one it cannot parse, such as tools written as a comma-separated list.

Grok Build advertises models and thought_level options over ACP, so the picker follows the connected agent (including xhigh on grok-4.6).

BB launches OpenCode sessions with OPENCODE_CLIENT=acp and OPENCODE_ENABLE_QUESTION_TOOL=false, overriding inherited and custom launch values. Native questions have no ACP interaction handler in BB; agents use the ask-user-question plugin’s AskUserQuestion tool instead. This also applies to custom agents with dialect: "opencode" and does not change OpenCode config files.

OpenCode and Grok ACP support the core bb thread compact command; Cursor ACP does not expose compatible compaction. Check the actual agent's capabilities before attempting provider-specific recovery.

OpenCode Go subscription usage is available in Provider usage when the selected machine has OpenCode installed and a Go subscription. Sign in to Go in OpenCode on that machine, then refresh its OpenCode tab. Verify with bb settings usage --machine <id-or-name> --json; the SDK equivalent is bb.sdk.system.usageLimits({ hostId, providerId: "acp-opencode" }). BB reports Go's five-hour, weekly, and monthly usage and reset times, not local session token totals or other OpenCode providers' subscriptions.

The collector checks OPENCODE_API_KEY, then the active official Console account and organization in $XDG_DATA_HOME/opencode/opencode.db, then active v2 credential table API keys or official Console OAuth credentials (opencode-go before opencode), then OPENCODE_AUTH_CONTENT or $XDG_DATA_HOME/opencode/auth.json. The default data directory is ~/.local/share/opencode. Database storage is read only; expired Console sessions must be refreshed by OpenCode. V2 OAuth requires the device login method and account/organization metadata for the official Console server. API-key login prefers the opencode-go credential and accepts the shared opencode credential when Go is subscribed. Custom launch env values take precedence over the host environment. A custom OpenCode wrapper must declare dialect: "opencode" and providerUsage: true to expose its usage. Missing credentials, rejected keys, and collection errors remain unavailable states rather than zero usage. Never print API keys when diagnosing setup.

Custom ACP agents

Register another ACP agent in the ACP providers plugin's customAgents setting, a JSON array: bb plugin config provider-acp set customAgents '[...]'. Agents from the official ACP registry are added to the same setting by bb acp add <agent-id>. The plugin re-registers its providers as soon as the setting changes; no restart is needed.

  • Required: id (lowercase letters, digits, and dashes; permanent), displayName, and command. The provider id is acp-<id>. cursor is reserved; an entry with id opencode, omp, grok, or hermes-agent replaces the shipped agent.
  • Launch: args, env, and cwd.
  • modelCli for CLI model listing and selection, reasoningCli for launch-time reasoning flags, nativeReasoning for ACP session/set_config_option reasoning, and permissionCli for permission-mode launch flags.
  • dialect (cursor, opencode, omp, or grok) selects the vendor side channels bb reads.
  • nativeSkillRoots adds native skills to the composer: a user list resolved from the target host's home directory and a project list resolved from the workspace, each a relative path without dot segments.
  • supportsManualCompaction (default false) shows /compact only for agents that accept an explicit compaction request.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

account-pool

無料概要あり

BBのAccount Poolerでアカウントや認証、利用枠に応じた振り分けを設定・診断します。アカウントの切り替えや、制限時の再試行の判断も確認するスキルです。

  • 登録アカウントと振り分け状態の確認
  • ログインや認証情報の取り込み設定
  • 利用枠やアカウント切り替えの調査
get-bb/bb4,5152026年10月20日 更新

add-contributor

無料概要あり

指定したGitHubアカウントをget-bb/bbのPR作成許可リストへ追加します。アカウントの照合から差分確認、承認用PRの作成・マージまでを進めるスキルです。

  • 貢献者のPR作成を許可したいとき
  • レビュー用の承認PRを作りたいとき
  • アカウントの承認状況の確認
get-bb/bb4,5152026年10月20日 更新

agent-annotations

無料概要あり

ブラウザ画面の要素にコメント付きのピンを付け、AIへの指示に参照として添えるスキル。コメントの編集・削除や、保存済み注釈の更新も扱います。

  • 変更したいボタンを指示で示したいとき
  • 送信前の注釈コメントを直したいとき
  • 保存済みの注釈を更新したいとき
get-bb/bb4,5152026年10月20日 更新

automations

無料概要あり

BBのエージェントへの依頼やサーバー上のスクリプトを、定期または一度だけ実行する予定として登録し、一時停止・再開、手動実行、実行履歴の確認まで管理するスキル。

  • フィードの要約を定期実行したいとき
  • 定期的なヘルスチェックやAPI確認
  • 一度だけ実行する依頼の予約
get-bb/bb4,5152026年10月20日 更新

bb-account

無料概要あり

bbサーバーとgetbb.appアカウントの接続状況を確認し、ブラウザやコードでのサインインとサインアウトを扱うスキル。リモートアクセスの利用先も確認できます。

  • bbサーバーの接続先アカウント確認
  • ブラウザやコードでサインインしたいとき
  • サーバーの接続先を切り替えたいとき
get-bb/bb4,5152026年10月20日 更新

bb-cli

無料概要あり

bb CLIでBBの状態確認や設定変更を進めるスキル。スレッド、プロジェクト、実行環境、モデル、プラグインの操作に必要な資料とコマンドの使い方を案内します。

  • スレッドの状態とログを調べたいとき
  • プロジェクトや実行環境の設定確認
  • 利用可能なモデルやプラグインの確認
get-bb/bb4,5152026年10月20日 更新

get-bb のスキルをすべて見る

このスキルの問題を報告する