شعار 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

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها greedychipmunk على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Herdr Plugin Builder في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ 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؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق 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 مجانية؟

نعم. نشرها greedychipmunk على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇