经 AI Skill Hub 精选评估,代码助手 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
代码助手 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
代码助手 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g code-buddy # 方式二:npx 直接运行(无需安装) npx code-buddy --help # 方式三:项目依赖安装 npm install code-buddy # 方式四:从源码运行 git clone https://github.com/phuetz/code-buddy cd code-buddy npm install npm start
# 命令行使用
code-buddy --help
# 基本用法
code-buddy [options] <input>
# Node.js 代码中使用
const code_buddy = require('code-buddy');
const result = await code_buddy.run(options);
console.log(result);
# code-buddy 配置说明 # 查看配置选项 code-buddy --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export CODE_BUDDY_CONFIG="/path/to/config.yml"
Three commands (Node.js ≥ 20):
npm i -g @phuetz/code-buddy # the package is scoped; `code-buddy` alone is not on npm
buddy login # ChatGPT subscription — no API key, $0 marginal cost
buddy # start chatting
buddy login also accepts xai. To stay entirely local instead, skip it, start Ollama, and run buddy onboard. Either way buddy doctor tells you in one line whether you are ready, and buddy doctor --fix can point a running Ollama at a suitable installed model and say why it chose it.
The published package can lag this repository. To track the source instead:
git clone https://github.com/phuetz/code-buddy.git
cd code-buddy && npm install
npm run build && npm link
The Cowork desktop app is a separate step needing Node.js ≥ 22: buddy install-gui, then buddy gui. Details in Getting started.
---
claude plugin install lm-resizer@code-buddy ```
Codex users: cp -r .codex/skills/code-buddy ~/.codex/skills/. Remove with claude plugin uninstall code-buddy@code-buddy.
This repository is also a Claude Code plugin marketplace. It installs a skill that teaches Claude Code how to drive buddy correctly (headless one-shot, provider and model pinning, permission modes, the verify loop) and a read-only MCP server exposing Code Buddy's tools:
```bash npm i -g @phuetz/code-buddy claude plugin marketplace add phuetz/code-buddy claude plugin install code-buddy@code-buddy
代码助手是一个高质量的开源AI工作流项目,具有自动化编码和工作流管理的能力
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:代码助手 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | code-buddy |
| 原始描述 | 开源AI工作流:An open-source multi-provider AI coding agent that runs directly in your termina。⭐9 · TypeScript |
| Topics | AI工作流TypeScript |
| GitHub | https://github.com/phuetz/code-buddy |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端