queue-refill

queue-refill is a skill for Claude Code from Rockielab/rockie-claude. It costs 90 tokens per session (877 once invoked), scanned A, original, Apache-2.0.

An experiment-queue refiller for research agents. It checks recent findings, failed approaches, current results, and prediction accuracy, then proposes three to five testable experiments.

In plain words
What is it for?
Keeping a research workload ready when compute becomes available, responding to “what should we try next?”, and scheduling new experiment ideas.
Why use it?
It prevents the agent from running out of useful next steps and reduces repeated or already-disproved ideas.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .claude/scripts/queue.py add \\.

Part of the rockie-claude plugin — 29 skills, 1 MCP server shipped together

Good fit Keeping a research workload ready when compute becomes available, responding to “what should we try next?”, and scheduling new experiment ideas.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Rockielab/rockie-claude
agentmods
npx agentmods add skills/rockielab/rockie-claude/queue-refill

Made for: Claude Code.

Or install rockie-claude, the plugin that ships this one along with the rest of its 29 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for queue-refill

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockielab/rockie-claude/queue-refill.svg)](https://agentmods.dev/skills/rockielab/rockie-claude/queue-refill)
Your own site
<a href="https://agentmods.dev/skills/rockielab/rockie-claude/queue-refill"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-claude/queue-refill.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.00877
Opus 5 $0.00045 $0.00439
Sonnet 5 $0.00018 $0.00175
Haiku 4.5 $0.00009 $0.00088

Measured 8d ago against content hash ee99eda9afcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

queue-refill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

project-harness/skills/queue-refill/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/queue-refill — auto-refill the experiment queue

Keeps the autonomous agent's forward-looking work queue full. This is the "Prioritization Specialist" pattern from arXiv 2604.13018 adapted to our harness.

When to run

  • Scheduled: every N hours (via /schedule or /loop), so the queue is always ≥ target when a GPU frees up.
  • Reactive: when queue.py refill-needed exits non-zero.
  • Manual: user asks "what should we try next?" or "refill the queue".

What the skill does

  1. Read recent context from workflow.db:

    • Last 20 [LEARN] rules (learnings table)
    • All active dead_ends for this project
    • best_so_far view (per metric)
    • calibration_scorecard — which hypotheses were over/under-predicted
    • experiments table — recent nodes, stages, failure_class distribution
  2. Read STATE.md to understand current research direction.

  3. Brainstorm 3–5 new queue items. Each item must:

    • Be a single-sentence testable hypothesis
    • Include a predicted metric delta (forced quantitative prior)
    • Not overlap an active dead_ends direction (query before proposing)
    • Prefer building on best-so-far (extend the working path) unless there's evidence the path is saturating
    • Match the current stage.py get suggestion (draft → tune → creative → ablation)
  4. Call queue.py add for each. Example:

    python3 .claude/scripts/queue.py add \\
        --hypothesis "Matrix token init with log-normal std 0.02 reduces warmup loss vs normal(0, 0.02)" \\
        --metric val_loss --predicted-delta -0.04 \\
        --priority 2 --minutes 45 --stage creative
    
  5. Report what was added in a single message to the user.

Constraints

  • Never re-propose an active dead-end direction. If the FTS5 search on dead_ends matches what you're about to add, skip it.
  • Always include a predicted_delta. Missing priors break hypothesis calibration.
  • Priority scale: 1 = highest (block the queue if nothing else), 5 = nice-to-have. Default 3.
  • Estimated_minutes: be honest. Under-estimating torches the budget controller. Over-estimating means the scheduler never picks it.

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 81 lines · 90 tokens per session scan A ee99eda9afcf

Subscribe to this mod's changes

queue-refill is a skill published in the GitHub repository Rockielab/rockie-claude (21 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 877 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

autoresearch

Orchestrates end-to-end autonomous AI research projects using a two-loop architecture. The inner loop runs rapid experiment iterations with clear optimization targets. The outer loop synthesizes results, identifies patterns, and steers research direction. Routes to domain-specific skills for execution, supports…

Orchestra-Research/AI-Research-SKILLs · 98 tokens

release-doi

A release procedure for research repositories that publish versions with a DOI, a permanent identifier for scholarly work, through Zenodo.

shimo4228/claude-harness · 126 tokens

content-refinement-agent

Step 5 of the PaperOrchestra pipeline (arXiv:2604.05018). Iteratively refine drafts/paper.tex by simulating peer review and applying targeted revisions, with strict accept/revert halt rules, deterministic 0-100 decision bands (Accept/Minor/Major/Reject) that drive a target-met early stop, and a Devil's Advocate…

Ar9av/PaperOrchestra · 145 tokens

section-writing-agent

Step 4 of the PaperOrchestra pipeline (arXiv:2604.05018). ONE single multimodal LLM call that drafts the remaining paper sections (Abstract, Methodology, Experiments, Conclusion), extracts numeric values from experimentallog.md into LaTeX booktabs tables, splices the generated figures from Step 2, and merges…

Ar9av/PaperOrchestra · 125 tokens

paper-autoraters

Run the four paper-quality autoraters from PaperOrchestra (arXiv:2604.05018, App. F.3) — Citation F1 (P0/P1 partition + Precision/Recall/F1), Literature Review Quality (6-axis 0-100 with anti-inflation rules), SxS Overall Paper Quality (side-by-side), and SxS Literature Review Quality (side-by-side). TRIGGER when the…

Ar9av/PaperOrchestra · 121 tokens

plotting-agent

Step 2 of the PaperOrchestra pipeline (arXiv:2604.05018). Execute the visualization plan from outline.json — render plots and conceptual diagrams from experimentallog.md and idea.md, optionally refine via VLM critique loop, and produce context-aware captions. Runs in parallel with the literature-review-agent. TRIGGER…

Ar9av/PaperOrchestra · 102 tokens