gflow-cli
CLAUDE.md367 starsChanged 58 days agoMITView on GitHub
Project memory hub for Claude Code. The universal coding-agent rules for any tool (Cursor, Codex, Aider, Antigravity, etc.) live in AGENTS.md — this file carries Claude-Code-specific session protocol only. gflow-cli is a Python CLI that drives Google Flow (Veo image-to-video, Imagen text-to-image) from the terminal by reverse-engineering Flow's private REST API. See README.md for the user-facing overview. AGENTS.md is imported below and is therefore already in context before you read this line. It is the system rule for this project:…
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- changelogSkill
- checkSkill
- doc-reviewSkill
- gflow-cliSkill
- issue-assessmentSkill
- issue-resolveSkill
- known-issuesSkill
- live-verifySkill
- llm-councilSkill
- planSkill
- pr-council-reviewSkill
- predictSkill
- releaseSkill
- scenarioSkill
- sonarSkill
- spikeSkill
- statusSkill
- video-productionSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Read docs/INDEX.md — routing layer for all project docs and commands.
- Very specific: line 38
Before any commit → /gflow:check
- Very specific: line 56
When calling mcp__github__create_pull_request or mcp__github__update_pull_request, the body parameter must be a plain string.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Project memory hub for Claude Code. The universal coding-agent rules for any tool (Cursor, Codex, Aider, Antigravity, etc.) live in AGENTS.md — this file carries Claude-Code-specific session protocol only.
What this project is
gflow-cli is a Python CLI that drives Google Flow (Veo image-to-video, Imagen text-to-image) from the terminal by reverse-engineering Flow's private REST API. See README.md for the user-facing overview.
System rules — loaded, not requested
AGENTS.md is imported below and is therefore already in context before
you read this line. It is the system rule for this project: the /gflow: skills are
the default development lifecycle, and its Skill Routing table says which one to load
for the situation in front of you. Follow it — it is not advisory, and "I hadn't read
it yet" is not a reachable state.
Why an import and not a bullet that says "read AGENTS.md". That bullet is what used to be here, and it failed exactly as written: an agent that skips it is not corrected by anything, and no gate notices. A session on 2026-09-01 went straight into work without it and reached step 10 of a release before discovering the pipeline's own doc-review and live-verification gates.
@AGENTS.mdremoves the choice — the harness resolves the import and injects the file, with no agent cooperation required. Never downgrade this back to prose.
@AGENTS.md
On every session start
- Read docs/INDEX.md — routing layer for all project docs and commands. Deliberately not imported: at ~47 KB it is a lookup table, not a rule set, and AGENTS.md points into it. Read it when you need to find a doc.
- Pull deeper context on demand:
- Current task / where we left off →
/gflow:status - Starting a new feature →
/gflow:predict→/gflow:scenario→/gflow:plan <feature> - Touching auth or reCAPTCHA →
/gflow:known-issues - Referencing a saved asset (
@Namemention vs--ref/--reference-entity) → docs/REFERENCE_STRATEGIES.md - Cutting a release →
/gflow:release - Before any commit →
/gflow:check
- Current task / where we left off →
Claude-Code-specific
- Slash commands live under
.claude/commands/gflow/(all prefixed/gflow:). These are the invocable surface — they appear in the session's skill list and may be called with theSkilltool asgflow:<name>. skills/<name>/SKILL.mdare the canonical bodies, and are NOTSkill-tool-invocable. They are plain Markdown, agent-agnostic on purpose so Codex/Cursor/Aider can read the same file.Skill(skill="release")fails withUnknown skill: release; each wrapper in.claude/commands/gflow/says to read itsskills/<name>/SKILL.mddirectly, and that is the supported path. (This bullet previously claimed they were "auto-discoverable", which is false and sends agents into a failing tool call.)- Auto-memory at
~/.claude/projects/C--development-github-gflow-cli/memory/MEMORY.mdcarries cross-session feedback and project state. - Worktrees: the native
EnterWorktreetool branches fromorigin/main(the default branch). Feature work integrates viadevelop— after entering a fresh worktree, immediatelygit switch -c <type>/<name> origin/developand delete the auto-createdworktree-*branch. On Windows, worktree removal can fail on a file lock (the worktree's.venv);git worktree prune+ manual delete later is fine.
MCP GitHub tool — PR body rule (non-negotiable)
When calling mcp__github__create_pull_request or mcp__github__update_pull_request, the body parameter must be a plain string. Shell heredoc syntax ($(cat <<'EOF' ... EOF)) is never valid here — MCP tool parameters are JSON, not shell; the heredoc is not evaluated and appears literally in the PR description.
# WRONG — produces literal "$(cat <<'EOF'" in the PR body:
body: "$(cat <<'EOF'\n## Summary\n...\nEOF\n)"
# CORRECT — plain multiline string:
body: "## Summary\n\n- Item 1\n- Item 2\n\n## Test plan\n- [ ] ..."The heredoc pattern ($(cat <<'EOF' ... EOF)) is only valid inside a Bash tool call because the shell evaluates it there. In every MCP tool parameter it is a literal string. This mistake has recurred across multiple PRs — treat this rule as a hard blocker before every PR creation or update.
Active phase
See PLAN.md or run /gflow:status for current task. Run /gflow:plan <feature> to create a new feature plan.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

