[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CYF1JAJ7XXZ6NVC6BW3W9G":3,"skill-same:01M6CYF1JAJ7XXZ6NVC6BW3W9G":139},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6CYF1JAJ7XXZ6NVC6BW3W9G","plugin-creator",null,"Create or update a Bub plugin at any local path. Use when the task is to scaffold a Python\npackage that exposes a [project.entry-points.bub] entry, implement Bub hooks or tools, or make\na plugin take effect by installing it into, or adding it as a dependency of, the project that\nruns Bub. Inside bub-contrib, also follow the repository's package and workspace conventions.","bubbuild\u002Fbub-contrib","bubbuild","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264669564?v=4","01M6CYEYPWPQJBCRCMJ415277Z","Bub Build","01M6CYEYVZ5WFRV560SC5E6GKE",19,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplugin-creator\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"plugin creator","plugin","effect","project","local","conventions","bub","task","take","hooks","dependency","use","python","workspace","Tools","repository","package","update","create","implement","2026-11-10 10:12:30",false,"---\nname: plugin-creator\ndescription: |\n  Create or update a Bub plugin at any local path. Use when the task is to scaffold a Python\n  package that exposes a [project.entry-points.bub] entry, implement Bub hooks or tools, or make\n  a plugin take effect by installing it into, or adding it as a dependency of, the project that\n  runs Bub. Inside bub-contrib, also follow the repository's package and workspace conventions.\n---\n\n# Bub Plugin Creator\n\nA Bub plugin is an ordinary Python package. It takes effect only when both of these hold:\n\n1. The package declares an entry point in the `bub` group.\n2. The package is installed in the same Python environment as Bub.\n\nThe plugin does not have to live in `bub-contrib`; that repository is just one possible host.\n\n## Anatomy Of A Bub Plugin\n\nA typical plugin package contains:\n\n- `pyproject.toml`\n- `README.md`\n- `src\u002F\u003Cpython_package>\u002F__init__.py`\n- `src\u002F\u003Cpython_package>\u002Fplugin.py`, or another module that exports hooks or tools, such as `tools.py`\n- optional helper modules such as `channel.py`, `store.py`, `jobstore.py`, or `config.py`\n- optional tests under `tests\u002F`\n- optional bundled agent skills under `src\u002Fskills\u002F\u003Cskill-name>\u002F`\n\nThe entry point is declared like this:\n\n```toml\n[project.entry-points.bub]\n\u003Cplugin-name> = \"\u003Cpython_package>.plugin\"\n```\n\nThe target can also be a tools module or a specific object:\n\n```toml\n[project.entry-points.bub]\n\u003Cplugin-name> = \"\u003Cpython_package>.tools\"\n\u003Cplugin-name> = \"\u003Cpython_package>.plugin:main\"\n```\n\nPoint the entry point at the smallest target that covers the implementation.\n\n## Step 0: Identify The Host Project\n\nBefore creating any files, work out two separate things:\n\n- **Source location**: where the plugin's files live.\n- **Activation location**: the project or environment that installs the package and runs Bub.\n\nMost tasks fall into one of three cases:\n\n1. **New package in an existing monorepo.** Add the package to the current repository and wire it\n   into that repository's dependency setup.\n2. **Standalone local package.** Create the package at the requested path, then install it into\n   the Bub environment as an editable or path dependency.\n3. **Existing package.** Update it in place and make sure the environment picks up the change.\n\nIf the request does not say, infer both locations from nearby `pyproject.toml`, `uv.lock`, and\n`.venv` files, and from how Bub is launched.\n\n## Classify The Plugin Shape\n\nFind the closest existing plugin and read it before writing code. In `bub-contrib`, the packages\nunder `packages\u002F` are the primary references.\n\nCommon shapes:\n\n| Shape | Use when the plugin... | Typical hooks |\n| --- | --- | --- |\n| Channel provider | connects Bub to an external message source or sink | `provide_channels` |\n| Hook-only provider | contributes one focused hook, such as model execution | `run_model` |\n| Resource provider | returns a store or another singleton runtime resource | `provide_tape_store` |\n| Composite plugin | owns runtime state and also provides channels or tools | `load_state` plus provider hooks |\n| Tool package | mainly defines `@tool` functions | entry point targets the tools module |\n\nCopy the nearest existing shape instead of inventing a new abstraction.\n\n## Implementation Workflow\n\n### 1. Read The Closest Reference\n\nAt a minimum, read:\n\n- the host project's `pyproject.toml`\n- the closest plugin's `pyproject.toml`, entry module (`plugin.py` or `tools.py`), and `README.md`\n- one or two of its representative tests\n\nIf the plugin integrates an agent-facing chat platform, also read any bundled skill such as\n`src\u002Fskills\u002F\u003Cchannel>\u002FSKILL.md`.\n\n### 2. Choose The Package Layout\n\nDefault layout for a new package:\n\n```text\n\u003Cplugin-root>\u002F\n├── pyproject.toml\n├── README.md\n├── src\u002F\n│   └── bub_\u003Cfeature>\u002F\n│       ├── __init__.py\n│       ├── plugin.py or tools.py\n│       └── ...\n└── tests\u002F\n    └── test_plugin.py\n```\n\nNaming conventions:\n\n- distribution name: `bub-\u003Cfeature>`\n- Python package: `bub_\u003Cfeature>`\n- entry point name: the short user-facing name, usually `\u003Cfeature>`\n\nIn `bub-contrib`, put new packages at `packages\u002Fbub-\u003Cfeature>\u002F`. Elsewhere, use the path the user\nasked for, or the host project's existing plugin directory if it has one.\n\n### 3. Write The Packaging Metadata\n\n`pyproject.toml` usually declares:\n\n- `name`, `version`, `description`, `readme`, and `requires-python`\n- runtime `dependencies`\n- `[project.entry-points.bub]`\n- a build backend\n\nUse the `src\u002F` layout unless the host project clearly follows another convention.\n\n### 4. Implement The Entry Module\n\nImplement only the hooks the task needs.\n\nCommon patterns:\n\n- `@hookimpl def provide_channels(...) -> list[Channel]`\n- `@hookimpl async def run_model(...) -> str`\n- `@hookimpl def provide_tape_store() -> ...`\n- `@hookimpl def load_state(...) -> State`\n- `@tool(name=\"...\")` in a module that the entry point targets directly\n\nGuidelines:\n\n- Keep the entry module thin. Put protocol and platform code in helper modules such as\n  `channel.py`, `store.py`, or `tools.py`.\n- Choose tool `exposure` deliberately. The default `\"auto\"` suits most tools; use `\"direct\"` for\n  tools the model must always call directly, `\"code\"` for tools callable only from `run_code`,\n  and `\"command\"` for operator comma commands the model must never see.\n- If the plugin reads environment variables, use `pydantic-settings` or the host project's\n  existing configuration approach.\n- Register every configuration class the plugin owns with\n  `@bub.config(name=\"\u003Centry-point-name>\")`. This covers every `bub.Settings` subclass, whichever\n  module defines it.\n- At runtime, read settings with `bub.ensure_config(ConfigClass)`. Do not instantiate\n  `ConfigClass()` directly or keep module-level settings singletons. Direct construction is only\n  for tests, explicit factory injection, or standalone scripts that run outside Bub and\n  intentionally read environment variables.\n- Name the config section after the entry point, such as `qq`, `mcp`, `github-copilot`, or\n  `tapestore-sqlite`, and give environment variables a specific prefix such as `BUB_QQ_` or\n  `BUB_TAPESTORE_SQLITE_`.\n- Cache singleton resources only when reuse is intentional and covered by tests.\n- Do not add shared abstractions until at least two packages actually need them.\n\n### 5. Bundle An Agent Skill Only When Needed\n\nAdd `src\u002Fskills\u002F\u003Cname>\u002FSKILL.md` only when the plugin has agent-facing behavior to teach, such as\na chat channel that needs explicit send, edit, or reply instructions. Internal providers usually\ndo not need one.\n\nIf you bundle a skill:\n\n- keep it specific to the platform or workflow\n- write command paths relative to the skill directory\n- put scripts under `src\u002Fskills\u002F\u003Cname>\u002Fscripts\u002F`\n- make sure the build includes `SKILL.md` and the scripts\n\n### 6. Activate The Plugin In The Bub Environment\n\nThis step is required: creating the package does not activate it. Choose one path:\n\n1. **Dependency of the host project.** Add the package to the host's `dependencies`, plus a source\n   mapping if needed:\n\n   ```toml\n   [project]\n   dependencies = [\"bub-my-plugin\"]\n\n   [tool.uv.sources]\n   bub-my-plugin = { path = \"..\u002Fbub-my-plugin\", editable = true }\n   ```\n\n2. **Workspace member.** Add the package to the workspace and map it as a workspace source:\n\n   ```toml\n   [tool.uv.workspace]\n   members = [\"packages\u002F*\", \"plugins\u002F*\"]\n\n   [tool.uv.sources]\n   bub-my-plugin = { workspace = true }\n   ```\n\n3. **Direct install.** Install the package into the active environment without editing host\n   metadata:\n\n   ```bash\n   uv pip install -e \u002Fabs\u002Fpath\u002Fto\u002Fbub-my-plugin\n   ```\n\nWhen the user asks to make the plugin take effect, use option 1 or 2 so the setup persists. Use\noption 3 only when the user clearly wants a local experiment.\n\nIn `bub-contrib`, also check the root `pyproject.toml`, which lists workspace packages explicitly\nin its dependencies and `tool.uv.sources`.\n\n### 7. Write A Short README\n\nKeep the README short and practical. It usually covers:\n\n- what the plugin provides\n- required environment variables or configuration\n- how to install and enable it\n- notable behavior and limitations\n\nLeave out generic packaging tutorials.\n\n### 8. Add Targeted Tests\n\nTest any non-trivial behavior, preferring narrow tests to large integration setups. Typical\ncoverage:\n\n- the entry hook returns the expected type or object\n- settings parse environment variables correctly\n- singleton or factory behavior at the plugin level\n- fallback and error paths at boundary conditions\n\nFollow the host project's test style. In `bub-contrib`, that usually means `pytest`, direct\nimports from `\u003Cpackage>.plugin`, `monkeypatch` for environment variables and runtime\nsubstitution, and `tmp_path` for filesystem behavior.\n\n## Decision Rules\n\n- Match existing repository conventions, even when another design looks cleaner.\n- Use one package per plugin, however small.\n- Register config with `import bub` and `@bub.config(name=\"\u003Centry-point-name>\")`, so the decorator\n  visibly belongs to the framework API.\n- Read config with `bub.ensure_config(ConfigClass)` where it is used, so Bub-loaded config data and\n  caching apply.\n- Prefix new environment variables with `BUB_\u003CFEATURE>_`.\n- Expose no more public surface than the Bub hooks require.\n- When the user asks to enable the plugin, wire it in as a persistent dependency rather than a\n  one-off shell install.\n\n## Validation Checklist\n\nBefore finishing, confirm that:\n\n1. The distribution name, Python package name, and entry point name match each other.\n2. The entry point target imports only modules that exist.\n3. The plugin's `pyproject.toml` declares every third-party package it imports.\n4. Activation is complete: the host project depends on the package, or the package is installed\n   in the runtime environment.\n5. Every plugin-owned `bub.Settings` subclass has `@bub.config(name=\"\u003Centry-point-name>\")`, and\n   importing the entry point target registers it.\n6. Runtime code reads registered settings through `bub.ensure_config(ConfigClass)`, not direct\n   `ConfigClass()` construction or module-level settings singletons.\n7. Tests cover the main hook or configuration path.\n8. The README describes what the implementation actually does and how to enable it.\n9. If skills are bundled, the build includes `SKILL.md` and its scripts.\n10. If the user explicitly asked to publish from `bub-contrib`, the code is on the default branch\n    and the publish request title names the exact package and version.\n\nSuggested commands, adjusted to the host project:\n\n```bash\nuv run pytest \u003Cplugin-root>\u002Ftests\nuv sync\n```\n\nFor standalone local packages, also consider:\n\n```bash\nuv pip install -e \u002Fabs\u002Fpath\u002Fto\u002Fplugin\n```\n\n## `bub-contrib` Notes\n\nWhen the host project is this repository:\n\n- create new plugins under `packages\u002Fbub-\u003Cfeature>`\n- use existing packages under `packages\u002F` as the primary references\n- update the root `pyproject.toml` if the package should be part of the root dev environment\n- for a bundled agent skill, follow the `src\u002Fskills\u002F\u003Cname>\u002F` convention used by the channel\n  plugins\n\n### Publish Requests\n\nCreating or updating a plugin in `bub-contrib` does not imply publishing it. Unless the user\nexplicitly asks to publish or to open a publish request, do not open an issue and do not run\n`uv publish` locally.\n\nBefore requesting a release, confirm that the code is merged into the default branch. Then open an\nissue with the repository's **Publish request** issue template, titled exactly:\n\n```text\nRequest for publish: \u003Cpackage> \u003Cversion>\n```\n\nFor example:\n\n```text\nRequest for publish: bub-example 1.2.3\n```\n\nThe publish request workflow checks that:\n\n- the title contains a valid package name and a PEP 440 version\n- the package exists under `packages\u002F`, and its directory name matches `project.name`\n- `uv version --dry-run` accepts the requested version\n- that package version has not already been published to PyPI\n\nThe PyPI check queries `https:\u002F\u002Fpypi.org\u002Fpypi\u002F\u003Cpackage>\u002F\u003Cversion>\u002Fjson`. Only HTTP 404 means the\nversion is available; an existing release, any other HTTP error, or a network error blocks the\nrelease.\n\nA successful validation does not post a comment. After review, a maintainer adds the\n`to-be-published` label; the workflow validates again, then builds and publishes the package\nthrough PyPI Trusted Publishing. GitHub Actions comments the release result on the issue: it\ncloses the issue on success and removes the label on failure so the request can be retried after\na fix.\n\nDo not bypass the version check by editing the workflow, uploading manually, or rewriting the\nversion string into an equivalent form. If the user asks for a publish request but the code is not\nyet on the default branch, explain that prerequisite instead of opening the request early.\n\n## Output Contract\n\nAfter implementing a plugin with this skill, the final response states:\n\n- where the plugin package was created or updated\n- which Bub hooks or tools it implements\n- how it was wired into the Bub environment\n- whether a bundled agent skill was added\n- which tests to run\n- whether a `bub-contrib` publish request was explicitly requested, opened, or left as a next step\n- any remaining assumptions, especially about credentials, endpoints, and the runtime environment\n","# Bub Plugin Creator\n\nA Bub plugin is an ordinary Python package. It takes effect only when both of these hold:\n\n1. The package declares an entry point in the `bub` group.\n2. The package is installed in the same Python environment as Bub.\n\nThe plugin does not have to live in `bub-contrib`; that repository is just one possible host.\n\n## Anatomy Of A Bub Plugin\n\nA typical plugin package contains:\n\n- `pyproject.toml`\n- `README.md`\n- `src\u002F\u003Cpython_package>\u002F__init__.py`\n- `src\u002F\u003Cpython_package>\u002Fplugin.py`, or another module that exports hooks or tools, such as `tools.py`\n- optional helper modules such as `channel.py`, `store.py`, `jobstore.py`, or `config.py`\n- optional tests under `tests\u002F`\n- optional bundled agent skills under `src\u002Fskills\u002F\u003Cskill-name>\u002F`\n\nThe entry point is declared like this:\n\n```toml\n[project.entry-points.bub]\n\u003Cplugin-name> = \"\u003Cpython_package>.plugin\"\n```\n\nThe target can also be a tools module or a specific object:\n\n```toml\n[project.entry-points.bub]\n\u003Cplugin-name> = \"\u003Cpython_package>.tools\"\n\u003Cplugin-name> = \"\u003Cpython_package>.plugin:main\"\n```\n\nPoint the entry point at the smallest target that covers the implementation.\n\n## Step 0: Identify The Host Project\n\nBefore creating any files, work out two separate things:\n\n- **Source location**: where the plugin's files live.\n- **Activation location**: the project or environment that installs the package and runs Bub.\n\nMost tasks fall into one of three cases:\n\n1. **New package in an existing monorepo.** Add the package to the current repository and wire it\n   into that repository's dependency setup.\n2. **Standalone local package.** Create the package at the requested path, then install it into\n   the Bub environment as an editable or path dependency.\n3. **Existing package.** Update it in place and make sure the environment picks up the change.\n\nIf the request does not say, infer both locations from nearby `pyproject.toml`, `uv.lock`, and\n`.venv` files, and from how Bub is launched.\n\n## Classify The Plugin Shape\n\nFind the closest existing plugin and read it before writing code. In `bub-contrib`, the packages\nunder `packages\u002F` are the primary references.\n\nCommon shapes:\n\n| Shape | Use when the plugin... | Typical hooks |\n| --- | --- | --- |\n| Channel provider | connects Bub to an external message source or sink | `provide_channels` |\n| Hook-only provider | contributes one focused hook, such as model execution | `run_model` |\n| Resource provider | returns a store or another singleton runtime resource | `provide_tape_store` |\n| Composite plugin | owns runtime state and also provides channels or tools | `load_state` plus provider hooks |\n| Tool package | mainly defines `@tool` functions | entry point targets the tools module |\n\nCopy the nearest existing shape instead of inventing a new abstraction.\n\n## Implementation Workflow\n\n### 1. Read The Closest Reference\n\nAt a minimum, read:\n\n- the host project's `pyproject.toml`\n- the closest plugin's `pyproject.toml`, entry module (`plugin.py` or `tools.py`), and `README.md`\n- one or two of its representative tests\n\nIf the plugin integrates an agent-facing chat platform, also read any bundled skill such as\n`src\u002Fskills\u002F\u003Cchannel>\u002FSKILL.md`.\n\n### 2. Choose The Package Layout\n\nDefault layout for a new package:\n\n```text\n\u003Cplugin-root>\u002F\n├── pyproject.toml\n├── README.md\n├── src\u002F\n│   └── bub_\u003Cfeature>\u002F\n│       ├── __init__.py\n│       ├── plugin.py or tools.py\n│       └── ...\n└── tests\u002F\n    └── test_plugin.py\n```\n\nNaming conventions:\n\n- distribution name: `bub-\u003Cfeature>`\n- Python package: `bub_\u003Cfeature>`\n- entry point name: the short user-facing name, usually `\u003Cfeature>`\n\nIn `bub-contrib`, put new packages at `packages\u002Fbub-\u003Cfeature>\u002F`. Elsewhere, use the path the user\nasked for, or the host project's existing plugin directory if it has one.\n\n### 3. Write The Packaging Metadata\n\n`pyproject.toml` usually declares:\n\n- `name`, `version`, `description`, `readme`, and `requires-python`\n- runtime `dependencies`\n- `[project.entry-points.bub]`\n- a build backend\n\nUse the `src\u002F` layout unless the host project clearly follows another convention.\n\n### 4. Implement The Entry Module\n\nImplement only the hooks the task needs.\n\nCommon patterns:\n\n- `@hookimpl def provide_channels(...) -> list[Channel]`\n- `@hookimpl async def run_model(...) -> str`\n- `@hookimpl def provide_tape_store() -> ...`\n- `@hookimpl def load_state(...) -> State`\n- `@tool(name=\"...\")` in a module that the entry point targets directly\n\nGuidelines:\n\n- Keep the entry module thin. Put protocol and platform code in helper modules such as\n  `channel.py`, `store.py`, or `tools.py`.\n- Choose tool `exposure` deliberately. The default `\"auto\"` suits most tools; use `\"direct\"` for\n  tools the model must always call directly, `\"code\"` for tools callable only from `run_code`,\n  and `\"command\"` for operator comma commands the model must never see.\n- If the plugin reads environment variables, use `pydantic-settings` or the host project's\n  existing configuration approach.\n- Register every configuration class the plugin owns with\n  `@bub.config(name=\"\u003Centry-point-name>\")`. This covers every `bub.Settings` subclass, whichever\n  module defines it.\n- At runtime, read settings with `bub.ensure_config(ConfigClass)`. Do not instantiate\n  `ConfigClass()` directly or keep module-level settings singletons. Direct construction is only\n  for tests, explicit factory injection, or standalone scripts that run outside Bub and\n  intentionally read environment variables.\n- Name the config section after the entry point, such as `qq`, `mcp`, `github-copilot`, or\n  `tapestore-sqlite`, and give environment variables a specific prefix such as `BUB_QQ_` or\n  `BUB_TAPESTORE_SQLITE_`.\n- Cache singleton resources only when reuse is intentional and covered by tests.\n- Do not add shared abstractions until at least two packages actually need them.\n\n### 5. Bundle An Agent Skill Only When Needed\n\nAdd `src\u002Fskills\u002F\u003Cname>\u002FSKILL.md` only when the plugin has agent-facing behavior to teach, such as\na chat channel that needs explicit send, edit, or reply instructions. Internal providers usually\ndo not need one.\n\nIf you bundle a skill:\n\n- keep it specific to the platform or workflow\n- write command paths relative to the skill directory\n- put scripts under `src\u002Fskills\u002F\u003Cname>\u002Fscripts\u002F`\n- make sure the build includes `SKILL.md` and the scripts\n\n### 6. Activate The Plugin In The Bub Environment\n\nThis step is required: creating the package does not activate it. Choose one path:\n\n1. **Dependency of the host project.** Add the package to the host's `dependencies`, plus a source\n   mapping if needed:\n\n   ```toml\n   [project]\n   dependencies = [\"bub-my-plugin\"]\n\n   [tool.uv.sources]\n   bub-my-plugin = { path = \"..\u002Fbub-my-plugin\", editable = true }\n   ```\n\n2. **Workspace member.** Add the package to the workspace and map it as a workspace source:\n\n   ```toml\n   [tool.uv.workspace]\n   members = [\"packages\u002F*\", \"plugins\u002F*\"]\n\n   [tool.uv.sources]\n   bub-my-plugin = { workspace = true }\n   ```\n\n3. **Direct install.** Install the package into the active environment without editing host\n   metadata:\n\n   ```bash\n   uv pip install -e \u002Fabs\u002Fpath\u002Fto\u002Fbub-my-plugin\n   ```\n\nWhen the user asks to make the plugin take effect, use option 1 or 2 so the setup persists. Use\noption 3 only when the user clearly wants a local experiment.\n\nIn `bub-contrib`, also check the root `pyproject.toml`, which lists workspace packages explicitly\nin its dependencies and `tool.uv.sources`.\n\n### 7. Write A Short README\n\nKeep the README short and practical. It usually covers:\n\n- what the plugin provides\n- required environment variables or configuration\n- how to install and enable it\n- notable behavior and limitations\n\nLeave out generic packaging tutorials.\n\n### 8. Add Targeted Tests\n\nTest any non-trivial behavior, preferring narrow tests to large integration setups. Typical\ncoverage:\n\n- the entry hook returns the expected type or object\n- settings parse environment variables correctly\n- singleton or factory behavior at the plugin level\n- fallback and error paths at boundary conditions\n\nFollow the host project's test style. In `bub-contrib`, that usually means `pytest`, direct\nimports from `\u003Cpackage>.plugin`, `monkeypatch` for environment variables and runtime\nsubstitution, and `tmp_path` for filesystem behavior.\n\n## Decision Rules\n\n- Match existing repository conventions, even when another design looks cleaner.\n- Use one package per plugin, however small.\n- Register config with `import bub` and `@bub.config(name=\"\u003Centry-point-name>\")`, so the decorator\n  visibly belongs to the framework API.\n- Read config with `bub.ensure_config(ConfigClass)` where it is used, so Bub-loaded config data and\n  caching apply.\n- Prefix new environment variables with `BUB_\u003CFEATURE>_`.\n- Expose no more public surface than the Bub hooks require.\n- When the user asks to enable the plugin, wire it in as a persistent dependency rather than a\n  one-off shell install.\n\n## Validation Checklist\n\nBefore finishing, confirm that:\n\n1. The distribution name, Python package name, and entry point name match each other.\n2. The entry point target imports only modules that exist.\n3. The plugin's `pyproject.toml` declares every third-party package it imports.\n4. Activation is complete: the host project depends on the package, or the package is installed\n   in the runtime environment.\n5. Every plugin-owned `bub.Settings` subclass has `@bub.config(name=\"\u003Centry-point-name>\")`, and\n   importing the entry point target registers it.\n6. Runtime code reads registered settings through `bub.ensure_config(ConfigClass)`, not direct\n   `ConfigClass()` construction or module-level settings singletons.\n7. Tests cover the main hook or configuration path.\n8. The README describes what the implementation actually does and how to enable it.\n9. If skills are bundled, the build includes `SKILL.md` and its scripts.\n10. If the user explicitly asked to publish from `bub-contrib`, the code is on the default branch\n    and the publish request title names the exact package and version.\n\nSuggested commands, adjusted to the host project:\n\n```bash\nuv run pytest \u003Cplugin-root>\u002Ftests\nuv sync\n```\n\nFor standalone local packages, also consider:\n\n```bash\nuv pip install -e \u002Fabs\u002Fpath\u002Fto\u002Fplugin\n```\n\n## `bub-contrib` Notes\n\nWhen the host project is this repository:\n\n- create new plugins under `packages\u002Fbub-\u003Cfeature>`\n- use existing packages under `packages\u002F` as the primary references\n- update the root `pyproject.toml` if the package should be part of the root dev environment\n- for a bundled agent skill, follow the `src\u002Fskills\u002F\u003Cname>\u002F` convention used by the channel\n  plugins\n\n### Publish Requests\n\nCreating or updating a plugin in `bub-contrib` does not imply publishing it. Unless the user\nexplicitly asks to publish or to open a publish request, do not open an issue and do not run\n`uv publish` locally.\n\nBefore requesting a release, confirm that the code is merged into the default branch. Then open an\nissue with the repository's **Publish request** issue template, titled exactly:\n\n```text\nRequest for publish: \u003Cpackage> \u003Cversion>\n```\n\nFor example:\n\n```text\nRequest for publish: bub-example 1.2.3\n```\n\nThe publish request workflow checks that:\n\n- the title contains a valid package name and a PEP 440 version\n- the package exists under `packages\u002F`, and its directory name matches `project.name`\n- `uv version --dry-run` accepts the requested version\n- that package version has not already been published to PyPI\n\nThe PyPI check queries `https:\u002F\u002Fpypi.org\u002Fpypi\u002F\u003Cpackage>\u002F\u003Cversion>\u002Fjson`. Only HTTP 404 means the\nversion is available; an existing release, any other HTTP error, or a network error blocks the\nrelease.\n\nA successful validation does not post a comment. After review, a maintainer adds the\n`to-be-published` label; the workflow validates again, then builds and publishes the package\nthrough PyPI Trusted Publishing. GitHub Actions comments the release result on the issue: it\ncloses the issue on success and removes the label on failure so the request can be retried after\na fix.\n\nDo not bypass the version check by editing the workflow, uploading manually, or rewriting the\nversion string into an equivalent form. If the user asks for a publish request but the code is not\nyet on the default branch, explain that prerequisite instead of opening the request early.\n\n## Output Contract\n\nAfter implementing a plugin with this skill, the final response states:\n\n- where the plugin package was created or updated\n- which Bub hooks or tools it implements\n- how it was wired into the Bub environment\n- whether a bundled agent skill was added\n- which tests to run\n- whether a `bub-contrib` publish request was explicitly requested, opened, or left as a next step\n- any remaining assumptions, especially about credentials, endpoints, and the runtime environment\n",{"name":5,"description":7},"main","35c84fbc0b8339e5f3c94efb35a83adad292d067",".agents\u002Fskills\u002Fplugin-creator",23,"https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib","https:\u002F\u002Fgithub.com\u002Fbubbuild","https:\u002F\u002Fbub.build","Bub it, build it.","2026-11-11 15:30:48",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add bubbuild\u002Fbub-contrib --skill plugin-creator",{"tool":59,"command":60},"bunx","bunx skills add bubbuild\u002Fbub-contrib --skill plugin-creator",{"tool":62,"command":63},"pnpm","pnpm dlx skills add bubbuild\u002Fbub-contrib --skill plugin-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fplugin-creator\u002FSKILL.md",true,[67,73,77,81,85,89,93,97,103,107,111,115,119,123,127,131,135],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Fcut_video.sh","SCRIPT","脚本",5713,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Fcut_video.sh",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Fdetect_en_stutter.js",2373,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Fdetect_en_stutter.js",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fgenerate_review.js",45807,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Fgenerate_review.js",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fgenerate_srt_for_video.sh",2700,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Fgenerate_srt_for_video.sh",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Fgenerate_subtitles.js",3826,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Fgenerate_subtitles.js",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Freview_server.js",13540,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Freview_server.js",{"path":94,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fwatch_cut_done.js",2060,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002Fscripts\u002Fwatch_cut_done.js",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"用户习惯\u002F1-核心原则.md","REFERENCE","参考文档",1683,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F1-核心原则.md",{"path":104,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":105,"sourceHtmlUrl":106},"用户习惯\u002F10-删除风险分层.md",2525,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F10-删除风险分层.md",{"path":108,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":109,"sourceHtmlUrl":110},"用户习惯\u002F11-口播稿对齐.md",2039,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F11-口播稿对齐.md",{"path":112,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":113,"sourceHtmlUrl":114},"用户习惯\u002F2-语气词检测.md",645,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F2-语气词检测.md",{"path":116,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":117,"sourceHtmlUrl":118},"用户习惯\u002F3-静音段处理.md",1865,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F3-静音段处理.md",{"path":120,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":121,"sourceHtmlUrl":122},"用户习惯\u002F4-重复检测.md",2076,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F4-重复检测.md",{"path":124,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":125,"sourceHtmlUrl":126},"用户习惯\u002F5-卡顿词.md",1241,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F5-卡顿词.md",{"path":128,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":129,"sourceHtmlUrl":130},"用户习惯\u002F7-连续语气词.md",559,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F7-连续语气词.md",{"path":132,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":133,"sourceHtmlUrl":134},"用户习惯\u002F9-残句检测.md",2408,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002F9-残句检测.md",{"path":136,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":137,"sourceHtmlUrl":138},"用户习惯\u002FREADME.md",1626,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002F剪口播\u002F用户习惯\u002FREADME.md",[140,165,174,195,208,216],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":39},"01M6CYFPNE130C5YPK6J05FK5G","tape-dataset-share-review","Export, filter, scan, and review shareable tape datasets produced by `tape-dataset-opendal`. Use when Codex needs to prepare Bub-generated tape data for public sharing, Hugging Face upload, external research handoff, or any review-sensitive export that must run CEL filtering, TruffleHog secret scanning on the staged artifact, and a final conservative LLM audit.","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002Fpackages\u002Ftape-dataset-opendal\u002Fsrc\u002Fskills\u002Ftape-dataset-share-review\u002FSKILL.md",[],[147,148,149,150,151,152,153,154,155,156,157,30,158,159,160,161,162,25,163,164],"tape dataset share review","share","review","audit","codex","research","run","sharing","trufflehog","generated","filtering","export","scanning","datasets","external research","scan","artifact","upload",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":39},"01M6CYFMSN49KPA44X7XR862F9","wecom","WeCom channel skill. Return normal replies directly. For proactive sends such as scheduled jobs, use the packaged wecom_send.py script.","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002Fpackages\u002Fbub-wecom\u002Fsrc\u002Fskills\u002Fwecom\u002FSKILL.md",[],[167,172,30,173],"channel","jobs",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":39},"01M6CYFH67JBZ9YEGQVDCFW3GV","slack","Slack skill for proactive outbound Slack communication: posting a message to a\nchannel or thread, editing an existing bot message, or adding an emoji reaction.\nUse when the bot needs to: (1) post a message somewhere OTHER than the current\nreply (e.g. a different channel, or a side note in the same thread),\n(2) edit a previously-sent bot message (e.g. a progress placeholder), or\n(3) acknowledge a message with a non-verbal emoji reaction.\nNOTE: normal replies to the current message are posted AUTOMATICALLY by the\nruntime — just answer as text. Reach for this skill only for proactive \u002F\nout-of-band sends and message edits.","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002Fpackages\u002Fbub-slack\u002Fsrc\u002Fskills\u002Fslack\u002FSKILL.md",[],[176,181,182,183,184,185,186,187,188,189,190,191,192,193,194,172,30],"reply","emoji","message","outbound","runtime","only","bot","placeholder","communication","out-of-band","text","just","editing","edit",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":39},"01M6CYFENA72P45DFRZP9NVVM5","qq","QQ C2C and group channel skill. Use when Bub is handling a QQ conversation. In the default tool reply mode, reply by calling qq.send (text or media) and stay silent by not calling it. In direct reply mode, return the reply text; output exactly \u003Cno_reply\u002F> to stay silent.","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002Fpackages\u002Fbub-qq\u002Fsrc\u002Fskills\u002Fqq\u002FSKILL.md",[],[197,202,203,204,191,205,172,30,181,206,207,25],"conversation","Media","tool","direct","default","calling",{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":212,"categories":213,"keywords":214,"publishedAt":39},"01M6CYFC5D1T5JETNW8E99FG73","feishu","Use this skill to respond to messages from feishu channel.","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002Fpackages\u002Fbub-feishu\u002Fsrc\u002Fskills\u002Ffeishu\u002FSKILL.md",[],[210,215,172,30],"messages",{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":222,"publishedAt":39},"01M6CYF94FXGAF30CRJHN4ZVJ4","discord","Discord Bot integration for sending messages, managing channels, and responding to events.\nUse when Bub needs to: (1) Send messages to Discord channels, (2) Create Discord bot with discord.py,\n(3) Handle Discord events (on_message, on_member_join, etc.), (4) Work with Discord webhooks,\nor (5) Any Discord-related functionality.","https:\u002F\u002Fgithub.com\u002Fbubbuild\u002Fbub-contrib\u002Fblob\u002Fmain\u002Fpackages\u002Fbub-discord\u002Fsrc\u002Fskills\u002Fdiscord\u002FSKILL.md",[],[218,215,223,37,187,183,25,224,225,30,226],"integration","webhooks","discord bot","work"]