AI Skill Hub 强烈推荐:Sober 工作流 是一款优质的Agent工作流。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
Sober 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Sober 工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/move-hoon/sober cd sober # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 sober --help # 基本运行 sober [options] <input> # 详细使用说明请查阅文档 # https://github.com/move-hoon/sober
# sober 配置说明 # 查看配置选项 sober --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SOBER_CONFIG="/path/to/config.yml"
---
Language / 언어
</div>
---
Keep your AI coding agent calm, constrained, and evidence-driven.
Sober is a local control harness for Claude Code and Codex CLI. It keeps agents from over-reading, over-editing, and claiming “done” without proof by making them follow a simple working loop:
locate facts → read only what matters → make the smallest safe change → verify → leave a handoff
At the center is one shared AGENTS.md: the workflow contract both runtimes follow.
Your existing config is preserved. Sober only adds or refreshes its managed blocks, symlinks, hooks, and rules. Uninstall removes only Sober-owned files.
Use Sober as the default control layer, then add your own commands, subagents, MCP tools, and project-specific rules on top.
---
---
Sober operates within two distinct, decoupled scopes:
~/) — created by sober setup or sober install~/.sober: Canonical source of truth for Sober policies, hooks, and skills.~/.claude & ~/.codex: Configuration and rules safely merged with your existing runtime settings../) — created by sober template[project]/AGENTS.md: The project-specific policy spine governing the agent.[project]/HANDOFF.md: Local session memory ensuring seamless task handoffs between invocations.---
/measure after ```
Key metrics to watch:
If any metric gets worse, roll back.
---
┌──────────────────────────────────────────────────────────────┐
│ Sober │
│ shared home: ~/.sober │
│ │
│ ┌──────────────┬──────────────┬────────────────────────┐ │
│ │ AGENTS.md │ skills/ │ scripts/ │ │
│ │ shared rules │ tool habits │ safety + handoff hooks │ │
│ └──────────────┴──────────────┴────────────────────────┘ │
│ ↓ ↓ ↓ │
│ Claude Code Codex CLI project template │
│ ~/.claude ~/.codex AGENTS/HANDOFF │
│ ↓ ↓ ↓ │
│ merged settings hooks + rules local overrides │
└──────────────────────────────────────────────────────────────┘
```text ~/.sober/AGENTS.md # shared policy source ~/.sober/commands/.md # Sober-owned Claude slash commands ~/.sober/rules/.md # Sober-owned Claude rules ~/.sober/skills/<skill>/SKILL.md # one copy of each skill ~/.sober/scripts/ # local hook and verification scripts ~/.sober/codex-rules/*.rules # installed copy of .sober/codex/rules
Sober works without these tools. Some of them reduce files read, output volume, or retry loops for specific tasks.
sober setup interactively offers the core search/edit toolkit — ripgrep, ast-grep, Probe — plus Context7 setup.
Conditional tools such as GitNexus, Serena, and mgrep are reported by sober doctor and should be added manually only when they pay for themselves.
These tools pay off in most projects. They make Sober's default loop — search, minimal edit, verify, brief report — cheaper and more reliable.
| Tool | Sober role | Trigger |
|---|---|---|
ripgrep | Locate exact text fast | Known symbol, keyword, or regex |
ast-grep | Apply mechanical rewrites | Repeated code-shape changes |
| Probe | Find structural code candidates | Definitions, call sites, code patterns |
Establish calm working habits for your AI agent in three simple steps.
#### Step 1: Global Installation & Setup Choose the installation path that best fits your development environment:
##### Option A: Interactive Installer (Highly Recommended for First-Time Setup) Deploys Sober rules/hooks and interactively checks/guides you through installing optional deterministic tools (jq, ripgrep, ast-grep, Probe, and Context7).
npm install -g getsober@latest
sober setup
##### Option B: Core Configuration Only (Silent Update) Only deploys Sober's core policy and skill files to ~/.sober and links them to the AI runtimes. (Best for updates or if you already have the required tools installed).
npm install -g getsober@latest
sober install
---
#### Step 2: Project Integration Navigate to your project root and generate the local policy contract (AGENTS.md) and session memory (HANDOFF.md).
cd your-project
sober template . # Generates local agent contract & handoff templates
claude # or: codex (run your agent as usual)
[!TIP] Prompt your agent with clear, scoped requests to see Sober in action:> Fix the login timeout bug. > Find the right lines first, make the smallest safe change, and verify with tests. >
---
#### Step 3: Diagnostics & Maintenance Use these commands to diagnose the toolchain status or safely remove configurations:
- Run Diagnostics: Checks the status of hooks, skills, dependencies, and optional tools.
sober doctor
- Safe Uninstall: Removes Sober-owned symlinks, managed hook entries, and the ~/.sober directory, leaving your own runtime configurations in place. sober uninstall
---
| Symptom | Fix |
|---|---|
| Agent says a hook is missing | sober doctor, then sober install |
| Search tool not found | Keep working, or run sober setup to install it |
| Verification runs wrong stack | ~/.sober/scripts/verify.sh --path <subdir> |
| Tool failures repeat | /analyze-failures (Claude) or run script (Codex), then re-plan |
| Output too long | Ask: "Show only result, diff, and file:line" |
---
Sober工作流是一个高质量的开源AI工作流项目,值得关注和使用
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Sober 工作流 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | sober |
| Topics | ai-agentsclaude-codecodexdeveloper-tools |
| GitHub | https://github.com/move-hoon/sober |
| License | MIT |
| 语言 | Shell |
收录时间:2026-06-07 · 更新时间:2026-06-07 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端