一键导入
abg-plugin-creator
Scaffold and validate local Agent Browser Gateway plugins under the ABG user plugin directory or a repo plugins/ directory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold and validate local Agent Browser Gateway plugins under the ABG user plugin directory or a repo plugins/ directory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Agent Browser Gateway リポジトリの ABG アプリをバージョン bump し、拡張・Swift app・CLI resource・docs・Homebrew Cask・WinGet・一時配布 zip 手順を揃えて、必要に応じて signed/notarized build、commit、push、GitHub Release まで行うための専用 workflow。
Use in the Agent Browser Gateway repository when creating, updating, triaging, or linking Issues so ABG-specific assignees, labels, Issue Type, project fields, milestones, parent/sub-issue relationships, development links, and English wording are set accurately.
Use in the Agent Browser Gateway repository when creating, publishing, updating, or metadata-fixing Pull Requests so linked Issues, close/reference semantics, labels, milestones, assignees, draft/open state, base/head branches, validation, and ABG English wording are handled accurately.
普段使いの Chrome タブは per-tab 明示許可、隔離プロファイルでは opt-in の all-tabs mode で AI に渡すゲートウェイ。ユーザーが「いま見てる画面を見て」「このタブの DOM/スクショ/コンソールを取って」「ここをクリックして」のように現在の Chrome タブの内容や操作に言及したとき、`abg` CLI で共有中タブを観測・操作する
| name | abg-plugin-creator |
| version | 0.1.0 |
| description | Scaffold and validate local Agent Browser Gateway plugins under the ABG user plugin directory or a repo plugins/ directory. |
Use this skill when the user asks to create, scaffold, edit, or validate an Agent Browser Gateway plugin.
~/.abg/plugins/<name>/ by default, ~/.abg-dev/plugins/<name>/ for ABG_PORT=8766 dev runs) or a bundled repo plugin under plugins/<name>-plugin/.<name>-plugin/
index.js
plugin.json
README.md
index.js deterministic and local-only. Do not shell out, call network APIs, or log raw prompt/content values.abg.registerCommand. Treat plugin.json command metadata as discovery/help text, not the source of truth.abg.registerTransform. Domain Markdown transforms should include markdown in the transform name and list matching URL globs in plugin.json.context.tab.<action>(options). Prefer domain auto-bind through plugin.json domains; otherwise document --tab, --tab-id, or --match-url.swift test --filter PluginHostTests
abg plugin list --local-only
abg plugin reload <name>
abg <name> --help
{
"name": "hello",
"version": "0.1.0",
"author": "your-name",
"description": "Minimal ABG plugin.",
"domains": ["https://example.com/*"],
"transforms": [],
"commands": [
{
"name": "greet",
"description": "Return a greeting.",
"args": [
{ "name": "name", "type": "string", "required": false, "default": "ABG" }
]
}
]
}
abg.registerCommand("greet", async function (args, context) {
return {
ok: true,
message: "Hello, " + (args.name || "ABG"),
plugin: context.plugin.name
};
});
abg.registerCommand("clear-and-paste", async function (args, context) {
if (context.tabId == null) {
return { ok: false, error: "no_tab_context" };
}
await context.tab.clear({ selector: args.selector });
await context.tab.paste({ selector: args.selector, value: args.value || "" });
return { ok: true };
});
abg plugin install <source> --yes is required because plugins run JavaScript inside the local Gateway process.abg plugin reload [name] reloads plugin code without requiring the user to quit ABG.app or re-share tabs.