rota

GitHub

管理共享机器上的重型任务调度,避免资源冲突。通过预约、宣布和检查点机制协调多代理及所有者的计算资源使用,支持一次性或周期性重型工作如E2E测试、模型运行等。

integrations/claude-code/skills/rota/SKILL.md psardana/rota

Trigger Scenarios

需要执行重型计算任务(如浏览器/UI测试、端到端套件、渲染、视频/音频处理、模型运行、基准测试、大型迁移或长时间代理运行) 为项目预订周期性或重复性工作任务

Install

npx skills add psardana/rota --skill rota -g -y
More Options

Non-standard path

npx skills add https://github.com/psardana/rota/tree/main/integrations/claude-code/skills/rota -g -y

Use without installing

npx skills use psardana/rota@rota

指定 Agent (Claude Code)

npx skills add psardana/rota --skill rota -a claude-code -g -y

安装 repo 全部 skill

npx skills add psardana/rota --all -g -y

预览 repo 内 skill

npx skills add psardana/rota --list

SKILL.md

Frontmatter
{
    "name": "rota",
    "description": "Use before any heavy work on this machine - browser or UI tests, end-to-end suites, renders, video or audio work, model runs, benchmarks, large migrations or long agent runs - and when booking recurring work for a project. Rota decides whose turn it is on the machine. Ordinary builds and unit tests are not heavy."
}

Heavy work goes through Rota

This machine is shared by several agents and by its owner. Rota decides whose turn it is. Use the rota_* tools (or the rota command if the tools are not available).

Ad-hoc heavy work

  1. Announce it with rota_announce: a name that starts with the project ("web-app: e2e suite"), an estimate (est, e.g. 40m), and cpu, ram and gpu if you can guess them. Add usage, e.g. ["claude:15"], for a long agent run.
  2. Start only on GO. On WAIT, do light work and call rota_ask again after the time given. Never start the heavy part early.
  3. While it runs, call rota_checkin every few minutes. CONTINUE means keep going. WRAP UP means stop at a safe point by the time given. PAUSE means stop at the next safe point.
  4. When it stops, call rota_done: result ok, failed (with a note), or paused after a wrap-up or pause. Tell the user where you stopped.

Known and recurring work

Book it a week ahead with rota_book, using at ("tue 22:00") for one-off work or cron ("0 2 * * *") for repeating work. Rota moves a booking whose slot is taken and says where. Check the plan with rota_week.

Rules

  • The owner's blocked time always wins. Never work around WAIT, WRAP UP or PAUSE, and never change the owner's blocks or priorities.
  • Usage warnings are only warnings. Mention them to the user; don't stop for them.
  • If Rota is not running, say so and ask the user before starting heavy work.
  • If you can't tell whether something is heavy, ask the user.

Version History

  • a898538 Current 2026-12-02 20:07

Metadata

Files
0
Version
a898538
Hash
192ee65c
Indexed
2026-12-02 20:07

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-03 08:42
浙ICP备14020137号-1