شعار Command Execution

Command Execution

مؤسسة
oasm-platform
command-execution

Execute security scanning commands on remote worker agents. Use when you need to run CLI tools like nmap, subfinder, httpx, nuclei, or any shell command on worker nodes.

نظرة عامة

الناشرoasm-platform
المستودعopen-asm
اسم المهارةcommand-execution
النجوم
192
التفريعات
30
الملفات المرفقة
تعليمات فقط
الترخيصGPL-3.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/oasm-platform/open-asm/tree/main/core-api/src/modules/agents/skills/command-execution
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oasm-platform/open-asm.git /tmp/open-asm
mkdir -p .claude/skills
cp -r /tmp/open-asm/core-api/src/modules/agents/skills/command-execution .claude/skills/command-execution
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Command Execution

Use this skill when you need to run CLI security tools on remote worker nodes via execute_remote_command.

Workflow

1. Check Worker Availability

Before executing commands, verify workers are online:

Use list_active_workers to confirm at least one worker is available.

If no workers are available, inform the user and suggest they wait or check worker status.

2. Understand the Tool

execute_remote_command runs arbitrary shell commands on remote workers.

Parameters:

  • command (string, required): The shell command to execute

Output fields:

  • stdout: Standard output
  • stderr: Standard error
  • exitCode: Process exit code (0 = success)
  • error: Error message if execution failed
  • timedOut: Whether the command exceeded timeout

Constraints:

  • No PTY (non-interactive)
  • Strict timeout (60 seconds default)
  • OS-level permissions apply
  • Commands run in the worker's environment (tools must be installed)

3. Choose the Right Tool

Not everything needs remote execution. Use the right tool for the job:

TaskTool
Run CLI scanners (nmap, nuclei, subfinder, etc.)execute_remote_command
List workspace assets, vulns, ports, technologiesUse enumerate_assets, discover_vulnerabilities, list_network_ports, fingerprint_technologies
Get details on a specific asset or vulnerabilityUse inspect_asset, investigate_vulnerability
Fetch a web pageUse retrieve_web_page

Only use execute_remote_command when you need to run a CLI tool that is not available through the built-in OASM tools.

4. Build the Command

Use standard CLI syntax. Examples by category:

Subdomain Discovery:

subfinder -d example.com -silent
amass enum -passive -d example.com

HTTP Probing:

httpx -l subdomains.txt -status-code -title -tech-detect
httpx -u https://example.com -follow-redirects -status-code

Port Scanning:

naabu -host example.com -top-ports 1000
nmap -sV -sC -oX output.xml example.com
nmap -p 80,443,8080,8443 example.com

Vulnerability Scanning:

nuclei -u https://example.com -severity critical,high
nuclei -l urls.txt -severity critical,high,medium

DNS Enumeration:

dig example.com ANY
dnsx -d example.com -silent

Screenshot Capture:

gowitness file -f urls.txt -P ./screenshots

OSINT / Recon:

theHarvester -d example.com -b all

5. Execute and Analyze

  1. Run the command via execute_remote_command
  2. Check exitCode — non-zero may indicate partial results (e.g., nmap found nothing)
  3. Parse stdout for findings
  4. Check stderr for warnings or errors
  5. If the command times out, suggest breaking it into smaller scans or increasing scope

6. Save Results

After scanning, save important findings to memory:

  • Use stm_write to store scan results (e.g., key: "subdomain_results", value: the output)
  • Use ltm_append to persist critical findings across conversations

Safety Rules

  • Scope check: Only run scans against targets within the workspace scope. Use retrieve_targets to verify scope before scanning.
  • Avoid destructive flags: Do not use --rm, rm -rf, or similar commands that could damage the worker.
  • Prefer read-only scans: Use -sV (version detection) over -O (OS detection) when possible — less intrusive.
  • Rate limiting: Add delays between bulk operations (e.g., --rate-limit flags) to avoid overwhelming targets.

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

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

Execute security scanning commands on remote worker agents. Use when you need to run CLI tools like nmap, subfinder, httpx, nuclei, or any shell command on worker nodes.

لماذا تستخدم Command Execution على TypingMind؟

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

كيف أثبّت Command Execution في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/oasm-platform/open-asm/tree/main/core-api/src/modules/agents/skills/command-execution. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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