Логотип Herdr Plugin Builder

Herdr Plugin Builder

Сообщество
greedychipmunk
herdr-plugin-builder

Builds, validates, and publishes Herdr plugins — manifest-declared workflow packages (actions, event hooks, panes, link handlers) for the Herdr terminal multiplexer. Use when authoring or debugging herdr-plugin.toml manifests, wiring plugin runtime environment or Herdr callbacks, diagnosing plugin link/install/log failures, or publishing to the Herdr marketplace. Not for controlling Herdr panes or agents (use the herdr agent skill or herdr --skill) or for agent integrations (herdr integration install).

Обзор

Издательgreedychipmunk
Репозиторийagent-skills
Название навыкаherdr-plugin-builder
Звёзды
24
Форки
1
Встроенные файлы
8
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 8

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: greedychipmunk. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Herdr Plugin Builder в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/greedychipmunk/agent-skills/tree/main/herdr-plugin-builder
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/greedychipmunk/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/herdr-plugin-builder .claude/skills/herdr-plugin-builder
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Herdr Plugin Builder в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Herdr Plugin Builder, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Herdr Plugin Builder не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Herdr Plugin Builder

A Herdr plugin is a directory with a herdr-plugin.toml manifest plus any executable command Herdr can launch by argv: Bash, Node, Python, Lua, a Rust binary, anything available on the user's machine. Herdr owns installation, manifest validation, keybindings, panes, events, and the socket; the plugin owns its language, dependencies, files, and durable state. There is no plugin SDK and no restricted command set — the entire herdr CLI is the plugin API.

Establish the version and authority first

  • Run herdr status and record the client and server versions. The installed binary is the authority for command syntax and manifest validation; every contract in this skill was verified against Herdr 0.9.5 (protocol 22).
  • herdr plugin exists on 0.9.5 even though top-level herdr --help does not list it. Print the group with herdr plugin; never run bare herdr, which launches or attaches the TUI.
  • Read sources and version boundaries before trusting any example. Unknown manifest fields are silently ignored, so a field typo or a documentation sketch can mislead without producing an error.
  • Confirm HERDR_ENV=1 before any plugin or verification step controls live panes, agents, or workspaces.

Keep the three extension surfaces distinct

  • Plugins (herdr plugin ...): shareable workflow packages. This skill.
  • Integrations (herdr integration install <agent>): status reporting for known coding agents. A different feature; do not recreate it here.
  • Agent and pane control (herdr agent|pane|workspace ...): the runtime surface plugins call back into. Covered by the herdr agent skill or herdr --skill; do not restate its full contract.

Choose the workflow

RequestRead nextRequired result
Author or fix a manifestManifest contractValid herdr-plugin.toml passing offline preflight and live link
Wire runtime behavior or Herdr callbacksRuntime environmentCorrect env/context handling with log evidence
Install, update, uninstall, or publishLifecycle and publishingCorrect registration path and marketplace listing
Add panes, popups, keybindings, or link handlersPanes and UIDeclared entrypoints that open and close as designed

Default execution sequence

  1. Start from the template. Copy assets/plugin-template.toml and set id, name, version, and min_herdr_version (all required; min_herdr_version is semver and must not exceed the installed Herdr version).
  2. Preflight offline. Run python3 <skill-dir>/scripts/check_plugin.py <plugin-dir> to catch id-charset, platform, command, event-name, duplicate-id, and popup-size issues before touching a live server. The script mirrors Herdr 0.9.5 validation rules and error codes.
  3. Link for local development. herdr plugin link <dir> registers the plugin without running [[build]] commands. Registration is global to the user and visible in every Herdr session; unlink with herdr plugin unlink <id> when finished.
  4. Exercise the real surface. herdr plugin action list --plugin <id>, then herdr plugin action invoke <id>.<action-id>, then herdr plugin log list --plugin <id> for captured stdout/stderr, exit codes, and status. A successful invoke acknowledges admission, not success: read the log before claiming the action works.
  5. Verify the environment contract. Runtime commands execute with the plugin directory as working directory and receive HERDR_BIN_PATH, HERDR_PLUGIN_*, and context variables (runtime). Call back into Herdr through HERDR_BIN_PATH, never a hardcoded socket path or a bare herdr.
  6. Publish deliberately. GitHub repository with the herdr-plugin topic, manifests at the root or in subdirectories of the default branch. Tell users to pin --ref when reproducibility matters.

Non-negotiable boundaries

  • command values are argv arrays. Herdr does not run them through a shell: no expansion, pipes, or redirects unless the command starts a shell itself.
  • Plugin code runs as the user with full CLI power. Review third-party plugins before installing; never instruct users to bypass the install preview with --yes for code they have not read. [[startup]] commands run automatically at server startup and are listed in the install preview.
  • GitHub-installed plugin roots are managed checkouts. Never store credentials or durable state under the plugin root; use HERDR_PLUGIN_CONFIG_DIR and HERDR_PLUGIN_STATE_DIR, which Herdr creates and never validates.
  • Plugins must stop detached background processes before their command or pane exits; processes surviving server exit are not protected from installation cleanup.
  • Do not promise plugin-shipped keybindings, runtime action registration, a Herdr-managed storage API, or native non-terminal plugin UI — none exist in plugin v1. Bind keys to plugin actions through the user's config.toml.
  • Never lower min_herdr_version just to make a link succeed. A value above the installed version is a hard plugin_requires_newer_herdr error, and that is the correct outcome for an unsupported host.

Deliverable

Return the plugin directory; a manifest that passes offline preflight and a live herdr plugin link; verified action, event, or pane behavior with log evidence; install or publish instructions; and explicit notes on anything untested or version-dependent. If a behavior cannot be verified against the installed binary, say so instead of generalizing from documentation.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Herdr Plugin Builder?

Builds, validates, and publishes Herdr plugins — manifest-declared workflow packages (actions, event hooks, panes, link handlers) for the Herdr terminal multiplexer. Use when authoring or debugging herdr-plugin.toml manifests, wiring plugin runtime environment or Herdr callbacks, diagnosing plugin link/install/log failures, or publishing to the Herdr marketplace. Not for controlling Herdr panes or agents (use the herdr agent skill or herdr --skill) or for agent integrations (herdr integration install).

Зачем использовать Herdr Plugin Builder в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Herdr Plugin Builder — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Herdr Plugin Builder в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/greedychipmunk/agent-skills/tree/main/herdr-plugin-builder. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Herdr Plugin Builder?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Herdr Plugin Builder?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Herdr Plugin Builder: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Herdr Plugin Builder?

Да. Навык опубликован на GitHub автором greedychipmunk по лицензии MIT. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇