Skip to main content

hello-world

Use when checking that CUGA skill loading works end to end, or when someone asks for a minimal example of a SKILL.md file.

الانتقال إلى التثبيت

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

المستودع
cuga-project/cuga-skills
آخر نشاط في المصدر
٣٠ يوليو ٢٠٢٦ في ١٩:١٠
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٠
التفرعات
١

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

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

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

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

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
hello-world
description
Use when checking that CUGA skill loading works end to end, or when someone asks for a minimal example of a SKILL.md file.
tags
["example"]
# Hello world The smallest valid skill: instructions only, no companion files, no dependencies. Its job is to prove that skill discovery, `load_skill`, and code execution are all wired up correctly. ## Steps 1. Print a greeting with `python -c "print('Hello from the hello-world skill')"`. 2. Report the working directory and Python version: `python -c "import sys, os; print(os.getcwd(), sys.version.split()[0])"` 3. Tell the user, in one line, that skill loading and code execution both work, and include the directory and version you saw. If step 1 or 2 fails, say which one failed and quote the error — that failure is the useful result, not something to work around. ## Writing your own Copy this folder, rename it, and change the frontmatter. Only `name` and `description` are required, and `name` must match the folder name. Optional keys: - `requirements` — packages CUGA installs in its sandbox before running your code - `arguments` — named arguments callers can pass to the skill - `tags` — used for grouping in the catalog listing
عرض على GitHub