agentleFS
OpenThrottleOpenThrottle/monorepo/skills/ot-plans/SKILL.md

ot-plans

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

OpenThrottle plans and tasks via the openthrottle-mcp server. USE WHEN creating, reading or updating plans/tasks, searching the plans knowledge base, putting Plan-Id/Task-Id in a commit, recording a merged squash on the work ledger, or the user mentions OT, a plan or task UUID, or git–OT traceability. Plans live in OT only — never fall back to Markdown. To execute a plan see ot-loop.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Hook tasks are never waved: Leave wave unset on any task you attach via addHook / add_hook.

    line 63
  2. Very specific:

    Update later with update_task: if you didn't decide at creation time — passing null clears it back to unassigned.

    line 64

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

OpenThrottle plans and MCP traceability

The openthrottle-mcp instructions block and CLAUDE.md are already in context before you read this, free and with perfect recall. This file carries only what neither says. "Plans live in OT only", the atomic batch create, update_task takes a UUID, GitHub-username author, the Plan-Id: / Task-Id: footers — all injected already; restating them bills every session for nothing.

Answer OT plan content from retrieved chunks, never memory. If nothing relevant comes back, say so.

The plan remembers the workspace it was created in

On stdio, create_plan / create_plans send your working folder as workspacePath automatically, in any registered checkout. You do not pass it. Chain: folder → your registered checkouts → runConfigJson.workspace.repositoryId. Precedence: a workspace already in runConfigJson → explicit workspacePath ("" opts out) → captured cwd → nothing. Resolved server-side; never fails plan creation.

The free-text project field is a label and does NOT link a plan to a repository — the trap worth knowing, because setting it looks like it should. Detail.

author / assignee come from GITHUB_USER when set — why they are already right unprompted.

Task sortOrder (execution order)

Canonical execution and list order within a plan, UNIQUE (plan_id, sort_order). Ralph, prompt injection and every list tool sort by sortOrder ASC, createdAt ASC.

  • Append: omit it — create_tasks assigns MAX+1000, MAX+2000, … in array order, so a batch keeps the order you wrote.
  • Insert mid-list: update_task takes sortOrder; the 1000-wide gaps exist so you can land between two tasks without renumbering.
  • Renumber: reorder_plan_tasks assigns 1000, 2000, … in the task-id order you give.
  • Schema: databases/README.md § Task sort_order.

Task wave (concurrency layer) — set it while you author

wave is a nullable integer, >= 1, that groups a contiguous sortOrder run as the plan's claim that those tasks may be worked concurrently. It is not a dependency graph, it does not reorder anything, and nothing executes tasks in parallel from it today — see docs/openthrottle/task-wave-encoding.md.

  • Set it in the same create_tasks call, or it will likely never get set. create_tasks is one atomic batch — the tasks in it have no ids yet, so there is no cheap second pass. Decide grouping in the same breath you decide sortOrder, per item in the array.
  • Same wave number = may run together. Give independent tasks (disjoint files, no shared invariant) the same wave; give a task that must run alone its own wave or leave it null.
  • Omit it when you don't know, or when the plan is genuinely sequential. null (the default) is always safe: it means "runs alone, in sortOrder position" — the same behavior every plan had before this field existed.
  • Never 0. Waves number densely from 1.
  • Hook tasks are never waved. Leave wave unset on any task you attach via addHook / add_hook.
  • Update later with update_task if you didn't decide at creation time — passing null clears it back to unassigned.

Retrieval gotchas

  • "What did I work on yesterday / last 7 days" → get_activity_by_date, taking either date (YYYY-MM-DD) for one day or daysBack (1–365) for a window.
  • "The backlog" means PENDING — default list_plans_by_status to it when no status is named.

Authoring vs running

Infer author and category from context when absent, and confirm a provided category actually fits. Report created ids so the user can act on them.

Never start executing a plan or task unless explicitly told to — authoring and running are separate requests. The per-task discipline, when you are told to run one, is canonical in ot-loop § The loop; do not restate it here.

Work ledger

Nothing to call. Pass headSha and prNumber to settle_plan_run when the PR opens; the server resolves owner/repo from the run's checkout and writes the git_commit and pull_request artifacts itself. An hourly harvest of Plan-Id: trailers on each default branch backstops a run that died before opening a PR. Two things the injected mechanics omit:

  • The artifact lands unverified; the git verifier promotes it to landed/verified, and the activity tools align with landed commits. A fresh artifact not yet landed is the expected intermediate state, not a reason to re-record it.
  • attach_session_subject + record_artifact are the manual fallback only. Do not reach for workflow-link-merge — it lives in the deprecated @tools/workflows package.

(link_commit and commit_links are retired — work-ledger epic.)

Cross-links

  • Commits: github-commit · Execution: ot-loop, agents-ralph
  • Skill-usage telemetry: docs/monorepo/skill-usage-telemetry-scope.md
  • Code style: docs/monorepo/code-style.md · DB / ingest: databases/README.md

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.