Agent skill

Defrag

by gnekt in gnekt/My-Brain-Is-Full-Crew

Weekly vault defragmentation. An agent skill from gnekt/My-Brain-Is-Full-Crew.

Custom licenceAuto-check passedProductivity & Automation

Install Defrag

skills CLI
$ npx skills add gnekt/My-Brain-Is-Full-Crew --skill defrag -a claude-code

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

GitHub CLI
$ gh skill install gnekt/My-Brain-Is-Full-Crew 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/gnekt/My-Brain-Is-Full-Crew.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/defrag .claude/skills/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
defrag
GitHub stars
3.9k
Token cost
~2.1k tokens
SKILL.md length
937 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Custom licence

At a glance

Weekly vault defragmentation. An agent skill from gnekt/My-Brain-Is-Full-Crew.

  • Works in 5 steps: Structural Audit → Tag Hygiene → MOC Refresh → …
  • Tasks that involve Email management
  • SKILL.md covers Vault Path Resolution, Golden Rule: Language, Post-it Protocol and The 5-Phase Defragmentation…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Defrag is an agent skill from gnekt/My-Brain-Is-Full-Crew. Weekly vault defragmentation. Runs a 5-phase structural audit: inbox hygiene, area completeness, project archival, MOC refresh, tag consistency, structure evolution, and generates a report. Triggers: EN: "defragment the vault", "reorganize the vault", "structural maintenance", "vault defrag", "weekly defrag". IT: "deframmenta il vault", "riorganizza il vault", "manutenzione strutturale", "defrag settimanale". FR: "defragmenter le vault", "reorganiser le vault". ES: "desfragmentar el vault", "reorganizar el…

Its SKILL.md is about 2.1k 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, covering Email management. The repository describes itself as: Built by a PhD whose memory was failing, whose diet was a mess, and whose anxiety had its own agenda. Most second brain tools ignore the fact that your brain doesn't work in…

When your agent uses it

  • Tasks that involve Email management

Example prompts

  • “defragment the vault”
  • “reorganize the vault”
  • “structural maintenance”
  • “/defrag”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Structural Audit
  2. Tag Hygiene
  3. MOC Refresh
  4. Structure Evolution
  5. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 238ae8c. 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 (its code samples are markdown).

    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

Defrag loads about 2.1k tokens when it runs. Until then it costs about 158 tokens; SKILL.md has 937 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 937 words (~2,119 tokens).

“Read Meta/vault-map.md (always this literal path) to resolve folder paths. Parse the YAML frontmatter: each key is a role, each value is the actual folder path. Substitute only the vault-role tokens listed in the table below — do NOT substitute…”

— opening of SKILL.md by gnekt, Custom licence
name
defrag

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/defrag of gnekt/My-Brain-Is-Full-Crew.

Open the folder on GitHubat commit 238ae8c

Compare with similar skills

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.

Defrag compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Defrag this skillgnekt/My-Brain-Is-Full-Crew3.9k—~2.1kAutomated safety check: PassCustom licence
Process Inboxtelegramdesktop/tdesktop33k2 repos~4.5kAutomated safety check: PassGPL-3.0
Continuetelegramdesktop/tdesktop33k2 repos~9.4kAutomated safety check: PassGPL-3.0
Garden Inboxpaperclipai/paperclip99k—~1.1kAutomated safety check: PassMIT
Career-Ops Gmail Lead Plugincareer-ops-hq/career-ops74k—~233Automated safety check: NotesMIT
Skill CompassEvol-ai/SkillCompass2161 repos~3.1kAutomated safety check: PassMIT

Similar skills

  • Process Inbox

    telegramdesktop/tdesktop

    Process the local ignored ai-tdesktop inbox into durable, independently testable Telegram Desktop task records while task execution worktrees remain active.

    33k GitHub starsUsed in 2 repos~4.5k tokens
    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
  • 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
  • Career-Ops Gmail Lead Plugin

    career-ops-hq/career-ops

    Pulls job leads from a Gmail label into the career-ops pipeline, extracting job URLs from DMARC-passing emails and de-duplicating against existing leads.

    74k GitHub stars~233 tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • Skill Compass

    Evol-ai/SkillCompass

    Evaluate skill quality, find the weakest dimension, and apply directed improvements.

    216 GitHub starsUsed in 1 repo~3.1k tokens
    Productivity & AutomationAuto-check passed
  • Atomicmail

    Atomic-Mail/atomic-mail-agentic

    Read and write email through the Atomic Mail from an AI agent.

    266 GitHub starsUsed in 1 repo~2k tokens
    Productivity & AutomationAuto-check passed

More from gnekt/My-Brain-Is-Full-Crew

All 14 skills in this repo
  • Create Agent

    gnekt/My-Brain-Is-Full-Crew

    Create a new custom agent from scratch. An agent skill from gnekt/My-Brain-Is-Full-Crew.

    3.9k GitHub stars~3.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Deep Clean

    gnekt/My-Brain-Is-Full-Crew

    Extended vault cleanup: full audit PLUS stale content scan, outdated references, content quality review, redundant tags, broken external links, and template compliance.

    3.9k GitHub stars~4k tokensUpdated 3 mo ago
    Auto-check passed
  • Contact Sync

    gnekt/My-Brain-Is-Full-Crew

    Sync a person to Apple Contacts. An agent skill from gnekt/My-Brain-Is-Full-Crew.

    3.9k GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check: warnings
  • Deadline Radar

    gnekt/My-Brain-Is-Full-Crew

    Unified timeline of all deadlines from emails, calendar, and vault.

    3.9k GitHub stars~2.3k tokensUpdated 3 mo ago
    Auto-check: warnings
  • Inbox Triage

    gnekt/My-Brain-Is-Full-Crew

    Process all notes in 00-Inbox/: scan, classify by content, route to correct vault location, update MOCs, extract action items, and generate a daily digest.

    3.9k GitHub stars~3.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Manage Agent

    gnekt/My-Brain-Is-Full-Crew

    Edit, update, or remove an existing custom agent. An agent skill from gnekt/My-Brain-Is-Full-Crew.

    3.9k GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Defrag

What does Defrag do?

Weekly vault defragmentation. An agent skill from gnekt/My-Brain-Is-Full-Crew. Defrag is an agent skill from gnekt/My-Brain-Is-Full-Crew. Weekly vault defragmentation.

When should I use Defrag?

Defrag fits situations like: tasks that involve Email management.

How do I install Defrag in Claude Code?

Run `npx skills add gnekt/My-Brain-Is-Full-Crew --skill defrag -a claude-code`. Or copy the skill folder (skills/defrag in gnekt/My-Brain-Is-Full-Crew) into .claude/skills/defrag in your project. Claude Code loads it when a task matches its description.

How do I install Defrag in Codex?

Run `npx skills add gnekt/My-Brain-Is-Full-Crew --skill defrag -a codex`. Or copy the skill folder (skills/defrag in gnekt/My-Brain-Is-Full-Crew) into .agents/skills/defrag in your project. Codex loads it when a task matches its description.

Can I use 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 gnekt/My-Brain-Is-Full-Crew --skill 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/defrag, .gemini/skills/defrag, .github/skills/defrag and .opencode/skills/defrag in your project.

What does Defrag need to run?

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

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

Defrag has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Defrag use?

About 2.1k tokens (SKILL.md is roughly 8.5k 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 Defrag?

Skills that share tags, products or a category with Defrag: Process Inbox (telegramdesktop/tdesktop, 33k stars), Continue (telegramdesktop/tdesktop, 33k stars), Garden Inbox (paperclipai/paperclip, 99k stars) and Career-Ops Gmail Lead Plugin (career-ops-hq/career-ops, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Defrag?

gnekt (a GitHub user) maintains it in gnekt/My-Brain-Is-Full-Crew, which has 3,856 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on June 27, 2026.

Source: gnekt/My-Brain-Is-Full-Crew on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.