شعار Amp Cli

Amp Cli

المجتمع
paulinevos
amp-cli

Use ampcode.com's CLI when the user asks to start an orb or thread on Amp, hand work to Amp with summarized context, continue a thread, or inspect and manage Amp work.

نظرة عامة

الناشرpaulinevos
المستودعclaude-stuff
اسم المهارةamp-cli
النجوم
64
التفريعات
0
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/paulinevos/claude-stuff/tree/main/plugins/amp-workflow/skills/amp-cli
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Amp CLI

When asked to start an orb, start a thread on Amp, or hand work to Amp, actually launch it through the CLI and return its URL. Writing this skill does not itself authorize launching an Amp task.

Check availability

Run command -v amp, amp version, and amp --help. If PATH misses it, check ~/.local/bin/amp and ~/.amp/bin/amp. Read relevant subcommand help for unfamiliar operations: Amp changes quickly.

If missing, report it. When installation is requested, download and inspect https://ampcode.com/install.sh, run the official installer with required permissions, and verify help/version. Existing shells may need the absolute executable path after the installer updates PATH.

Check amp account list. An existing AMP_API_KEY can authenticate too; check presence without revealing its value. If needed, use amp login when authorized and leave browser sign-in to the user. Successful help output does not establish authentication.

Prepare context

Write a self-contained summary to a temporary UTF-8 file using a file-writing tool. Include the outcome and acceptance criteria, repository/project and branch or commit, relevant files and links, decisions and constraints, findings, completed work, next steps, reproduction/tests and known failures, and the scope of authorized actions. Distinguish facts from hypotheses. Omit unrelated history and credentials. Feed this file through stdin rather than interpolating conversation text into a shell command.

Run in the relevant checkout. For repository work, check amp projects status --json or select a known project explicitly; resolve a missing project before launching. No-project orbs are appropriate for tasks needing no repository. Orbs cannot assume access to local paths, uncommitted changes, or unpublished commits. Supply necessary diffs/files through prompt context or --attach and explain their use. Do not push merely to facilitate a handoff without authorization.

Launch and follow up

For an orb or a generic remote handoff to a thread on Amp, use:

sh
amp -ox --title 'Investigate the failing build' --project owner/repo < /tmp/amp-handoff.txt

Replace examples with actual values. -ox submits the prompt and returns a thread URL while work continues remotely. Report launched work, not completed work. Preserve requested mode, visibility, and orb size; otherwise use defaults. Do not silently change a requested executor.

For explicitly local work:

sh
amp -x --executor local --no-archive-after-execute --stream-json < /tmp/amp-handoff.txt

This waits for the turn. Extract the thread ID from structured output according to the installed version's schema. For a specified runner, use --executor runner:<id> and optionally --runner-dir <absolute-path>.

Follow up on a known remote thread without creating another:

sh
amp threads continue T-actual-id -ox < /tmp/amp-followup.txt

Use -x for existing local work. amp threads new creates an empty thread: use only when an empty thread is requested. Interactive amp --executor orb waits for the first prompt and is unsuitable for an unattended launch. If submission is uncertain, inspect recent threads before retrying. Add --no-archive-after-execute when streaming an orb turn that should stay active.

Manage Amp

Check each command's --help for exact arguments.

NeedCommands
Find workamp threads list, amp threads search, amp top
Read resultsamp threads markdown <id>, amp threads export <id>
Costs/contextamp usage, amp threads usage <id>, amp threads context <id>
Projectsamp projects status --json, amp projects list, amp projects get
Organizationamp threads rename, amp threads label, amp threads archive
Integrationsamp tools list, amp plugins list, amp skill list, amp mcp doctor

Sharing, deletion, account switching, and changing projects/integrations need corresponding user intent. Orb service commands manage processes inside an orb; do not assume they target a remote orb from a local checkout. Verify synchronization support in installed help before applying remote changes locally.

For cap alerts, use the sibling amp-usage-watch skill. Consult the official CLI, orb, and thread docs when help is insufficient.

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

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

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

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

Use ampcode.com's CLI when the user asks to start an orb or thread on Amp, hand work to Amp with summarized context, continue a thread, or inspect and manage Amp work.

لماذا تستخدم Amp Cli على TypingMind؟

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

كيف أثبّت Amp Cli في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/paulinevos/claude-stuff/tree/main/plugins/amp-workflow/skills/amp-cli. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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