AI Skill Hub 强烈推荐:开源AI工作流 是一款优质的Agent工作流。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g oss-autopilot # 方式二:npx 直接运行(无需安装) npx oss-autopilot --help # 方式三:项目依赖安装 npm install oss-autopilot # 方式四:从源码运行 git clone https://github.com/costajohnt/oss-autopilot cd oss-autopilot npm install npm start
# 命令行使用
oss-autopilot --help
# 基本用法
oss-autopilot [options] <input>
# Node.js 代码中使用
const oss_autopilot = require('oss-autopilot');
const result = await oss_autopilot.run(options);
console.log(result);
# oss-autopilot 配置说明 # 查看配置选项 oss-autopilot --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export OSS_AUTOPILOT_CONFIG="/path/to/config.yml"
<p align="center"> <img src="assets/hero-light.svg" alt="OSS Autopilot" width="600"> </p>
<p align="center"> <em>An AI-powered workflow engine for managing open source contributions at scale — built as a Claude Code plugin, MCP server, and standalone CLI.</em> </p>
<p align="center"> <img src="https://github.com/costajohnt/oss-autopilot/actions/workflows/ci.yml/badge.svg" alt="CI"> <img src="https://img.shields.io/badge/license-MIT-green" alt="License"> <img src="https://img.shields.io/badge/TypeScript-strict-blue?logo=typescript&logoColor=white" alt="TypeScript"> <img src="https://img.shields.io/node/v/@oss-autopilot/core" alt="Node.js"> <img src="https://img.shields.io/github/stars/costajohnt/oss-autopilot?style=flat" alt="Stars"> <img src="https://img.shields.io/github/last-commit/costajohnt/oss-autopilot" alt="Last Commit"> </p> <p align="center"> <a href="https://www.npmjs.com/package/@oss-autopilot/core"><img src="https://img.shields.io/npm/v/@oss-autopilot/core" alt="npm @oss-autopilot/core"></a> <a href="https://www.npmjs.com/package/@oss-autopilot/core"><img src="https://img.shields.io/npm/dw/@oss-autopilot/core" alt="npm downloads"></a> <a href="https://www.npmjs.com/package/@oss-autopilot/mcp"><img src="https://img.shields.io/npm/v/@oss-autopilot/mcp" alt="npm @oss-autopilot/mcp"></a> </p>
---
Built and used daily by costajohnt — 3rd biggest contributor to Ink (the React CLI framework behind Claude Code, Gemini CLI, and Codex — 32k+ stars) and repeat contributor to Homebrew.
<p align="center"> <a href="https://github.com/costajohnt/oss-autopilot"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://oss-widgets.vercel.app/api/card/costajohnt?theme=dark&minStars=50" /> <source media="(prefers-color-scheme: light)" srcset="https://oss-widgets.vercel.app/api/card/costajohnt?theme=light&minStars=50" /> <img alt="OSS Stats" src="https://oss-widgets.vercel.app/api/card/costajohnt?theme=dark&minStars=50" width="495" /> </picture> </a> </p>
<p align="center"> <a href="https://github.com/costajohnt/oss-widgets"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://oss-widgets.vercel.app/api/top-repos/costajohnt?theme=dark&minStars=50" /> <source media="(prefers-color-scheme: light)" srcset="https://oss-widgets.vercel.app/api/top-repos/costajohnt?theme=light&minStars=50" /> <img alt="Top Contributed Repos" src="https://oss-widgets.vercel.app/api/top-repos/costajohnt?theme=dark&minStars=50" width="495" /> </picture> </a> </p>
---
┌──────────────────────────────────────────────────┐
│ Claude Code Plugin Layer │
│ 8 slash commands (/oss, /oss-search, …) │
│ 7 specialized agents, contribution skills │
├──────────────────────────────────────────────────┤
│ │
│ ┌──────────────┐ ┌──────────────────────────┐ │
│ │ MCP Server │ │ Interactive Dashboard │ │
│ │ @oss-auto- │ │ @oss-autopilot/dashboard │ │
│ │ pilot/mcp │ │ Preact + Vite │ │
│ │ │ │ PR management, charts, │ │
│ │ 32 tools │ │ actions │ │
│ │ 6 resources │ │ │ │
│ │ 4 prompts │ │ │ │
│ └──────┬───────┘ └────────────┬─────────────┘ │
│ │ │ │
│ ┌──────┴───────────────────────┴─────────────┐ │
│ │ Core Library — @oss-autopilot/core │ │
│ │ PR monitoring, issue discovery, state mgmt │ │
│ │ GitHub API, CLI, structured JSON output │ │
│ └────────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────┘
Monorepo with three npm packages — pnpm workspaces with each package independently publishable to npm. Core library, MCP server, and interactive Preact dashboard with shared types.
Three deployment models — Claude Code plugin with 7 specialized agents, MCP server for Cursor/Claude Desktop/Codex/Windsurf, and a standalone CLI with --json structured output. Same core, different interfaces.
Deterministic core, AI orchestration layer — Critical logic (PR status classification, CI failure analysis, state management) lives in tested TypeScript, not in prompts. The CLI returns structured JSON that agents consume. CI failures are categorized into a deterministic taxonomy — actionable vs. fork limitation vs. auth gate vs. infrastructure — rather than asking an LLM each time. 2,600+ tests validate the core independently of any LLM.
Production-grade GitHub API integration — ETag-based HTTP caching, automatic rate limit backoff with retries, bounded concurrency pools, and paginated fetching. Handles the full complexity of fork-based contribution workflows: correct diff ranges, squash commit counting, and --head flag handling for cross-fork PRs. Designed to run daily without hitting API limits.
Human-in-the-loop guardrails — Nothing is posted to GitHub without explicit approval. AI drafts responses but the contributor always reviews before sending. Pre-commit review gates catch issues before they reach maintainers. Factual claims in draft comments are verified against the actual diff before presenting to the user.
Modular extraction — Issue discovery and vetting grew complex enough to extract into its own npm package (oss-scout). Connected via a bridge pattern that maps state between the two systems, following the same approach used by the broader ecosystem of extraction-and-reconnect patterns.
Fresh-fetch architecture — PRs aren't stored locally. Every run fetches live data from GitHub's Search API and enriches each PR with CI status, review decisions, merge conflict detection, maintainer comment classification, and checklist completion. No stale data, no sync bugs.
Security discipline — State files written with 0o600 permissions, data directory created with 0o700. Concurrent state write protection prevents corruption from parallel runs. Runtime schema validation via Zod on every state file read. XSS prevention tested. Input validation hardened across CLI arguments and API responses.
Automated release pipeline — Conventional commits feed into release-please for automatic versioning and changelogs, with CI/CD publishing to npm on merge. 200+ changelog versions across both packages (core v0.1.0 through v3.x, mcp through v5.x) since the first release in January 2025.
Every feature in the list above was driven by real usage — capacity warnings came from overcommitting, "skip comment when code speaks for itself" came from over-commenting, diminishing returns detection came from spending too long searching. The tool is shaped by the contributions it manages.
---
Claude Code Plugin (recommended):
/plugin marketplace add costajohnt/oss-autopilot
/plugin install oss-autopilot@oss-autopilot
Restart Claude Code, then run /setup-oss. Done.
<details> <summary><strong>MCP Server</strong> (Cursor, Claude Desktop, Codex, Windsurf)</summary>
First initialize your GitHub username (one-time setup):
npx @oss-autopilot/core@latest init <your-github-username>
Then add to your MCP client config:
{
"mcpServers": {
"oss-autopilot": {
"command": "npx",
"args": ["@oss-autopilot/mcp@latest"]
}
}
}
The MCP server exposes 32 tools, 6 resources, and 4 prompts — the full OSS Autopilot feature set.
</details>
<details> <summary><strong>Standalone CLI / npm package</strong></summary>
```bash
npm install -g @oss-autopilot/core
cd <path-from-find-command>/packages/core npm install npm run bundle
**PRs not showing up:**
- Run `/setup-oss` to ensure your GitHub username is configured
- Check that `gh auth status` shows you're authenticated
- The plugin only tracks PRs you authored
</details>
<details>
<summary><strong>Development</strong></summary>
bash git clone https://github.com/costajohnt/oss-autopilot.git cd oss-autopilot pnpm install # Install all workspace dependencies pnpm test # Run all tests across all packages pnpm start -- daily --json # Run CLI via tsx (no bundle needed) pnpm run bundle # Rebuild CLI bundle (esbuild)
**Project structure:**
├── commands/ # 8 plugin slash commands (/oss, /oss-search, /pr-ready, …) ├── agents/ # 7 specialized agents (PR responder, issue scout, etc.) ├── skills/ # Contribution best practices ├── workflows/ # Delegated logic loaded by commands on demand ├── hooks/ # Plugin hooks (session-start) ├── packages/ │ ├── core/ # @oss-autopilot/core — CLI + core library │ │ ├── src/commands/ # CLI subcommands │ │ ├── src/core/ # Domain logic + tests │ │ └── dist/cli.bundle.cjs # Built bundle (auto-generated) │ ├── mcp-server/ # @oss-autopilot/mcp — MCP server │ │ └── src/ # Tools, resources, prompts, server │ └── dashboard/ # @oss-autopilot/dashboard — Interactive UI └── pnpm-workspace.yaml # Workspace definition
Test as a local plugin:
bash claude --plugin-dir ./oss-autopilot ```
</details>
<details> <summary><strong>Enhanced Code Review (optional)</strong></summary>
The plugin includes a built-in pre-commit-reviewer agent that reviews all code changes before committing. For enhanced parallel review, install the pr-review-toolkit plugin (search for it in the Claude Code plugin marketplace) — it adds 5 specialized reviewers that run simultaneously:
| Agent | Focus |
|---|---|
code-reviewer | Bugs, logic errors, security, conventions |
silent-failure-hunter | Error handling gaps, swallowed errors |
code-simplifier | Dead code, unnecessary complexity |
pr-test-analyzer | Test coverage and assertion quality |
comment-analyzer | Comment accuracy and maintainability |
type-design-analyzer | TypeScript type design (encapsulation, invariants, enforcement) |
Without pr-review-toolkit, the built-in pre-commit-reviewer handles all review phases as a single agent with the same fix-and-re-review loop.
</details>
---
Full API documentation for @oss-autopilot/core is available at jcosta.tech/oss-autopilot.
find ~/.claude/plugins -name "oss-autopilot" -type d
高质量的AI驱动开源工作流
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,开源AI工作流 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | oss-autopilot |
| Topics | ai-agentclaude-codetypescript |
| GitHub | https://github.com/costajohnt/oss-autopilot |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-12 · 更新时间:2026-06-12 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端