شعار Charles Storage Cleanup

Charles Storage Cleanup

المجتمع
LemonFace0309
charles-storage-cleanup

تحرَّ عن مساحة القرص المستخدمة على Mac، واعثر على التطبيقات قليلة الاستخدام ومساحات التخزين التي لم تُلاحظ، ونظّف ذاكرات التخزين المؤقت وبيئات التشغيل والأجهزة وملفات الأبحاث وآثارها وملفات التطوير المصرّح بحذفها، مع الحفاظ على العمل الجاري.

نظرة عامة

الناشرLemonFace0309
المستودعcharles-skills
اسم المهارةcharles-storage-cleanup
النجوم
34
التفريعات
1
الملفات المرفقة
4
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 4

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

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

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

التثبيت

ثبّت مهارة الذكاء الاصطناعي Charles Storage Cleanup في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/LemonFace0309/charles-skills/tree/main/skills/charles-storage-cleanup
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LemonFace0309/charles-skills.git /tmp/charles-skills
mkdir -p .claude/skills
cp -r /tmp/charles-skills/skills/charles-storage-cleanup .claude/skills/charles-storage-cleanup
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Charles Storage Cleanup في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Charles Storage Cleanup تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Charles Storage Cleanup بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Storage Cleanup

Recover space from confirmed disposable artifacts, explain recent growth, and preserve active work. Measure success with free bytes on the actual data volume.

Scope and authorization

When the request authorizes removing unused files, delete confirmed disposable candidates without repeated confirmation. An inventory-only request stays read-only. Skill discovery alone grants no deletion permission. Carry forward the user's selected items, exclusions, age limits, and recent-use conditions across passes; a request to inspect more locations does not revoke a previous keep instruction.

Keep active apps, builds, Git writers, and emulators running. Do not cancel a job to turn its files into deletion candidates. Preserve source, uncommitted work, credentials, unique research/media, current releases, and persistent VM/container data unless their removal is explicitly authorized. A generic request to clear unused files does not supply that authorization. An old modification time, ignored Git status, or absent open handle alone does not establish disposability. Skip uncertain candidates and continue useful cleanup elsewhere.

Choose the depth

  • For a named deletion, inspect that selection and its dependencies, then complete the authorized cleanup. A whole-app uninstall includes its own helpers and startup registrations; cache-only cleanup does not.
  • For general cleanup, unused-app reviews, "what else," or "search more extensively," use the discovery checklist. Cover installed software, both Library trees, hidden package stores, runtimes, developer/research output, devices, media/downloads, and OS-managed storage. Do not stop at the largest project or ~/Library/Caches.
  • When explaining a large folder, break it into source, generated output, installed environments, Git history, and unique assets. Describe what the largest payloads actually contain and why they exist before recommending removal.

Workflow

  1. Baseline and map the machine. Record local time, data-volume free bytes, recent cleanup receipts, mounts, and active work. Store audits privately outside repositories, under ~/Library/Logs/storage-cleanup/. Start with filesystem-bounded directory sizes, including hidden directories and shared/system application data; deepen large branches with bounded probes.
  2. Cover overlooked families. In a broad audit, work through the discovery checklist and record each family as measured, absent, excluded, or not fully inspected. Follow configured cache/SDK locations and sibling or agent workspaces. Revisit newly exposed smaller contributors after large removals. Previously deleted paths and old measurements are not new opportunities.
  3. Establish disposability and inactivity. Identify reconstruction inputs, an obsolete duplicate, or a documented cache purpose. Distinguish the eligible subset from an entire installation or cache pool. Independently inspect relevant processes, arguments/cwd, open files, and running devices. Refresh checks before deletion. A failed or truncated usage probe leaves use unknown. Missing app-use metadata means unknown use.
  4. Remove in measured batches. Log exact paths, sizes, reasons, reconstruction metadata, and methods. Prefer supported SDK/device/package-manager commands. For direct removal, validate the specific path, avoid symlink targets, and preserve nonstandard data or local patches. Do not use blanket repository cleaning. Finish all eligible user-level work and prepare one reviewable exact batch before requesting necessary administrator authentication; verify the child job's result rather than only the authorization helper's exit status.
  5. Investigate recurrence. If free space falls again, compare observations and trace writers. Repeated abandoned Git packs warrant checking background git add and generated payloads. Use a backed-up, scoped machine-local exclusion only for confirmed generated material; verify tracked files and useful new reports/scripts remain visible. Do not blindly copy another project's ignore patterns.
  6. Verify and report. Check removed paths, retained active resources, unchanged dependency lockfiles, and readable Git commits where relevant. After runtime removal, verify retained dependent environments and the default executable. After an uninstall, check the app, its selected remnants, and its own services. Report current free space, measured recovery, concurrent growth, reinstall requirements, unresolved items, and coverage gaps. Folder allocations and deletion totals are not physical recovery estimates.

For an opportunity list, give stable numbers, exact paths or selectors, measured eligible sizes, contents/purpose, use evidence, and the condition for safe removal. Separate regenerable caches, optional installed software, and data needing a user decision. Do not inflate savings with overlapping parents/children, all versions when one must remain, empty device registrations, sparse-disk maximum capacity, or personal artifacts labeled as cache. If fewer than the requested number of useful verified candidates remain, report that and the uninspected areas instead of padding the list.

CandidateEvidence needed in addition to inactivity
Dependencies/buildsKnown generated installation/output; retained lockfiles, build inputs, or environment metadata; no tracked/custom content lost
APK/IPA/installersObsolete or redundant artifact; retain current release/reviewer builds and any unique analysis evidence
Emulators/simulatorsKnown disposable QA device with no current task/data dependency; shutdown alone is insufficient
Git temporary packsGit garbage classification, stable separate observations, no live writer/handle, valid history preserved
Model/package cachesRe-downloadable contents; preserve authentication, installed environments, active models, and persistent data
Rarely used apps/extensionsBundle or extension identity, measured payload, current activity, and recorded last use or an explicit unknown; retained user data and shared components
Old/duplicate runtimesArchitecture, version, default selection, executable links, dependent environments, and embedded app runtimes; pool size is not all removable
Downloads/history/logsThe user's exact age and recent-use criteria, supported record timestamps where applicable, and no unique required content or live writer

Tools and conditional details

Use the discovery checklist for broad audits. Read the relevant sections of macOS cleanup notes before app/runtime uninstalls, privileged cleanup, Git objects, devices/SDKs, or compression. They also cover activity probes, APFS sharing, and virtual DeviceFS accounting.

The bundled helper inventories metadata only; it never decides what to delete or removes files. It skips symlinks and child filesystems, deduplicates hardlinks per root, and compares earlier snapshots. Paths below assume the default personal skill location; resolve relative to this skill if installed elsewhere.

bash
cleanup_audit="$HOME/Library/Logs/storage-cleanup/$(date +%Y%m%d-%H%M%S)"
umask 077
mkdir -p "$cleanup_audit"
python3 "<this skill's folder>/scripts/inventory.py" \
  --root "$HOME/Developer" --output "$cleanup_audit/inventory.json"

Use --help for additional roots, output limits, and --compare. --max-depth limits directory summaries, not traversal: scan selected roots progressively and bound expensive probes. Broad scans can take time; keep the user updated and inspect compact summaries rather than dumping inventories. A partial scan must remain labeled partial.

الملفات المرفقة

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

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Charles Storage Cleanup؟

تحرَّ عن مساحة القرص المستخدمة على Mac، واعثر على التطبيقات قليلة الاستخدام ومساحات التخزين التي لم تُلاحظ، ونظّف ذاكرات التخزين المؤقت وبيئات التشغيل والأجهزة وملفات الأبحاث وآثارها وملفات التطوير المصرّح بحذفها، مع الحفاظ على العمل الجاري.

لماذا تستخدم Charles Storage Cleanup على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Charles Storage Cleanup عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Charles Storage Cleanup في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/LemonFace0309/charles-skills/tree/main/skills/charles-storage-cleanup. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Charles Storage Cleanup؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Charles Storage Cleanup؟

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

هل مهارة الذكاء الاصطناعي Charles Storage Cleanup مجانية؟

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

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

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

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

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

عرض الكل

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

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