Agent skill

Calendar Defrag

by mohitagw15856 in mohitagw15856/pm-claude-skills

Defragment a work calendar through a tool-using agent — find the meeting debt, propose the consolidation, and (approval-gated) execute the moves.

MITAuto-check passedProductivity & Automation

Install Calendar Defrag

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill calendar-defrag -a claude-code

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

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills calendar-defrag --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/calendar-defrag .claude/skills/calendar-defrag && 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
calendar-defrag
GitHub stars
1.4k
Token cost
~1.2k tokens
SKILL.md length
624 words
Files
2 (incl. references)
Skills in repo
1,348
Repo updated
First seen
Licence
MIT

At a glance

Defragment a work calendar through a tool-using agent — find the meeting debt, propose the consolidation, and (approval-gated) execute the moves.

  • Works in 5 steps: Price everything: duration × attendees =… → The fragment rule: a gap under 45… → The defrag moves, in preference order:… → …
  • Asked to defrag my calendar
  • SKILL.md covers What This Skill Produces, Required Inputs, Framework and Output Format, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Calendar Defrag is an agent skill from mohitagw15856/pm-claude-skills. Defragment a work calendar through a tool-using agent — find the meeting debt, propose the consolidation, and (approval-gated) execute the moves. Use when asked to defrag my calendar, get me focus time, audit my meetings, or fix my week. Produces the calendar audit (cost per meeting, fragmentation map), a defrag proposal with focus blocks, and an approval-gated execution plan.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/worked-example.md`).

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 to defrag my calendar
  • Get me focus time
  • Audit my meetings

Example prompts

  • “/calendar-defrag”

Workflow steps

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

  1. Price everything: duration × attendees = cost; recurring cost × 26 = the six-month bill. Print it — the bill changes minds that advice…
  2. The fragment rule: a gap under 45 minutes is lost time; count the week's fragment waste in hours.
  3. The defrag moves, in preference order: delete (with a note) → make async (doc + comments) → halve the duration → merge with an adjacent…
  4. Focus blocks are placed first — 2h+ blocks at the user's stated peak hours; meetings pack around them, not vice versa.
  5. Respect other people's calendars: moves affecting others become proposals (draft messages), never unilateral moves.

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

Calendar Defrag loads about 1.2k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 624 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

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). 624 words, ~1,212 tokens.

Download SKILL.mdSave it as .claude/skills/calendar-defrag/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
calendar-defrag
description
Defragment a work calendar through a tool-using agent — find the meeting debt, propose the consolidation, and (approval-gated) execute the moves. Use when asked to defrag my calendar, get me focus time, audit my meetings, or fix my week. Produces the calendar audit (cost per meeting, fragmentation map), a defrag proposal with focus blocks, and an approval-gated execution plan.

Calendar Defrag Skill

Calendars fragment the way disks did: nothing big fits anywhere, and every week costs more than it returns. This skill audits the week like a capacity planner (what each meeting costs, what the fragments waste), proposes the defrag, and — only with approval — executes the moves through an agent with calendar access.

What This Skill Produces

  • The audit — every recurring meeting priced (hours × attendees), fragmentation map of the week, the largest contiguous focus block currently possible
  • The defrag proposal — meetings to shorten / merge / make async / decline-with-note, moves that consolidate fragments into 2h+ focus blocks
  • The execution plan — exact calendar operations, shown before any are made

Required Inputs

Ask for these if not provided:

  • Calendar scope — which week(s), work hours, timezone
  • The user's real priorities — defrag serves deep work on something; name it
  • Untouchables — meetings that are politically or contractually fixed
  • Meeting-owner etiquette — may the agent propose times to others, or only move solo/owned events?

Framework

  1. Price everything: duration × attendees = cost; recurring cost × 26 = the six-month bill. Print it — the bill changes minds that advice can't.
  2. The fragment rule: a gap under 45 minutes is lost time; count the week's fragment waste in hours.
  3. The defrag moves, in preference order: delete (with a note) → make async (doc + comments) → halve the duration → merge with an adjacent ritual → move to the edge of the day.
  4. Focus blocks are placed first — 2h+ blocks at the user's stated peak hours; meetings pack around them, not vice versa.
  5. Respect other people's calendars: moves affecting others become proposals (draft messages), never unilateral moves.

Output Format

Calendar Defrag: week of [date]

The bill: [n] meeting-hours (× attendees = [n] person-hours) · fragments waste [n]h · largest focus block today: [n]min

MeetingCostVerdictMove
After defrag: [n] focus blocks ([hours]), [n]h returned per week.

Quality Checks

  • Every recurring meeting carries its six-month price
  • Every removal has a draft note to the organizer — silent declines burn trust
  • Focus blocks land on stated peak hours, not leftovers
  • Moves touching other people are proposals with drafts, not actions
Show full SKILL.md (284 more words)Show less

Anti-Patterns

  • Do not judge meetings by name — a "sync" can be load-bearing; price and ask what it decides
  • Do not create focus blocks and leave them unlabeled — an empty slot gets colonized in a day
  • Do not defrag someone into back-to-back meetings to serve the user — fragmentation exported is not fragmentation solved
  • Do not touch the untouchables list, even when they're obviously the problem — name it, don't move it

Execution

For agents with calendar access (Google/Microsoft APIs or UI). Without tools, the audit + proposal is the deliverable. Rules per SKILLSPEC.md §5.

Preconditions
  • The defrag proposal has been produced and explicitly approved by a human, line-item vetoes honored.
  • Calendar access authenticated; the week(s) in scope named; the untouchables list confirmed.
  • The execution plan (exact create/move/shorten/decline operations) displayed and confirmed.
Allowed actions
  • Create the approved focus blocks (named, with decline-meetings visibility set as approved).
  • Move or shorten only events the user owns, per the approved plan.
  • Decline events on the approved list, attaching the approved note.
  • Save (never send) the drafted proposals for meetings owned by others.
  • Nothing else: no deleting events outright, no touching other calendars, no auto-accepting, no changes outside the approved week(s).
Verification
  • Re-read the week: focus blocks exist at approved times; moved events at new times; declined events show the note; nothing outside the plan changed.
  • Report the before/after fragment-waste numbers.
Rollback
  • Every move is recorded (event, old time, new time) — undo restores old times and removes created blocks.
  • Stop and ask a human if: an event was modified by someone else after approval, a move conflicts with a new event, or any API action fails.

Example Trigger Phrases

  • "Defrag my calendar."
  • "Get me focus time."
  • "Audit my meetings."
  • "Fix my week."

© 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

SKILL.md and 1 other file (references) in skills/calendar-defrag of mohitagw15856/pm-claude-skills.

  • SKILL.md
  • references/worked-example.md

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Calendar Defrag 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.

Calendar Defrag compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Calendar Defrag this skillmohitagw15856/pm-claude-skills1.4k—~1.2kAutomated safety check: PassMIT
Pytdbotpytdbot/client137—~4.3kAutomated safety check: PassMIT
Setupterranc/claude-telegram-bot-bridge134—~1.5kAutomated safety check: NotesNone
Crisis Detection Intervention AIcuriositech/some_claude_skills2442 repos~3.8kAutomated safety check: PassMIT
Uipath Automation DiscoveryUiPath/skills167—~3.7kAutomated safety check: PassMIT
Feishu Troubleshootop7418/CodePilot6.5k1 repos~265Automated safety check: PassCustom licence

Similar skills

  • Pytdbot

    pytdbot/client

    Write Telegram bots and userbots with Pytdbot (async TDLib wrapper with high-level helpers; not the Telegram Bot API).

    137 GitHub stars~4.3k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Setup

    terranc/claude-telegram-bot-bridge

    Install and configure the Telegram Skill Bot. An agent skill from terranc/claude-telegram-bot-bridge.

    134 GitHub stars~1.5k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check: notes
  • Crisis Detection Intervention AI

    curiositech/some_claude_skills

    Detect crisis signals in user content using NLP, mental health sentiment analysis, and safe intervention protocols.

    244 GitHub starsUsed in 2 repos~3.8k tokens
    Productivity & AutomationAuto-check passed
  • UiPath automation discovery — mines Slack/email/wikis/CRM/HRIS/ERP for repetitive work, SPOFs, and replicable models; produces a 4-tier prioritized opportunity report with UiPath implementation…

    167 GitHub stars~3.7k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Feishu Troubleshoot

    op7418/CodePilot

    飞书插件问题排查工具。包含常见问题 FAQ 和深度诊断命令(/feishudoctor). An agent skill from op7418/CodePilot.

    6.5k GitHub starsUsed in 1 repo~265 tokens
    Productivity & AutomationAuto-check passed
  • Muse

    KevPH2026/muse-catch

    Muse · Catch — AI灵感捕手。浏览器插件+Telegram Bot一键捕获,AI自动提炼,Dashboard浏览+DNA雷达+OPC Market。当用户说「灵感」「捕获」「Muse」「Catch」「记下来」「收藏」时触发。

    128 GitHub stars~865 tokensUpdated 1 mo ago
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed

Questions about Calendar Defrag

What does Calendar Defrag do?

Defragment a work calendar through a tool-using agent — find the meeting debt, propose the consolidation, and (approval-gated) execute the moves. Calendar Defrag is an agent skill from mohitagw15856/pm-claude-skills. Defragment a work calendar through a tool-using agent — find the meeting debt, propose the consolidation, and (approval-gated) execute the moves.

When should I use Calendar Defrag?

Calendar Defrag fits situations like: asked to defrag my calendar; get me focus time; audit my meetings.

How do I install Calendar Defrag in Claude Code?

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

How do I install Calendar Defrag in Codex?

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

Can I use Calendar Defrag 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 calendar-defrag -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/calendar-defrag, .gemini/skills/calendar-defrag, .github/skills/calendar-defrag and .opencode/skills/calendar-defrag in your project.

What does Calendar Defrag need to run?

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

Does Calendar Defrag 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 Calendar Defrag 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 Calendar Defrag use?

Calendar Defrag 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 Calendar Defrag use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 758 tokens, read only when the agent opens those files.

What are the alternatives to Calendar Defrag?

Skills that share tags, products or a category with Calendar Defrag: Pytdbot (pytdbot/client, 137 stars), Setup (terranc/claude-telegram-bot-bridge, 134 stars), Crisis Detection Intervention AI (curiositech/some_claude_skills, 244 stars) and Uipath Automation Discovery (UiPath/skills, 167 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Calendar Defrag?

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.