hello

GitHub

示例技能,用于演示如何将文件打包到工作区以及验证Shell脚本功能。

examples/vite-bundle/src/skills/hello/SKILL.md cloudflare/computer

触发场景

需要验证Shell环境是否正常工作 了解Skill文件如何被Worker导入和挂载

安装

npx skills add cloudflare/computer --skill hello -g -y
更多选项

非标准路径

npx skills add https://github.com/cloudflare/computer/tree/main/examples/vite-bundle/src/skills/hello -g -y

不安装直接使用

npx skills use cloudflare/computer@hello

指定 Agent (Claude Code)

npx skills add cloudflare/computer --skill hello -a claude-code -g -y

安装 repo 全部 skill

npx skills add cloudflare/computer --all -g -y

预览 repo 内 skill

npx skills add cloudflare/computer --list

SKILL.md

Frontmatter
{
    "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:

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.

版本历史

  • 7415a44 当前 2026-10-18 18:09

同 Skill 集合

.agents/skills/capnweb/SKILL.md
.agents/skills/cloudflare/SKILL.md
.agents/skills/debugging-computerd-fuse/SKILL.md
.agents/skills/prose/SKILL.md
.agents/skills/pull-requests/SKILL.md
.agents/skills/test-driven-development/SKILL.md
.gardener/SKILL.md
examples/codemode/src/skills/exec/SKILL.md
examples/container/src/skills/exec/SKILL.md
examples/worker-javascript/src/skills/exec/SKILL.md
examples/worker-shell/src/skills/exec/SKILL.md

元信息

文件数
0
版本
9f70253
Hash
d506ca91
收录时间
2026-10-18 18:09

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 01:23
浙ICP备14020137号-1