harness-adapters
ما الذي تفعله
تغطي هذه المهارة كيفية تشغيل Firstmate لأدوات ترميز مختلفة بالذكاء الاصطناعي، تسمى الحزم الداعمة أو harnesses، وإدارتها لوكلائه المساعدين. وهي موجهة للأشخاص الذين يشغّلون عدة وكلاء برمجة ويريدون التعامل مع كل منهم بشكل صحيح.
متى تستخدمها
- ✓عندما تريد تشغيل وكيل مساعد جديد باستخدام أداة ترميز بعينها.
- ✓عندما يظهر لوكيل مساعد طلب ثقة يحتاج إلى إجابة.
- ✓عندما تحتاج إلى إيقاف وكيل خرج أو مقاطعته أو استئنافه.
رابط المهارة
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/harness-adapters/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل وكيلًا مساعدًا جديدًا باستخدام أداة Codex، وتأكد من أن هذه الأداة متحقق منها أولًا.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحمّل الوكيل دليلًا مشتركًا مع ملاحظات الأداة المستخدمة وحدها. يرفض تشغيل مساعدين على أدوات لم يُتحقق منها، ويسألك قبل أي اختيار يغيّرها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
harness-adapters
This is the one skill, trigger, and routing owner for harness-specific Firstmate operations.
Load this router first, then exactly the common reference and one harness reference selected below.
When an action spans rows, load the union once rather than every reference.
Files under references/ are resources of this skill, not additional catalogued skills.
Path contract
The skill directory is the directory containing this SKILL.md.
Resolve on-demand reference links and relative links to their executable, documentation, or sibling-skill owners against the skill directory, including links named by a nested reference.
Operational paths keep the context named by their owner: config/ and active-home settings belong to the active Firstmate home, state/ belongs to that home, and project settings such as .claude/settings.json belong to the target project.
Non-negotiable safety
Never dispatch a crewmate or secondmate on an unverified adapter.
If config/crew-harness or config/secondmate-harness names one, tell the captain under ../../../AGENTS.md section 9 that the requested worker runtime is not verified, use firstmate's own verified runtime for current work, and ask only whether to verify the requested runtime for future work.
Do not pause current work for that choice.
On unknown, ask the captain instead of guessing.
A current captain override beats detection, while a per-task override governs only that dispatch.
For recovery and control, use the exact harness= in state/<id>.meta; never infer it from a model or provider.
Deliver lifecycle actions only through ../../../bin/fm-control.sh <task-id> interrupt|exit|relaunch.
Never type an interrupt key or exit command through fm-send, where routing-marked lifecycle text becomes chat.
Trust handling is complete only when inspection proves the target started processing its instructions; delivery success alone is not proof.
Muse, Gemini, Devin, Command Code, Polytoken, Cortex, and Kiro are verified only for crewmate and scout work, never a secondmate or primary.
Detection
../../../bin/fm-harness.sh prints firstmate's own harness from verified environment markers and process ancestry, and owns how they combine.
A marker names its harness, but a structural ancestor of a different harness outranks it, because a marker is ordinary environment state a child or a multiplexer can retain while ancestry is what proves who owns the process tree.
Only FM_PI_HARNESS=pi-signed at the launch boundary together with PI_CODING_AGENT=true selects Pi-signed; shared unmarked launcher ancestry remains Pi.
omp publishes no marker of its own; FM_OMP_HARNESS=omp is Firstmate's launch marker and the anchored process name omp is its ancestry evidence, as references/harness/omp.md records.
../../../bin/fm-spawn.sh owns worker marker establishment, while the README launch command owns the signed-primary boundary.
../../../bin/fm-harness.sh crew resolves config/crew-harness, where absent or default means firstmate's own harness.
docs/configuration.md owns secondmate pin resolution, including per-mate overrides; bin/fm-harness.sh owns the resolver commands.
../../../bin/fm-spawn.sh re-resolves on every spawn, and an explicit per-spawn argument wins for that spawn.
A new adapter's verified marker and command name must land in ../../../bin/fm-harness.sh.
Operation-to-reference matrix
Every emitted plan appends the selected or recorded harness reference after the named common references.
The harness-adapter-routing-v1 object is the machine-readable and human-visible selection contract: choose the operation, choose the scenario within it, then append the selected harness reference.
default is the normal scenario when no narrower scenario applies.
Kimi establishes its unsupported primary boundary in its selected harness reference; Muse and Gemini follow Non-negotiable safety above.
A new tool remains undispatchable until the verify plan, its harness entry, every named owner, and the live checks land.
{
"operations": {
"start": {
"default": ["references/common/dispatch.md", "references/common/model-and-effort.md"],
"trust-dialog": ["references/common/control-and-recovery.md"]
},
"trust": {"default": ["references/common/control-and-recovery.md"]},
"skill": {"defaul
الأسئلة الشائعة
هل يستطيع استخدام أداة غير متحقق منها؟
لا، يخبرك أن الأداة غير متحقق منها، ويستخدم أداة متحققًا منها للعمل الحالي.
ما أنواع الإجراءات التي يتعامل معها؟
تشغيل الوكلاء، والإجابة عن طلبات الثقة، وإرسال أوامر المهارات، ومقاطعة الوكلاء أو إنهاؤهم أو استئنافهم.
هل سيخمّن عندما يكون شيء غير واضح؟
لا، إذا كانت الأداة مجهولة يسألك بدل أن يخمّن.
التفاصيل
الوصف الأصلي من المؤلف
Load before spawning or recovering a crewmate or secondmate, handling a trust dialog, sending a harness-specific skill invocation, interrupting or exiting an agent, resuming an exited agent, or verifying a new harness adapter.
repo: kunchenguid/firstmate
الشعبية
- نجوم GitHub
- 8.5k
- الترتيب
- #12437
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
afk
8.5kيتيح لوكيلك مواصلة العمل وأنت بعيد، مع حفظ القرارات لعودتك وإرسال موجز واضح حين تعود.
ahoy
8.5kيتيح لوكيلك أن يعطيك ملخصًا قصيرًا لما جرى في الجلسة، ويشرح لك أي قرارات ما زالت تنتظرك.
ask-user-authority
8.5kيساعد وكيلك على البت بنفسه في أسئلة المراجعة حين تتوافق بوضوح مع الخطة المتفق عليها، ولا يسألك إلا عندما يكون السؤال غامضًا أو محفوفًا بالمخاطر.
away-quiet-supervision
8.5kيضع قواعد أمان للإشراف على العمل في وضع الغياب أو الهدوء، حتى يبقى الوكيل واضحًا في رسائله ويحجز القرارات التي تحتاج إليك.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.