Agent skill

Predict

by ffroliva in ffroliva/gflow-cli

Pre-implementation multi-persona adversarial analysis for gflow-cli proposals.

MITAuto-check passedDatabases

Install Predict

skills CLI
$ npx skills add ffroliva/gflow-cli --skill predict -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ffroliva/gflow-cli predict --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ffroliva/gflow-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/predict .claude/skills/predict && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
predict
GitHub stars
264
Token cost
~2.7k tokens
SKILL.md length
1,251 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Pre-implementation multi-persona adversarial analysis for gflow-cli proposals.

  • Works in 3 steps: Persona briefings (parallel) → Conflict resolution → Verdict
  • Tasks that involve Database migrations
  • SKILL.md covers When to invoke, Invocation, Protocol and Output format, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Predict is an agent skill from ffroliva/gflow-cli. Pre-implementation multi-persona adversarial analysis for gflow-cli proposals. Five expert personas independently evaluate a proposed change before a single line of code is written, then converge on a GO / CAUTION / STOP verdict. Invoke before any high-stakes decision: new transport, auth change, selector redesign, schema migration, API surface change, or backlog item requiring an investigation gate.

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering Database migrations, Proposals and quotes and AI video generation. The repository describes itself as: Drive Google Flow from the command line: Veo video and Imagen images, scripted, batched and pipeline-ready. Ships an MCP server so coding agents can drive it too, giving you and… The licence is MIT.

When your agent uses it

  • Tasks that involve Database migrations
  • Tasks that involve Proposals and quotes
  • Tasks that involve AI video generation

Example prompts

  • “/predict”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Persona briefings (parallel)
  2. Conflict resolution
  3. Verdict

What it can do on your machine

Read from SKILL.md and the folder at commit cb6d501. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Predict loads about 2.7k tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 1,251 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ffroliva/gflow-cli at commit cb6d501, republished under its MIT licence (© ffroliva). 1,251 words, ~2,696 tokens.

Download SKILL.mdSave it as .claude/skills/predict/SKILL.md (or your agent's skills folder).
name
predict
description
Pre-implementation multi-persona adversarial analysis for gflow-cli proposals. Five expert personas independently evaluate a proposed change before a single line of code is written, then converge on a GO / CAUTION / STOP verdict. Invoke before any high-stakes decision: new transport, auth change, selector redesign, schema migration, API surface change, or backlog item requiring an investigation gate.
version
1.0

predict — Pre-Implementation Multi-Persona Analysis

Structured pre-implementation review. Five expert personas assess the proposal independently, then debate, then converge on a verdict with a confidence score. Surfacing architectural, security, performance, and UX flaws before the first commit is the cheapest place to catch them.


When to invoke

Use before implementing any of:

  • A new transport strategy (sapisidhash, cdp_attach, official_veo)
  • Auth flow changes (new strategy, G12 bypass technique, cookie extraction)
  • Selector cascade redesigns affecting ONBOARDING_SELECTORS, NEW_PROJECT_SELECTORS, FRAME_SLOTS_STRUCT
  • Schema migrations in gflow_cli/data/
  • New CLI surface or exit-code changes
  • Any backlog item with an "investigation gate" in PLAN.md before coding

Skip for: trivial bug fixes (< 10 lines, isolated, no boundary cross), already-approved PLAN.md tasks entering EXECUTE, pure doc changes.


Invocation

/gflow:predict <proposal>

<proposal> is a short description of what you intend to build or change — one paragraph is enough. Examples:

  • "Wire SAPISIDHASH auth header into _post_json for all aisandbox-pa routes (Issue #15)"
  • "Add CDP-attach transport as opt-in --transport cdp_attach alongside ui_automation"
  • "Redesign gflow video batch to use a local manifest ledger for skip-already-done"
  • "Add AuthBrowserBlockedError to internal_chromium.py when Google rejects bundled Chromium"

Protocol

Phase 1 — Persona briefings (parallel)

Dispatch five personas simultaneously. Each reads AGENTS.md, PLAN.md, KNOWN_ISSUES.md, and the relevant source files for the proposal. Each assesses independently — no persona sees another's output during Phase 1.

Persona 1 — Architect

Scope: hexagonal target, modular-monolith current shape, dependency direction, module boundary rules.

Asks:

  • Does this proposal respect the dependency rule (interfaces → application → domain ← infrastructure)?
  • Which module does this live in? Does it fit cleanly or does it need a new module, and if so, is that justified?
  • Will this make the eventual DDD graduation harder or easier?
  • Are there hidden coupling risks (e.g., a transport leaking into cli.py, a domain model importing from infrastructure)?
  • Does the proposed shape match the existing pattern (Protocol-based ports, frozen dataclasses for value objects, structlog for all logging)?

Output: structured analysis, confidence 0–10, architectural risks.

Persona 2 — Security / reCAPTCHA

Scope: Google's anti-bot stack, SAPISIDHASH, G12 block, WAF scoring, profile isolation, secret storage.

Asks:

  • Does this touch auth headers, cookie extraction, or token minting? If yes, what's the trust boundary?
  • Could this trigger WAF score inflation on a per-profile basis?
  • Does the Chrome profile isolation guarantee (SecurityError if profile_dir outside GFLOW_CLI_HOME) remain intact?
  • Are any auth secrets (SAPISID, bearer tokens, reCAPTCHA tokens) at risk of leaking to logs? (show_locals=False is mandatory on exception renderers.)
  • Could this bypass the G12 stealth flag mechanism or reintroduce navigator.webdriver=true?
  • What's the attack surface against a third party who controls the Flow UI (XSS / selector injection)?

Output: structured analysis, confidence 0–10, security risks with severity.

Persona 3 — Performance / Playwright

Scope: Page pool, asyncio.gather, reCAPTCHA mint latency, headless detection, BrowserContext lifecycle.

Asks:

  • Does this add latency to the hot path (per-generation or per-poll)?
  • Does it interact with the Page pool (_checkout_page / _checkin_page)? Is there a QueueFull risk?
  • Does it require additional page.evaluate calls? What's the latency budget vs the 200 ms/page threshold?
  • Does it affect GFLOW_CLI_CONCURRENCY? Could it reduce or increase the safe ceiling?
  • Could running this in a headless context trigger reCAPTCHA detection or WAF scoring?
  • Does it add any persistent state that's not cleaned up when FlowApiClient.__aexit__ runs?

Output: structured analysis, confidence 0–10, performance bottlenecks.

Persona 4 — CLI and MCP UX / Cross-platform

Scope: exit codes (RFC 9457), structlog events, Windows/macOS/Linux path handling, --help text, error recovery UX, and the MCP tool surface that mirrors all of it.

Asks:

  • Does this change land on the MCP surface too, and what breaks if it does not? gflow ships every capability twice — as a CLI command and an MCP tool — and the automated parity gate is command-level only, so an unmirrored option or a docstring that still describes removed behaviour passes every check. Name the affected MCP tool, the payload keys on the queued worker/codec.py path, and any docstring claim that becomes false. If the proposal genuinely has no MCP surface, say so explicitly — silence here is what let #626 ship a CLI unlock with mcp/tools.py still telling agents the combination was rejected.
  • What exit code does failure produce? Is it in EXIT_CODE_MAP? Is it distinct from existing codes?
  • What structlog events does this introduce? Are error_raised / error_unhandled paths handled?
  • Are new env vars or flags introduced? Do they follow GFLOW_CLI_* convention and have a .env.template entry?
  • Does the UX degrade gracefully if the new feature fails (remediation hint in error message)?
  • On Windows: are path separators, platformdirs paths, and PYTHONUTF8=1 requirements respected?
  • If this is a new subcommand or flag: is the --help text self-contained and accurate?
  • Does this change touch DOM selectors? If yes, are selectors strictly locale-invariant (Tier 1 structural/ARIA/icon/href anchors + Tier 2 multi-locale text cascades across EN, PT, ES, DE, FR, IT, JA, ZH, KO), rejecting single-language English-only selectors?

Output: structured analysis, confidence 0–10, UX friction points.

Show full SKILL.md (461 more words)Show less
Persona 5 — Devil's Advocate

Scope: YAGNI, simpler paths, interaction with KNOWN_ISSUES, backlog sequencing.

Asks:

  • Is there a simpler way to achieve the same user outcome (fewer files, less Playwright surface, existing code reuse)?
  • Does PLAN.md already have an ADR that contradicts or defers this work?
  • Is there a known issue in KNOWN_ISSUES.md that makes this approach risky or likely to fail?
  • If this fails in production (WAF score spike, reCAPTCHA regression, selector drift), what's the rollback story?
  • Is the timing right? Does something else need to land first (e.g., Issue #14 before Issue #15)?
  • What's the simplest experiment (smoke test, scripts/ script, isolated spike) that could prove/disprove the core assumption before committing to a full implementation?

Output: structured analysis, confidence 0–10, alternative paths, blocking concerns.


Phase 2 — Conflict resolution

After all five personas return:

  1. Tally signals. Identify any dimension where 2+ personas flag the same concern — those surface as high-confidence risks.
  2. Resolve conflicts. If Architect says "fits cleanly" but Devil's Advocate says "ADR #13 defers this" — surface the conflict explicitly. Do NOT silently suppress one view.
  3. Score overall confidence as the average of the five persona confidence scores, then apply modifiers:
    • Any STOP condition from any persona → overall STOP regardless of average.
    • Devil's Advocate identifies a simpler approach the others missed → downgrade confidence by 2.
    • All five personas agree on the approach → upgrade confidence by 1.

Phase 3 — Verdict

GO (confidence ≥ 7, no STOP conditions): all personas aligned or concerns are mitigated within the proposal. Safe to proceed to PLAN mode.

CAUTION (confidence 4–6, or one unresolved STOP candidate): proceed but explicitly address the flagged concerns in the PLAN before EXECUTE. Surface the specific mitigations needed.

STOP (confidence < 4, or any hard STOP): one or more of:

  • A security bypass that cannot be fixed within the proposal scope
  • A fundamental architectural incompatibility with the hexagonal target
  • A performance regression that violates the 200 ms/page threshold at N=16
  • A PLAN.md ADR that explicitly defers this work
  • An existing KNOWN_ISSUES entry that makes the approach likely to fail
  • Devil's Advocate found a simpler approach that makes this one wasteful

On STOP, output the specific blocking concern and the minimum change required to convert to CAUTION.


Output format

# Predict: <proposal short title>

## Verdict: <GO | CAUTION | STOP>
**Confidence:** <N>/10

## Summary
<2-3 sentences. What the five personas collectively found.>

## Persona findings

### Architect — <signal> (<confidence>/10)
<findings>

### Security / reCAPTCHA — <signal> (<confidence>/10)
<findings>

### Performance / Playwright — <signal> (<confidence>/10)
<findings>

### CLI UX / Cross-platform — <signal> (<confidence>/10)
<findings>

### Devil's Advocate — <signal> (<confidence>/10)
<findings>

## High-confidence risks (flagged by 2+ personas)
1. …

## Conflicts resolved
- <Persona A vs Persona B — resolution>

## Required mitigations before EXECUTE (CAUTION only)
1. …

## Recommended next step
<One sentence. E.g.: "Open a PLAN.md task for Issue #15 gated on SAPISIDHASH investigation steps 1–3." or "Run the smoke script in scripts/smoke_video_editor.py against the live API before committing to the full design.">

Integration & Pipeline Continuation (Next Step Handoff)

  • After GO: Proactively announce: "Predict GO. Next step: Phase 3 BDD Scaffolding (/gflow:scenario <feature>) or Phase 4 Implementation Plan (/gflow:plan <feature>)."
  • After CAUTION: Address required mitigations in the PLAN spec, then announce: "Predict CAUTION. Next step: Address mitigations in Phase 4 Implementation Plan (/gflow:plan <feature>)."
  • After STOP: Address blocking concern or file an investigation gate task before moving to Phase 4.

Provenance

Adapted from vc-predict in vibecode-pro-max-kit (assessment 2026-05-28). Personas re-scoped to gflow-cli surfaces: Google anti-bot stack, Playwright Page pool, RFC 9457 exit codes, hexagonal architecture target.

© ffroliva, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/predict of ffroliva/gflow-cli.

Open the folder on GitHubat commit cb6d501

Compare with similar skills

Predict next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Predict compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Predict this skillffroliva/gflow-cli264—~2.7kAutomated safety check: PassMIT
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Content Create Hero Imageprisma/web1.1k—~6.9kAutomated safety check: PassNone
Creating Database MigrationsNangoHQ/nango13k—~449Automated safety check: PassCustom licence
Openwrt Package UpdateNethServer/nethsecurity191—~841Automated safety check: PassCustom licence
Free Willsyahiidkamil/Software-Engineer-AI-Agent-Atlas401—~3.4kAutomated safety check: PassNone

Similar skills

  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Official

    A skill your agent uses when the operator wants a hero or meta image for a Prisma blog post; asks to create or generate a blog hero, cover, social card, Open Graph, or YouTube image; mentions cover…

    1.1k GitHub stars~6.9k tokensUpdated today
    DatabasesAuto-check passed
  • A skill your agent uses when adding or editing Nango database migrations - covers migration directory selection, timestamped .cjs naming, matching recent migration style, down migration decisions…

    13k GitHub stars~449 tokensUpdated today
    DatabasesAuto-check passed
  • Openwrt Package Update

    NethServer/nethsecurity

    A skill your agent uses when updating any forked OpenWrt package in a NethSecurity workspace from the upstream openwrt/packages feed.

    191 GitHub stars~841 tokensUpdated today
    DatabasesAuto-check passed
  • Free Will

    syahiidkamil/Software-Engineer-AI-Agent-Atlas

    Deliberate-choice procedure for a medium-to-high-stakes engineering fork — when the first plausible solution (the instinct, the default next-token pull) would be costly to get wrong.

    401 GitHub stars~3.4k tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Ecto Migrations

    operately/operately

    Rules for Operately schema migrations (app/priv/repo/migrations/) and data migrations (app/lib/operately/data/change.ex).

    577 GitHub stars~1.2k tokensUpdated today
    DatabasesAuto-check passed

More from ffroliva/gflow-cli

All 17 skills in this repo
  • Gflow CLI

    ffroliva/gflow-cli

    A skill your agent uses when the user wants to drive Google Flow (Veo image-to-video, Veo text-to-video, Imagen / Nano Banana image generation) from the terminal or a script — including…

    264 GitHub stars~4.8k tokensUpdated today
    Auto-check: notes
  • Issue Assessment

    ffroliva/gflow-cli

    A skill your agent uses when triaging a GitHub issue for gflow-cli — a reporter's bug claim, a freshly-filed issue, or deciding whether and how to act on one.

    264 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Issue Resolve

    ffroliva/gflow-cli

    A skill your agent uses when an assessed gflow-cli issue (verdict CONFIRMED-BUG or LIKELY-BUG) has localized, verifiable scope and should be driven to a fix.

    264 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Live Verify

    ffroliva/gflow-cli

    Two-part gate for gflow-cli feature/fix work. An agent skill from ffroliva/gflow-cli.

    264 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Video Production

    ffroliva/gflow-cli

    A skill your agent uses when the user wants a finished video out of gflow rather than a single clip — a scripted scene, a talking-head or dialogue piece, an explainer, a product montage, a story…

    264 GitHub stars~7k tokensUpdated today
    Auto-check passed
  • Check

    ffroliva/gflow-cli

    Auto-fix lint and formatting, then report types and tests. An agent skill from ffroliva/gflow-cli.

    264 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Categories

Questions about Predict

What does Predict do?

Pre-implementation multi-persona adversarial analysis for gflow-cli proposals. Predict is an agent skill from ffroliva/gflow-cli. Pre-implementation multi-persona adversarial analysis for gflow-cli proposals.

When should I use Predict?

Predict fits situations like: tasks that involve Database migrations; tasks that involve Proposals and quotes; tasks that involve AI video generation.

How do I install Predict in Claude Code?

Run `npx skills add ffroliva/gflow-cli --skill predict -a claude-code`. Or copy the skill folder (skills/predict in ffroliva/gflow-cli) into .claude/skills/predict in your project. Claude Code loads it when a task matches its description.

How do I install Predict in Codex?

Run `npx skills add ffroliva/gflow-cli --skill predict -a codex`. Or copy the skill folder (skills/predict in ffroliva/gflow-cli) into .agents/skills/predict in your project. Codex loads it when a task matches its description.

Can I use Predict in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ffroliva/gflow-cli --skill predict -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/predict, .gemini/skills/predict, .github/skills/predict and .opencode/skills/predict in your project.

What does Predict need to run?

SKILL.md names no scripts, command-line tools or credentials: Predict is instructions for the agent only.

Does Predict access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Predict safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Predict use?

Predict is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Predict use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Predict?

Skills that share tags, products or a category with Predict: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Content Create Hero Image (prisma/web, 1.1k stars), Creating Database Migrations (NangoHQ/nango, 13k stars) and Openwrt Package Update (NethServer/nethsecurity, 191 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Predict?

ffroliva (a GitHub user) maintains it in ffroliva/gflow-cli, which has 264 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: ffroliva/gflow-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.