AI Skill Hub 推荐使用:NanoStack 是一款优质的Agent工作流。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
NanoStack 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
NanoStack 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/garagon/nanostack cd nanostack # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 nanostack --help # 基本运行 nanostack [options] <input> # 详细使用说明请查阅文档 # https://github.com/garagon/nanostack
# nanostack 配置说明 # 查看配置选项 nanostack --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export NANOSTACK_CONFIG="/path/to/config.yml"
<p align="center"> <img width="404" height="139" alt="Image" src="https://github.com/user-attachments/assets/839805e9-979f-4c95-9e24-eba9d7ae6236" /> </p>
<br>
<p align="center"> Turn your AI coding agent into a local delivery workflow. </p>
<p align="center"> Nanostack helps an agent challenge scope, plan the change, build, review, audit, test, and ship with a record of what happened. Use the default sprint, or build your own workflow stack on top. </p>
<p align="center"><strong>Plain text skills. Local artifacts. No Nanostack cloud. No build step.</strong></p>
<p align="center"> <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License"></a> <a href="https://github.com/garagon/nanostack/stargazers"><img src="https://img.shields.io/github/stars/garagon/nanostack?style=flat" alt="GitHub Stars"></a> <a href="https://skills.sh/garagon/nanostack"><img src="https://img.shields.io/badge/skills.sh-available-brightgreen" alt="skills.sh"></a> </p>
<p align="center"> <a href="#what-is-nanostack">What is it</a> · <a href="#two-profiles-same-rigor">Profiles</a> · <a href="#quick-start">Install</a> · <a href="#the-sprint">The Sprint</a> · <a href="#know-how">Know-how</a> · <a href="#build-on-nanostack">Extend</a> · <a href="README.es.md">Español</a> </p>
<br>
Inspired by gstack from Garry Tan. Nanostack ships 13 built-in skills, a seven-phase default sprint, and a framework for adding your own skills or workflow stacks. No Nanostack cloud. No build step.
Verified adapters today: Claude Code, Cursor, OpenAI Codex, OpenCode, and Gemini CLI. The skill files are plain text, so other agents may load them, but only those five have a verified adapter and capability declaration in adapters/.
bashgitjq (brew install jq, apt install jq, or choco install jq)Nanostack has no app runtime dependency and no build step. The scripts use standard local tools.
Nanostack works best with git but adapts automatically when there is no repo. With git, artifacts are stored relative to the git root, the phase gate verifies sprint compliance, scope drift compares planned files against git diff, and guard uses the repo boundary for in-project safety. Without git, Nanostack detects local mode and adapts the sprint: review checks files from the plan instead of a diff, ship opens the result instead of creating a PR, and all skills use plain language without git terminology.
| Without Nanostack | With Nanostack |
|---|---|
| ❌ A vague prompt turns into code immediately. | ✅ /think turns the idea into a brief, risk, and smallest useful starting point. |
| ❌ The plan disappears in chat. | ✅ /nano saves a plan with files, risks, checks, and out-of-scope items. |
| ❌ The agent quietly refactors three things you did not ask for. | ✅ /review compares the code against the plan. Scope drift is visible before merge. |
| ❌ QA and security happen only if someone remembers. | ✅ /qa opens your app and exercises it. /security runs on every ship and catches the mistakes that make headlines. |
| ❌ Your PR says "add notifications" and nobody knows what actually changed or why. | ✅ /ship explains why the change exists, how it was checked, and what remains. |
| ❌ You rush-commit Friday 5pm and Monday find out it broke something unrelated. | ✅ The sprint blocks git commit until /review, /security, and /qa pass. (Enforcement varies by agent; see honesty matrix below.) |
| ❌ Every session re-pastes the same context: what we use, what is fragile. | ✅ Every skill reads the artifact the previous skill wrote. Sprint journals preserve decisions in .nanostack/. |
Run once in each project to configure permissions and .gitignore. Requires git clone install.
~/.claude/skills/nanostack/bin/init-project.sh
This creates .claude/settings.json with permissions so Claude Code doesn't interrupt the workflow asking for approval on every file create or bash command. Also adds .nanostack/ to .gitignore.
Use Nanostack as-is, or build your own workflow stack on top. Custom skills can compose into a domain workflow that gates /ship, and they inherit the same artifact store, resolver, sprint journal, analytics, conductor, and local vault that the built-in skills run on. No SaaS, no daemon, no build step.
```bash
npx create-nanostack
One command. Detects your agents, installs everything, runs setup.
Then run /nano-run in your agent to configure your project through a conversation. On your first sprint, /think shows the full pipeline so you know what comes next.
If you want to see the workflow before installing into a real repo, use one of the sandbox examples above.
bin/analytics.sh --tokens # phase counts, security trends, token usage
bin/token-report.sh # token consumption per session and subagent
bin/token-report.sh --all # all projects with cost breakdown
bin/pattern-report.sh # recurring issues, risk accuracy, phase bottlenecks
bin/graduate.sh --status # graduation budget: rules per skill vs caps
bin/doctor.sh # know-how health: stale, unused, unvalidated solutions
bin/sprint-metrics.sh # git stats + cycle time per phase (used by /think --retro and /nano)
bin/about.sh # generate .nanostack/ABOUT.md (compact self-description for any agent)
bin/capture-learning.sh "..." # append a learning to the knowledge base
token-report.sh reads Claude Code's session logs and breaks down where tokens go. Cache-aware pricing (reads at 10%, creation at 125%). Flags runaway sessions and heavy subagents. Requires Claude Code; skips silently on other agents.
pattern-report.sh detects patterns across sprints: which findings keep recurring, whether predicted risks materialized, which phases take the longest, and how often solutions get reused.
doctor.sh checks know-how health: solutions referencing deleted files (stale), solutions never applied after 60 days (unused), solutions unvalidated after 90 days. Scores 0-10, reports issues, and --fix auto-removes stale entries. Run it periodically to keep the knowledge base clean.
Every sprint lifecycle event is logged to .nanostack/audit.log (JSONL, append-only): session init, phase start/complete with duration, artifact saves, solution creation, graduation. When a sprint goes wrong, the audit trail shows exactly what happened and when.
All rules live in guard/rules.json. Each rule has an ID, regex pattern, category, description and (for block rules) a safer alternative. Add your own:
{
"id": "G-100",
"pattern": "terraform destroy",
"category": "infra-destruction",
"description": "Destroy all Terraform-managed infrastructure",
"alternative": "terraform plan -destroy first to review what would be removed"
}
A stack is multiple custom skills wired together with a phase_graph so the conductor knows the dependency order. The compliance-release example proves the framework: three custom phases (/license-audit + /privacy-check + /release-readiness) compose into a release decision before /ship. ci/e2e-custom-stack-examples.sh walks the full new-user journey on a real /tmp project (scaffold, validate, save, resolve, journal, analytics, discard, conductor scheduling) and runs in the opt-in E2E workflow. 15 cells, 51 assertions.
Copy the stack starting point:
examples/custom-stack-template/compliance-release/
The stack's README walks through the install. The directory contract for any new stack is in reference/custom-stack-examples-technical-spec.md; the framework contract those skills inherit is in reference/custom-stack-contract.md.
A marketing team builds /audience and /campaign. A data team builds /explore and /model. A design team builds /wireframe and /usability. A compliance team builds /license-audit, /privacy-check, and /release-readiness. All compose with Nanostack's /think for ideation, /review for quality, and /ship for delivery.
Full walkthrough: EXTENDING.md.
Full control including skill rename, analytics, sprint journal and project setup.
git clone https://github.com/garagon/nanostack.git <path>
cd <path> && ./setup --host auto
Targets: claude, codex, cursor, opencode, gemini, auto.
gemini extensions install https://github.com/garagon/nanostack --consent
Quick fixes for the most common issues. For the full guide (Windows setup, proxy installs, stuck sprints, name conflicts, autopilot loops), see TROUBLESHOOTING.md.
Skills don't appear as slash commands. Restart your agent (Cursor and Codex need this; Claude Code does not). Re-run ./setup if symlinks broke.
jq: command not found when running scripts. Install jq: brew install jq (macOS) or apt install jq (Linux).
Port in use when running /qa browser tests. Find it: lsof -ti:3000. Kill it: kill $(lsof -ti:3000).
/conductor claim fails with BLOCKED. Dependencies not finished. Run conductor/bin/sprint.sh status to check.
Phase gate blocked my git commit. Complete /review, /security, /qa for the active sprint, or bypass with NANOSTACK_SKIP_GATE=1 git commit ... for non-sprint commits.
Skills seem outdated. Run /nano-update from Claude Code, or ~/.claude/skills/nanostack/bin/upgrade.sh from the terminal.
NanoStack是一个开源的AI工作流项目,提供极简的AI编码代理团队技能
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,NanoStack 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | nanostack |
| 原始描述 | 开源AI工作流:Minimal AI coding agent team skills for the full engineering workflow. 。⭐198 · Shell |
| Topics | ai-agentsai-codingclaude-codecode-reviewcodex |
| GitHub | https://github.com/garagon/nanostack |
| License | Apache-2.0 |
| 语言 | Shell |
收录时间:2026-05-28 · 更新时间:2026-05-28 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端