autoprompt-skill

给编码智能体加个技能,任务失败率直降45%

开源 🏷️完全免费 🔧 仅开源项目,无在线服务,需自行部署 编程开发 🍴 复刻 68 🐛 待处理 1 👀 关注 3
GitHub ↗
GitHub 星标 ★ 1214
维护状态 维护中
是否开源 开源
定价模式 🏷️完全免费 npm 开源包,免费使用

项目预览

autoprompt-skill 项目界面预览图
图片来源:GitHub 官方仓库名片

项目数据

分类编程开发
开发团队Spielewoy
定价模式🏷️完全免费
价格说明npm 开源包,免费使用
访问状态🔧 仅开源项目,无在线服务,需自行部署
是否开源是
开源协议MIT
主要语言JavaScript
技术栈/模型agent-orchestration,agent-skills,agentic-workflows,ai-agents,ai-coding,automated-testing,autonomous-agents,claude-code,cli,code-review,codex,coding-agent,developer-tools,github-copilot,multi-agent-systems,opencode,prompt-engineering,subagents,test-driven-development,workflow-automation
GitHub 星标★ 1214
上线时间2026-08-17 00:00:00
代码更新2026-10-04
仓库体积172.5 MB
本站数据更新2026-11-07
维护状态维护中
收录时间2026-09-23
浏览次数2

项目介绍

autoprompt-skill 是一个面向编码智能体(coding agent)的技能插件,主要解决 AI 在自主编程任务中频繁失败、反复试错的问题。它通过自动优化提示词与任务编排策略,在 agentic coding 场景下将失败率降低约 45%。核心能力包括:对编码任务进行结构化拆解与提示增强,让 Claude Code 等智能体更准确地理解需求;内置自动化测试与验证环节,在提交代码前捕获错误;支持与现有 agent 工作流集成,作为可复用的 skill 模块嵌入。项目用 JavaScript 编写,聚焦 agent-orchestration、agentic-workflows 与 automated-testing,适合希望提升 AI 编码代理成功率、减少人工返工的开发者,是当前 AI 编程工具链中一个轻量但实用的增强组件。

Star 增长趋势

本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整

数据来源:GitHub API 逐日快照 · 收录于 2026-09-23 · 当前星标 ★ 1214

使用教程

难度:入门 约 10 分钟 部署方式:命令行工具 6 步

环境要求

  • 已安装 Node.js 与 npm(支持 npm install -g 全局安装)
  • 一个受支持的编码智能体(如 Claude Code、Codex、prime 等,共 11 种)
  • 可访问 GitHub Releases 下载安装包
  • 安装过程需要交互式确认智能体路径

安装与启动步骤

  1. 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. 2启动安装器

    运行 autoprompt 进入交互式安装器,它也会用于更新、修复与卸载。

    autoprompt
  3. 3选择智能体并安装

    在安装器中选择你的编码智能体,确认其路径后安装;输入 N 可手动输入其他路径。其他 CLI 或 IDE 请选 Custom coding agent 并参考兼容性文档。

  4. 4从源码安装(可选)

    若不走 tgz 包,可克隆仓库后在本地全局安装,再运行 autoprompt 启动安装器。

    git clone https://github.com/Spielewoy/autoprompt-skill
    cd autoprompt-skill
    npm install -g .
    autoprompt
  5. 5校验安装

    用 doctor 检查所有已检测到的安装,或指定某个 provider 单独检查,--strict 为严格模式。

    autoprompt doctor --strict
    autoprompt doctor claude --strict
  6. 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···

★ 465 2026-10-30
ai-context 开源

一键把散落资料打包成 AI 能懂的上下文,提问更精准

CLI tool to produce MD context files from many sources, to help interact with LLMs (···

★ 177 2026-08-09
DeepCopilot 开源

在 VS Code 里用 DeepSeek 免费平替 Copilot,自动补全代码

Copilot-style AI coding agent for VS Code, powered by DeepSeek V4.

★ 79 2026-08-09
codexqa 开源

给 AI 编程助手装上质量检查技能,改完自动查影响、审代码、生成测试

codexqa: 11 local-first Agent Skills for Cursor, Claude Code, Codex & OpenClaw — ch···

★ 236 2026-10-03
alphacode 开源

免 API Key 的 AI 编程智能体,开箱即用改代码

Free MIT AI coding agent — no API key needed. Built-in free model, or bring Claude,···

★ 567 2026-10-08
deepseek-harness-desktop 开源

把 DeepSeek 编码代理装进桌面,手机还能远程看

Compact DeepSeek Harness desktop host with a native SwiftUI iPhone Remote source pre···

★ 286 2026-10-18
spark-stack 开源

用聊天对话直接生成 Web 应用,快速搭建 MVP。

Spark Stack is an tool for building web applications through an AI-powered chat inte···

★ 278 2026-08-09
reef 开源

AI 写码,Reef 审码,极简终端让审查更专注

The minimal dev terminal for the AI coding era — AI writes the code, Reef is where···

★ 85 2026-08-09