quickflow

作者 xzhang17已验证

Speed-first, single-session workflow skill for AI coding agents (omp, Pi agent, Codex, Claude Code, …): writes/freezes a workflow, inspects, asks at most once, edits, validates, and reports. No delegation. Skill + installer.

0
Stars
0
Forks
Shell
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/xzhang17/quickflow

快速入门

使用 quickflow 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

English | 简体中文

Quick Flow

A speed-first, single-session workflow skill for AI coding agents — omp (Oh My Pi), Pi agent, Codex, Claude Code, and other modern AI coding agents.

Quick Flow makes the agent you are already talking to carry one bounded job from start to finish — plan, inspect, edit, verify, report — entirely in the foreground. What it keeps from heavier workflows is the discipline: a written plan frozen before the agent looks at your files, at most one question to you per run, an explicit acceptance check for every change, and validation before "done."

Version 5.4.0 · License MIT

Its heavyweight sibling, Agents Flow, splits large or risky jobs across a reviewed multi-agent team. See Quick Flow vs Agents Flow.


Table of contents

Why Quick Flow

For a small, well-defined job — a bug fix, a modest feature, a document tweak, a "why is this failing?" — a team of agents is overhead. But "just do it" without structure invites a different failure: the agent drifts from the request halfway through, edits things it shouldn't, or declares success without evidence.

Quick Flow is the middle path. One agent, one visible session, but bound by a contract:

  1. Plan first, frozen. Before touching your files, the agent writes a compact workflow record — goal, allowed inputs, selected task profiles, requirements, validation expectations — validates it mechanically, and freezes it. The plan cannot drift mid-run, and every run starts from a fresh record (old ones are never reused or rewritten).
  2. Proportional everything. It inspects only what the job needs, asks you at most one consolidated set of questions (usually none), and runs the narrowest check that actually proves the result.
  3. Read-only means read-only. Questions and diagnoses never modify your project — not even the workflow record is stored inside it.

Everything happens live in your session; your host shows every tool call, and you can interrupt at any time.

Quick Flow vs Agents Flow

Quick FlowAgents Flow
Topologyone agent, entirely in your live sessioncoordinator + planner + reviewer + editor + specialists
Best forsmall, bounded, well-defined jobsmulti-file, risky, or judgment-heavy jobs
Independent reviewnone — the same agent plans, edits, and validatesmandatory for scripts, risk-gated for batch edits
Speedfastslower, more thorough
Installthis one skill folderskill folder + six agent definitions

The two are deliberately kept apart: if your request also demands parallelism, delegation, or sub-agents, Quick Flow stops before authoring anything and asks (via the structured Ask UI) whether you want foreground-only Quick Flow or Agents Flow instead.

How a run works

flowchart TD
    A[Invoke quickflow] --> B[Author one fresh workflow record<br/>validate mechanically, write, freeze]
    B --> C[Load only the selected profiles' rules]
    C --> D[Proportional inspection:<br/>just enough of workspace files]
    D --> E{"Material decision<br/>(questionnaire) needed?"}
    E -->|yes| F[One structured Ask UI packet,<br/>at most 3 decisions]
    E -->|no| G
    F --> G[Form one compact checklist:<br/>files + change + acceptance check]
    G --> H{Mutating intent?}
    H -->|yes| I[Edit directly]
    H -->|inquiry / diagnosis| J[Look only — zero edits]
    I --> K[Validate: narrowest sufficient<br/>project-native evidence]
    J --> K
    K --> M[Final report]

Step by step:

  1. Author and freeze. From your prompt alone — before reading any target file — the agent renders the workflow template, mechanically validates it (no unfilled slots, exact version stamps, coherent profile selection), writes it to disk, and freezes it as the binding contract for the run.
  2. Inspect. It reads just enough of the project to locate the work, resolve discoverable facts, and confirm the selected profiles actually fit what it found. A mismatch it cannot safely cover ends in a terminal safety stop, not improvisation.
  3. Ask once, if at all. Genuine user judgments — never discoverable facts, never "approve my plan" — are consolidated into a single structured Ask UI submission of at most three decisions, each with bounded, evidence-grounded options.
  4. Checklist. One compact internal checklist ties every change (or every answer, for read-only work) to a focused observable acceptance check. After editing begins, committed checks can be strengthened but never silently weakened.
  5. Edit — only for mutating intents. Inquiry and diagnosis runs are strictly read-only.
  6. Validate, clean up, report. The narrowest project-native evidence proves each committed check; eligible LaTeX work gets its bounded cleanup; and the run ends with one direct final report. The only mid-run messages you can receive are the single Ask UI packet, a safety stop, or a notice before an operation expected to exceed 90 seconds.

The frozen workflow record

Every invocation writes exactly one new record, and its location encodes the read-only contract:

  • Mutating, project-backed work.quickflow/QUICK_WORKFLOW.md inside your project (collision-free suffixes like QUICK_WORKFLOW_<task-slug>.md when needed).
  • Inquiry, diagnosis, or no writable project root → a project-external records root, resolved automatically for your host: its session store when it has one (omp's local://quickflow), else ~/.quickflow in your home directory, else the OS temp directory. Asking a question never dirties your repository — and on a fully sandboxed host where even those locations are unwritable, a read-only run simply continues on its validated in-memory contract and notes a process warning in the report.

Each record carries exact stamps — Quick Flow skill: 5.4.0, Workflow schema: 6, Profile schema: 4 — and separates what you said (requirements) from what must be discovered by inspection ("Facts for QUICK to discover"). Records are immutable snapshots: never overwritten, never reused as input for a later run, never migrated across versions. Later bounded decisions are recorded in the final report, not by editing the record. The only sanctioned re-read is recovery: if the host compacts the session mid-run and the frozen in-memory contract is lost, the agent may re-read this run's own saved record once and continue bound to it.

Task profiles

For each kind of work, Quick Flow follows a composable rulebook, called a profile (full definitions in skills/quickflow/references/profiles.md). Profiles come in four groups:

  • Intent — what you asked for: inquiry, diagnosis, repair, feature implementation, refactor, optimization, translation, formatting, conversion. Exactly one is primary; the read-only intents (inquiry, diagnosis) never mix with mutating ones.
  • Artifact — what is being touched: code, web UI, configuration/data, LaTeX documents, generic documents, generic files.
  • Evidence — optional overlays defining proof: build/test, visual/browser/PDF, source-reference.
  • Fallbackgeneric-fallback, when no artifact profile clearly applies; first inspection resolves it into exactly one specific artifact profile.

Profiles decide what "finished" and "properly checked" mean: a LaTeX change must compile with the project's native pipeline, a web-page change must be exercised in a real browser, a refactor must demonstrably preserve behavior at its interfaces. The profile set selected at authoring time is frozen with the record; the agent may mark an obligation inapplicable only before editing, only with observed evidence, and must disclose it in the final report.

Decisions: one reply, at most

A run waits for at most one user reply, through one of two mutually exclusive channels:

  • one structured Ask UI submission with up to three evidence-grounded decisions (bounded options, recommendation included), or
  • one resumable safety stop, when something genuinely blocks continuation.

Zero questions is the preferred and common case. The agent never asks about discoverable facts, implementation preferences, or checklist approval. A newly discovered non-destructive target clearly implied by your original request may be added and disclosed in the report; genuine scope expansion triggers the safety-stop rules instead of silent growth.

Validation and cleanup

Validation is proportional: semantically equivalent obligations across profiles collapse into a single check, and the narrowest project-native evidence that proves the result is the one that runs. Repairs are re-reproduced when practical; changed UI is exercised in the browser; task-relevant LaTeX is compiled with focused page and diagnostic inspection. Exhaustive comparisons, full test suites, formatters, and linters run only when the prompt or the changed interface requires them. A committed check that cannot run is reported failed or blocked — never dropped, and never "fixed" by editing unrelated source until it passes.

The only automatic cleanup is deliberately narrow: after every committed check passes for a mutating LaTeX job, the agent resolves the actual build directory and removes, non-recursively, the regular files directly in it whose extension is a known LaTeX intermediate (.aux, .bbl, .bcf, .blg, .fls, .fdb_latexmk, .log, .out, .run.xml, .synctex.gz, .toc, and the rest of the generated set). It never removes .pdf, source, figure, or asset files, never recurses, and never runs for inquiry or diagnosis. Cleanup failure is a non-fatal warning, not a failed run.

Safety guarantees

Firm rules, canonical in skills/quickflow/references/safety.md:

  • Inspect before editing; fix the requested problem at its source; touch only checklist-required files; preserve protected names, labels, cross-references, paths, structure, and meaning.
  • Destructive git rollback commands require your explicit approval in the current conversation, and your changes are never discarded to cover the workflow's own mistakes.
  • Irreversible or externally visible effects (permanent deletion, publishing, sending) require exact authorization plus recovery and validation boundaries.
  • Secrets and credentials are never printed.
  • Corruption is repaired only when it is the explicitly named target; unexpected corruption or suspected data loss ends in a terminal safety stop, not a guess.
  • No automatic backups. Want a safety net before a big change? Commit or stash first.
  • A recovery packet (audit evidence outside your project) is persisted only when you request one, an irreversible effect occurred or was attempted, or a run fails after modifying files. Otherwise evidence is reported inline, and nothing extra is left behind.

Installation

Prerequisite

Any modern coding agent works. Quick Flow is a host-agnostic instruction contract, not a standalone program — it needs only an agent that reads, edits, and runs commands and can ask you a question, all in one foreground session. It requires no sub-agent spawning, background jobs, or delegation, so plain agents qualify: omp (Oh My Pi), Pi agent, Codex, Claude Code, and similar. Everything runs in your existing session using whatever model that session already uses — no extra agents, models, or settings.

Install

git clone https://github.com/xzhang17/quickflow.git
cd quickflow
./install.sh

This copies the skill to ~/.agents/skills/quickflow/ — the shared skills directory that agents like omp, Pi agent, Codex, and Claude Code discover. Start a new session so skill discovery picks it up.

Manual install

# globally
cp -R skills/quickflow ~/.agents/skills/quickflow

# or per-project
mkdir -p .agents/skills
cp -R skills/quickflow .agents/skills/quickflow

Verify

In a new session, invoking the skill (for example /skill:quickflow in omp, Pi agent, Codex, Claude Code, or an equivalent slash command in agents that expose skills that way) should load the instructions. In an agent without skill auto-discovery, point it at skills/quickflow/SKILL.md directly.

Usage

Quick Flow activates only when you name it — it never takes over ordinary requests, and activation does not carry across turns:

quickflow: fix the off-by-one in parse_range() and make sure the existing test passes
Run a quick flow to add a --dry-run option to backup.sh and update its help text
quickflow: figure out why plot.jl produces an empty figure — don't change anything, just report the cause

You typically interact twice: once if the single Ask UI packet appears, and once to read the final report.

A worked example: tidying LaTeX math

A physics book (a main file plus eleven chapters) was full of spurious spaces inside math — \vec {B} \approx B (z) \hat {z} where the author wanted \vec{B}\approx B(z)\hat{z}:

quickflow: the math is full of unnecessary spaces like `\vec {B} \approx B (z) \hat {z}`.
Clean them up across main.tex and all 11 chapters — but the printed output must stay identical.

What the run did, and why each step matters:

  1. Froze the contract: the goal, the exact twelve editable files, and the binding invariant — remove only spaces TeX ignores, so the rendered output cannot change.
  2. Inspected for traps before editing: a space after a control word (\approx B) is required; spaces inside \text{...} are content; \quad and \, are deliberate; and the book hid prose inside math environments — so blind find-and-replace would have corrupted it.
  3. Edited within the invariant, preserving required spaces, deliberate spacing commands, and each equation's indentation.
  4. Proved it: compiled the PDF before and after and compared — identical text over 254 pages, no new warnings, no broken cross-references. ~15,700 spurious spaces removed across twelve files.
  5. Cleaned up and reported: removed the generated LaTeX intermediates (.aux, .bbl, .log, .out, .toc, and the rest of the known set — never .pdf) from the build directory and stated exactly what changed.

The pattern is the point, not the LaTeX: a frozen plan, inspection before mutation, edits inside a stated invariant, and a concrete before/after proof preceding "done."

Repository layout

quickflow/
├── README.md
├── README.zh-CN.md
├── LICENSE
├── install.sh                  # copies the skill into the shared skills dir
└── skills/quickflow/
    ├── SKILL.md                # the core contract (always loaded on activation)
    ├── CHANGELOG.md
    ├── assets/
    │   └── QUICK_WORKFLOW_CORE.template.md    # workflow record template
    ├── evals/
    │   └── scenarios.md        # release-audit scenarios (never loaded at runtime)
    └── references/             # loaded per phase, not all at once
        ├── workflow-authoring.md   # rendering, mechanical validation, freeze
        ├── profiles.md             # 19 task profiles + composition contract
        ├── grilling-intake.md      # structured-decision and safety-stop rules
        ├── safety.md               # scope, secrets, rollback, recovery boundaries
        └── templates.md            # safety-stop, notice, and report formats

Everything Quick Flow needs is in skills/quickflow/ — there are no agent definitions, because there are no other agents.

Troubleshooting

SymptomLikely cause and fix
/skill:quickflow not foundSkill not at ~/.agents/skills/quickflow/SKILL.md, or skills disabled. Re-run install.sh, start a new session.
It asked to switch to Agents FlowYour request implied delegation or parallelism, which Quick Flow deliberately refuses. Either simplify the request or use Agents Flow.
A .quickflow/ folder appeared in your projectThat is the frozen workflow record for a mutating run — a plain-text audit trail, safe to read, commit, or delete.
LaTeX temp files weren't cleanedCleanup runs only after a mutating LaTeX job passes every committed check; never for inquiry/diagnosis, and never outside the resolved build directory.
The report shows a [PROCESS WARNING] about the workflow recordYour host blocked every external write location (session store, ~/.quickflow, OS temp), so the read-only run continued on its validated in-memory contract instead. Nothing in your project was touched.

Versioning

The skill carries a semantic version (currently 5.4.0) plus independent schema numbers for the workflow record format (6) and profile format (4); schema numbers change only when those file formats change, so old records remain readable as historical snapshots (they are never executed again). Each release is audited against the scenario fixtures in skills/quickflow/evals/scenarios.md — hand-checkable cases covering the contract's edge behavior (fallback resolution, spent-reply blocking, sandboxed hosts, cleanup boundaries, and more). Full history: skills/quickflow/CHANGELOG.md.

Contributors

  • xzhang17 — author and maintainer
  • Claude (Anthropic) — development assistant

License

MIT. Copyright (c) 2026 xzhang17.

常见问题

What is quickflow?

quickflow is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by xzhang17. Speed-first, single-session workflow skill for AI coding agents (omp, Pi agent, Codex, Claude Code, …): writes/freezes a workflow, inspects, asks at most once, edits, validates, and reports. No delegation. Skill + installer. It has 0 GitHub stars.

Is quickflow safe to use?

Yes. quickflow passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install quickflow?

Clone the repository with "git clone https://github.com/xzhang17/quickflow" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is quickflow written in?

quickflow is primarily written in Shell. It is open-source under xzhang17 on GitHub, so you can review or fork the full source.

Are there alternatives to quickflow?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh quickflow against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情