Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/opencode-plugin-creatorОтчеты и соответствие требованиям

opencode-plugin-creator

⁨Create or revise OpenCode plugins: server entrypoints, hooks, custom tools, lifecycle, installation, and packaging.⁩

v2026.11.13-21cd5682 установки+2 за 7 дней39 ЗвездыMITсинхронизировано 11 часов назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/opencode-plugin-creator

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
hkMysDuoCB…/AAZLjBw==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакет6afcf1a0…8444920b
6afcf1a0d60b…32838444920b13 файлов · ⁦9.0 KB⁩
ПроверкаСредний5 замечаний
  • Исполняемый скрипт в составе навыкаassets/template/src/plugin/guard.ts
  • Исполняемый скрипт в составе навыкаassets/template/src/plugin/index.ts
  • Исполняемый скрипт в составе навыкаassets/template/test/guard.test.ts
Вся проверка
Источникgithub.com/AeonDave/malskill/tree/main/harness-dev/opencode-plugin-creator@21cd568

Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.

Use opencode-agent-creator for agent definitions, permissions, and task delegation. Keep plugin mechanics here.

Match the host before coding

Record opencode --version and the installed @opencode-ai/plugin version. This skill's template targets OpenCode 1.18.35, tag commit 53d1eabb61e21162157817bf677da0a4ad3332e3.

Choose the API from the target package's exports and types. The released root import uses a Plugin function returning Hooks; its V2 Promise/Effect exports are different APIs. Current V2 documentation can describe fields absent from 1.18.35. Do not mix its examples into a V1 hook object.

For terminal UI behavior, load the official CLI-plugin guide and the target host's @opencode-ai/plugin/tui types. Use its distinct TUI entrypoint/API and package ./tui export; match the guide's imports to the installed version rather than using server hooks for UI work.

Build and verify

  1. Load references/hooks.md when choosing an entrypoint or interception hook; check its host call site as well as its type.
  2. Copy assets/template/ into the target project. Set the package name and supported host range; pin the SDK/plugin version used for development.
  3. Implement only the required hooks. Mutate the provided output fields in place. Load references/custom-tools.md when adding model-callable actions.
  4. Load references/patterns.md for initialization, cancellation, logging, state ownership, or teardown.
  5. Run the template's typecheck and tests in its own directory. Test the returned hooks and custom tool, including the blocked/error path.
  6. Load references/publishing.md when installing or packaging. Start the matching host in an isolated project, confirm initialization, and exercise the intended behavior. Report unit/typecheck evidence separately from host execution.
  7. Inspect the package contents before an authorized publication.

Minimal server plugin

ts
import type { Plugin, PluginModule } from "@opencode-ai/plugin"

const Guard: Plugin = async () => ({
  "tool.execute.before": async (input, output) => {
    if (input.tool === "read" && output.args.filePath === "blocked.txt")
      throw new Error("This read is blocked by the project guard.")
  },
})

export default { id: "example.guard", server: Guard } satisfies PluginModule

A guard for one tool is scoped to that tool. Set agent/config permissions for access policy; a type declaration alone does not establish that a permission hook runs.

The template exports one explicit server module. Keep helper functions in imported siblings rather than exporting them from a legacy plugin entrypoint.

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыДаДа
Пишет файлыНетНет
Выполняет команды shellДаДа
Ходит в сетьДаДа
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

  1. СредняяФайл · Исполняемый скрипт в составе навыкаassets/template/src/plugin/guard.ts
  2. СредняяФайл · Исполняемый скрипт в составе навыкаassets/template/src/plugin/index.ts
  3. СредняяФайл · Исполняемый скрипт в составе навыкаassets/template/test/guard.test.ts
  4. СредняяФайл · Исполняемый скрипт в составе навыкаassets/template/test/index.test.ts
  5. ИнфоСсылка · Ссылки на внешние домены

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v2026.11.13-21cd56813 нояб. 2026 г.21cd5686afcf1a0Подписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

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

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login