rebalance

A workflow for changing the size and grouping of unfinished work in a DevStride plan while preserving its existing requirements and order.

In plain words
What is it for?
Use it to move not-yet-started work to a prototype, standard, or enterprise delivery profile and update its dependencies and dates.
Why use it?
It lets a team adjust a plan when work needs to be broken into smaller pieces or combined, without planning the whole project again.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/devstride/claude-plugin/rebalance
Any agent
npx skills add devstride/claude-plugin --skill rebalance
Clone the repo
git clone --depth 1 https://github.com/devstride/claude-plugin

Made for: Claude Code, Codex.

Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,748 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.05748
Opus 5 $0.00027 $0.02874
Sonnet 5 $0.00011 $0.01150
Haiku 4.5 $0.00005 $0.00575

Measured yesterday against content hash 42dc390918ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rebalance 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 yesterday.

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.

skills/rebalance/SKILL.md · 327 lines

How it starts

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

Human output. Read ${CLAUDE_PLUGIN_ROOT}/skills/build-item/references/plain-language-output.md once per top-level run; composed skills reuse it. Apply it to every message.

Re-slice a live DevStride plan's NOT-STARTED leaves to a new delivery profile in place. Never touch shipped or in-flight work; carry every existing spec into its successor; delete nothing.

The profile itself — what grain and specDepth mean for each of prototype / standard / enterprise, the resolution order, and the root marker this skill rewrites — is defined ONCE, in ${CLAUDE_PLUGIN_ROOT}/skills/plan/references/delivery-profiles.md. Read that file first and apply it by citation; this skill never restates its table.

Arguments — a grouping item to re-slice (a whole plan root, or a single release unit — this org's Epic — to scope the re-slice to that unit; e.g. I20100) and the target profile as a bare word anywhere in the arguments (prototype, standard or enterprise — the contract's argument form), optionally with --dry-run; this skill REQUIRES both, so missing either → ask, never guess: $ARGUMENTS

IMPORTANT — the DevStride MCP targets PRODUCTION (api.devstride.com). Every create_item, add_relationship, bulk_update_items, update_item and archive_item call this skill makes is a real, immediate, user-visible change to the live plan — there is no draft/sandbox mode. Nothing is written before the explicit sign-off in step 2, and a dry run writes nothing at all.

IMPORTANT — this is a Gantt-grooming skill: it changes DevStride data only, never the repo. Building the re-sliced stories is /devstride:build-item's job, afterwards.

IMPORTANT — the same Workflow-drafting split plan enforces applies here. Interactive judgment — which leaves merge, where a coarse leaf splits, every "does this grouping still deliver a vertical slice?" call, and the sign-off — happens in the main conversation. A Workflow is used only for bulk drafting of successor specs once the shape is agreed, one agent per release unit, and its agents DRAFT ONLY: they never call an MCP write tool. Workflow output is a proposal to review, not a commit.

0. Safety gates — all of them, before a single read is trusted

  • Parse $ARGUMENTS. Resolve the item number with get_item(view:"full"). It must be a grouping item (a container level — this org: Module/Capability/Epic), never a leaf; a leaf argument → stop and ask for its release unit or plan root. The target profile is the bare word prototype, standard or enterprise wherever it appears in the arguments (the contract's resolution-order item 1); no such word, or any other word in its place → ask. If either is missing, ask — a wrong root re-slices somebody else's plan, and a guessed profile is the wrong grain applied at production speed. Note --dry-run if present.
  • Resolve this org's work-type roles at runtime with get_work_type_hierarchy (and get_workspace_context for lanes and priorities): which types are executable leaves, which level is the release unit (the level /devstride:build-item branches and releases at), and which are plain containers above it. Bind every role word in this file to what the call returns — never assume "Story"/"Epic" spelling or hierarchy depth. When the release-unit level is ambiguous from structure alone, use the consuming repo's .claude/ds-config.json hierarchyRoles.releaseUnit as the tie-breaker if the repo is known, otherwise ask. Say "grouping item" or the org's real type name in anything user-facing — never "container".
  • Refuse to run while a build loop is active on this plan — two writers on one plan is the collision. Two checks, either a hard stop: an In Progress leaf under the root with a live branch (get_item_branches, or git ls-remote --heads origin "*/I<number>-*" when the repo is known); or the handoff project memory naming this root (or an ancestor/descendant) as mid-iteration. Report what tripped and stop — never wait it out, never move an In Progress item to clear the gate. An In Progress leaf with NO branch is not an active loop but stays untouchable (step 1).
  • Confirm the organization-wide dependency auto-scheduler is OFF — apply the canonical Enable Link Mode rule in ${CLAUDE_PLUGIN_ROOT}/skills/rationalize-gantt/references/auto-scheduler-off.md: its READ-ONLY check now (get_organization_metadata, have the user disable the setting if on, never change it automatically) and staticMode omitted from every write this skill makes. Its probe-date verification is a WRITE (update_item on a live item and a restore), so it does not run here: it runs at the top of step 3, after sign-off, and never on a dry run. Step 3 rewrites edges and step 3f rewrites dates; with propagation on, the backend would overwrite both behind you.
  • Re-run the loop check immediately before step 3 writes anything — the proposal in step 2 can take a while, and a loop started during it is exactly the collision the gate exists to prevent.

Read the full file on GitHub · 327 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 327 lines · 54 tokens per session scan A 42dc390918ab

Subscribe to this mod's changes

rebalance is a skill published in the GitHub repository devstride/claude-plugin (2 stars, last pushed 3d ago), licensed MIT. It adds 54 tokens to every session and 5,748 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens