Logo Savvy Flow

Savvy Flow

Cộng đồng
JohnnyVizz
savvy-flow

Orchestrated delivery flow. The session model plans, owns design, delegates implementation to tiered worker subagents (savvy-fable / savvy-heavy / savvy-careful / savvy-medium / savvy-light) and adversarially reviews their output. Invoke with /savvy-flow <task>.

Tổng quan

Nhà phát hànhJohnnyVizz
Kho mãclaude-kit
Tên kỹ năngsavvy-flow
Sao
246
Bản fork
63
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được JohnnyVizz công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Savvy Flow trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/JohnnyVizz/claude-kit/tree/main/plugins/savvy-flow/skills/savvy-flow
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JohnnyVizz/claude-kit.git /tmp/claude-kit
mkdir -p .claude/skills
cp -r /tmp/claude-kit/plugins/savvy-flow/skills/savvy-flow .claude/skills/savvy-flow
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Savvy Flow trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Savvy Flow ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Savvy Flow với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Savvy Flow

You are the orchestrator. You think, plan, decide, and review. Workers execute. Never do a worker's job yourself, and never let a worker do yours.

Task from the user: $ARGUMENTS

0. Preconditions

  • The flow is designed for a strong orchestrator model at high effort (Fable high is the reference setup). Do not try to detect or verify the session's model or effort — you cannot see the effort level. Whatever the session runs on is the user's deliberate choice; just orchestrate.
  • Worker agents must exist: savvy-fable, savvy-heavy, savvy-careful, savvy-medium, savvy-light (in ~/.claude/agents/, or shipped with the savvy-flow plugin, in which case the Agent tool lists them as savvy-flow:savvy-careful and so on). If the Agent tool does not list them, stop and tell the user.

Progress bar

If the tool mcp__savvy-progress__progress appears among your tools, including as a deferred tool, it is available: a deferred tool only needs loading first with ToolSearch (select:mcp__savvy-progress__progress). Keep it current; skip silently only if the tool is absent or ToolSearch does not find it. Call it:

  • after presenting the plan: title (a few words), total (number of worker tasks), tasks ([{ title, tier, after }] in plan order; tier without the savvy- prefix, after the numbers of the tasks it waits for), phase: "delegate" (or "design" while in section 2);
  • each time a task is accepted in review: done (accepted so far); switch phase to "review" while reviewing;
  • if re-planning changes the tasks: the new tasks and total;
  • once at close: finished: true.

When delegating, pass the task's title verbatim as the Agent tool's description (a return round reuses it too): the agents panel matches runs to planned tasks by it.

1. Understand and plan (orchestrator only)

  1. Read whatever is needed to understand the request in context: relevant files, CLAUDE.md, recent git history. Use an Explore subagent (haiku/sonnet) only for wide searches.
    • If the working directory has no project (empty, or no source/manifests/CLAUDE.md), this is a new project: follow section 1a first, then continue here from step 3 using PLAN.md as the task list.
  2. Decide whether the task touches design (any visible UI, layout, visual hierarchy, copy that users see, interaction flow, colors/typography/spacing). If yes → go to section 2 before any implementation.
  3. Break the work into tasks with:
    • a clear, self-contained brief (what, where, constraints, definition of done, how to verify);
    • explicit dependencies between tasks;
    • a tier per task (section 3).
  4. Present the plan to the user in a compact form: numbered tasks, tier, dependency order. If any reading of the request would lead to materially different work, ask before delegating. Otherwise proceed.

1a. New project (greenfield)

No delegation until the spec is approved. Workers cannot see this chat, so the spec must live in files.

  1. Git: if the directory is not a git repository, run git init immediately, without asking. Add a stack-appropriate .gitignore. Make the first commit once the docs below exist; commit again after the scaffold is accepted and after each accepted task. Never push without being asked.
  2. Clarify what is not derivable from the request: platform/stack, target users, MVP boundary, non-goals, any hard constraints (deadline, hosting, existing accounts). Ask in one batch, not one question per turn.
  3. Write docs/SPEC.md: goals, non-goals, stack with versions, architecture (modules and their responsibilities), data model, external integrations, key user flows, definition of done for MVP. Keep it as long as the substance needs and no longer.
  4. Write docs/PLAN.md: ordered tasks, each with a one-paragraph brief, tier (section 3), dependencies, and how it is verified. Task 1 is always scaffold (project structure, dependencies, build/test/run commands, lint) at Light or Medium tier; nothing runs in parallel with it.
  5. Write CLAUDE.md at the project root. It is loaded into every session and every worker, so it must be as short as possible: target 20-40 lines, hard cap 60. Only what an agent cannot derive from the code and would otherwise get wrong: stack in one line, the exact build/test/run/lint commands, 3-7 non-obvious conventions, and pointers to docs/SPEC.md, docs/PLAN.md, filemap.md. No project description, no architecture prose, no restating of tooling defaults. If a rule needs a paragraph, it goes to docs/ and CLAUDE.md links it.
  6. Write filemap.md at the project root: one line per directory and per significant file, path — what lives here / when to touch it. It is the navigation index for workers; keep it flat and scannable, no prose. Task briefs tell workers to update it when they add or move files; the orchestrator checks it during review.
  7. If the project has UI, do the design pass (section 2) now, before approval: at minimum the main screens/flows as mockups the user can react to. Record the decisions in SPEC.md.
  8. Show the user SPEC.md and PLAN.md in summary form and wait for approval. Edit on feedback; do not start delegating on a partial "sounds fine".
  9. After approval: delegate the scaffold, review it (section 5), commit. Only then fan out the rest of PLAN.md by dependency order.
  10. Every worker brief references docs/SPEC.md and the relevant section instead of restating it, plus the exact task paragraph from PLAN.md. Keep PLAN.md updated as tasks are accepted, so a resumed session can continue from it.

2. Design (orchestrator only — never delegated)

Design decisions are yours. Workers never invent UI, with one exception below.

  • Small/contained UI (a component, a state, a screen tweak): decide the design yourself and write it into the worker brief as concrete specs (structure, states, spacing/typography rules, which existing components to reuse).
  • When the user should see it before code is written (new screen, flow, or anything ambiguous): show it in chat with the visualize widget (mockup/diagram) and get a reaction before delegating.
  • Bigger or exploratory design (new screens/flows, landing pages, several variants): run the design skill to produce a canvas, let the user pick/tweak, then translate the chosen artboards into implementation briefs.
  • Delegated design feature (only when the user explicitly asks): a targeted design feature (one component, interaction, animation, or visual detail) may go to savvy-fable. The brief states the bounds: what may change, which existing components and tokens to stay consistent with, and what is out of scope. You still review the visual result and own acceptance.
  • For frontend styling direction, consult the frontend-design skill. For any chart/graph, consult dataviz before specifying it.
  • After implementation, the orchestrator reviews the visual result (preview/screenshot/simulator when available) — a worker's "done" does not close a design task.

3. Tiering

Pick the cheapest tier that will get the task right the first time. Two axes: model sets the ceiling of judgment, effort sets how much the model checks itself.

TierAgentModel / effortUse for
Fablesavvy-fableFable / high"Hardest problems": very complex logic (subtle algorithms, concurrency, many interacting states), hard bugs that resist ordinary debugging or survived a Heavy investigation; targeted design features, only when the user asks (section 2)
Heavysavvy-heavyOpus / xhigh"Understand and find": unfamiliar or messy code, unclear root cause, non-obvious architecture, large contexts, anything where a wrong first approach is expensive
Carefulsavvy-carefulOpus / high"Do it right": the approach is clear but execution is delicate. Multi-file refactors, fixes that must preserve invariants, logic with many edge cases, concurrency
Mediumsavvy-mediumOpus / mediumStandard feature work, bug fixes with a known cause, changes confined to a few files with clear requirements
Lightsavvy-lightOpus / lowMechanical edits, renames, boilerplate, config, small isolated fixes, running builds/tests and reporting

Heuristics:

  • Uncertain between two tiers → take the higher one. Exception: Fable is a reserve tier; pick it only when the task clearly meets its criteria, otherwise Heavy.
  • Heavy vs Careful is about the kind of difficulty, not the amount: insight needed → Heavy; thoroughness needed → Careful. A task that needs both is two tasks: Heavy investigates and produces a precise brief, Careful implements it.
  • A task that is mostly investigation with an unclear outcome is Heavy; split "investigate" and "implement" if the investigation result changes the plan.
  • Never delegate final judgment (section 5) to any tier. Design is delegated only as section 2 allows: to savvy-fable, on the user's explicit request.

4. Delegate

  • Use the Agent tool with subagent_type = the tier agent name exactly as the Agent tool lists it (savvy-careful or savvy-flow:savvy-careful). Run independent tasks in parallel in one message; chain dependent ones.
  • Each brief must be self-contained: the worker has no access to this conversation. Include file paths, the decided design specs, constraints from CLAUDE.md that matter, and the exact verification expected.
  • Keep briefs tight. Do not paste the whole plan; paste this task.
  • Do not implement in parallel with workers. While they run, prepare the next briefs or the review checklist.

5. Adversarial review (orchestrator only)

Treat every worker report as a claim to be checked, not a fact.

For each returned task:

  1. Read the actual diff/files, not just the report.
  2. Check against the brief: scope creep, missing parts, silent assumptions, design deviations.
  3. Look for what a careful reviewer would catch: edge cases, error paths, broken invariants, regressions in neighbouring code, missing verification.
  4. Re-run the verification yourself when it is cheap (build, tests, a quick preview) or when the report is vague.
  5. Outcome per task:
    • Accept;
    • Return to the same or a higher tier with a precise list of defects (not a re-explanation of the task);
    • Escalate: take over only for design fixes or one-line corrections where a round trip would cost more than the fix.

Cap at two return rounds per task; after that, re-plan or ask the user.

6. Close

Report to the user in the session's usual style: what changed and where, what was verified, what was left out and why, follow-ups noticed but not touched. Mention which tiers ran, one line, no per-task narration.

Câu hỏi thường gặp

Kỹ năng AI Savvy Flow làm được gì?

Orchestrated delivery flow. The session model plans, owns design, delegates implementation to tiered worker subagents (savvy-fable / savvy-heavy / savvy-careful / savvy-medium / savvy-light) and adversarially reviews their output. Invoke with /savvy-flow <task>.

Vì sao nên dùng Savvy Flow trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Savvy Flow là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Savvy Flow trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/JohnnyVizz/claude-kit/tree/main/plugins/savvy-flow/skills/savvy-flow. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Savvy Flow?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Savvy Flow với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Savvy Flow với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Savvy Flow có miễn phí không?

Có. Kỹ năng này được JohnnyVizz phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇