Логотип 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, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний 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. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/greedychipmunk/agent-skills/tree/main/herdr-plugin-builder
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇