shift-guide

shift-guide is a skill for Claude Code from cyanheads/shift-mcp-server. It costs 35 tokens per session (560 once invoked), scanned A, original, Apache-2.0.

A coordination guide for multiple coding agents working in the same codebase. It covers checking in, claiming expected files, handling overlaps, reconnecting sessions, and passing work to another agent.

In plain words
What is it for?
Use it to register a workspace, check for overlapping file claims, resolve edit order, check out, and leave or retrieve handoffs.
Why use it?
It reduces accidental conflicts when agents edit shared files and makes it clearer who is working on what. It also helps agents recover after a disconnected session.

Skill for Claude Code

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

Part of the shift-mcp-server plugin — 35 skills, 1 MCP server shipped together

Good fit Use it to register a workspace, check for overlapping file claims, resolve edit order, check out, and leave or retrieve handoffs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyanheads/shift-mcp-server/shift-guide
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.

Any agent
npx skills add cyanheads/shift-mcp-server --skill shift-guide
Clone the repo
git clone --depth 1 https://github.com/cyanheads/shift-mcp-server

Made for: Claude Code.

Or install shift-mcp-server, the plugin that ships this one along with the rest of its 35 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 shift-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyanheads/shift-mcp-server/shift-guide/github.svg)](https://agentmods.dev/skills/cyanheads/shift-mcp-server/shift-guide)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/shift-mcp-server/shift-guide"><img src="https://agentmods.dev/badge/skills/cyanheads/shift-mcp-server/shift-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shift-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyanheads/shift-mcp-server/shift-guide"><img src="https://agentmods.dev/badge/skills/cyanheads/shift-mcp-server/shift-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 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.00035 $0.00560
Opus 5.5 $0.00014 $0.00224
Sonnet 5.5 $0.00007 $0.00112
Haiku 4.5 $0.00003 $0.00056

Measured 9d ago against content hash 4dc6c25d26fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shift-guide 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 9d 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.

skills/shift-guide/SKILL.md · 32 lines

How it starts

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

Scope

Shift coordinates agents sharing a codebase and roster. The roster needs no upstream credentials. File declarations are advisory, so agents arrange the order of edits themselves.

Identifiers

Keep the workspace, workerId, and statusUri returned by shift_check_in together. Use the exact workspace string and your worker ID for updates and check-out. Read the returned URI verbatim for that workspace's roster. Bare shift://status reads the server default. On a shared HTTP server, agree on the exact workspace key with peers before checking in.

Gates

  • Before editing, check in with the repo-relative paths you expect to change. If Shift reports an overlap, agree with the listed peers on edit order or disjoint files. An empty overlap means the compared declarations shared no matching path at check-in. Reread files immediately before editing.
  • Before clearing another worker's claim, confirm it is stale with the worker or whoever assigned the work. orphaned: true means Shift confirmed the owning server process was gone. An absent marker and lastSeenAt leave the worker's current activity unknown. A shared HTTP process can outlive an individual agent's connection.

Core chain

Check in before work, update the same session before taking on new files, then check out when finished. Supply the full revised file declaration when scope changes. Omit it to keep the current declaration or send an empty list to release all declared files while staying checked in. On departure, summarize what changed and what peers need for their next step.

Workflows

Resume after a disconnect. Check in with your saved workspace and worker ID to re-adopt the session and preserve its original place in the roster. On unknown_worker, check the workspace against your saved key and inspect the intended roster before opening a new session. Reuse a roster ID only if you can establish it belongs to your session. A failed removal (removed: false) also calls for checking the workspace and ID before assuming the session ended.

Read the full file on GitHub · 32 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. 9d ago First seen · 32 lines · 35 tokens per session scan A 4dc6c25d26fb

Subscribe to this mod's changes

shift-guide is a skill published in the GitHub repository cyanheads/shift-mcp-server (1 stars, last pushed 9d ago), licensed Apache-2.0. It adds 35 tokens to every session and 560 once invoked, about $0.0001 per session on Opus 5.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-11-22.

Related

shift-guide compared with skills from other repositories

shift-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shift-guidecyanheads/shift-mcp-serverSkill19d agoApache-2.0A35Claude Code
forum-route-preflightHarperZ9/forumSkill53d agoMITA44Codex
forum-route-preflightHarperZ9/forumSkill53d agoMITA17Claude Code, Codex
dibsAgenxy/dibsSkill2todayGPL-3.0A18Claude Code, Codex
superagenticmcpANAMIZED/SuperAgenticMCPSkill13mo agoApache-2.0A94Claude Code, Codex
memory-scopeANAMIZED/SuperAgenticMCPSkill13mo agoApache-2.0A23Claude Code, Codex
multi-agent-workflowANAMIZED/SuperAgenticMCPSkill13mo agoApache-2.0A32Claude Code, Codex