Token导航 LogoToken导航

Agent Skill · 研究检索

flowbook(flowbook 搜索)

flowbook 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

flowbook 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 69,522。

总安装 218周安装 9GitHub Stars 15下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:flowbook(flowbook 搜索)
来源仓库:https://github.com/epsilondelta-ai/flowbook
仓库路径:skills/flowbook
安装命令:
npx skills add https://github.com/epsilondelta-ai/flowbook --skill flowbook
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/epsilondelta-ai/flowbook --skill flowbook

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

flowbook 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于关键词搜索、任务场景匹配或来源线索筛选等研究检索场景。通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。

安装前需确认权限范围、维护状态及是否触发联网或文件操作。建议结合原始 README 和仓库路径进一步核验具体用法和功能边界。

来源仓库内路径:skills/flowbook

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/epsilondelta-ai/flowbook --skill flowbook;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

flowbook 怎么安装?

在终端执行 npx skills add https://github.com/epsilondelta-ai/flowbook --skill flowbook。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

flowbook 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

flowbook 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

flowbook 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

flowbook 用的人多吗?

公开数据是累计安装 218 次,近一周安装 9 次,下载 71 次,GitHub 15 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

flowbook 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
flowbook

flowbook 搜索 · 本页

21815接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

flowbook — Flowchart Documentation Generator

Analyze codebase logic → setup flowbook → generate .flow.md files → verify → build.

Execute ALL phases in order. Do NOT skip phases. Generate flows for ALL significant logic — not just a few.


Phase 1: Project Analysis

1.1 Check Flowbook Existence

Check if flowbook is already set up:

  • package.json has "flowbook" script → Already initialized, skip Phase 2
  • Otherwise → Proceed to Phase 2

1.2 Detect Package Manager

LockfilePM
bun.lock or bun.lockbbun
pnpm-lock.yamlpnpm
yarn.lockyarn
package-lock.jsonnpm

1.3 Detect Framework & Language

Read package.json dependencies:

DependencyFramework
nextNext.js
nuxtNuxt
@sveltejs/kitSvelteKit
svelte (no kit)Svelte
vue (no nuxt)Vue
@angular/coreAngular
express / fastify / hono / koaNode.js Backend
@nestjs/coreNestJS
react (no next)React
django / flask / fastapiPython Backend
springJava/Kotlin Backend
gin / echo / fiberGo Backend

Language detection:

  • tsconfig.json → TypeScript
  • *.go files → Go
  • *.py files → Python
  • *.java / *.kt files → Java/Kotlin
  • Otherwise → JavaScript

1.4 Detect Source Structure

Scan for actual source directories:

Frontend:

  • src/components/, src/pages/, src/views/, src/routes/
  • src/app/, app/, pages/, components/
  • src/store/, src/hooks/, src/composables/, src/lib/

Backend:

  • src/routes/, src/api/, src/controllers/, src/services/
  • src/middleware/, src/handlers/, src/resolvers/
  • routes/, api/, controllers/, services/

Shared:

  • src/utils/, src/helpers/, src/lib/
  • src/models/, src/schemas/, src/types/

Only include directories that actually exist.


Phase 2: Flowbook Setup

2.1 Initialize Flowbook

npx flowbook@latest init

This will:

  • Install flowbook as a devDependency
  • Add "flowbook" and "build-flowbook" scripts to package.json
  • Create flows/example.flow.md as a starter template
  • Add flowbook-static to .gitignore

2.2 Verify Setup

Check that:

  • package.json contains "flowbook": "flowbook dev" script
  • flowbook is in devDependencies
  • flows/ directory exists

2.3 Remove Example Flow

After verification, delete the example to replace with real flows:

rm flows/example.flow.md

Phase 3: Codebase Analysis & Flow Discovery

This is the most critical phase. Deeply analyze the codebase to identify all significant logic flows.

3.1 Flow Categories to Discover

Scan the codebase for these flow types. For EACH one found, plan a .flow.md file:

A. API / Route Flows
  • HTTP request → middleware chain → handler → response
  • REST endpoints (GET, POST, PUT, DELETE)
  • GraphQL resolvers (Query, Mutation)
  • WebSocket message flows
  • RPC handlers
B. Authentication & Authorization
  • Login / signup / logout flows
  • Token refresh / session management
  • OAuth flows (redirect → callback → token exchange)
  • Role-based access control (RBAC) decision trees
  • Password reset / email verification
C. Data Flows
  • CRUD operations (Create → Validate → Save → Respond)
  • Data pipeline / ETL (Extract → Transform → Load)
  • Form submission → validation → API call → state update
  • File upload → process → store → respond
  • Cache strategies (read-through, write-through, invalidation)
D. State Management
  • Global state flow (Redux, Zustand, Pinia, Vuex)
  • Action → Reducer → State → UI update cycle
  • Side effects (Sagas, Thunks, Effects)
  • Optimistic updates → rollback on failure
E. Business Logic
  • Order processing / checkout flow
  • Payment flow (initiate → process → confirm / refund)
  • Notification system (trigger → queue → send → track)
  • Scheduling / cron job flows
  • Approval workflows (submit → review → approve/reject)
F. Error Handling
  • Global error boundary flow
  • Retry strategies (exponential backoff)
  • Fallback / circuit breaker patterns
  • Error logging / monitoring pipeline
G. DevOps & Infrastructure
  • CI/CD pipeline stages
  • Deployment flow
  • Health check / monitoring flow
  • Database migration flow
H. Lifecycle & Initialization
  • App bootstrap / initialization sequence
  • Component lifecycle flows
  • Server startup → middleware registration → route binding → listen
  • Database connection → migration → seeding → ready

3.2 How to Analyze

For each source file:

  1. Read the file — understand its purpose
  2. Trace the flow — follow function calls, conditionals, async operations
  3. Identify decision points — if/else, switch, try/catch, early returns
  4. Map dependencies — what other modules/services does it call?
  5. Note error paths — what happens when things fail?

3.3 Flow Classification

For each discovered flow, determine:

FieldHow to Determine
titleClear, descriptive name (e.g., "User Login Flow")
categoryGroup by domain: Authentication, API, Data, State, Business, DevOps, etc.
tagsRelevant keywords for filtering
orderLower = more important. Core flows first.
descriptionOne-line summary of what the flow does

3.4 Skip Rules

Do NOT create flows for:

  • Trivial utility functions (formatDate, slugify, etc.)
  • Simple getters/setters with no logic
  • Type definitions / interfaces only
  • Test files
  • Config files (unless they represent a complex pipeline)
  • Files that already have corresponding .flow.md

Phase 4: Flow File Generation

4.1 File Placement

Place ALL flow files in the flows/ directory at project root:

flows/
├── auth-login.flow.md
├── auth-oauth.flow.md
├── api-user-crud.flow.md
├── data-order-processing.flow.md
├── state-cart-management.flow.md
└── devops-ci-pipeline.flow.md

Naming convention: {category}-{name}.flow.md (kebab-case)

4.2 Flow File Template

Every .flow.md file MUST follow this structure:

---
title: {Descriptive Title}
category: {Category Name}
tags: [{tag1}, {tag2}, {tag3}]
order: {number}
description: {One-line description}
---

flowchart TD A[Start] --> B{Decision} B -->|Yes| C[Action] B -->|No| D[Other Action] C --> E[End] D --> E

4.3 Mermaid Diagram Guidelines

Node Types
flowchart TD
    A[Regular Step]         %% Rectangle: action/process
    B{Decision Point}       %% Diamond: if/else, switch
    C([Start / End])        %% Stadium: entry/exit points
    D[(Database)]           %% Cylinder: DB operations
    E[[Sub-routine]]        %% Subroutine: function call
    F>Event / Signal]       %% Flag: async event, webhook
    G{{Validation}}         %% Hexagon: validation step
    H[/Input/]              %% Parallelogram: user input
    I[\Output\]             %% Reverse parallelogram: response
Label Quoting Rules (MANDATORY)

Node labels containing special characters MUST be wrapped in double quotes to prevent Mermaid parse errors.

Characters that REQUIRE quoting:

CharacterWhy it breaksUnquoted (BROKEN)Quoted (CORRECT)
()Conflicts with ([...]) stadium and (...) rounded shapesA([Agent run() Start])A(["Agent run() Start"])
{}Conflicts with {...} diamond shapeB{tokio::select!{}}B{"tokio::select!{}"}
[]Conflicts with [...] rectangle shapeC[arr[0] value]C["arr[0] value"]
::Interpreted as Mermaid class/namespace syntaxD[std::io::Error]D["std::io::Error"]
#Interpreted as Unicode escape or commentE[Issue #42]E["Issue #42"]
&Interpreted as HTML entity startF[A & B]F["A & B"]

Rule: When in doubt, quote it. Quoting a label that doesn't need it causes no harm. Unquoted special characters WILL break rendering.

Examples of correct quoting by node shape:

flowchart TD
    A(["fn main() entry"])         %% Stadium with parens
    B["process_data(input)"]       %% Rectangle with parens
    C{"is_valid(x)?"}              %% Diamond with parens
    D[["handle_error(err)"]]       %% Subroutine with parens
    E{{"validate(req)"}}           %% Hexagon with parens
    F["Config::new()"]             %% Rectangle with double colon

NEVER generate unquoted labels containing (), {}, [], ::, #, or &.

Edge Labels
flowchart TD
    A{Authenticated?} -->|Yes| B[Dashboard]
    A -->|No| C[Login Page]
    D[API Call] -->|200 OK| E[Process Data]
    D -->|4xx/5xx| F[Handle Error]
    G[Submit] -->|Valid| H[Save]
    G -->|Invalid| I[Show Errors]
Styling — Flow-Group Coloring

Color nodes by logical flow group, not by shape. Nodes on the same path or serving the same purpose share a color.

Step 1: Identify flow groups — Analyze the diagram and group nodes by semantic role:

  • Happy path / success flow
  • Error / failure / rejection path
  • Validation / guard checks
  • External service calls (API, third-party)
  • Data storage operations (DB read/write, cache)
  • User interaction points (input, redirect)
  • Each distinct branch from a decision point

Step 2: Assign colors using classDef + class — One classDef per group, then apply with class:

flowchart TD
    A([POST /api/login]) --> B{{"Validate Input"}}
    B -->|Invalid| C[\400 Bad Request/]
    B -->|Valid| D[(Find User)]
    D -->|Not Found| E[\401 Unauthorized/]
    D -->|Found| F{{Compare Password}}
    F -->|Mismatch| E
    F -->|Match| G[Generate Token]
    G --> H[(Save Token)]
    H --> I[\200 OK + Token/]

    classDef entry fill:#6366f1,stroke:#818cf8,color:#fff
    classDef validation fill:#f59e0b,stroke:#fbbf24,color:#000
    classDef success fill:#10b981,stroke:#34d399,color:#fff
    classDef error fill:#ef4444,stroke:#f87171,color:#fff
    classDef data fill:#3b82f6,stroke:#60a5fa,color:#fff

    class A entry
    class B,F validation
    class G,I success
    class C,E error
    class D,H data

Color palette (assign by flow group, not by shape):

GroupColorHexUse When
Entry/ExitIndigo#6366f1Start/end points of the flow
Success pathGreen#10b981Happy path, successful operations
Error pathRed#ef4444Failures, rejections, error responses
ValidationAmber#f59e0bGuards, checks, decision points that validate
Data opsBlue#3b82f6DB reads/writes, cache, storage
ExternalPurple#8b5cf6Third-party API calls, external services
User actionCyan#06b6d4User-facing interactions, redirects
ProcessingSlate#64748bInternal processing, transformation

Rules:

  • Nodes on the same logical path MUST share the same classDef
  • A decision node (diamond) gets the color of the flow group it guards (e.g., validation diamond → validation class)
  • If a node belongs to multiple paths, color it by its primary purpose
  • Use classDef + class (NOT individual style per node) — it's cleaner and groups are explicit
  • Keep to 3–5 color groups per diagram. Too many colors defeats the purpose
  • Uncolored nodes use the theme default — only color nodes that benefit from grouping
Subgraphs for Complex Flows

Use subgraphs to group related steps:

flowchart TD
    A([Request]) --> B

    subgraph Middleware
        B[Auth Check] --> C[Rate Limit] --> D[Parse Body]
    end

    D --> E

    subgraph Handler
        E[Validate Input] --> F{Valid?}
        F -->|Yes| G[Process]
        F -->|No| H[Return 400]
    end

    G --> I[(Save)]
    I --> J[\200 OK/]
    H --> K[\400 Error/]

4.4 Complexity Guidelines

  • Simple flows (3-8 nodes): Single linear or branching flow
  • Medium flows (8-15 nodes): Multiple branches, some subgraphs
  • Complex flows (15-25 nodes): Multiple subgraphs, parallel paths
  • Do NOT exceed 25 nodes per diagram — split into multiple flows instead

If a flow is too complex:

  1. Create a high-level overview flow
  2. Create detailed sub-flows for each section
  3. Reference sub-flows in the overview's description

4.5 Real-World Example

For a Next.js API route app/api/auth/login/route.ts:

---
title: User Login
category: Authentication
tags: [auth, login, jwt, api]
order: 1
description: POST /api/auth/login — validates credentials and returns JWT tokens
---

flowchart TD A([POST /api/auth/login]) --> B[/Parse Request Body/] B --> C{{"Validate Email & Password"}} C -->|Invalid| D[\400 Bad Request/] C -->|Valid| E[(Find User by Email)] E -->|Not Found| F[\401 Unauthorized/] E -->|Found| G{{Compare Password Hash}} G -->|Mismatch| F G -->|Match| H[Generate JWT Access Token] H --> I[Generate Refresh Token] I --> J[(Save Refresh Token)] J --> K[\200 OK + Tokens/]

classDef entry fill:#6366f1,stroke:#818cf8,color:#fff classDef validation fill:#f59e0b,stroke:#fbbf24,color:#000 classDef success fill:#10b981,stroke:#34d399,color:#fff classDef error fill:#ef4444,stroke:#f87171,color:#fff classDef data fill:#3b82f6,stroke:#60a5fa,color:#fff

class A entry class B,C,G validation class H,I,K success class D,F error class E,J data


Phase 5: Verification

5.1 Syntax Check

For each generated .flow.md file:

  1. Verify YAML frontmatter is valid (title, category present)
  2. Verify mermaid code block is properly fenced (mermaid)
  3. Verify mermaid syntax has no obvious errors (matched brackets, valid node IDs)
  4. Special Character Validation (CRITICAL): Scan ALL node labels for unquoted special characters:

- () inside any node shape → MUST be quoted: A(["label()"]) not A([label()]) - {} inside any node shape → MUST be quoted: A{"label{}"} not A{label{}} - [] inside any node shape → MUST be quoted: A["label[]"] not A[label[]] - :: anywhere in labels → MUST be quoted: A["std::io"] not A[std::io] - # anywhere in labels → MUST be quoted: A["Issue #1"] not A[Issue #1] - & anywhere in labels → MUST be quoted: A["A & B"] not A[A & B] - If ANY unquoted special characters are found, fix them BEFORE proceeding to build

  1. Verify all node IDs are unique within each diagram
  2. Verify subgraph labels don't contain special characters

5.2 Build Verification

npx flowbook build 2>&1

If build fails:

  • Read error output
  • Fix the issue (likely malformed mermaid syntax)
  • Retry until build succeeds

5.3 Visual Verification

Start dev server and verify rendering:

npx flowbook dev &
FB_PID=$!
sleep 3

If the playwright skill is available, load it and:

  1. Navigate to http://localhost:6200
  2. Wait for Flowbook UI to load
  3. Check sidebar — all flow categories should appear
  4. Click through each flow — verify diagrams render (no error messages)
  5. Screenshot any failures
kill $FB_PID 2>/dev/null

5.4 Fix-and-Retry Loop

If mermaid diagrams fail to render:

  1. Common issue: special characters in labels — wrap in quotes: A["Label with (parens)"]
  2. Common issue: reserved keywords — prefix with text: A[End Point] not A[End] alone as node content after using End as ID
  3. Re-run build verification
  4. Repeat until all diagrams render

Phase 6: Summary Report

Print a summary:

=== Flowbook Report ===
Framework: {detected framework}
Language: {detected language}

Flows generated: {N}
Categories:
  - Authentication: {N} flows
  - API: {N} flows
  - Data: {N} flows
  - State: {N} flows
  - Business Logic: {N} flows
  - DevOps: {N} flows

Files created:
  - flows/{filename}.flow.md — {title}
  - flows/{filename}.flow.md — {title}
  ...

Build: ✅ / ❌

Troubleshooting

Flowbook init fails

  • No package.json: Run npm init -y first
  • Permission error: Check write permissions on project directory

Mermaid syntax errors

  • Brackets: Every [, {, ( must be closed
  • Special characters in labels: Wrap in double quotes: A["User's Input"]
  • Parentheses in labels (MOST COMMON): A([run() Start]) → Parse error. Fix: A(["run() Start"])
  • Double colons in labels: A[std::io::Error] → Interpreted as class syntax. Fix: A["std::io::Error"]
  • Curly braces in labels: B{select!{}} → Conflicts with diamond shape. Fix: B{"select!{}"}
  • Square brackets in labels: C[arr[0]] → Conflicts with rectangle shape. Fix: C["arr[0]"]
  • Hash in labels: D[Issue #42] → Unicode escape. Fix: D["Issue #42"]
  • Ampersand in labels: E[A & B] → HTML entity. Fix: E["A & B"]
  • Arrow syntax: Use --> for solid, -.-> for dotted, ==> for thick
  • Node ID reuse: Each node ID must be unique per diagram. Reuse ID to reference same node.
  • Subgraph naming: Subgraph labels cannot contain special characters

Diagrams too complex

  • Split into overview + detail flows
  • Use subgraphs to group related logic
  • Keep each diagram under 25 nodes
  • Link related flows via description references

Build fails

  • Check mermaid version compatibility (flowbook uses Mermaid 11+)
  • Validate YAML frontmatter (no tabs, proper indentation)
  • Ensure code blocks use triple backticks with mermaid language tag

平台分布

Claude

33.84%
按下载量换算24

Codex

32.77%
按下载量换算23

Cursor

19.85%
按下载量换算14

Gemini CLI

9.5%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills