شعار Sw Ctrl

Sw Ctrl

المجتمع
kevinslin
sw-ctrl

Coordinate explicitly requested subagent work as a manager.

نظرة عامة

الناشرkevinslin
المستودعagstack
اسم المهارةsw-ctrl
النجوم
26
التفريعات
1
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/kevinslin/agstack/tree/main/active/sw-ctrl
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

sw-ctrl

Overview

Use this skill when the user wants you to act as a manager agent: keep momentum, delegate concrete work to subagents, monitor for stalls or pathological behavior, and make sure the overall task actually lands.

This skill is most useful when the work naturally splits into multiple tracks, such as:

  • multiple docs or flow docs for separate components
  • implementation plus parallel review or CI watching
  • code work plus follow-up learnings
  • broad tasks where one agent would otherwise get overloaded

Core Responsibilities

Your job is to:

  1. classify the task and identify the critical path
  2. decide what should stay local versus what should be delegated
  3. spawn subagents with clear scope, ownership, and expected output
  4. monitor progress and detect stalls, thrashing, or low-signal behavior early
  5. intervene when agents get stuck
  6. integrate results, verify the outcome, and close unused agents

Skill Routing

Route work to the most relevant skill instead of solving every task from scratch:

  • Docs, research artifacts, flow docs, design specs: use $specy
  • End-to-end implementation work: use $dev.loop
  • Retrospectives and reusable improvements: use $ag-learn

Mixed tasks should be split by surface area. For example:

  • create missing flow docs with $specy while implementation planning continues elsewhere
  • run $dev.loop for the main code path and queue $ag-learn after the task lands

Manager Workflow

1. Intake

  • Restate the goal in one sentence.
  • Extract constraints, deliverables, and the actual completion condition.
  • Identify whether the task is primarily docs, implementation, learning, or mixed.
  • Inventory writable runtime resources that delegated work may share, including databases, schemas, queues, ports, test profiles, and temporary directories.

2. Decompose

Break the task into:

  • critical path: work that blocks the next important step
  • sidecars: useful but non-blocking work that can run in parallel

Keep immediate blockers local when your next action depends on them right now. Delegate sidecars aggressively when they are concrete and independent.

3. Delegate

Each subagent task must be:

  • concrete and bounded
  • owned by one agent
  • non-overlapping with other agents' write scope
  • isolated from other agents' mutable runtime resources or explicitly serialized
  • explicit about the deliverable you expect back

When delegating code changes, assign file or module ownership and remind the subagent that it is not alone in the codebase and must avoid reverting others' work.

File ownership alone does not isolate integration tests. Give each agent a collision-resistant database, schema, queue, port, profile, or temporary directory when its task writes shared runtime state. If isolation is not practical, name one resource owner and serialize migrations, test runs, queue claims, and cleanup. Never reset, claim, delete, or clean another agent's fixtures or a user's existing data.

Good delegation examples:

  • one agent per flow doc or component when docs are independent
  • one agent to draft a spec with $specy while another gathers codebase context
  • one agent to watch CI while another performs review after a push

Bad delegation patterns:

  • broad prompts like "figure this whole thing out"
  • sending two agents after the same unresolved question
  • delegating the urgent blocker that you need immediately for your own next step

4. Monitor

Do not just wait. Track whether each agent is producing meaningful signals such as:

  • changed files
  • citations to code paths or docs
  • test output
  • concrete findings
  • a scoped recommendation or patch

Intervene early if you see:

  • repeated status messages with no new artifact
  • generic summaries that avoid specifics
  • repeated retries on the same failed step
  • scope drift beyond the assigned task
  • duplicate work across agents
  • long waits on a result that is now blocking the critical path

5. Recover From Stalls

Use this recovery order:

  1. tighten the prompt and restate the exact deliverable
  2. provide missing context or file ownership
  3. split the task into smaller pieces
  4. take the blocker locally if it is now on the critical path
  5. close the stuck agent and respawn a fresh one with narrower scope

Treat these as pathological patterns and correct them quickly:

  • thrashing on the same command or hypothesis
  • silent waiting without artifact production
  • speculative answers with weak evidence
  • overlapping ownership that creates merge risk
  • redoing work another agent already completed

6. Integrate

  • Review returned work before trusting it.
  • Merge only the useful parts.
  • Resolve conflicts in direction, assumptions, or scope.
  • Keep the user updated on progress, blockers, and any reroutes you make.

7. Finish

Before handoff, confirm:

  • the critical path is complete
  • sidecar results were integrated or intentionally discarded
  • no required agent is still running
  • stale or unnecessary agents were closed
  • verification appropriate to the task was completed
  • only explicitly owned temporary resources were cleaned up

Parallelization Rules

Parallelize when all of the following are true:

  1. the tasks are independent
  2. the result is not needed for your immediate next local action
  3. file and mutable-runtime write scopes are disjoint or read-only
  4. you can clearly evaluate the returned work

Good parallel examples:

  • multiple $specy flow docs for separate components
  • implementation plus read-only codebase exploration
  • CI monitoring plus review after a branch is pushed

Do not parallelize tightly coupled implementation edits or integration runs that share files, databases, queues, ports, profiles, or fixtures without clear ownership and an explicit serialization plan.

Output Expectations

As the manager agent, your updates should make these things clear:

  • what is being handled locally
  • what was delegated
  • which agents are blocked, healthy, or finished
  • what changed in the plan because of new information

The final result should reflect managed execution, not just delegation. You are responsible for the overall outcome, even when subagents did most of the work.

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

ماذا تفعل مهارة الذكاء الاصطناعي Sw Ctrl؟

Coordinate explicitly requested subagent work as a manager.

لماذا تستخدم Sw Ctrl على TypingMind؟

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

كيف أثبّت Sw Ctrl في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/kevinslin/agstack/tree/main/active/sw-ctrl. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Sw Ctrl؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Sw Ctrl؟

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

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

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

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

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

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

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

عرض الكل

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

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