Agent skill

Context Switch Budget

by mohitagw15856 in mohitagw15856/pm-claude-skills

Treat context switches as the budget line they are — the switch census (how fragmented the week really is), the batching moves that consolidate scattered same-kind work, the calendar defrag that…

MITAuto-check passedProductivity & Automation

Install Context Switch Budget

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill context-switch-budget -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills context-switch-budget --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/context-switch-budget .claude/skills/context-switch-budget && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-switch-budget
GitHub stars
1.4k
Token cost
~1.5k tokens
SKILL.md length
759 words
Files
1
Skills in repo
1,348
Repo updated
First seen
Licence
MIT

At a glance

Treat context switches as the budget line they are — the switch census (how fragmented the week really is), the batching moves that consolidate scattered same-kind work, the calendar defrag that…

  • Works in 5 steps: Census first — the number is the… → Batch by kind, on a rhythm: meetings… → Defrag the residue: the gaps that remain… → …
  • Asked my day is fragmented to death
  • SKILL.md covers What This Skill Produces, Required Inputs, Framework: The Budget Rules and Output Format, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context Switch Budget is an agent skill from mohitagw15856/pm-claude-skills. Treat context switches as the budget line they are — the switch census (how fragmented the week really is), the batching moves that consolidate scattered same-kind work, the calendar defrag that turns Swiss cheese into slabs, and the switch-cost line for saying no. Use when asked my day is fragmented to death, count my context switches, batch my meetings and reviews, or defend against calendar Swiss cheese. Produces the fragmentation census, the batching plan, the defrag moves, and the protective phrases.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation. The repository describes itself as: 1255 professional Agent Skills for Claude, ChatGPT, Gemini, Cursor & Codex — PRDs, postmortems, leases, medical bills, layoffs, go-bags, new countries. Plain markdown, MIT, in… The licence is MIT.

When your agent uses it

  • Asked my day is fragmented to death
  • Count my context switches
  • Batch my meetings and reviews
  • Defend against calendar Swiss cheese

Example prompts

  • “/context-switch-budget”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Census first — the number is the intervention: count last week's switches (every transition between unlike work counts; every…
  2. Batch by kind, on a rhythm: meetings compress into corridors (Tue/Thu afternoons — the counter-offer default) · reviews/approvals into a…
  3. Defrag the residue: the gaps that remain after batching get consolidated — the two 45-minute holes become one 90-minute slab by moving one…
  4. Interrupts get destinations, not resistance: the chat that punches through routes to the comms windows (with the office-hours-design…
  5. Price fragmentation at the door: every incoming meeting request gets the corridor counter-offer by default ("Could this land Tuesday PM? I…

What it can do on your machine

Read from SKILL.md and the folder at commit 1cbf1f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Switch Budget loads about 1.5k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 759 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~133
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitagw15856/pm-claude-skills at commit 1cbf1f0, republished under its MIT licence (© mohitagw15856). 759 words, ~1,524 tokens.

Download SKILL.mdSave it as .claude/skills/context-switch-budget/SKILL.md (or your agent's skills folder).
name
context-switch-budget
description
Treat context switches as the budget line they are — the switch census (how fragmented the week really is), the batching moves that consolidate scattered same-kind work, the calendar defrag that turns Swiss cheese into slabs, and the switch-cost line for saying no. Use when asked my day is fragmented to death, count my context switches, batch my meetings and reviews, or defend against calendar Swiss cheese. Produces the fragmentation census, the batching plan, the defrag moves, and the protective phrases.

Context Switch Budget Skill

The calendar shows eight meetings totaling four hours and calls the other four "free" — but fifteen-minute gaps between meetings are free the way confetti is paper: technically yes, usable no. Each switch costs re-entry time (the mind reloads the last context for 10–20 minutes), and a day of eight switches can contain zero real work while looking half-empty. The budget discipline: census the week's actual switches (the number shocks reliably), batch the same-kind work (meetings to meeting-blocks, reviews to review-hours, chat to email-triage-system-style windows), defrag the calendar (consolidate the gaps into slabs worth having), and price new fragmentation at the door.

Not quite this? Use context-budget when you mean an LLM's context window and token budget.

What This Skill Produces

  • The switch census — the week's transitions counted and typed (meeting↔work, task↔task, interrupt-driven), with the fragmentation map
  • The batching plan — same-kind work consolidated: the meeting corridors, the review hour, the comms windows
  • The defrag moves — the specific reschedules that convert cheese-holes into slabs (deep-work-blocking receives them)
  • The door pricing — the phrases that protect the defragged shape ("Tuesday corridor?" as the default counter-offer)

Required Inputs

Ask for these if not provided:

  • A real week's calendar — last week, as it actually ran (including the unscheduled interruptions the user remembers); the census works on evidence
  • The work's kinds — what recurs: meetings, reviews, writing, admin, comms; batching needs the categories named
  • The movable vs. fixed — which meetings the user controls or can counter-propose (recurring-meeting-pruner verdicts feed this), and the team's collaboration-hours constraints
  • The interrupt sources — what punches through ad hoc (chat, drive-bys, "quick calls") — each gets a batching destination or a boundary

Framework: The Budget Rules

  1. Census first — the number is the intervention: count last week's switches (every transition between unlike work counts; every meeting-to-meeting gap under 30 minutes counts as a lost slab). The typical knowledge-week runs 30–50; seeing "41 switches, longest unbroken stretch: 52 minutes" reframes the problem from "I'm unproductive" to "my week is structurally incapable of depth" — which is true, and fixable.
  2. Batch by kind, on a rhythm: meetings compress into corridors (Tue/Thu afternoons — the counter-offer default) · reviews/approvals into a daily half-hour · comms into 2–3 windows · admin into one Friday hour. Same-kind work shares context; batching converts eight reloads into one.
  3. Defrag the residue: the gaps that remain after batching get consolidated — the two 45-minute holes become one 90-minute slab by moving one meeting ("could we do 2pm instead of 3?"— movers rarely mind, they just never think to ask). Slabs go to the deep-work design; the census re-runs in two weeks to verify the shape held.
  4. Interrupts get destinations, not resistance: the chat that punches through routes to the comms windows (with the office-hours-design never-waits line honored) · drive-bys get the warm deferral ("in the middle of a thing — grab me at 3?") · the genuinely-urgent keeps its lane, defined. Fighting interrupts case-by-case loses; routing them by class holds.
  5. Price fragmentation at the door: every incoming meeting request gets the corridor counter-offer by default ("Could this land Tuesday PM? I batch meetings there") — most acceptors don't care where, so the asker's shape wins by initiative. The switch-cost line, for when justification helps: "a 3pm call splits my only deep block — the 10am corridor keeps me sharp for it anyway."
Show full SKILL.md (213 more words)Show less

Output Format

Switch Budget: [name] — last week: [N] switches, longest slab: [T]

The Census

[Switches by type · the fragmentation map (the week's shape drawn) · the shock number stated plainly]

The Batching Plan

Work kindBatch destinationCadence
[Meeting corridors · review hour · comms windows · admin hour]

The Defrag Moves

[The specific reschedules → the slabs created → assigned to (deep-work blocks)]

Door Pricing

[The corridor counter-offer, verbatim · the interrupt routing by class · the re-census date (T+2 weeks)]

Quality Checks

  • The census counted a real week, including sub-30-minute gaps as losses
  • Every recurring work-kind has a batch destination
  • Defrag moves are specific reschedules, not aspirations
  • Interrupt classes route somewhere legitimate
  • The re-census is scheduled to verify the shape held

Anti-Patterns

  • Do not read gap-time as free time — confetti isn't paper you can write on
  • Do not fight interrupts individually — route classes; case-by-case is whack-a-mole with your attention
  • Do not accept meeting times passively — the counter-offer wins by default because nobody else is playing
  • Do not batch into your peak hours — corridors go on the energy map's shoulders; peaks are for slabs
  • Do not defrag once — calendars re-fragment on schedule; the re-census is the maintenance

Example Trigger Phrases

  • "My day is fragmented to death."
  • "Count my context switches."
  • "Batch my meetings and reviews."
  • "Defend against calendar Swiss cheese."

© mohitagw15856, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/context-switch-budget of mohitagw15856/pm-claude-skills.

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Context Switch Budget next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Switch Budget compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Switch Budget this skillmohitagw15856/pm-claude-skills1.4k—~1.5kAutomated safety check: PassMIT
Agent Browserquran/quran.com-frontend-next1.9k40 repos~3.3kAutomated safety check: PassNone
Dependency Watchtelegramdesktop/tdesktop33k1 repos~2.2kAutomated safety check: PassGPL-3.0
Perform Tasktelegramdesktop/tdesktop33k2 repos~3kAutomated safety check: PassGPL-3.0
Brave Searchbadlogic/pi-skills2.6k5 repos~592Automated safety check: PassMIT
Garden Inboxpaperclipai/paperclip99k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Agent Browser

    quran/quran.com-frontend-next

    Automates browser interactions for web testing, form filling, screenshots, and data extraction.

    1.9k GitHub starsUsed in 40 repos~3.3k tokens
    Productivity & AutomationAuto-check passed
  • Dependency Watch

    telegramdesktop/tdesktop

    Audit Telegram Desktop dependencies on freshly fetched origin/dev for releases and security fixes, including upstream lag and backport candidates in patched forks.

    33k GitHub starsUsed in 1 repo~2.2k tokens
    Productivity & AutomationAuto-check passed
  • Perform Task

    telegramdesktop/tdesktop

    Resolve, start or resume, implement, review, test, and publish exactly one existing ai-tdesktop task by short slug or full dated id, including rare blocked retries and split-required results.

    33k GitHub starsUsed in 2 repos~3k tokens
    Productivity & AutomationAuto-check passed
  • Brave Search

    badlogic/pi-skills

    Web search and content extraction via Brave Search API. An agent skill from badlogic/pi-skills.

    2.6k GitHub starsUsed in 5 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Garden Inbox

    paperclipai/paperclip

    Scan a Paperclip user's Mine inbox, classify reversible archive candidates, request checkbox confirmation, and archive only accepted selections.

    99k GitHub stars~1.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Continue

    telegramdesktop/tdesktop

    Continue autonomous Telegram Desktop development from the shared ai-tdesktop repository.

    33k GitHub starsUsed in 2 repos~9.4k tokens
    Productivity & AutomationAuto-check passed

More from mohitagw15856/pm-claude-skills

All 1,348 skills in this repo
  • Car Tco

    mohitagw15856/pm-claude-skills

    Compare the total cost of car ownership across buy-new, buy-used, lease, and keep-your-current-car — depreciation, insurance, maintenance ramp, and fuel over a real horizon, not just the monthly…

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Cs Health Scorecard

    mohitagw15856/pm-claude-skills

    Build a customer health scorecard for a specific account. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Exit Waterfall

    mohitagw15856/pm-claude-skills

    Compute who gets what at each exit price from a cap table — liquidation preferences, conversion points, and where the founders' share collapses.

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Feature Prioritisation

    mohitagw15856/pm-claude-skills

    Apply prioritisation frameworks (RICE, MoSCoW, Kano, ICE, Opportunity Scoring) to rank features and backlog items.

    1.4k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Fire Number

    mohitagw15856/pm-claude-skills

    Compute a financial-independence (FIRE) target and years-to-reach with every assumption labeled as an assumption — plus a sensitivity table instead of a single false-precision answer.

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Freelance Rate

    mohitagw15856/pm-claude-skills

    Derive a freelance day/hourly rate backwards from target income, honest billable utilization, overhead, and the self-employment tax premium — the arithmetic that proves a rate is not salary÷2000.

    1.4k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Context Switch Budget

What does Context Switch Budget do?

Treat context switches as the budget line they are — the switch census (how fragmented the week really is), the batching moves that consolidate scattered same-kind work, the calendar defrag that…. Context Switch Budget is an agent skill from mohitagw15856/pm-claude-skills. Treat context switches as the budget line they are — the switch census (how fragmented the week really is), the batching moves that consolidate scattered same-kind work, the calendar defrag that turns Swiss cheese into slabs, and the switch-cost line for saying no.

When should I use Context Switch Budget?

Context Switch Budget fits situations like: asked my day is fragmented to death; count my context switches; batch my meetings and reviews; defend against calendar Swiss cheese.

How do I install Context Switch Budget in Claude Code?

Run `npx skills add mohitagw15856/pm-claude-skills --skill context-switch-budget -a claude-code`. Or copy the skill folder (skills/context-switch-budget in mohitagw15856/pm-claude-skills) into .claude/skills/context-switch-budget in your project. Claude Code loads it when a task matches its description.

How do I install Context Switch Budget in Codex?

Run `npx skills add mohitagw15856/pm-claude-skills --skill context-switch-budget -a codex`. Or copy the skill folder (skills/context-switch-budget in mohitagw15856/pm-claude-skills) into .agents/skills/context-switch-budget in your project. Codex loads it when a task matches its description.

Can I use Context Switch Budget in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitagw15856/pm-claude-skills --skill context-switch-budget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-switch-budget, .gemini/skills/context-switch-budget, .github/skills/context-switch-budget and .opencode/skills/context-switch-budget in your project.

What does Context Switch Budget need to run?

SKILL.md names no scripts, command-line tools or credentials: Context Switch Budget is instructions for the agent only.

Does Context Switch Budget access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Switch Budget safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Switch Budget use?

Context Switch Budget is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Switch Budget use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Switch Budget?

Skills that share tags, products or a category with Context Switch Budget: Agent Browser (quran/quran.com-frontend-next, 1.9k stars), Dependency Watch (telegramdesktop/tdesktop, 33k stars), Perform Task (telegramdesktop/tdesktop, 33k stars) and Brave Search (badlogic/pi-skills, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Switch Budget?

mohitagw15856 (a GitHub user) maintains it in mohitagw15856/pm-claude-skills, which has 1,434 GitHub stars. The repository holds 1,348 skills in this directory. The repository was last updated on October 9, 2026.

Source: mohitagw15856/pm-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.