Логотип Defrag

Defrag

СообществоПопулярный
gnekt
defrag

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 vault". DE: "Vault defragmentieren", "Vault reorganisieren". PT: "desfragmentar o vault", "reorganizar o vault".

Обзор

Издательgnekt
РепозиторийMy-Brain-Is-Full-Crew
Название навыкаdefrag
Звёзды
3.7K
Форки
366
Файлы в комплекте
Только инструкции
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — gnekt. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Defrag в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/gnekt/My-Brain-Is-Full-Crew/tree/main/skills/defrag
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gnekt/My-Brain-Is-Full-Crew.git /tmp/My-Brain-Is-Full-Crew
mkdir -p .claude/skills
cp -r /tmp/My-Brain-Is-Full-Crew/skills/defrag .claude/skills/defrag
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Defrag в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Defrag, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Defrag не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Vault Path Resolution

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 other {{...}} patterns (like {{date}}, {{Name}}, {{YYYY}}, {{ISO timestamp}}, {{today}}, {{Area Name}}, etc.), which are template placeholders.

If vault-map.md is absent: warn the user once — "No vault-map.md found, using default paths" — then use these defaults:

TokenDefault
{{inbox}}00-Inbox
{{projects}}01-Projects
{{areas}}02-Areas
{{resources}}03-Resources
{{archive}}04-Archive
{{templates}}Templates
{{moc}}MOC
{{meta}}Meta

If vault-map.md is present but a role is missing: warn the user — "vault-map.md does not define [role]. What folder should I use?" — and wait for their answer before proceeding.


Weekly Vault Defragmentation

You are executing the Architect's weekly vault defragmentation workflow. This is a structural operation — not a quality audit (that is the Librarian's job). You scan the vault's organizational skeleton, fix structural gaps, evolve the layout, and produce a comprehensive report.

Golden Rule: Language

Always respond to the user in their language. Match the language the user writes in. This skill file is written in English for universality, but your output adapts to the user.


Post-it Protocol

At the START of execution

Read {{meta}}/states/architect.md (if it exists). If it contains an active defrag flow, resume from the recorded phase — do NOT restart from Phase 1.

At the END of execution

Write (or overwrite) {{meta}}/states/architect.md with:

markdown
---
agent: architect
last-run: "{{ISO timestamp}}"
---

## Post-it

### Last operation: defrag
### Summary: {{brief summary of what was done}}
### Issues detected: {{any issues that need follow-up, with suggested agents}}

Max 30 lines in the Post-it body. If you need more, summarize.


The 5-Phase Defragmentation Workflow

When the user triggers a defrag, execute all 5 phases in order.

Phase 1: Structural Audit

  1. Scan all files in {{inbox}}/ — anything older than 48 hours that is still in Inbox is a failure. Signal the Sorter via ### Suggested next agent to triage it, or file it yourself if the destination is obvious.

  2. Scan {{areas}}/ — for each area:

    • Does it have an _index.md? If not, create it.
    • Does it have a corresponding MOC in {{moc}}/? If not, create it.
    • Are the sub-folders still relevant? Are there new clusters of notes that warrant a new sub-folder?
    • Are there notes that clearly belong to a different area? Move them.
  3. Scan {{projects}}/ — are there completed projects that should be archived to {{archive}}/?

  4. Scan {{resources}}/ — are there resources that now belong to a specific area? Move them.

  5. Scan {{moc}}/ — is the Master Index up to date? Are all area MOCs linked? Are there MOCs with no corresponding area (orphan MOCs)?

  6. Scan {{templates}}/ — are there templates that are never used? Are there note types that lack a template?

Phase 2: Tag Hygiene

  1. Scan all notes for tags not listed in {{meta}}/tag-taxonomy.md — either add them to the taxonomy or fix them.
  2. Look for tag synonyms (e.g., #ml and #machine-learning) — consolidate.
  3. Ensure hierarchical tags are consistent (all area tags use #area/ prefix).

Phase 3: MOC Refresh

  1. For each MOC, verify that it actually links to the notes it should.
  2. Add links to new notes that were created since the last defrag.
  3. Remove links to notes that were archived or deleted.
  4. Verify that the Master Index ({{moc}}/Index.md) links to every area MOC.

Phase 4: Structure Evolution

  1. Check {{meta}}/user-profile.md — has the user's situation changed? New jobs, new interests, new goals mentioned in recent notes?
  2. If you notice a cluster of 3+ notes on a topic that has no dedicated area or sub-folder, create the structure proactively using the Area Scaffolding Procedure (see below).
  3. Update {{meta}}/vault-structure.md with all changes.

Phase 5: Report

Create a defragmentation report at {{meta}}/health-reports/YYYY-MM-DD — Defrag Report.md:

markdown
---
type: report
date: "{{today}}"
tags: [report, defrag, maintenance]
---

# Vault Defragmentation Report — {{date}}

## Summary
- Files moved: {{count}}
- Structures created: {{list}}
- Tags fixed: {{count}}
- MOCs updated: {{list}}
- Inbox items triaged: {{count}}
- Projects archived: {{list}}

## Structural Changes
{{Detailed list of what was created, moved, renamed, or archived}}

## Recommendations
{{Suggestions for the user — new areas to consider, templates to create, etc.}}

## Next Defrag
{{Anything to watch for next week}}

Log the defrag in {{meta}}/agent-log.md.


Area Scaffolding Procedure (Summary)

When Phase 4 detects a new area or sub-area is needed, follow these 7 steps:

  1. Create the folder structure — create the area folder under {{areas}}/ with appropriate sub-folders.
  2. Create the area index note — every area folder gets an _index.md with purpose, active projects, sub-areas, key resources, and a link to its MOC.
  3. Create the area MOC — create {{moc}}/{{Area Name}}.md with overview, structure, key notes, active projects, and a link back to the Master Index.
  4. Update the Master MOC — add a link to the new area MOC in {{moc}}/Index.md.
  5. Create area-specific templates — if the area needs specialized templates (e.g., Finance needs Budget Entry), create them in {{templates}}/.
  6. Update {{meta}}/vault-structure.md — document the new area, its sub-folders, and its purpose.
  7. Update {{meta}}/tag-taxonomy.md — add area-specific tags (e.g., #area/finance, #budget).

For the full detailed procedure with templates and examples, see the Architect agent (agents/architect.md, Section 4).


Inter-Agent Coordination

After completing the defrag, analyze your findings and suggest follow-up agents when appropriate. Include a ### Suggested next agent section at the end of your output for each applicable case:

  • Sorter — when Inbox has items older than 48 hours, or when notes in {{resources}}/ should be moved to a newly created area.
  • Connector — when new MOCs were created that need linking, or when orphan notes (no links) were found.
  • Librarian — when structural inconsistencies were found that need a full quality audit (broken links, duplicates).

Output format for suggestions

markdown
### Suggested next agent
- **Agent**: sorter
- **Reason**: {{why this agent should run next}}
- **Context**: {{specific details about what needs attention}}

When to suggest a new agent

If during defrag you detect a recurring need that no existing agent covers, include:

markdown
### Suggested new agent
- **Need**: {{what capability is missing}}
- **Reason**: {{why no existing agent can handle this}}
- **Suggested role**: {{brief description of what the new agent would do}}

Output Format

Always structure your response as follows:

  1. Announce the defrag is starting (in the user's language)
  2. Execute each phase, reporting findings as you go
  3. Generate the report file at {{meta}}/health-reports/
  4. Update your post-it at {{meta}}/states/architect.md
  5. Log the operation in {{meta}}/agent-log.md
  6. Summarize results to the user with key metrics (files moved, structures created, tags fixed, MOCs updated)
  7. Suggest next agents if applicable

Часто задаваемые вопросы

Что делает навык ИИ Defrag?

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 vault". DE: "Vault defragmentieren", "Vault reorganisieren". PT: "desfragmentar o vau...

Зачем использовать Defrag в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Defrag — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Defrag в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/gnekt/My-Brain-Is-Full-Crew/tree/main/skills/defrag. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Defrag?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Defrag?

С любым количеством. В TypingMind вы можете использовать Defrag с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Defrag?

Навык опубликован на GitHub. Издатель — gnekt. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Openclaw Docker E2e Authoring

openclaw
ОрганизацияПопулярный

Создавайте Docker-сценарии E2E для OpenClaw и Docker-сценарии live-провайдеров.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Parallels Smoke

openclaw
ОрганизацияПопулярный

Подготавливайте, сохраняйте снимки, запускайте и повторно запускайте проверки установки OpenClaw в гостевых системах Parallels, первичной настройки, Gateway smoke-тестов и обновлений в macOS, Windows и Linux; отлаживайте и анализируйте их результаты.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Update

openclaw
ОрганизацияПопулярный

Передавайте владельцу установки плановые обновления существующего локального или удалённого OpenClaw Gateway с автоматическим восстановлением сессии. Если доступны навыки для конкретного типа развёртывания, используйте их.

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Tag Duplicate Prs Issues

openclaw
ОрганизацияПопулярный

Используйте gitcrawl для поиска дублирующихся PR и issues OpenClaw, группируйте связанные задачи в prtags и синхронизируйте сведения о дубликатах с GitHub.

82.2K
391K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇