skills/agent/SKILL.md
派遣任务给 opencode agent 执行,自动记录处理过程到独立日志文件
npx skillsauth add 958877748/skills agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
使用 index.js 将任务派遣给 opencode agent 执行,每个任务自动生成独立的日志文件,避免冲突。
node agent/index.js "<任务描述>"
示例:
node agent/index.js "查询今日金价"
node agent/index.js "分析项目代码结构"
node agent/index.js "创建一个 hello.txt 文件"
日志文件自动保存到工作目录的 logs/ 文件夹:
agent/logs/
├── 2026-03-04_15-10-23.md
├── 2026-03-04_15-12-45.md
└── ...
文件名格式:YYYY-MM-DD_HH-mm-ss.md
每个任务生成独立文件,多任务并行不会冲突。
| 文件/目录 | 说明 |
|-----------|------|
| agent/index.mjs | 主脚本 |
| agent/SKILL.md | Skill 定义文件 |
| logs/ | 日志输出目录(生成在调用目录) |
opencode CLItools
Cocos Creator 2.4.x 场景/预制体命令行工具,支持读写 .fire/.prefab、JSON 生成 UI、截图预览
development
查询公网IP地址的地理位置信息,包括国家、省份、城市、ISP、时区等
tools
Cocos Creator 有限状态机 (FSM) 实现,用于管理游戏对象的状态转换
tools
Cocos Creator 2.4.x 粒子系统修饰器开发框架。用于创建、使用和调试自定义粒子修饰器,支持修改粒子位置、颜色、大小、旋转、速度等属性。当需要在 Cocos Creator 中实现复杂的粒子效果控制时使用此技能。