Skip to main content

hello

A sample skill shipped with the Worker. Read it to see how files bundled with computerBundle() reach the workspace, or run its script to check the shell works.

معلومات المصدر

المستودع
cloudflare/computer
آخر نشاط في المصدر
١٢ أكتوبر ٢٠٢٦ في ١٤:٠٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٩٬٧٥٢
التفرعات
٥٧٧

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
2 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
hello
description
A sample skill shipped with the Worker. Read it to see how files bundled with computerBundle() reach the workspace, or run its script to check the shell works.
# Hello This file lives in `src/skills/hello/SKILL.md` in the example's source. The Worker imports the whole `src/skills` directory with `import skills from "computer:bundle/src/skills"`, and `WorkerBundle(skills)` copies it to `/workspace/.agents/skills` as a read-only mount. Try: ```sh ls -R /workspace/.agents/skills sh /workspace/.agents/skills/hello/scripts/hello.sh ``` Under `vite dev`, edit this file and send the next request: the workspace picks up the new copy without a restart.
عرض على GitHub