شعار Brigade Work

Brigade Work

مؤسسة
escoffier-labs
brigade-work

Use at the start of any work session and whenever you verify a change in a Brigade Stack-wired repo or workspace - routes work through Brigade Stack so verification, outcomes, evidence export, and handoffs are captured (verify with capture → outcome from run → evidence brief next time) instead of leaving Brigade Stack installed-but-dormant. Triggers on starting a task, running tests/checks, or finishing a session.

نظرة عامة

الناشرescoffier-labs
المستودعbrigade
اسم المهارةbrigade-work
النجوم
82
التفريعات
9
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

ثبّت مهارة الذكاء الاصطناعي Brigade Work في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/escoffier-labs/brigade/tree/main/plugins/brigade/skills/brigade-work
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/escoffier-labs/brigade.git /tmp/brigade
mkdir -p .claude/skills
cp -r /tmp/brigade/plugins/brigade/skills/brigade-work .claude/skills/brigade-work
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Brigade Work في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Brigade Work تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Brigade Work بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

brigade-work

Brigade Stack only earns its keep if real work flows through it. Installed and never used, it is dead weight: the daily brief is empty, the outcome ledger never fills, and outcome rank says "ranking: none". This skill is the loop that feeds it. Check what is pending, run your verification through Brigade Stack so it produces a signed receipt, record the outcome against the skill or card that did the work, export receipts so the next run gets an evidence brief, and hand off what you learned.

Core principle: the model never grades its own work. Receipts record observed exit codes; ad hoc verify receipts provide audit evidence, while eligible manifest-backed receipts can score an artifact. Route verification through Brigade Stack, capture the outcome, and feed receipts forward via MiseLedger when installed. Check scoreability before claiming a result affects ranking.

When this applies

The repo or workspace is Brigade Stack-wired: a .brigade/ directory exists, or brigade status --target . succeeds. If neither is true, this skill does not apply (run brigade init first only if the user wants Brigade Stack here).

The loop

1. Start: see what is pending

At the start of a work session, before deciding what to do:

bash
brigade work brief --target .        # pending work, imports, warnings, suggested next command

In a memory/operator workspace, brigade daily status --target . is the lighter equivalent. Read it first.

2. Verify THROUGH Brigade Stack, not raw

When you would run tests or a check to confirm a change, run it through Brigade Stack so it records the exit code:

bash
brigade work verify run --target . --command "<your test command>"   # e.g. "pytest -q", "npm test", "go test ./..."

This writes an audit receipt under .brigade/work/verify-runs/<run-id>/ with the real status. Running tests raw produces no Brigade receipt. Neither a raw test result nor an ad hoc receipt scores an artifact.

To do steps 2 and 3 in one command (so the capture is never forgotten), pass --capture:

bash
brigade work verify run --target . --command "<test command>" --capture <id>

For scoreable evidence, use an existing registered verifier manifest tracked under verify/manifests/:

bash
brigade work verify run --target . --manifest <registered-manifest-id> --capture <id>

Inspect the reported eligibility and reason. Do not create or alter a manifest merely to make a result count.

3. Capture the outcome against what did the work

Immediately after a verify run (if you did not use --capture), record the result against the skill or card you exercised:

bash
brigade outcome capture <skill-or-card-id> --run-id latest --kind skill

Ad hoc --command and --argv-json receipts are audit-only evidence and cannot score an artifact. Scoreable evidence requires a registered verifier manifest tracked under verify/manifests/ with subject/check metadata and artifact attribution. Inspect the receipt eligibility and reason. Capture observed failures too; capture does not make an audit receipt scoreable.

Name an id you actually have. Capturing against an id Brigade Stack does not recognize prints a warning and pollutes the ranking. The id is whatever genuinely guided the change:

  • the actual installed skill that guided the work;
  • a memory card under memory/cards/ (use --kind card);
  • brigade-work itself - a fresh repo always has this one, so when nothing else applies, capture against brigade-work.

Do not invent a skill name you are not running just to have something to capture against.

4. Export receipts so the next run can reuse them (optional stations)

When GraphTrail and MiseLedger are installed, close the receipts-to-context loop so the next run sees measured evidence, not only a handoff. brigade work verify run --capture <skill> auto-exports and imports pending receipts after capture (fail-open when miseledger is absent). For backlog catch-up or fleet repos, run manually:

bash
brigade receipts export miseledger --target . --new-only --import   # fail-open if miseledger is absent
# next brigade run attaches a capped evidence brief from MiseLedger automatically
# or fetch on demand:
brigade work import context --from-miseledger "auth receipts" --target .

GraphTrail is what makes the brief measurable: verify/run receipts carry code_graph_delta, and non-read-only runs record context_eval.brief_hit_rate (did the pre-run context name the files the run actually touched?). brigade outcome rank surfaces mean brief hit rate per skill as a quality signal (secondary sort; install/rollback still use exit-code signals only).

One-glance loop health:

bash
brigade operator checkup --target .   # doctors + graph ok / ledger ok / last brief hit rate

5. Finish: handoff, and let the ratchet run

At session end, write a Memory Handoff for any durable knowledge (use your handoff inbox's TEMPLATE.md; brigade handoff-template prints it). The ratchet then closes itself, on a schedule or by hand:

bash
brigade outcome rank --target .            # most-proven skills first (and brief_hit when present)
brigade outcome reconcile --target .       # dry-run; --apply promotes a proven skill / rolls back a regressed one across harnesses

reconcile --apply installs a proven skill only if it lives in the registry. To make a candidate skill promotable, accept it first (brigade skills inbox accept <id>); the ledger id must match the registry slug. A reconcile that cannot install reports install-skipped: not in registry and leaves the skill a candidate (it never silently marks it promoted).

Rules

  • When a result should count, verification runs through brigade work verify run, never raw.
  • Capture an outcome after every verify, naming the skill or card that did the work.
  • One verify, one capture. Never batch or invent outcomes - the receipt is the evidence.
  • Prefer run-receipt capture (outcome capture --run-receipt latest) when the worker run is what changed code; verify receipts often have no-op graph deltas.
  • Export receipts into MiseLedger when the evidence station is installed so the next run's context is measured, not guessed.
  • End-of-session handoffs stay mandatory; this skill adds the verify-and-capture-and-feed-forward half of the loop.

Common mistakes

  • Running tests raw leaves no Brigade receipt. Capturing an ad hoc receipt records audit evidence but does not supply a score for outcome rank.
  • Capturing against a skill you did not actually use, which poisons the ranking.
  • Skipping capture on failures loses audit evidence. Failures can affect artifact ranking only when the receipt meets the scoring and attribution requirements.
  • Treating Brigade Stack as install-and-forget. It is dormant until work flows through it; this skill is how the work flows.
  • Stopping at capture without export: receipts pile up locally and the next brigade run has no MiseLedger evidence brief to attach.
  • Putting shell operators in the verify command. brigade work verify run splits --command with shlex and runs it with shell=False in the --target directory, so cd x && pytest, pipes, and && do NOT work. Set the working directory with --target <dir> and pass a single command, e.g. --target ./pkg --command "pytest -q".

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Brigade Work؟

Use at the start of any work session and whenever you verify a change in a Brigade Stack-wired repo or workspace - routes work through Brigade Stack so verification, outcomes, evidence export, and handoffs are captured (verify with capture → outcome from run → evidence brief next time) instead of leaving Brigade Stack installed-but-dormant. Triggers on starting a task, running tests/checks, or finishing a session.

لماذا تستخدم Brigade Work على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Brigade Work عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Brigade Work في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/escoffier-labs/brigade/tree/main/plugins/brigade/skills/brigade-work. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Brigade Work؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Brigade Work؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Brigade Work معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Brigade Work مجانية؟

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

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

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

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

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

عرض الكل

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

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