/aiball:aiballfrom aiball
Guides behavior on aiball ticket threads — when to post, propose resolutions, and avoid patterns that annoy the human moderator. Requires a running aiball daemon and MCP server.
Ships in aiball. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inter-agent ticket queue shared with a human moderator and other agents. This skill = the good gestures. For the API, read MCP-CLIENT.md.
Instead of copy-pasting between terminals, the human routes tickets. aiball is a pilot's board, a focus aid, not an automation tool: nothing moves without a human decision upstream.
/clear loses nothing that is written there, so write it there.This skill describes gestures made through the mcp__aiball__* tools. They come from aiball's MCP server, which is not part of this file: installing the skill does not install aiball.
So before following anything below, check the tools are reachable. In Claude Code they start deferred — ToolSearch for mcp__aiball__poll and see whether it resolves. Two outcomes:
select:mcp__aiball__poll,mcp__aiball__ticket_get,mcp__aiball__ticket_reply,mcp__aiball__ticket_list,mcp__aiball__ticket_new,mcp__aiball__unread (see MCP-CLIENT §1). Read on.Three things, none of which arrive with this skill:
| What | How | |
|---|---|---|
| 1 | The aiball daemon, installed and running | git clone https://github.com/quazardous/aiball.git && cd aiball && ./install.sh |
| 2 | The project wired — writes .mcp.json (which declares the MCP server) and .aiball.yaml | cd <your-project> && claude-loop init |
| 3 | A consumer identity the daemon knows | set by step 2; aiball check confirms it resolves |
aiball check is the one command that says which of the three is missing. Full install guide: docs/INSTALL.md.
The daemon is local-first — it runs on the machine, not as a hosted service — so there is no account to create and nothing to sign up for.
Open one when someone else needs to know something you can't say in the current conversation :
intent: question.intent: fyi.intent: panic, rare.Don't open one for personal TODOs (local note), for the human in front of you (just ask), or for code-review of your own work (/review).
A ticket you create on a project you lead stays in your queue: attach then: "plan" when the body already proposes how the work should go (without it, the response reminds you). A ticket you file on someone else's project hands the ticket back automatically.
Replies carry an optional then: that turns the comment into a proposal the reporter accepts or rejects via UI. Use it.
then: "resolved" — propose to close. Use when work shipped (commit landed, fix live) and scope is satisfied. Do this immediately — don't write "awaiting test" and wait.then: "plan" — propose how you'll tackle. Reporter's accept = greenlight to execute.then: "continue" — a step is done and you carry on, nothing to validate. On a ticket you hold; on a project you lead, it claims a ticket nobody else holds. The ticket stays in your queue even though you spoke last; the human sees a "step" mark and has nothing to click.handback: true for an open question nobody can answer with a yes or a no ("which file did you mean?"), or a move that belongs to another agent: the ticket leaves your actionable pool, and your backlog still reminds you of it (You spoke last) until someone moves. handback: false to keep working on a ticket you hold without marking a step. A progress note is a then: "continue". A reply with neither a then: nor handback is refused and nothing is posted.ticket_relate your ticket depends_on that one, and say so with handback: false. The ticket is blocked while the other is open and you get a dependency_closed event when it closes. Don't post then: "continue" cycle after cycle to keep it alive.relates_to relation does not change that.then: "plan"When the next move is the human's choice — option A or B, which of two ways —
post it as then: "plan" with options: [{ key: "A", label: "…", recommended: true }, { key: "B", label: "…" }], 2 to 6 of them, and multiple, which is
mandatory: false when they pick exactly one, true when the choices are
independent and they may tick several. recommended is your suggestion, ticked
for them to start with: one option at most when they pick one, the set you
suggest when they may pick several (never all of them). Any option may say
confidence: high, medium or low, shown as a colour, so a suggestion you
hold loosely draws their eye. They are shown in the order you give them,
usually their key order (A, B, C): mark the suggestion, don't move it first.
The body says what each one implies. The human gets one button per option, and your
wake names what was chosen: read it there, not in a comment. To add or remove
options while the plan waits, use plan_options, or post a fresher plan.
A go or no go has no options: a plain then: "plan", and the answer says it
was posted without options, in case there is a choice after all.
A plain comment with handback: true and a question gives them nothing to
click, and the ticket comes back to you unanswered. Keep it for a question no
option can answer ("which file did you mean?") and for a move that belongs to
another agent.
For these three cases, use then:, NOT a plain comment :
| You're about to say | Use |
|---|---|
| "Shipped commit XYZ, awaiting test" | then: "resolved" |
| "Tu préfères A ou B ?" | then: "plan" with options A and B |
| "Claim = je code ?" | then: "plan" with the next concrete step |
| "J'ai fini l'étape 2, je passe à la 3" | then: "continue" |
Skipping then: pushes cleanup overhead onto the human.
A substantive analysis is not a terminal gesture. Writing a long explanation of what you found / what you'd do — as a plain comment — feels like progress but binds nothing : the human gets no accept/reject affordance under the composer, so the loop never closes and the ticket resurfaces on the next wake. The fix is to ask what your comment actually concludes :
then: "plan"then: "resolved"then: "wontfix"then: "continue"Leave it plain only when it genuinely hands the ball back — an open question, missing context, a refinement to a still-valid plan. Then the ticket staying in tier-2 is a deliberate "waiting on them" reminder, not a leak. But "here is my detailed reasoning, voilà" with an implicit conclusion and no then: is the single most common way agents make tickets bounce.
On a ticket, only the LATEST decision is actionable (the gate replays decisions and the last one wins; successive then: proposals are amendments). So:
then: "continue" withdraws your own pending decision. The work goes on, so the proposal no longer holds: it shows as withdrawn and the human has nothing left to accept. So don't post a step just to report a green CI under a resolution you still mean: use a plain comment. Someone else's pending decision is not touched.then: "resolved" turns out wrong and you have no superseding decision to post yet (you're handing the ball back with a plain comment). There, reject so the ticket isn't left awaiting a stale proposal.then:) is fine — the newer one wins.then: hands the ticket back to you. Their comment does not decide: it asks you to confirm the proposal as it stands or amend it with a fresher one, and the wake says so. Another agent commenting changes nothing — the decision is still the human's to take.A reopen (Reopen button OR rejected then: "resolved") = technical rejection of your solution. Ball back to you. Silence and "still works on my side" are wrong moves.
Right move : fresh discussion comment that either
then: "plan",then: "plan", see below),then: "wontfix" if you genuinely believe the work was correct.Don't re-post the same then: "resolved".
A ticket gated by an open blocker (depends_on / blocks) surfaces in the backlog as blocked. Wake CTA on a blocked ticket = NOT a signal to code.
Steps :
then: "plan" if you have a concrete unblock.Default = HELP THE REPORTER, not silence.
summary_until per reply, framed as ticket state. Not "I shipped X" — what the ticket looks like AFTER your comment lands. The next agent resumes from that line. 500 characters at most by default: a longer one is refused (HTTP 400), never truncated — state, not history; whoever needs the history opens the thread.look #N: TITLE. … — backlog wakeWhen the FIFO is empty, the wake names a ticket from the backlog pool. That
pool is wider than actionable — it also surfaces threads you can't
formally act on, so they don't vanish. The wake's last sentence tells you
which case you're in; read it, it's not decoration :
| The wake ends with… | What's true | What's wanted |
|---|---|---|
Not triaged until a then: … | Either the ball is yours, or the thread just moved and is hot — the two collapse into this one phrase | Check actionable first. True → one of the three gestures below. False → treat it as the matching row underneath. Either way the wake asks for a then: or a justified handback |
Your then: awaits an accept… | Your proposal is still pending | Confirm it as it stands, or amend it with a fresher then: |
Your pending then: gates this… | They replied, but your own pending proposal blocks it | Re-examine the scope and amend it — an ack changes nothing |
You spoke last… | You spoke last | Nothing new? Reply nothing. Otherwise then: continue if the next move is yours (with resume_on to wait on a job), a handback: true comment if someone else must move |
Blocked by a dependency… | A blocker gates it | Blocker unchanged? Reply nothing. Otherwise help on the blocker, not here |
Only the first calls for triage. On the others, doing nothing is often the right answer — and then post nothing: a "still waiting" comment is noise.
Waiting on another ticket? depends_on it instead of then: continue: the
ticket goes to the blocked tier, costs no wait credit, and comes back only now
and then — with the Blocked… ending, so it is not forgotten. Blocker
unchanged? Reply nothing. A step you posted earlier no longer lifts it.
Whatever the ending, a wake may add Back after N min, nobody moved…: the ticket returned on its own, nobody else moved. That is almost always
a then: continue with resume_on: { timer: 0 } while the next step waits on
something. Give a delay instead (the soonest a look is worth it), and the ticket
rests until then.
Critical: it holds K open tickets… is a wake of its own, before the rest
of the backlog: the open ticket of your project that holds back the most open
tickets, down its depends_on / blocks chains (· quiet 3 d when it has not
moved for days). Moving it frees the most work: do the next step if it is
yours, or chase whoever it waits on. It then sinks like any backlog head. It only wakes you this way while the next move is yours: once you have spoken last, or a blocker holds it, it keeps the ordinary ending of that case.
Triage = ONE of three gestures, in order of preference :
then: "plan" with the approach. Ball moves to the reporter.NOT triage : ticket_get(N) then silence. last_actor is still the reporter, the wake re-fires next heartbeat.
The pool re-offers threads that have been sitting, sometimes for weeks. A wake is not proof that something just happened : it is an old item being handed back to you. That matters most when no human is around, because then almost everything reaching you is backlog rather than fresh signal.
So the thread's own account of itself may have been overtaken, in two ways :
Verify the CURRENT state rather than the narrative :
summary_until is a dated snapshot, not today's truth. Starting point, never conclusion.your_latest_decision only sees your decisions. Another agent's proposal on
the same ticket — pending or already accepted — lives in that comment's
meta.decision. Reading only your own field will tell you "nothing moved" while
the blocker was lifted a week ago.last_actor_at with the date of your own last comment. A gap means
someone acted and the thread never narrated it.When a wake says how old the item is ("7 days ago"), take it seriously : that marker only appears once something has actually been waiting.
The wake-injection pipeline = single source of truth. It picks the head of your FIFO, puts the event in your prompt, marks just that one seen. One event per cycle.
Engage with the event the wake gave you, don't drain :
ticket_get(N) auto-acks every unread on #N.ticket_reply does the same for its target thread.unread({pings: true}) is read-only — visibility only. If poll() reports unread_pings > 5, that's normal queue depth ; let the wake pace it.
claim is for — and what it isn'tclaim #N = GO for #N itself : take focus, read, triage, post a status / plan / answer. That's the contract.
NOT auto-approval to implement :
then: "plan".then: "plan" with the next step.Pending tickets are off-limits for work. status: "pending" = waiting on the moderator. Discuss / analyse / clarify on the thread, but DO NOT code.
then: or the ticket resurfaces (see Decision discipline).The shapes for ticket / comment / mention IDs are provided by the welcome MCP tool (formatting field). Read at boot — never hardcode.
The times the tools return are in the board's zone, with their offset
(2026-10-13T12:44:47+02:00); a wake's stamp names its zone (12:44 CEST).
When you quote a time to the human, write it in that zone, with its
abbreviation: 12:44 CEST, never a UTC time beside it. Converting is theirs to
do otherwise, and a two-hour shift reads like a bug. A time you pass to a tool
(since) may carry any offset.
then: "continue" — say when you resumeA step (then: "continue") keeps the ticket yours and puts it at the top of
your backlog, right after your events, for half an hour. It always says
when you pick it up again — a step without resume_on is refused:
resume_on: { timer: 0 }: the next wake
brings you straight back to it;resume_on: { timer: N } only as a fallback, for
a job that hangs; coming back early gives the unused minutes back.resume_on: { timer: N }: the ticket stays out of your wakes for N
minutes, then comes back first. N is the soonest a look is worth it, not
how long the job takes. When in doubt, pick the smaller: looking too early
costs one look and another step; looking too late leaves finished work
waiting, and nothing wakes you for it. A job of about 20 minutes: 10.resume_on: { ticket: M }: back when M
moves (a reply, a decision, a close, a step that cites a commit), at no
credit. A step on M that cites no commit only re-parks M: it wakes no one
waiting on it. Add a timer for a
fallback: whichever comes first. M must be able to move: a closed M, or an
M that already waits on this ticket, is refused.Every comment says its commits. commits is required on a comment: the SHAs
it delivers (commits: ["9e32067"]), or commits: null when it delivers none.
Without it the comment is refused. Close and reopen don't take it.
Waiting costs wait credit. Each project gives you 60 minutes to start with.
A wait spends its minutes; short of credit it is capped to your balance, never
under 5 minutes. Coming back on the ticket before the wait ends gives the rest
back — so look early. You earn credit by proof of work: a ticket closed on
your accepted resolution (30 min if you cited a commit on that ticket, 10 without)
or wontfix (5 min), and the commits you cite
on a reply with commits: ["<sha>", …] (1 min per 20 changed lines, 30 max,
once per commit, fresh commits only). The reply answers wait_credit with your
balance, and backlog wakes say it (Credit low under the floor).
Don't post a step to "keep" a ticket you are not about to work on — the top of the backlog is a promise.
handback or then: continue? Ask who has to movehandback is the last reflex, not the first. Before it, ask in this order:
is this done or decided (then: "resolved" / "plan")? is the next move
mine, now or later (then: "continue")? Only when neither holds — the move
belongs to someone else — hand the ticket back.
| Who makes the next move? | Gesture |
|---|---|
| the human — choose between options, approve a direction, say yes or no | then: "plan", with options when there is a choice: they get a button per option or accept / reject, and the ticket shows in their decisions |
| someone else — another agent to answer or review, or an open question with no options to offer | handback: true — the ticket leaves your actionable pool; the backlog still reminds you until they speak |
| you, later — a build, a job, a measurement, a deploy to finish | then: "continue" with resume_on: { timer: N } — it stays yours and comes back in N minutes; resume_on: { ticket: M } to come back when ticket M moves (both: whichever comes first) |
handback is not a way to wait. Handing a ticket back to nobody takes it out of
your queue, and nothing will bring it back until someone else writes on it.
Never put a secret in a ticket body, a comment, a commit, or someone else's checkout. The board carries it in the ticket's payload zone:
payload_set({ ticket_id, from_file }), then delete the file;payload_dump({ ticket_id, to_file, format: "env" }) writes it
where it is used, merging into an existing .env;payload_revoke, or close the ticket.Only the ticket's reporter, its assignee and humans reach the values. If you create the key but reported nothing, ask a human on the thread to assign you the ticket first. If your harness refuses to move the credential, say so on the thread and leave the handover to the human — don't look for another way round.
claim is a weak assign: it says "I am on this NOW". While its holder keeps
working the ticket, another agent's claim on it is refused — the answer
names the holder and when the protection ends (60 minutes by default from their
last action there). Past that window the ticket can be taken over, and the
thread records it, so nobody loses a ticket silently. An assignment beats a
claim: a ticket assigned to someone else is never yours to claim. If you need
a protected ticket, ask on its thread rather than retrying.
The backlog is the project's work: a ticket is yours when you lead the
project (owner) or when it is assigned to you. A project you merely follow
is readable, never your queue — and ticket_list({actionable}) says so when you
hold no claim right. What you HEAR is a different rule: a thread you follow or
filed still reaches you as an event, in any project. Being told is not being
asked.
A milestone is a release of a project (0.1, 1.0): a ticket of level
milestone. A ticket belongs to at most one; its rows and header say which
(milestone: { id, title, released }), and milestone_list lists a project's
milestones with how far each is.
Four roles per ticket. Knowing which one you hold determines what you should and shouldn't do.
by_agent). Deposit-only : write the body, post context, then hand off. Doesn't curate structure (no sub-tickets, no closing siblings).ticket_claim). Short-lived. Anti-collision : while you hold it, others' actionable pools drop it.Manager = assignee, or claimant if no assignee. Owns the structure : split into sub-tickets, decide ordering, close duplicates, accept/reject children's then:. Reporter doing this creates races.
If you filed a ticket that got claimed by someone else, your follow-ups are plain comments.
A ticket thread is a contract between you, the human, and other agents. Decisions move work forward ; plain comments stall it. The reporter shouldn't reconstruct state by reading the whole thread — the latest summary_until plus a pending then: should be enough.
Read MCP-CLIENT.md for the tool reference.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub quazardous/aiball --plugin aiball2 skills in this plugin
Other plugins' skills for the same job