能力标签
AI工作流
⚙️
Agent工作流

AI工作流

基于 TypeScript · 无代码搭建完整 AI 自动化流程
英文名:tbd
⭐ 59 Stars 🍴 5 Forks 💻 TypeScript 📄 MIT 🏷 AI 7.5分
7.5AI 综合评分
AI工作流TypeScript
✦ AI Skill Hub 推荐

AI工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

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

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

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

📋 工具概览

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

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

📖 中文文档

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

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

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

# 方式二:npx 直接运行(无需安装)
npx tbd --help

# 方式三:项目依赖安装
npm install tbd

# 方式四:从源码运行
git clone https://github.com/jlevy/tbd
cd tbd
npm install
npm start
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
tbd --help

# 基本用法
tbd [options] <input>

# Node.js 代码中使用
const tbd = require('tbd');

const result = await tbd.run(options);
console.log(result);
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# tbd 配置说明
# 查看配置选项
tbd --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export TBD_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 83/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

tbd

Follow @ojoshe on X CI npm version

Task tracking, spec-driven planning, and knowledge injection for AI coding agents.

tbd (short for “To Be Done,” or “TypeScript beads” if you prefer) combines four things that are each powerful on their own but work even better together:

1. Task tracking (beads): Agent-friendly, CLI-native issue tracking for bugs, features, epics, and dependencies that persist across sessions in git. This alone is a step change in what agents can do. Beads are fantastic and unreasonably effective at scaling an agent’s capacity from ~5-10 ad-hoc tasks to hundreds of structured beads. 2. Spec-driven planning: Templates and workflows for writing specs, breaking them into beads, and implementing systematically. With a good spec and beads, you can leave an agent running overnight and come back to solid code. 3. Knowledge injection: Instant availability of in-depth engineering guidelines and rules docs. These are essentially “self-injected context” for an agent to get smarter when it needs it. 4. Shortcuts: Reusable instructions for common tasks like code review, PR creation, and writing planning specs, architecture docs, and research briefs.

tbd comes pre-installed with in-depth guidelines docs on many topics, including TypeScript and Python best practices and common agent pitfalls, red-green TDD, golden testing, Convex, monorepo project setup, error handling practices, and backward compatibility rules. (But you can use your own guidelines if you prefer.)

I use tbd most frequently in Claude Code since it’s most powerful as a skill, but it will work in Cursor, Codex, or any agent environment that can use the tbd CLI.

Features

[!NOTE] For full technical details, see the reference docs (run tbd docs) or the full design doc (tbd design).

- Git-native: Beads live in your repo, synced to a separate, dedicated tbd-sync branch. Your code history stays clean—no bead churn polluting your logs. - Agent friendly: JSON output, simple commands that agents understand. Installs itself as a skill in Claude Code. - Markdown + YAML frontmatter: One file per bead, human-readable and editable. This eliminates most merge conflicts. - Beads alternative: Largely compatible with bd at the CLI level, but with a simpler architecture: no JSONL merge conflicts, no daemon modifying your working tree, no SQLite file locking on network filesystems (see FAQ: How does tbd compare to Beads?). - Shortcuts: Over a dozen reusable workflow documents—plan specs, code reviews, commit processes, PR creation, research briefs, and more. - Guidelines: 20+ guideline docs of coding rules and best practices (see Built-in Engineering Knowledge). - Templates: Document templates for planning specs, research briefs, architecture docs.

Dependencies and Labels

tbd dep add proj-b3m9 proj-a7k2        # b3m9 depends on a7k2
tbd blocked                            # Show blocked beads
tbd label add proj-a7k2 urgent backend
tbd label remove proj-a7k2 urgent
tbd label list                         # All labels in use
tbd search "authentication"            # Search beads

Installation and Setup

Requirements: - Node.js 20+ - Git 2.42+ (for orphan worktree support)

npm install -g get-tbd@latest

Setup

```bash

Team Setup

tbd is designed for teams where one person sets up the project and others join later.

First contributor:

npm install -g get-tbd@latest
tbd setup --auto --prefix=proj   # Short alphabetic prefix for issue IDs
git add .tbd/ .claude/ && git commit -m "Initialize tbd"
git push

Joining contributors:

git clone <repo>
npm install -g get-tbd@latest
tbd setup --auto                    # No --prefix needed—reads existing config

Quick Start

[!TIP] If running on your own machine, install the tbd CLI yourself: npm install -g get-tbd@latest Then tell your agent: “run tbd for instructions to set up this project” If running on a fresh cloud instance (like Claude Code Cloud), tell the agent: “install tbd (npm install -g get-tbd@latest) and run tbd prime for instructions to set up this project”

That’s it. Running tbd prime gives agents full workflow context on how to use tbd and how to help you. It will then bootstrap a SKILL.md into your project by running tbd setup --auto (which will add a .tbd directory and add itself to your .claude skills and hooks). And then it will use shortcuts to welcome you and get you started.

Running tbd with no arguments shows help with a prominent reminder for agents to run tbd prime.

You can then always ask questions like: “what can I do with tbd?”

How to Use `tbd`

You talk to your agent in natural language. The agent translates your requests into tbd commands.

The tbd CLI blends task tracking and context injection. Some tbd commands do things, like create or update beads, and some help the agent get status or context or knowledge and know what to do next:

What you sayWhat happensWhat runs
“Let’s plan a new feature that …”Agent creates a spec from a template[tbd shortcut new-plan-spec](packages/tbd/docs/shortcuts/standard/new-plan-spec.md)
“Break this spec into beads”Agent creates implementation beads from the spec[tbd shortcut plan-implementation-with-beads](packages/tbd/docs/shortcuts/standard/plan-implementation-with-beads.md)
“Implement these beads”Agent works through beads systematically[tbd shortcut implement-beads](packages/tbd/docs/shortcuts/standard/implement-beads.md)
“Create a bead for the bug where …”Agent creates and tracks a beadtbd create "..." --type=bug
“Let’s work on current beads”Agent finds ready beads and starts workingtbd ready
“Review this code”Agent performs comprehensive code review with all guidelines[tbd shortcut review-code](packages/tbd/docs/shortcuts/standard/review-code.md)
“Review this PR”Agent reviews a GitHub pull request and can comment/fix[tbd shortcut review-github-pr](packages/tbd/docs/shortcuts/standard/review-github-pr.md)
“Use the shortcut to commit”Agent runs full pre-commit checks, code review, and commits[tbd shortcut code-review-and-commit](packages/tbd/docs/shortcuts/standard/code-review-and-commit.md)
“Create a PR”Agent creates or updates the pull request[tbd shortcut create-or-update-pr-simple](packages/tbd/docs/shortcuts/standard/create-or-update-pr-simple.md)
“Let’s create a research brief on …”Agent creates a research document using a template[tbd shortcut new-research-brief](packages/tbd/docs/shortcuts/standard/new-research-brief.md)
“How could we test this better?”Agent loads TDD and testing guidelines[tbd guidelines general-tdd-guidelines](packages/tbd/docs/guidelines/general-tdd-guidelines.md)
“How can we make this a well-designed TypeScript CLI?”Agent loads TypeScript CLI guidelines[tbd guidelines typescript-cli-tool-rules](packages/tbd/docs/guidelines/typescript-cli-tool-rules.md)
“Can you review if this TypeScript package setup follows best practices”Agent loads monorepo patterns[tbd guidelines pnpm-monorepo-patterns](packages/tbd/docs/guidelines/pnpm-monorepo-patterns.md)
“How can we do a better job of testing?”Agent loads golden testing guidelines[tbd guidelines golden-testing-guidelines](packages/tbd/docs/guidelines/golden-testing-guidelines.md)

Under the hood, your agent runs these tbd commands automatically. You just talk naturally.

Shortcuts, Guidelines, and Templates

tbd bundles three types of documentation your agent can invoke on demand:

```bash

Guidelines—coding rules and best practices

tbd guidelines --list # List all guidelines tbd guidelines typescript-rules # Get TypeScript rules

Can I add my own guidelines?

Yes. tbd comes with 20+ bundled guidelines, but you can add your own team’s docs from any URL:

tbd guidelines --add=<url> --name=my-team-rules
tbd shortcut --add=<url> --name=my-team-workflow
tbd template --add=<url> --name=my-team-template

You can also configure which docs are available in .tbd/config.yml. I put my favorite guidelines and shortcuts in by default, but you’re not locked into using them.

Joining an existing tbd project (no prefix needed—reads existing config)

tbd setup --auto

Claude Code Integration

tbd setup --auto configures SessionStart hooks that run at the beginning of each Claude Code session:

  • tbd prime—injects workflow context so the agent knows how to use tbd
  • ensure-gh-cli.sh—installs the GitHub CLI (gh) if not already available

GitHub authentication: For gh to work, set these environment variables before starting your agent session:

GH_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GH_PROMPT_DISABLED=1

Create a Personal Access Token (fine-grained recommended) with Contents and Pull requests read/write permissions. For Claude Code Cloud, set these in your project’s environment variables. For local CLI usage, add them to your shell profile (~/.zshrc or ~/.bashrc). See the setup-github-cli shortcut for details.

To disable automatic gh installation, pass --no-gh-cli during setup or set use_gh_cli: false in .tbd/config.yml under settings:.

Shortcuts—workflow instructions

tbd shortcut --list # List all shortcuts tbd shortcut new-plan-spec # Get the plan spec workflow

How does `tbd` compare to Beads?

tbd was inspired by Beads by Steve Yegge, and I’m grateful for the idea—it genuinely changed how I work with agents. If you’re not familiar with Beads, the core insight is that git-native issue tracking raises an agent’s capacity for structured work from ~5-10 to-do items to hundreds of beads.

tbd builds on that foundation with a simpler architecture: plain Markdown files instead of JSONL, no daemon, no SQLite, no 4-way sync. This avoids the edge cases I ran into with network filesystems (Claude Code Cloud), merge conflicts, and multi-agent workflows.

If you already use Beads, tbd setup --from-beads migrates you to tbd. This imports and sets up your .tbd directory and preserves the IDs of all issues.

Scope: tbd focuses on the durable layer—issue tracking, specs, and knowledge that persist across sessions and live in git. It does not aim to solve real-time multi-agent coordination, which is a separate problem requiring sub-second messaging and atomic claims. Tools like Agent Mail and Gas Town address that space and are complementary to tbd—you could layer real-time coordination on top of tbd’s durable tracking. See the design doc for a detailed comparison.

FAQ

🇨🇳 中文文档镜像 AI 翻译 2026-05-30
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

tbd 是一个集任务追踪、规格驱动规划(spec-driven planning)与知识管理于一体的工具。它旨在通过结构化的方式,帮助开发者和 AI Agent 在项目开发过程中保持目标一致性,确保任务执行与设计文档同步。

⚡ 功能介绍

tbd 具有原生 Git 支持,所有的任务记录(Beads)都存储在仓库中,并通过独立的 `tbd-sync` 分支进行同步,确保主代码提交历史的整洁。同时,它对 AI Agent 非常友好,提供 JSON 格式的输出和简洁的命令行指令,方便 Agent 理解上下文并执行任务。

📋 环境依赖

在使用 tbd 进行依赖管理和标签操作时,请确保已安装相关依赖。你可以使用 `tbd dep add` 管理项目间的依赖关系,通过 `tbd label` 进行标签的添加与移除,并利用 `tbd search` 功能在 Beads 中快速检索特定内容(如 authentication)。

🛠 安装步骤(Docker/pip/源码)

安装 tbd 非常简单。首先,确保你的环境满足 Node.js 20+ 和 Git 2.42+(需支持 orphan worktree)的要求。随后,通过 npm 全局安装最新版本:`npm install -g get-tbd@latest`。对于团队协作,首位贡献者需使用 `--prefix` 参数进行初始化设置,后续成员只需运行 `tbd setup --auto` 即可加入项目。

🚀 使用教程

tbd 的核心理念是让开发者通过自然语言与 AI Agent 进行交互。Agent 会将你的需求转化为 `tbd` 命令。你可以直接对 Agent 说“让我们规划一个新功能”,Agent 会自动调用 `tbd` 来创建或更新 Beads,实现任务追踪与上下文注入的无缝结合。在云端环境(如 Claude Code Cloud)使用时,请先安装 tbd 并运行 `tbd prime`。

⚙️ 配置说明(含 MCP / env)

tbd 提供了丰富的文档包,包括快捷方式(Shortcuts)、指南(Guidelines)和模板(Templates),Agent 可以根据需要按需调用。通过 `tbd shortcut` 命令,你可以查看所有可用的工作流指令,例如 `new-plan-spec`,从而实现标准化的开发流程。

🔄 工作流/模块

tbd 与 Claude Code 深度集成。通过 `tbd setup --auto`,系统会在每次 Claude Code 会话开始时配置 SessionStart 钩子:运行 `tbd prime` 以注入工作流上下文,让 Agent 掌握如何使用 tbd;同时通过 `ensure-gh-cli.sh` 自动检查并安装 GitHub CLI (`gh`),确保 Agent 具备完整的操作能力。

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

高质量的AI工作流项目,值得关注

📚 实用指南(长尾问题)
适合谁
  • 需要 tbd 解决具体问题的开发者与运营人员
最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
tbd 中文教程tbd 安装报错怎么办tbd 与同类工具对比tbd 最佳实践tbd 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要 tbd 解决具体问题的开发者与运营人员
⭐ 最佳实践
  • 先在测试环境跑通最小用例,再接入生产数据
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)

👥 适合人群

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

🎯 使用场景

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

⚖️ 优点与不足

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

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

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

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

tbd 是一款TypeScript开发的AI辅助工具。开源AI工作流:Beads, planning, and knowledge injection for AI coding agents。⭐59 · TypeScript 主要应用场景包括:AI编码代理工作流。
💡 AI Skill Hub 点评

经综合评估,AI工作流 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

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

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

📚 深入学习 AI工作流
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 tbd
原始描述 开源AI工作流:Beads, planning, and knowledge injection for AI coding agents。⭐59 · TypeScript
Topics AI工作流TypeScript
GitHub https://github.com/jlevy/tbd
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/jlevy/tbd

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