studioflow
v0.2.1
Published
Deterministic AI-assisted product demo automation CLI for QuickTime and Screen Studio workflows
Downloads
544
Readme
StudioFlow
StudioFlow turns a plain-language demo request into a deterministic recorded product run.
This package includes:
- a CLI runtime (
studioflow) for deterministic artifact execution - bundled agent skills for Codex and Claude (
studioflow-investigate,studioflow-author,studioflow-cli)
StudioFlow supports both QuickTime Player and Screen Studio recording backends.
Requirements
- macOS (recorder automation is macOS-only)
- Node.js 22+
- QuickTime Player (built into macOS) or Screen Studio
Install
npm install -g studioflowQuickstart (2 Minutes)
- Setup runtime dependencies and bundled skills:
studioflow setup
studioflow doctor
studioflow config check- Open Codex or Claude from your project root:
cd /path/to/your/project
codex
# or
claude- Ask in plain language:
Record a demo for onboarding and billing.or
Record a demo for onboarding and billing using Screen Studio.- Expected successful run output includes:
Run completed successfully.
Run ID: <timestamp-id>
Artifacts: <path-to-run-dir>Recorder Backends
quicktime(default): no extra app install required.screenstudio: just specify Screen Studio in your agent request.
Manual CLI mode still supports --recorder screenstudio when you want direct runtime control.
What setup Changes
studioflow setup:
- installs Playwright Chromium runtime
- installs StudioFlow skills into:
- Codex:
$CODEX_HOME/skillsor~/.codex/skills - Claude:
$CLAUDE_HOME/skillsor~/.claude/skills
- Codex:
- runs permission diagnostics
- writes setup state under
~/.studioflow(or$STUDIOFLOW_DATA_DIR)
Command Cheat Sheet
| Task | Command |
| --- | --- |
| Setup runtime + skills | studioflow setup |
| Check permissions | studioflow doctor |
| Show effective config | studioflow config show |
| Validate config health | studioflow config check |
| Validate flow artifact | studioflow validate --flow artifacts/flow.json |
| Run deterministic demo | studioflow demo --flow artifacts/flow.json --intent "your demo intent" |
| List built-in flows | studioflow list-flows |
| QuickTime diagnostics | studioflow quicktime-prep |
| Screen Studio diagnostics | studioflow screenstudio-prep |
Minimal Manual Flow (Optional)
If you want to run the CLI directly without agent authoring first, start with a minimal artifact:
{
"id": "landing_capture",
"description": "Capture the landing page",
"tags": ["smoke"],
"steps": [
{ "id": "open-home", "action": "goto", "value": "/" },
{ "id": "capture-home", "action": "screenshot", "value": "home" }
]
}Then run:
studioflow validate --flow artifacts/flow.json
studioflow demo --flow artifacts/flow.json --intent "landing page smoke"Quick Troubleshooting
- Permission failures:
studioflow doctorand approve macOS prompts.
- QuickTime preflight failures:
studioflow quicktime-prep
- Screen Studio preflight failures:
studioflow screenstudio-prep
- App health timeout:
studioflow config showand verifybaseUrl,startCommand,healthPath.
- Flow validation failures:
studioflow validate --flow <path>
Uninstall / Cleanup
npm uninstall -g studioflowOptional local cleanup:
- remove
~/.studioflow(or$STUDIOFLOW_DATA_DIR) - remove installed skill folders under
~/.codex/skillsand~/.claude/skillsif you no longer want them
Contact
- X: https://x.com/Ydarar_dev (@Ydarar_dev)
- GitHub: https://github.com/ydarar/studioflow/issues
