Логотип Workstation Maintenance

Workstation Maintenance

Сообщество
appleweiping
workstation-maintenance

Inventory and tidy local Windows drives without breaking anything. Use when asked to clean up or organize drives or folders, plan file moves in small approval batches, move cluttered top-level folders of a drive behind junctions, or undo an earlier move. The folders to protect come from the user's config.json; nothing moves without an approved batch ID and a rollback manifest.

Обзор

Издательappleweiping
РепозиторийAGENT_RESOURCE
Название навыкаworkstation-maintenance
Звёзды
78
Форки
10
Файлы в комплекте
15
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

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

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

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

  • Файлы в комплекте: 15

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

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

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

Установка

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

1

Установка в TypingMind

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

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/appleweiping/AGENT_RESOURCE/tree/master/skills/vipin/workstation-maintenance
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/appleweiping/AGENT_RESOURCE.git /tmp/AGENT_RESOURCE
mkdir -p .claude/skills
cp -r /tmp/AGENT_RESOURCE/skills/vipin/workstation-maintenance .claude/skills/workstation-maintenance
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

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

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

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

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

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

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

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

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

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

Workstation Maintenance

Use this skill to inventory Windows drives, propose file moves in small batches, move only the batches the user approves, and roll them back on request. A second mode moves cluttered top-level folders of a drive into <drive>\_Organized\<Bucket>\_RootDirs\ and leaves a junction at the old path, so existing absolute paths keep working.

Setup: config.json

Everything specific to the machine lives in config.json next to this file. It is git-ignored. If it is missing, copy config.example.json, ask the user which folders must never move, and fill it in before any live run. A live inventory and the drive-root scripts refuse to run without a config. -ConfigPath or $env:WORKSTATION_MAINTENANCE_CONFIG can point at a config elsewhere. Paths may use environment variables such as %USERPROFILE%.

KeyMeaning
protected_rootsNever scanned, never moved, never a destination.
infrastructure_rootsAgent and tool installs. Recorded, never moved.
project_rootsActive project folders. Recorded, never moved.
inventory_rootsWhat to scan when -Roots is not given.
organized_rootWhere file-level moves go when -TargetRoot is not given.
coursework_patternsExtra filename regexes treated as coursework (kept in place).
drive_root_rules{ "pattern", "category" } pairs: regexes on top-level folder names mapped to a drive-root bucket.

Agent folders in the user profile (.codex, .claude, .openhands, opencode state) are always treated as infrastructure.

Hard boundaries

  • Never move, delete, or open anything under a protected_roots entry, including when it is reached through a junction, symlink, relative path, or different casing.
  • The Windows folder, Program Files, ProgramData, AppData, package caches, browser profiles, auth/session/db/log folders, git worktrees and reparse points are never moved.
  • infrastructure_roots and project_roots stay in place unless the user asks for a migration of that one folder.
  • Never delete files. At most, write a list of deletion candidates for the user.
  • Classify by path and filename only. Do not open documents.
  • No physical move without an inventory manifest, a move plan, a batch ID the user approved, and rollback data.

Workflow

  1. Preflight
    • Check that config.json exists and protects what the user cares about.
    • Note uncommitted changes in any repos under the roots and leave them alone.
  2. Inventory
    • Run scripts/New-WorkstationInventory.ps1. Keep its JSON/Markdown output in a local folder that is not committed; it contains private filenames.
    • Confirm there are zero entries under protected roots and zero move-eligible reparse points, directories, or git worktrees.
  3. Plan
    • Run scripts/New-MovePlan.ps1 on the inventory manifest.
    • Executable batches include only low-risk files older than 30 days; newer ones are deferred so normal use is not disrupted.
    • Batches are grouped by file type and capped at 100 items, so the user approves small, understandable units. Duplicate destinations get a stable item-ID suffix.
    • For drive-root organization, run scripts/New-DriveRootOrganizationPlan.ps1 -DriveRoot <drive> instead. It classifies the immediate children of the drive only.
  4. Approval gate
    • Stop before moving anything.
    • scripts/New-ApprovalPacket.ps1 writes a summary of batch IDs, counts and sizes, without filenames. scripts/Test-MovePlanBatches.ps1 preflights every batch.
    • Ask the user to approve batch IDs. If they approve all currently passing low-risk batches at once, run them without asking again for each one, stopping at the first failure.
    • Only then run scripts/Invoke-ApprovedMoveBatch.ps1 -Approved (or Invoke-DriveRootOrganizationPlan.ps1 -Approved).
  5. Rollback and validation
    • Every applied batch writes an applied manifest with rollback fields.
    • Undo with scripts/Invoke-RollbackBatch.ps1, or Invoke-DriveRootOrganizationPlan.ps1 -RollbackManifestPath <applied.json>.
    • Run scripts/Test-WorkstationMaintenance.ps1 after changing any script.
  6. Report
    • Summarize what moved by bucket, count and size. Do not paste private filenames into chat logs, notes, or commits.

Categories

Protected-NoMove, AgentInfrastructure, ActiveProject, CourseworkArchive, PersonalSensitive, MediaAssets, Downloads, TempCache, VendorSystemToolchain, UnknownReview. Drive-root buckets: Downloads, Temp-Review, Media, Coursework, Documents-Private, Games, Tools-Review.

Commands

Run from this folder. powershell -NoProfile -ExecutionPolicy Bypass -File <script> ... works the same if the execution policy blocks .\scripts\....

powershell
$out = Join-Path $env:TEMP "workstation-maintenance"
.\scripts\New-WorkstationInventory.ps1 -OutputDir $out
.\scripts\New-MovePlan.ps1 -ManifestPath "<inventory.json>"
.\scripts\Test-MovePlanBatches.ps1 -MovePlanPath "<move-plan.json>"
.\scripts\New-ApprovalPacket.ps1 -MovePlanPath "<move-plan.json>"

New-MovePlan.ps1 defaults to -MinimumAgeDays 30 -MaxItemsPerBatch 100. Lower the age gate only when the user accepts the risk of moving recent files.

After the user names a batch ID:

powershell
.\scripts\Invoke-ApprovedMoveBatch.ps1 -MovePlanPath "<move-plan.json>" -BatchId "batch-downloads-archives-old" -PreflightOnly
.\scripts\Invoke-ApprovedMoveBatch.ps1 -MovePlanPath "<move-plan.json>" -BatchId "batch-downloads-archives-old" -Approved
.\scripts\Invoke-RollbackBatch.ps1 -AppliedManifestPath "<applied-batch.json>"

Drive-root organization (<drive> is a drive root such as the one the user named):

powershell
.\scripts\New-DriveRootOrganizationPlan.ps1 -DriveRoot "<drive>" -OutputDir $out
.\scripts\Invoke-DriveRootOrganizationPlan.ps1 -PlanPath "<drive-root-plan.json>" -PreflightOnly
.\scripts\Invoke-DriveRootOrganizationPlan.ps1 -PlanPath "<drive-root-plan.json>" -Approved -SkipIds @("dr_0016")

Folders that fail because of ACLs or open handles stay where they are: pass their IDs through -SkipIds, report them, and retry after the lock is gone. Never leave a folder half moved.

References

  • references/safety-boundaries.md
  • references/batch-move-workflow.md
  • references/manifest-schema.md

Файлы в комплекте

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

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

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

Inventory and tidy local Windows drives without breaking anything. Use when asked to clean up or organize drives or folders, plan file moves in small approval batches, move cluttered top-level folders of a drive behind junctions, or undo an earlier move. The folders to protect come from the user's config.json; nothing moves without an approved batch ID and a rollback manifest.

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

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

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

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/appleweiping/AGENT_RESOURCE/tree/master/skills/vipin/workstation-maintenance. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

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

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

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

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

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

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — appleweiping. Вы платите только своему поставщику ИИ за использованные токены.

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

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

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

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

Все

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

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