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

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

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: escoffier-labs. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Brigade Work у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/escoffier-labs/brigade/tree/main/plugins/brigade/skills/brigade-work
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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?

Зі скількома забажаєте. У TypingMind ви можете використовувати Brigade Work із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Brigade Work?

Так. На GitHub цю навичку публікує escoffier-labs за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

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

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