agentleFS
nuncaeslupusnuncaeslupus/literary-critic/.claude/skills/queue-add/SKILL.md

queue-add

Skill0 starsChanged 5 days agoMITView on GitHub

Adds a task to the claude-arsenal queue. Use when the user wants a new task queued. Not for editing existing tasks.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only a fenced block is executed.

    line 52
  2. Very specific:

    Add a new capability only when a session that has surface:cli still could not do the task.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

queue-add

Creates a task as a file — arsenal/tasks/<id>.md — carrying its title, priority, dependencies and acceptance gate, then prints the issue handle to open for it. The file is the task; the issue is the handle agents claim.

CANARY: queue-add-loaded-2026-06-13-fb78d23e-c3d4e5f6a7b8c9d0

When to load

  • The user wants to add a task, ticket or work item to the queue ("queue this up", "enqueue", /queue-add).
  • Seeding the queue from a list of tasks before starting workers.

How to use

python3 "${CLAUDE_SKILL_DIR}/scripts/create_task.py" \
  --title "Extract the surface probe into its own script" \
  --label "extract surface probe" \
  --priority 5 --deps t-aaaa1111 --requires "surface:cli" \
  --tag INFRA --workspace BACKEND

It prints the new id on stdout and, on stderr, the issue to open. Create that issue with the arsenal:task label and a visible `arsenal-task: <id>` line in the body: the marker links issue to task, and the label makes it claimable work. --label is the board's short name (five words at most); it defaults to the first five words of the title. Use the printed id as a --deps argument for dependent tasks.

Write a real gate

The generated file carries a placeholder gate that fails until replaced. Replace it before the task is claimed:

## Acceptance gate

```bash
bash <the test that proves this task is done>
```

Only a fenced block is executed; prose and inline commands run nothing, so they pass everything. Load ${CLAUDE_SKILL_DIR}/references/payload-template.md when writing the task body beyond the gate: test names to write failing first, and one reference anchor per spec section or sibling pattern.

--requires gates; --tag only labels

--requires is matched against what a session can do, so the task is hidden from sessions that cannot run it. --tag is matched against what a session asked for and only narrows a search. "A person has to answer this" therefore belongs in --requires, where it keeps unattended workers away.

capabilitythe task cannot proceed withoutgranted by
surface:clia real terminal on a machinethe probe
surface:clouda cloud session (surface:web is the older name)the probe
services:postgres, services:redisthat daemon answeringthe probe
access:humana person to decide, label, answer, or approvenaming it at /queue-next
access:browsera driveable browserthe session's own tools
access:secretsmachine-local credentialsnaming it at /queue-next
access:deviceattached hardware — a phone, a serial port, a boardnaming it at /queue-next

Add a new capability only when a session that has surface:cli still could not do the task. Tags scope a working session (FRONTEND, DOCS, INFRA, FLAKY); both lists are examples, and create_task.py accepts any string.

Gotchas

  • Deps must already exist (_history/ counts), since an unknown dep would block the task silently.
  • requires values match as exact strings. A typo looks like an empty queue, so copy them from the table.
  • --tag, --requires and --workspace are independent; the first two are repeatable.
  • --max-attempts N (default 3) caps retries; past it the task needs a person.
  • The task counts once merged to the default branch, like any other change.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.