manage-skills
ما الذي تفعله
تتيح هذه المهارة للذكاء الاصطناعي إدارة مكتبة مركزية للمهارات بأداة skills-manager، بما في ذلك الإضافة والحذف وتفعيل المهارة أو إيقافها لكل أداة ذكاء اصطناعي. وهي مخصصة للذين يستخدمون عدة مساعدين ويريدون مهاراتهم في مكان واحد.
متى تستخدمها
- ✓عندما تريد أن تكتسب Claude Code أو Codex أو Cursor مهارة معينة أو تفقدها.
- ✓عندما تريد معرفة المهارات المثبتة أو المفعّلة لكل أداة ذكاء اصطناعي.
- ✓عندما تريد تنظيم المكتبة المشتركة بالوسوم أو الإعدادات الجاهزة أو البحث.
رابط المهارة
https://github.com/xingkongliang/skills-manager/blob/main/skills/manage-skills/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ثبّت مهارة PDF لـ Claude Code، وأخبرني أي مساعدين آخرين لديهم هذه المهارة بالفعل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشغّل المهارة أداة سطر الأوامر skills-manager المرفقة بالتطبيق المكتبي، وتتوقف وتطلب منك الإصلاح إذا كانت الأداة مفقودة أو قديمة بدل التخمين.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Before doing anything
Resolve the CLI first, then use the path it prints. Run this once (POSIX shell):
D="$HOME/.skills-manager/bin" B="$D/skills-manager-cli"; [ -e "$B" ] || B="$B.exe" # .exe on Windows if [ -s "$D/.version" ] && [ -x "$B" ]; then echo "$B" elif [ -s "$D/.version" ] || [ -e "$B" ]; then echo BRIDGE_BROKEN else P="$(command -v skills-manager-cli 2>/dev/null || true)" [ -x "$P" ] && echo "$P" fiSubstitute the printed path into every command below, wherever the examples write
$SM. Do not carry$SMas a shell variable: each command you run is a new shell, so an assignment made here is gone by the next one.The three outcomes:
- A path under
~/.skills-manager/bin— the desktop app published this copy, and the.versionstamp appears only after it has been verified, so it always matches the app the user is running. Use it. BRIDGE_BROKEN— something the app left behind is here but does not add up: an unstamped binary, or a stamp with no binary beside it. Either is what a copy that failed half-way leaves. Stop. Do not go looking for another CLI: that binary may predate a safety fix, and the machine has a desktop app whose version nothing here can match. Ask the user to open the Skills Manager app once, which republishes it.- A path from PATH — nothing was ever published here, so there is no stale copy to worry about: this is a CLI-only machine (a server install, a standalone download, a hand-built binary). Use it, but note it can be older than a desktop app if one is also installed.
If nothing is printed at all, this skill doesn't apply — fall back to find-skills, or tell the user to install Skills Manager.
- A path under
Always pass
--jsonwhen you parse output yourself. Pretty-printed output is for the user; JSON is for you. Errors includeok=false, a stablecode, andmessageon stderr with a non-zero exit code.
"$SM" --json skills list
When a deployment is refused
A deploy that would overwrite something that is not ours is refused outright — nothing at those paths is deleted, and nothing else in the batch is applied. That failure is machine-readable, so report the actual paths rather than the sentence:
{"ok": false, "code": "TARGET_CONFLICT", "kind": "target_conflict",
"message": "Refusing to deploy: 1 of 2 target(s) …",
"details": {"conflicts": [{"path": "/Users/me/.claude/skills/db",
"reason": "is not a managed deployment"}]}}
Tell the user which path is in the way, that its contents are untouched, and
offer the two ways out: adopt it into the library (skills adopt), or move it
aside and retry. Never delete it for them.
Mental model
There's one central library at ~/.skills-manager/skills/ that all agents share. Each skill has source metadata, preset membership, tags, and zero or more real deployments in agent directories. A preset is a reusable group; several presets may be deployed at the same time.
Keep these three states separate:
- Library: install/remove controls whether Skills Manager owns the skill.
- Preset membership:
presets add-skill/remove-skillorganizes the library only. - Deployment:
skills deploy/undeployandpresets deploy/undeploycontrol what an agent can actually see.
Internally, presets are still stored as scenarios for backward-compatible Git Backup. The CLI and UI call them presets.
Install
# From skills.sh marketplace
"$SM" skills install vercel-labs/agent-skills@react-best-practices
# Any git URL (use /tree/branch/subpath form when the skill lives in a sub-directory)
"$SM" skills install https://github.com/anthropics/skills.git
"$SM" skills install https://github.com/foo/bar/tree/main/skills/baz
# Local folder
"$SM" skills install ./my-skill
# Force a source type when the ref is ambiguous
"$SM" skills install foo/bar --skillssh
"$SM" skills install ./looks-like/owner-repo --local
Default is library-only — the skill enters the DB but doesn't appear in any agent yet. Prefer an explicit follow-up deployment so scope is unambiguous:
"$SM" skills deploy <skill> --agent claude_code --agent codex
--sync and --sync-preset remain legacy shortcuts for the exclusive active-preset workflow.
Ref resolution is deterministic, no path-existence guessing:
- Starts
الأسئلة الشائعة
هل أحتاج التطبيق المكتبي؟
نعم. تستخدم المهارة النسخة من أداة سطر الأوامر التي يثبتها تطبيق Skills Manager.
هل يمكنها حذف مهارة من أداة واحدة فقط؟
نعم. يمكنها إيقاف مهارة لوكيل معين مع إبقائها في المكتبة.
ماذا لو كانت مهاراتي مُعدة يدويًا من قبل؟
يمكن للمهارة ضم المهارات الموجودة إلى المكتبة.
التفاصيل
الوصف الأصلي من المؤلف
Manage the user's shared agent-skill library via skills-manager-cli — install, update, remove, deploy or undeploy skills per agent, manage presets, organize tags, search, and adopt existing skills. Use this whenever the user wants Claude Code, Codex, Cursor, or another agent to gain or lose a skill, wants to organize the central library, or asks what is installed or deployed. Prefer this over direct agent-folder installs because Skills Manager preserves source metadata, preset membership, updates, and cross-agent deployment state.
الشعبية
- نجوم GitHub
- 7.2k
- الترتيب
- #13487
- الترخيص
- MIT
- آخر تحديث
- 31/10/2026
التعليقات
- …
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.