agentleFS
avivsinaiavivsinai/agent-message-queue/skills/amq-board/SKILL.md

amq-board

Skill94 starsChanged 12 days agoMITView on GitHub

Read the AMQ fleet board when asked for current work, check the floor for stalled seats, measure request history in a retrospective, or classify recent requests on demand.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ask for one view with --view inbox|flow|floor|cost|requests|sources|next.

    line 22
  2. Very specific:

    Add --json to read its fields.

    line 23
  3. Very specific:

    Read the source ages and coverage for this project.

    line 30
  4. Very specific:

    After amq-board sync, run amq-board check (--json for the same rows).

    line 55
  5. Distinctive:

    Never use a working seat as the sender because its unread notice affects later stall analysis.

    line 60
  6. Very specific:

    Run amq-board retro every two weeks, or after a bad day.

    line 124
  7. Distinctive:

    When the caller asks for request labels, follow classify recent requests.

    line 130

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

AMQ board

Read the board

amq-board                          # first look at the published board
amq-board --view inbox             # one section as text
amq-board --view next --json       # ranked actions and the cards they name
amq-board --task TASK_ID --json    # card ID, alias, bead ID or forge number
amq-board --html --out board.html  # one static page

Ask for one view with --view inbox|flow|floor|cost|requests|sources|next. Add --json to read its fields. With --task, use an exact task ID or alias. Plain amq-board gives the first look at the owner’s Inbox, Floor, Flow and cost. Full amq-board --json is for tools that need every record, including request bodies.

The page opens on Inbox (what waits on the owner, with a copy command per answer). Its other primary views are Flow, Floor and Cost (list-price spend by model and seat, and account limits).

Read the source ages and coverage for this project. On first initialization run amq-board sync --init. When a fresh view is requested, or the last source read is over ten minutes old, run amq-board sync in this project and read the published view again. Name any stale, unavailable or incomplete source that affects the answer. A STALE first line means sync before acting.

One piece of work is one card: a tracker bead and its pull request share one card, and the PR shows as a facts line ("PR #1664 ● CI green"). A pull request claims its bead with one body line that is exactly Bead: <id> at column 0 (leading spaces do not join); two different Bead: lines join nothing, and a bare mention in prose is a names note only. Put one Bead: <id> line at the end of a PR body to bind the PR to its bead; a Bead: line inside a fenced code block is read like any other line.

The Requests section lists questions, review requests, and todos. Each recipient has an observation: a direct reply (a message whose last ref is the request), then later messages in the same thread as secondary context, or "not assessed" when the recipient's session is unknown. The headline counts the Inbox items: open obligations owed by user and the cards under Needs you, the same number as Needs you. The Requests section counts requests to agents with no direct reply as the agents' bookkeeping, with its coverage notes.

Check the floor

After amq-board sync, run amq-board check (--json for the same rows). For scheduled notices, create a dedicated floor observer, then run amq-board check --notify lead,alt --as floor. Both recipients regularly receive each new incident once, with the observer's original problem text. Failed pairs retry; a stale board tells of board_stale and retains the set. Never use a working seat as the sender because its unread notice affects later stall analysis. Every distinct handle resolves live before sending. This is an explicit optional broadcast; plain check output is unchanged.

For a continuously published board, run amq-board service install --notify lead,alt --as floor once. This installs one service per board store that runs amq-board sync --watch with the same notices at every login and starts it now. See “Login service” in the board README. The watch retries a failed pass each minute and ends on Ctrl-C or TERM, or when the project was replaced. Each new floor problem is sent once after every pass; a board that stops being published is reported by the existing stale notice after the liveness window. Each line is one problem for the lead to act on: dispatch what is ready, ask the seat once, then replace it. It is not proof that a process stopped.

Each roster seat carries one context line: the prompt size of the newest counted response of the worker's mapped sessions, with its age, and the 5 h cache-read share when the window holds cache reads. pi records no cache reads, so a pi seat shows no share. The line is a measured fact for judging how full a seat's context is; the board sets no threshold and gives no advice.

seat_stalled, seat_at_limit, account_near_cap, ready_not_started, in_progress_not_worked, reply_overdue and source_failed are the kinds. source_failed means the source's read_failed fact: its read in this pass failed (for several homes, at least one home read failed). The problem's source field names the failing provider, and its incident identity ignores error prose. A retained card does not change a failed current read to a successful one. Each source reports one of these states:

StateMeaningFloor problem
okThe read supplied a current listno
ok with limitsPartial or capacity-limited; the coverage names the limitno
read failedread_failed is true; the read of this source failed in this passyes, source_failed
unavailable or disabledThe source has no home or is turned off; shown, not readno

account_near_cap fires when an account's freshest cap reading shows 90 percent or more used. A reading stays current until its future reset time; without one, its timestamp must be inside the 15-minute bound. The newest fact for a cap decides before the threshold, so an older 95-percent reading beside a newer half-used one raises nothing. It is the account's fact: no mapped worker or card is needed. Codex reports the pre-limit figures; Claude Code and pi publish nothing before the limit, so they give no line. reply_overdue covers overdue agent replies, owner questions and owner rulings. The sender reads the thread and follows up on a question or takes the stated default for a ruling. The command exits 0 on an empty list, 6 on problems, and 1 on a stale or absent snapshot. A seat whose harness records no activity cannot produce in_progress_not_worked without that evidence.

amq presence list shows all stored notes with their note_at age or (age unknown). An old Note timestamp does not remove a roster record there. The Floor alone hides notes older than liveness_window, and note_at tracks text changes rather than activity. All read-only board faces label stale published input instead of reading sources or refreshing. Text/HTML explicitly say every number is old; JSON/pane carry stale (also false when fresh) and published_age_seconds; retro refuses over-age input.

An unclosed request older than obligation_max_age (14 days by default) expires, as in amq thread open. It leaves Needs you and the overdue check. Set obligation_max_age to 0 to disable expiry.

Retro

Old history is refused: sync before acting on the report.

Run amq-board retro every two weeks, or after a bad day. Its owner-wait line says how long your own requests waited on you in the period, blocking ones apart, and what still waits now. The lead takes the worst number and assigns one fix to an owner. A rule nobody needed in the period is a candidate for removal.

Classify recent requests

When the caller asks for request labels, follow classify recent requests. Report the classifier and supporting quote for each judgment.

Report

Describe labels as one model's opinions, with the classifier name and its quote. Keep observations and opinions apart. Lead with the requests to the owner; report the agents' count as their bookkeeping, with its coverage notes. Never present either count as unfinished work.

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.