← 返回 Skills 市场
kangzhixing

Joycode

作者 Nicholas · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
245
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install joycode
功能描述
通过 shell 控制 JoyCode CLI 工具进行代码生成和 AI 辅助编程。使用场景:(1) 用户要求代码生成、代码补全或编程帮助 (2) 需要使用 AI 助手进行代码审查 (3) 需要在终端中进行交互式编程对话 (4) 需要执行自动化代码任务
使用说明 (SKILL.md)

JoyCode CLI 代码生成助手

安装

# 使用 npm 全局安装
npm install -g joycode-cli

# 验证安装
joycode-cli --version

核心命令

交互模式

# 启动交互式 TUI 界面
joycode-cli

# 带问题启动
joycode-cli "如何使用 Rust 编写一个 Hello World 程序?"

自动化模式

# 执行简单任务
joycode-cli exec "统计当前项目代码行数"

# 全自动模式(允许文件编辑)
joycode-cli exec --full-auto "为 utils.ts 编写单元测试"

会话管理

# 恢复上次会话
joycode-cli resume --last

# 通过会话 ID 恢复
joycode-cli resume \x3CSESSION_ID>

# 打开会话列表选择
joycode-cli resume

登录认证

# 交互式登录 JoyCode 账号
joycode-cli login

斜杠命令(交互模式中使用)

命令 功能
/quit 退出程序
/logout 退出登录
/new 开始新对话
/undo 撤销上一步操作
/diff 查看 Git 差异
/compact 压缩对话历史
/init 初始化 AGENTS.md
/review AI 代码审查
/approvals 动态修改审批策略

常用工作流

  1. 代码生成: joycode-cli exec --full-auto "为 src/main.ts 编写单元测试"
  2. 代码审查: 在交互模式输入 /review
  3. 项目初始化: joycode-cli init
  4. 恢复会话: joycode-cli resume --last
安全使用建议
This skill is coherent with a CLI-based code assistant, but it instructs you to globally install a third-party npm package and to use an automated mode that can edit files. Before installing or running it: 1) Verify the npm package identity — check the package page, author, repository, and source code; avoid installing unknown packages globally (use a container or VM instead). 2) Inspect the package contents (bin scripts) and any network behavior in a safe environment. 3) Do not run '--full-auto' on sensitive repositories without backups and explicit review; prefer manual approval for file edits. 4) Be cautious with the 'login' step: understand where credentials are sent and how tokens are stored. 5) If you need to trust this skill, restrict its use to isolated environments and monitor network/file activity. If you want, I can list concrete checks to perform on the npm package (package.json fields to inspect, common trojan signs, how to run it in a sandbox).
功能分析
Type: OpenClaw Skill Name: joycode Version: 1.0.0 The skill bundle provides instructions for an AI agent to interface with the 'joycode-cli' tool for code generation and AI-assisted programming. It includes standard commands for installation via npm, interactive TUI modes, and automated file editing (e.g., 'joycode-cli exec --full-auto'). While the tool requires shell access and file system permissions to function as a coding assistant, the instructions in SKILL.md are transparent, lack obfuscation, and do not exhibit signs of data exfiltration or malicious intent.
能力评估
Purpose & Capability
The name/description describe controlling a JoyCode CLI for code generation and review, which matches the SKILL.md content. However the README-style instructions endorse global npm installation and an unrestricted 'exec --full-auto' mode that edits files — capabilities that are powerful but not explicitly scoped or constrained in the skill metadata.
Instruction Scope
The SKILL.md tells the agent to install and run joycode-cli commands that can run arbitrary natural-language tasks and a '--full-auto' mode that permits file editing. These instructions are open-ended (agent could be asked to perform wide-ranging modifications) and include interactive login and session restore; there are no in-skill guardrails or explicit limits on what files or data may be read/written or sent to remote services.
Install Mechanism
No automated install spec is included in the skill bundle, but the instructions explicitly recommend 'npm install -g joycode-cli' from the public npm ecosystem. Installing third-party npm packages globally is a common but moderate-risk action because packages can contain arbitrary code; the SKILL.md does not provide a homepage, repository, or cryptographic provenance to verify the package.
Credentials
The skill declares no required env vars or credentials, yet the instructions include 'joycode-cli login' (interactive authentication) and behaviors that persist sessions. This omission makes it unclear how credentials/tokens will be handled or stored. The CLI will likely contact remote services (exfiltration risk for source code), but no explicit env or privacy expectations are declared.
Persistence & Privilege
The skill is instruction-only, always:false, and does not request permanent platform privileges. It does not attempt to modify other skills or platform configuration in the provided instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install joycode
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /joycode 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of joycode. - Introduces CLI tool for AI-assisted code generation, review, and interactive programming via shell. - Supports interactive mode, automated task execution, and session management. - Provides slash commands for workflow shortcuts (e.g., review, undo, diff). - Includes login and authentication support for JoyCode accounts. - Documentation with common workflows and installation instructions.
元数据
Slug joycode
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Joycode 是什么?

通过 shell 控制 JoyCode CLI 工具进行代码生成和 AI 辅助编程。使用场景:(1) 用户要求代码生成、代码补全或编程帮助 (2) 需要使用 AI 助手进行代码审查 (3) 需要在终端中进行交互式编程对话 (4) 需要执行自动化代码任务. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 245 次。

如何安装 Joycode?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install joycode」即可一键安装,无需额外配置。

Joycode 是免费的吗?

是的,Joycode 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Joycode 支持哪些平台?

Joycode 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Joycode?

由 Nicholas(@kangzhixing)开发并维护,当前版本 v1.0.0。

💬 留言讨论