AI Workbench
0%

AI Workbench

Claude Code 驱动的自动化办公工作区 | AI 岭南

Automated office workspace powered by Claude Code | AI Lingnan

v v v

概览Overview

AI Workbench 是 AI 岭南开源的基于 Claude Code 的自动化办公工作区。将待处理文档投入 inbox/,系统自动识别文件类型、路由到对应 Skill 处理,产出物自动归档并更新索引。

AI Workbench is an open-source automated office workspace by AI Lingnan, powered by Claude Code. Drop documents into inbox/, and the system automatically identifies the file type, routes it to the appropriate Skill for processing, archives the output, and updates all indexes.

项目架构图

项目架构:inbox 投递 → tasks 处理 → archive 归档,三层索引同步更新

Architecture: inbox drop-off → tasks processing → archive storage, three-tier index sync

快速上手Quick Start

1

Clone 项目Clone the Project

git clone https://github.com/ai-lingnan/ai-workbench.git
cd ai-workbench
2

初始化项目Initialize

在 Claude Code 中发送以下提示词:

Send this prompt to Claude Code:

阅读本项目的 README.md,然后初始化工作区。
Read the README.md of this project, then initialize the workspace.
3

了解项目Explore

告诉我这个项目能做什么、是如何运转的。
Tell me what this project can do and how it works.
就这么简单:两段提示词,Claude 替你完成所有配置工作。之后把任务文件夹丢进 inbox/ 就行了。
That's it: two prompts and Claude handles all the configuration. After that, just drop task folders into inbox/.

处理流程Workflow

一个任务走完全程就 5 步:投递文件、写便签定方案、选 Skill 处理、产出结果、更新索引提交 Git。你只参与前两步。

A task goes through 5 steps: drop files, write a task note, route to a Skill, produce output, update index & git commit. You only participate in the first two.

处理流程图

Skill 路由Routing

写便签时,你和 Claude 一起决定用哪个 Skill 处理。以下是文件类型与 Skill 的对应关系。

When writing the task note, you and Claude decide which Skill to use. Here's the mapping between file types and Skills.

Skill 路由表

自动化 LoopAutomation Loops

两个后台定时任务替你值班,全天候自动运转。

Two background scheduled tasks keep watch for you, running automatically around the clock.

Loop 自动化流程

目录结构Directory Structure

目录用途Git
inbox/待处理任务投递箱ignored
tasks/任务工作区ignored
reports/日报、周报ignored
daily/日级文件索引ignored
demo/示例任务tracked
templates/文档模板tracked
.claude/配置、规则、Skillstracked
changelog.md全局任务日志ignored
DirectoryPurposeGit
inbox/Task drop-off boxignored
tasks/Task workspaceignored
reports/Daily & weekly reportsignored
daily/Daily file indexignored
demo/Example taskstracked
templates/Document templatestracked
.claude/Config, rules, Skillstracked
changelog.mdGlobal task logignored

索引体系Index System

索引粒度内容
changelog.md任务级时间、任务名、源文件、产出物
daily/*.md日级当日处理的所有文件清单
README.md目录级该目录下条目的摘要索引
IndexGranularityContent
changelog.mdTask-levelTime, task name, source files, output
daily/*.mdDay-levelAll files processed that day
README.mdDirectory-levelSummary index of entries

处理流程详情Workflow Details

投递任务Drop a Task

将任务文件夹放入 inbox/,每个文件夹 = 一个任务,可包含多个源文件。

Place task folders into inbox/. Each folder = one task, and can contain multiple source files.

inbox/
├── Q1分析/
│   ├── data.xlsx
│   └── template.docx
└── 会议纪要/
    └── recording.pdf
inbox/
├── Q1-Analysis/
│   ├── data.xlsx
│   └── template.docx
└── Meeting-Notes/
    └── recording.pdf

生成便签Generate a Task Note

告诉 Claude 你的处理意图,它会生成 task.md 便签,记录需求和处理方案。

Tell Claude what you want done. It generates a task.md note documenting the requirements and processing plan.

## 需求
按模板生成 Q1 数据分析报告
## 处理方案
- Skill: minimax-xlsx
- 步骤: 读取 → 分析 → 输出
## Requirements
Generate Q1 data analysis report using the template
## Plan
- Skill: minimax-xlsx
- Steps: Read → Analyze → Output

PDF 三选一Three Options

场景Skill说明
PDF → Markdownmineru提取文本内容
合并/拆分/提取pdf处理现有 PDF
生成高品质 PDFminimax-pdf设计级输出
ScenarioSkillDescription
PDF → MarkdownmineruExtract text content
Merge/Split/ExtractpdfManipulate existing PDFs
Generate high-quality PDFminimax-pdfDesign-grade output

Loop 详情Details

inbox-monitor 每 20 分钟

  • 扫描 inbox/ 下的子文件夹
  • task.md 的文件夹进入处理
  • 移入 tasks/ 并重命名
  • 路由到 Skill 处理
  • 更新索引 + git commit

inbox-monitor Every 20 min

  • Scans inbox/ for subfolders
  • Folders with task.md enter processing
  • Moved into tasks/ and renamed
  • Routed to the appropriate Skill
  • Indexes updated + git commit

daily-routine 每 24 小时

  • 读取当天 changelog 和 git log
  • 生成日报(含复盘章节)
  • 周五额外生成周报
  • 保存到 reports/
  • 更新 README 索引

daily-routine Every 24 hours

  • Reads the day's changelog and git log
  • Generates a daily report (with retrospective)
  • On Fridays, also generates a weekly report
  • Saved to reports/
  • Updates README index