شعار Computer Use

Computer Use

المجتمع
shayann07
computer-use

Operate and visually verify real desktop applications, including development builds, through the Antigravity native desktop runtime. Use for interactive app testing, screenshots, controls, dialogs, canvas gestures and task verification. You run its terminal commands yourself; never hand the user manual steps to follow.

نظرة عامة

الناشرshayann07
المستودعantigravity-computer-use
اسم المهارةcomputer-use
النجوم
62
التفريعات
5
الملفات المرفقة
10
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Computer use

Start the task

Run exactly one ready call in your terminal. For an already open app, list its windows in that call:

{{DESKTOP_COMMAND}} ready --apps

Use the matching window handle for snapshot. If the task calls for opening a known application, start with this instead:

{{DESKTOP_COMMAND}} ready --launch 'APP' --reason 'Open the requested application'

Replace APP with the executable or app bundle. On macOS an app name such as TextEdit also works. Use the returned frame directly. Use plain ready for a readiness check or human handoff.

Keep the returned task_token private. Append each command to the returned task_command_prefix. Do not call status before ready; ready already reports the state you need. Alternatively, append --task <task_token> to all subsequent task commands, including ready after a human handoff and end. For example:

{{DESKTOP_COMMAND}} snapshot --task <task_token> --hwnd <observed-window>

On task_owned, wait for the owning task to finish. Never fetch another conversation's token or issue End on its behalf. Status, app discovery and emergency Stop remain available without the task token. After successful End, discard the old token; a new task starts with ready without --task. If your own task is orphaned with zero grants and no input held, and you lost its token, use stop or the bar’s Stop. A lost response does not justify replaying an input action.

  • If the combined call returned an error, follow its recovery. On plain ready:true, use apps or launch --observe to find the target.
  • If ready:false, perform only the returned next_action, then stop or wait as instructed. Do not invent a recovery path.
  • Every blocked reply carries a recovery object (actor, the exact command or a reason, and safe_when). Follow it instead of guessing.
  • human_start_on_visible_desktop: ask the human to open {{CONTROLLER_START}} once on their normal desktop. Do not switch desktops or repeatedly start helpers. If controls still fail, collect diagnostics and report the incident instead of inventing another launch method.
  • If the launcher fails, report its exact error and stop.

The loop

Use one controller per task. Read unfamiliar command schemas in one describe call. Use the runtime replies to operate the desktop. observe_pending, input_completed:true or a verification failure after launch means discover the existing process, never launch it again blindly. Finish with end. ready starts a task; to check state after end, use status, which never opens a task. If you noticed a skill or runtime problem, keep private notes during the task and, after end, follow the report step in finishing and reports. Report only what the app showed. If it shows no output path, use at most one visible control that opens the output folder, or say the path was not shown. Do not explore history panels, hover for tooltips or search the disk to find it. For physical handoff (a human presses Esc or takes over): at most one bounded input attempt, then stop issuing controller calls and wait for the human. Details in the handoff reference below. If any result shows state: stopped or control_reason: escape, the human stopped you: say so plainly in your reply (for example "You pressed Esc, so I stopped after X"), never call it a clean finish, and do not resume until asked. H/F/N are the observed handle, frame and index. Brackets mark optional flags.

CommandNamed arguments
launch--app EXE_OR_APP_BUNDLE --observe --reason TEXT; on a Mac an app name such as TextEdit also works
snapshot--hwnd H --reason TEXT [--query TEXT] [--max-nodes 500] [--image] [--settle-ms 0..2000]
click--hwnd H --observation-id F --name TEXT --role Button --risk routine --reason TEXT [--physical true] [--park-cursor] [--image] [--max-nodes 500] [--settle-ms 0..2000]; or --index N in place of name/role
click (pixels)--hwnd H --observation-id F --x X --y Y --risk routine --reason TEXT [--image]; X/Y come from that frame's freshly viewed image
move--hwnd H --observation-id F --x X --y Y --risk routine --reason TEXT; hover without clicking
drag--hwnd H --observation-id F --from X,Y --to X,Y --risk routine --reason TEXT (write an array once: X,Y or JSON '[X,Y]')
drag (curve)--points '[[X,Y],[X,Y],...]' in place of from/to: 2–400 points from the viewed image, one continuous stroke through every point
key--hwnd H --observation-id F --keys CHORD --risk routine --reason TEXT [--index N] [--image]; the flag is --keys, also inside run --step key
set_value--hwnd H --observation-id F --name TEXT --role Edit --text VALUE --risk routine --reason TEXT; or --index N
file_dialog--hwnd OWNER --observation-id F --path FILE --action open (or save) --entry-method clipboard --reason TEXT
run--hwnd H --observation-id F --reason TEXT --step COMMAND followed by that step's flags; repeat at most 8 times, omitting per-step owner/frame. Add --images all before the first step for per-step images
wait--hwnd H --until TEXT --timeout-ms 30000 --reason TEXT [--abort-on 'Failed,Cancelled'] [--image]; or --until-gone OBSERVED_TEXT in place of --until
burst--hwnd H --frames 6 --interval-ms 150 --reason TEXT captures a short sequence
wait_change--hwnd H --observation-id F --timeout-ms 30000 --reason TEXT
close_window--hwnd H --reason TEXT
end, statusNo arguments
  • Tree first. Read the returned tree; it answers most questions. Open the actual image.path with the host image viewer only when you need pixel coordinates, when you are making a visual claim (layout, rendering, colour, image content), or when the tree cannot answer. Each image view costs a full model turn. Agent Manager's read_file can view its JPEGs. JSON, a reconstructed picture or an accessibility label does not prove visual behavior. Report an unavailable image viewer.
  • Every action consumes its observation_id and returns a fresh frame and tree. Use that reply directly. Do not take another snapshot merely to get a frame you already have. Pixel targets require a fresh viewed image. Ordinary named actions are tree-only; add --image when pixels or visual verification are needed.
  • Combine predictable steps in one bounded run with 1–8 --step groups. For dozens to hundreds of steps, compute the steps with a script, then run them with plan, never one run per model turn.
  • An app’s “Posted” confirmation or View link confirms publication. A feed can lag after a successful post. Never publish again because a list has not refreshed.
  • Never guess an observation id, index or pixel position across a layout change. Never replay an input action after a lost reply or delivery_unknown:true.

For a dev-build smoke test, use ready --launch, one run --images all with the observed controls, then close_window on the disposable window and end.

Examples only: replace handles, frames, indexes, names and paths with values from the current task and its fresh observation.

{{DESKTOP_COMMAND}} click --hwnd 123 --observation-id FRAME --name Settings --role Button --risk routine --reason 'Open observed settings' --max-nodes 500
{{DESKTOP_COMMAND}} run --hwnd 123 --observation-id FRAME --reason 'Import, start and wait' --step click --name 'Choose files' --role Button --risk routine --step file_dialog --path 'OBSERVED_FILE_PATH' --action open --entry-method clipboard --settle-ms 600 --step click --name Start --role Button --risk routine --step wait --until 'Done' --timeout-ms 30000
{{DESKTOP_COMMAND}} set_value --hwnd 123 --observation-id FRAME --index 9 --text 'Sample' --risk routine --reason 'Set the observed field'
{{DESKTOP_COMMAND}} run --hwnd 123 --observation-id FRAME --reason 'Pick a colour and draw two curves' --step click --name Green --role ListItem --risk routine --step drag --points '[[300,500],[360,470],[430,480],[500,450]]' --risk routine --step drag --points '[[300,560],[380,530],[460,545]]' --risk routine

Where the rest lives

These are packaged operating guidance, not a reason to explore source files. Read only the file the situation names.

WhenRead
ready:false, update_notice, any next_action or recovery stateready replies
A human must press Esc or take overhandoff
Targets, batches, steps files, waits, schemasobserve and act
Dozens or hundreds of steps (drawing, repetitive entry)complex tasks
Typing, paste, Unicode, Open/Save dialogsdialogs and text
Stop, Esc, permissions, input_completed, delivery_unknowncontrol and permissions
macOS, sidecar unavailable, control bar, task ownershipplatform and sidecar
Any other failure coderecovery
Reporting, giving up, feedback, updatesfinishing and reports
Development or QA qualificationapplication verification

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

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

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

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

Operate and visually verify real desktop applications, including development builds, through the Antigravity native desktop runtime. Use for interactive app testing, screenshots, controls, dialogs, canvas gestures and task verification. You run its terminal commands yourself; never hand the user manual steps to follow.

لماذا تستخدم Computer Use على TypingMind؟

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

كيف أثبّت Computer Use في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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