شعار 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

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها appleweiping على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Workstation Maintenance في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ 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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Workstation Maintenance معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Workstation Maintenance مجانية؟

نعم. نشرها appleweiping على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇