
autoprompt-skill
给编码智能体加个技能,任务失败率直降45%
项目预览
项目数据
项目介绍
Star 增长趋势
本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整
数据来源:GitHub API 逐日快照 · 收录于 2026-09-23 · 当前星标 ★ 1214
使用教程
环境要求
- 已安装 Node.js 与 npm(支持 npm install -g 全局安装)
- 一个受支持的编码智能体(如 Claude Code、Codex、prime 等,共 11 种)
- 可访问 GitHub Releases 下载安装包
- 安装过程需要交互式确认智能体路径
安装与启动步骤
-
1安装 CLI
从 GitHub Releases 下载 v2.0.0 的 tgz 包并全局安装,安装后即可使用 autoprompt 命令。
npm install -g https://github.com/Spielewoy/autoprompt-skill/releases/download/v2.0.0/autoprompt-skill-2.0.0.tgz -
2启动安装器
运行 autoprompt 进入交互式安装器,它也会用于更新、修复与卸载。
autoprompt -
3选择智能体并安装
在安装器中选择你的编码智能体,确认其路径后安装;输入 N 可手动输入其他路径。其他 CLI 或 IDE 请选 Custom coding agent 并参考兼容性文档。
-
4从源码安装(可选)
若不走 tgz 包,可克隆仓库后在本地全局安装,再运行 autoprompt 启动安装器。
git clone https://github.com/Spielewoy/autoprompt-skill cd autoprompt-skill npm install -g . autoprompt -
5校验安装
用 doctor 检查所有已检测到的安装,或指定某个 provider 单独检查,--strict 为严格模式。
autoprompt doctor --strict autoprompt doctor claude --strict -
6运行一次任务
在 -- 之后传入并发等运行控制参数,再跟引号包裹的任务目标;示例让 codex 最多并发 4 个子智能体。
autoprompt activate codex -- --concurrency custom --max-subs 4 "add retries and tests"
关键配置
| 配置项 | 必填 | 说明 | 示例 |
|---|---|---|---|
--concurrency tokensaver | 否 | 最多同时运行六个子智能体,节省 token。 | --concurrency tokensaver |
--concurrency wide | 否 | 按宿主上限启动可并行、互相独立的工作。 | --concurrency wide |
--concurrency custom --max-subs N | 否 | 自定义并发上限,N 为子智能体数量。 | --concurrency custom --max-subs 4 |
configure PROVIDER --agents off | 否 | 改用该 provider 自己配置的模型。 | autoprompt configure claude --agents off |
configure PROVIDER --agents MODEL | 否 | 指定单个模型,支持的场景可加 --effort LEVEL。 | autoprompt configure claude --agents provider/model --effort |
configure PROVIDER --agents auto --model | 否 | 从已评测的模型注册表中自动选择;逗号分隔模型列表也需 --model-map。 | --agents auto --model-map models.json |
如何确认成功
执行 autoprompt doctor --strict 无报错,且指定的 provider 被正常检测到,即安装成功。
常见问题
Q:如何更新或修复安装?
A:运行 autoprompt,然后选择一个已安装的 provider,按提示进行更新或修复。
Q:如何卸载?
A:交互式卸载用 autoprompt uninstall;只卸载某个 provider 用 autoprompt uninstall PROVIDER,如 autoprompt uninstall claude。
Q:支持哪些编码智能体?
A:共支持 11 种 provider,如 claude、codex、prime 等;其他 CLI 或 IDE 可选 Custom coding agent 并按兼容性文档接入。
Q:并发参数该写在哪里?
A:并发控制要放在 -- 之后、引号包裹的任务目标之前,例如 autoprompt activate codex -- --concurrency custom --max-subs 4 "..."。
Q:怎么看所有可用命令?
A:执行 autoprompt help 即可列出全部命令。
注意事项
- 安装命令中的版本号与 tgz 文件名需与 GitHub Releases 最新版一致,升级版本后应替换链接。
- 运行 autoprompt 与 autoprompt doctor 前请确认目标编码智能体已安装且路径正确。
- provider 名称请使用支持表中的键(如 claude、codex、prime),不要随意拼写。
核心亮点
- 宣称在 agentic coding 任务上失败率降低 45%,直接针对 AI 编程最痛的返工问题
- 以 skill 形式集成,不替换现有 agent,接入 Claude Code 等工作流成本低
- 内置自动化测试与验证环节,在提交前拦截错误,而非事后补救
不足之处
- 45% 的降幅缺乏公开的基准测试与复现细节,实际效果依赖具体任务分布
- 项目仅 1264 星,生态与文档成熟度有限,长期维护待观察
适用场景
- 用 Claude Code 等编码智能体批量处理重构或修 bug 任务时降低失败率
- 团队搭建自主编程流水线,需要稳定的任务拆解与自动验证环节
- 个人开发者让 AI 代理完成多步骤编码任务,减少人工反复纠错
替代项目
SWE-agent、OpenHands
上一篇:costrict
下一篇:agent-skills
同类项目推荐
MLView
开源
让编码助手画出能点回源码的 ML 流程图
Interactive, source-linked ML workflow diagrams written by your coding assistant (Co···
ai-context
开源
一键把散落资料打包成 AI 能懂的上下文,提问更精准
CLI tool to produce MD context files from many sources, to help interact with LLMs (···
DeepCopilot
开源
在 VS Code 里用 DeepSeek 免费平替 Copilot,自动补全代码
Copilot-style AI coding agent for VS Code, powered by DeepSeek V4.
codexqa
开源
给 AI 编程助手装上质量检查技能,改完自动查影响、审代码、生成测试
codexqa: 11 local-first Agent Skills for Cursor, Claude Code, Codex & OpenClaw — ch···
alphacode
开源
免 API Key 的 AI 编程智能体,开箱即用改代码
Free MIT AI coding agent — no API key needed. Built-in free model, or bring Claude,···
deepseek-harness-desktop
开源
把 DeepSeek 编码代理装进桌面,手机还能远程看
Compact DeepSeek Harness desktop host with a native SwiftUI iPhone Remote source pre···
spark-stack
开源
用聊天对话直接生成 Web 应用,快速搭建 MVP。
Spark Stack is an tool for building web applications through an AI-powered chat inte···
reef
开源
AI 写码,Reef 审码,极简终端让审查更专注
The minimal dev terminal for the AI coding era — AI writes the code, Reef is where···
codex_auto_register
开源
一键自动注册并配置 Codex CLI,免费额度即刻可用
Codex Register