Agent skill

Gate Attribution

by ZaxbyHub in ZaxbyHub/opencode-swarm

Per-task gate dispatch protocol. An agent skill from ZaxbyHub/opencode-swarm.

MITAuto-check passed

Install Gate Attribution

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill gate-attribution -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm gate-attribution --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/generated/gate-attribution .claude/skills/gate-attribution && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gate-attribution
GitHub stars
494
Token cost
~314 tokens
SKILL.md length
108 words
Files
2
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Per-task gate dispatch protocol. An agent skill from ZaxbyHub/opencode-swarm.

  • Works in 4 steps: For each task requiring a gate: Dispatch… → Minimize overhead via parallel dispatch → Collect + attribute: Each lane result… → …
  • SKILL.md covers The rule, Protocol, Optimization for trivial tasks and Why this exists
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gate Attribution is an agent skill from ZaxbyHub/opencode-swarm. Per-task gate dispatch protocol. Documents the single-taskId attribution rule and parallel-lane optimization for reviewer/testengineer gates.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

Example prompts

  • “/gate-attribution”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. For each task requiring a gate: Dispatch a separate reviewer and/or test_engineer with exactly ONE taskId
  2. Minimize overhead via parallel dispatch
  3. Collect + attribute: Each lane result auto-attributes to its taskId
  4. Do NOT batch: Even for identical reviews, dispatch separately

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gate Attribution loads about 314 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 108 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~314

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 108 words, ~314 tokens.

Download SKILL.mdSave it as .claude/skills/gate-attribution/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gate-attribution
description
Per-task gate dispatch protocol. Documents the single-taskId attribution rule and parallel-lane optimization for reviewer/test_engineer gates.

Gate Attribution

The rule

The gate tracker attributes reviewer/test_engineer dispatches PER TASK (single taskId in the prompt). Set-dispatches covering multiple tasks do NOT count per-task, even with per-task verdicts.

Protocol

  1. For each task requiring a gate: Dispatch a separate reviewer and/or test_engineer with exactly ONE taskId
  2. Minimize overhead via parallel dispatch:
    dispatch_lanes_async with:
    - common_prompt: shared verification context
    - lanes: one lane per task, each with a single taskId
    - max_concurrent: up to 3
  3. Collect + attribute: Each lane result auto-attributes to its taskId
  4. Do NOT batch: Even for identical reviews, dispatch separately

Optimization for trivial tasks

For pure ceremony gates (1-line doc fix):

TASK: Verify task X.Y. Run skill-mirrors.test.ts. PASS/FAIL.
taskId: X.Y

Why this exists

The gate tracker (src/hooks/delegation-gate.ts) keys delegation chains by taskId. Multi-taskId prompts don't create separate chains. Tracked in issue #1746 item 6.

© ZaxbyHub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .opencode/skills/generated/gate-attribution of ZaxbyHub/opencode-swarm.

  • SKILL.md
  • retired.marker

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Gate Attribution next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gate Attribution compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gate Attribution this skillZaxbyHub/opencode-swarm494—~314Automated safety check: PassMIT
Dispatchsickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
Gate Testsvercel/next.js143k—~2.8kAutomated safety check: PassMIT
Gateplugin87/ux-ui-agent-skills1.6k—~532Automated safety check: PassMIT
Brain Ingest Gategarrytan/gbrain31k—~3.9kAutomated safety check: PassMIT
Dispatchjeremylongshore/tons-of-skills-marketplace2.8k—~13kAutomated safety check: PassMIT

Similar skills

  • Dispatch

    sickn33/agentic-awesome-skills

    Delegate tasks to OpenAI Codex CLI and Google Antigravity CLI from Claude Code with topic-aware sessions

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Gate Tests

    vercel/next.js

    Official

    How to use the @gate / @force-gate test directives instead of it.skip or fake-green skip patterns.

    143k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Gate

    plugin87/ux-ui-agent-skills

    Run the one-command quality gate and report the real N/N result.

    1.6k GitHub stars~532 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Brain Ingest Gate

    garrytan/gbrain

    Pre-write quality gate for content entering the brain. An agent skill from garrytan/gbrain.

    31k GitHub stars~3.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Dispatch

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses when a task file exists in .hyperflow/tasks/ and workers need dispatching.

    2.8k GitHub stars~13k tokensUpdated yesterday
    Auto-check passed
  • Delivery Gate

    affaan-m/ECC

    Stop hook that blocks Claude from finishing until quality checks pass.

    276k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    496 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    496 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    496 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    496 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    496 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Questions about Gate Attribution

What does Gate Attribution do?

Per-task gate dispatch protocol. An agent skill from ZaxbyHub/opencode-swarm. Gate Attribution is an agent skill from ZaxbyHub/opencode-swarm. Per-task gate dispatch protocol.

How do I install Gate Attribution in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill gate-attribution -a claude-code`. Or copy the skill folder (.opencode/skills/generated/gate-attribution in ZaxbyHub/opencode-swarm) into .claude/skills/gate-attribution in your project. Claude Code loads it when a task matches its description.

How do I install Gate Attribution in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill gate-attribution -a codex`. Or copy the skill folder (.opencode/skills/generated/gate-attribution in ZaxbyHub/opencode-swarm) into .agents/skills/gate-attribution in your project. Codex loads it when a task matches its description.

Can I use Gate Attribution in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZaxbyHub/opencode-swarm --skill gate-attribution -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gate-attribution, .gemini/skills/gate-attribution, .github/skills/gate-attribution and .opencode/skills/gate-attribution in your project.

What does Gate Attribution need to run?

SKILL.md names no scripts, command-line tools or credentials: Gate Attribution is instructions for the agent only.

Does Gate Attribution access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gate Attribution safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gate Attribution use?

Gate Attribution is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gate Attribution use?

About 314 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gate Attribution?

Skills that share tags, products or a category with Gate Attribution: Dispatch (sickn33/agentic-awesome-skills, 47k stars), Gate Tests (vercel/next.js, 143k stars), Gate (plugin87/ux-ui-agent-skills, 1.6k stars) and Brain Ingest Gate (garrytan/gbrain, 31k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gate Attribution?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

Source: ZaxbyHub/opencode-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.