能力标签
NanoStack
⚙️
Agent工作流

NanoStack

基于 Shell · 无代码搭建完整 AI 自动化流程
英文名:nanostack
⭐ 198 Stars 🍴 14 Forks 💻 Shell 📄 Apache-2.0 🏷 AI 7.5分
7.5AI 综合评分
ai-agentsai-codingclaude-codecode-reviewcodex
✦ AI Skill Hub 推荐

AI Skill Hub 推荐使用:NanoStack 是一款优质的Agent工作流。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。

📚 深度解析

NanoStack 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

NanoStack 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 7.5 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

NanoStack 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 198
开发语言
Shell
支持平台
macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
Apache-2.0
AI 综合评分
7.5 分
工具类型
Agent工作流
Forks
14

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

NanoStack 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 克隆仓库
git clone https://github.com/garagon/nanostack
cd nanostack

# 查看安装说明
cat README.md

# 按 README 完成环境依赖安装后即可使用
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
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"
📑 README 深度解析 真实文档 完整度 71/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<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> &middot; <a href="#two-profiles-same-rigor">Profiles</a> &middot; <a href="#quick-start">Install</a> &middot; <a href="#the-sprint">The Sprint</a> &middot; <a href="#know-how">Know-how</a> &middot; <a href="#build-on-nanostack">Extend</a> &middot; <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/.

Requirements

  • macOS or Linux shell environment (Windows works with Git Bash or WSL)
  • bash
  • git
  • jq (brew install jq, apt install jq, or choco install jq)
  • One AI coding agent with a verified adapter: Claude Code, Cursor, OpenAI Codex, OpenCode, or Gemini CLI

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.

What changes after installing Nanostack

Without NanostackWith 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/.

Install

Project setup

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.

Build on nanostack

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.

Uninstall

```bash

Quick start

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.

Analytics, token usage and patterns

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.

Configurable rules

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"
}

Workflow stack

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.

Alternative: git clone (advanced)

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.

Alternative: Gemini CLI

gemini extensions install https://github.com/garagon/nanostack --consent

Troubleshooting

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.

🎯 aiskill88 AI 点评 A 级 2026-05-28

NanoStack是一个开源的AI工作流项目,提供极简的AI编码代理团队技能

⚡ 核心功能

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

参考项目文档和示例代码
💡 AI Skill Hub 点评

总体来看,NanoStack 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ Apache-2.0 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 NanoStack
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 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
🔗 原始来源
🐙 GitHub 仓库  https://github.com/garagon/nanostack 🌐 官方网站  https://nanostack.sh

收录时间:2026-05-28 · 更新时间:2026-05-28 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。