<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
onoma2/coworker-skill/coworker-vote
──Details
PublishedOctober 23, 2026 at 06:25 PM
Content Hashsha256:dfcdaa00ef954718...
Git SHA862f9d801221
──Files
Files (1 file, 4.0 KB)
SKILL.md4.0 KBactive
SKILL.md · 84 lines · 4.0 KB

version: "1.0.0" name: coworker-vote description: Gather explicit APPROVE or REJECT ballots from multiple coworker providers for one bounded proposal, change, or decision. The result is a local consensus tally with per-provider rationale and confidence, plus persistence to .cowork/consensus.jsonl. disable-model-invocation: true


Coworker Vote

Purpose

Use multiple coworker providers to cast explicit votes on one bounded proposal, change, or decision. The result is a local consensus tally with per-provider rationale and confidence, plus persistence to .cowork/consensus.jsonl.

Prerequisites

  • Python 3
  • ../coworker-main/scripts/coworker-vote.py exists
  • coworker-main helpers available in the standard relative location
  • The selected provider CLIs are installed and configured

When To Use

  • The user wants a yes/no or approve/reject decision from multiple coworkers.
  • You need a bounded consensus check before implementing or persisting a decision.
  • The proposal can be evaluated from a small explicit file set.

Do Not Use

  • Open-ended design exploration where coworker-brainstorm is a better fit.
  • File generation or scaffolding tasks; use coworker-task.
  • Narrow fact extraction or code reading; use coworker-ask.
  • Safety-critical decisions that still require direct local verification regardless of any vote outcome.

File Selection Rule

  • Resolve a small bounded file set locally before invoking the vote.
  • Prefer entry points, shared contracts, and the exact files the proposal would change.
  • Do not pass a repo-wide corpus by default.

Failure Handling

  • If a helper fails before voting starts because of sandbox, auth, logging, DB, session, or permission errors, retry with escalation first when appropriate.
  • Treat provider infrastructure failures separately from substantive reject votes.
  • If only one provider returns a usable ballot, report that plainly instead of pretending there was broad consensus.
  • If the vote orchestration itself crashes or times out, do not present the result as a clean consensus.

Append-Only Ledger Contract

  • The consensus ledger (.cowork/consensus.jsonl) is append-only.
  • Once a decision is recorded, it MUST NOT be edited or deleted.
  • If a decision is overturned, append a new record referencing the original decision-id with the updated verdict; never mutate historical lines.
  • The script enforces this by opening the file in append mode (a+) and never seeking backward to overwrite.

Blocking Rule

  • When this skill is invoked, wait for the vote run to finish before continuing with local reasoning or implementation.
  • Do not treat in-flight coworker votes as background context.

Workflow

  1. Define one narrow proposal.
  2. Resolve the explicit file set that the providers should inspect.
  3. Choose a new decision ID before running the vote. Do not omit it.
  4. Run the vote script:
bash
python3 ../coworker-main/scripts/coworker-vote.py --paths <files...> --proposal "<bounded proposal>" --decision-id d42 [--providers opencode goose ollama gemini] [--timeout-sec 180]
  1. Wait for the script to finish.
  2. Read the tally and each provider section.
  3. Separate:
  • actual ballots (APPROVE / REJECT)
  • malformed ballots
  • infrastructure failures
  1. Confirm the ledger update behavior and summarize the outcome locally.

Output Rule

  • Do not present raw coworker output without synthesis.
  • Report:
  • proposal
  • decision ID
  • which providers produced usable ballots
  • final outcome
  • any infrastructure failures that weakened the vote
  • whether the decision was persisted

Notes

  • This skill is global-ready: the folder can be copied directly under ~/.codex/skills/coworker-vote/.
  • The current vote engine lives in coworker-main/scripts/coworker-vote.py.
  • Always pass --decision-id when invoking this skill.
  • Known provider failures such as PRAGMA wal_checkpoint(PASSIVE), auth/device-authorization failures, or wrapper timeouts should be reported as degraded vote quality, not as substantive reject votes.
All versions