{"id":"b34aeced-2222-4bcd-994f-ea5848af242f","entityType":"agent","slug":"clawhub-lysaker1-baz","name":"Baz","canonicalUrl":"https://www.xpersona.co/agent/clawhub-lysaker1-baz","canonicalPath":"/agent/clawhub-lysaker1-baz","generatedAt":"2026-10-11T05:30:15.567Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T02:54:11.723Z","emptyReason":null},"description":"Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend... Skill: Baz Owner: lysaker1 Summary: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend... Tags: ai:1.0.0, creative:1.0.0, latest:1.1.0, motion-graphics:1.0.0, video:1.0.0 Version history: v1.1.0 | 2026-02-24T07:51:04.712Z | user v0.4.0 CLI sync: recipe to spar, updated references v1.0.0 | 2026-02-18T15:25:13.101","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s17b34y4gz82yapp0v5wac7phh885fjp:baz","sourceUrl":"https://clawhub.ai/lysaker1/baz","homepage":"https://clawhub.ai/lysaker1/skills/baz","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/lysaker1/baz","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/lysaker1/skills/baz","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T02:54:11.723Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T02:54:11.723Z","emptyReason":null},"stars":null,"forks":null,"downloads":1182,"packageName":null,"latestVersion":"1.1.0","tractionLabel":"1.2K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T02:54:11.661Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T02:54:11.723Z","lastCrawledAt":"2026-10-11T02:54:11.661Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T02:54:11.661Z","lastVerifiedAt":null,"highlights":[{"version":"1.1.0","createdAt":"2026-02-24T07:51:04.712Z","changelog":"v0.4.0 CLI sync: recipe to spar, updated references","fileCount":2,"zipByteSize":5125},{"version":"1.0.0","createdAt":"2026-02-18T15:25:13.101Z","changelog":"Initial release: 5-phase gated workflow for AI motion graphics. Includes programmatic onboarding, choreography system, and verification loop.","fileCount":2,"zipByteSize":5113}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17b34y4gz82yapp0v5wac7phh885fjp:baz","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T05:30:15.566Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-lysaker1-baz/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T02:54:11.723Z","emptyReason":null},"readme":"Skill: Baz\n\nOwner: lysaker1\n\nSummary: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend...\n\nTags: ai:1.0.0, creative:1.0.0, latest:1.1.0, motion-graphics:1.0.0, video:1.0.0\n\nVersion history:\n\nv1.1.0 | 2026-02-24T07:51:04.712Z | user\n\nv0.4.0 CLI sync: recipe to spar, updated references\n\nv1.0.0 | 2026-02-18T15:25:13.101Z | user\n\nInitial release: 5-phase gated workflow for AI motion graphics. Includes programmatic onboarding, choreography system, and verification loop.\n\nArchive index:\n\nArchive v1.1.0: 2 files, 5125 bytes\n\nFiles: SKILL.md (10921b), _meta.json (122b)\n\nFile v1.1.0:SKILL.md\n\n---\nname: baz\ndescription: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rendering. Gated 5-phase workflow ensures quality.\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - BAZ_API_KEY\n      bins:\n        - node\n        - baz\n    primaryEnv: BAZ_API_KEY\n    install:\n      - id: node\n        kind: node\n        package: bazaar.it\n        bins:\n          - baz\n        label: Install Bazaar CLI (npm)\n    homepage: https://bazaar.it\n    emoji: \"\\U0001F3AC\"\n---\n\n# baz CLI — Mandatory Video Generation Workflow\n\nUse this skill when the user wants to create, edit, or export videos using the Bazaar CLI (`baz`).\n\n**This is a GATED workflow.** You MUST complete each phase in order. Do NOT skip phases. Do NOT declare \"done\" until the completion checklist at the bottom passes.\n\n---\n\n## Getting Started (New Agents)\n\nIf you don't have a Bazaar account or API key yet, register programmatically:\n\n```bash\n# 1. Discover what Bazaar can do\ncurl https://bazaar.it/api/v1/capabilities\n\n# 2. Register (one POST, no human needed)\ncurl -X POST https://bazaar.it/api/v1/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"your-agent@example.com\",\"name\":\"My Agent\"}'\n# Returns: api_key, auth header name, quickstart steps, endpoint URLs\n\n# 3. Save your API key — authenticate all future requests with:\n#    -H \"x-api-key: <your-api-key>\"\n\n# 4. Check pricing before you start\ncurl https://bazaar.it/api/v1/pricing\n\n# 5. Install the CLI\nnpm install -g bazaar.it\nbaz auth login <your-api-key>\n```\n\n**Balance starts at $0.** When you hit a paid operation, you'll get HTTP 402 with a `top_up_url` in the response body. Call `POST /api/v1/top-up` with `{\"amount_cents\": 500}` (minimum $5) to get a Stripe checkout URL.\n\n**Shortcut:** If your human creates an account at bazaar.it, they get $4 to start with. Ask them to grab an API key from the dashboard and you can skip straight to step 5.\n\nAlready have an API key? Skip to Phase 1.\n\n---\n\n## When to Use\n\n- User asks to create, edit, or export videos via CLI\n- User wants to automate video generation\n- User mentions \"baz\", \"bazaar CLI\", or \"video generation from terminal\"\n\n## When to Use `baz prompt` vs Spar\n\n- **Direct `baz prompt`** — Scene creation, edits, full agent orchestration\n- **`baz prompt --spar`** — Planning-only conversation (no timeline mutations)\n\n---\n\n## Phase 1: Context (REQUIRED — do NOT skip)\n\nYou MUST set project context BEFORE generating any scenes. This gives the composition agent the information it needs to produce correct output on the first try.\n\n### Minimum context required:\n1. **Goal** — What is this video for? Who is the audience? What should they feel/do?\n2. **Requirements** — Specific, verifiable things the video must contain\n3. **Brand** — Colors, fonts, logo placement, visual style\n\n```bash\n# Create or select project\nbaz project create --name \"Descriptive Name - Date/Purpose\" --json\n# OR\nbaz project use <id>\n\n# Set goal (be specific — audience, purpose, desired outcome)\nbaz context add \"Create 45-60 second feature announcement for [Product]. \\\nAudience: [who]. Key value: [what they get].\" --label \"goal\"\n\n# Add requirements (each one should be independently verifiable)\nbaz context add \"Show [specific feature interaction]\" --label \"requirement\"\nbaz context add \"Include CTA: '[specific text]'\" --label \"requirement\"\nbaz context add \"Total duration: [range]\" --label \"requirement\"\n\n# Set brand guidelines\nbaz context add \"Brand: [Name]. Primary [hex], accent [hex]. Font: [name]. \\\n[Logo placement]. [Visual style notes].\" --label \"brand\"\n```\n\n### Verify context is set:\n```bash\nbaz context list --json\n```\n\n**Gate:** Do NOT proceed to Phase 2 until `baz context list` shows at least one goal, one requirement, and one brand entry.\n\n---\n\n## Phase 2: Generate\n\nNow prompt the agent to create scenes. You can use one big prompt or multiple scene-by-scene prompts.\n\n```bash\n# Option A: One comprehensive prompt\nbaz prompt \"Create a video with: [scene 1 description], [scene 2], ...\" --stream-json\n\n# Option B: Scene-by-scene (more control)\nbaz prompt \"Scene 1 (5s): Dark gradient intro, logo top-left, title slides up\" --stream-json\nbaz prompt \"Scene 2 (7s): Problem statement with mock UI...\" --stream-json\nbaz prompt \"Scene 3 (18s): Feature walkthrough...\" --stream-json\n```\n\nTips:\n- Include duration in each prompt\n- Be specific about animations, colors, layout\n- Reference brand context set in Phase 1\n\n### Choreography (REQUIRED for 3+ scene videos)\n\nFor videos with 3 or more scenes, plan choreography BEFORE generating. This prevents the \"lockstep slideshow\" pattern where all layers swap at the same frame boundary.\n\n#### Actor Planning Template\n\nBefore prompting, plan your actors:\n\n| Actor | Track | Lifetime | Role |\n|-------|-------|----------|------|\n| Background | 0 | Full duration | Evolving gradient, particles |\n| Hero | 1 | 60-80% | Main UI, enters, demotes to corner, returns |\n| Supporting | 1-2 | 20-40% | Cards/charts, appear during hero demotion |\n| Text | 2+ | 10-30% | Headlines, arrive at beat points, explicit exits |\n\n#### 5 Prompt Enrichment Rules\n\n1. **Every content prompt includes exit instructions** (exempt: persistent backgrounds, final CTA)\n2. **Prefer ONE background** on Track 0 for the full video duration\n3. **Every overlay prompt includes position and size** — scenes that share screen time must not share screen space\n4. **Specify spring animation** for hero elements (`spring() for hero entrance`)\n5. **Include energy level hints** in prompts (\"high energy entrance\", \"calm sustained section\")\n\n#### GOOD Example — context injection + one natural prompt:\n```bash\nbaz context add \"CHOREOGRAPHY: Every overlay scene must specify its position and size. \\\n  Use spring() for hero elements. Every non-final scene must have exit animations. \\\n  Prefer one continuous background.\" --label \"instructions\"\n\nbaz prompt \"Create a 15-second product demo: dark theme intro with logo, \\\n  feature showcase with 3 cards, area chart showing growth, and a CTA. \\\n  Brand: #6366f1 purple, #10b981 green, Inter font.\" --stream-json\n```\n\nONE natural prompt. The composition agent handles decomposition into tracks + spatial layout internally based on choreography context.\n\n---\n\n## Phase 3: Review & Verify (REQUIRED — NEVER skip)\n\nAfter generation, you MUST run both review and verify. This is not optional.\n\n### Step 1: Review\n```bash\nbaz review --json\n```\n\nRead the output. Compare every requirement from Phase 1 against what was generated.\n\n### Step 2: Verify\n```bash\nbaz verify --criteria \"requirement 1,requirement 2,requirement 3\" --json\n```\n\nPass ALL requirements from Phase 1 as comma-separated criteria. The verify command checks each one.\n\n### Interpret results:\n\n```json\n{\n  \"passedAll\": true,\n  \"results\": [\n    { \"criteria\": \"...\", \"passed\": true },\n    { \"criteria\": \"...\", \"passed\": false, \"reason\": \"...\" }\n  ]\n}\n```\n\n**Gate:** If `passedAll: false`, you MUST proceed to Phase 4. Do NOT export. Do NOT declare done.\n\n---\n\n## Phase 4: Iterate (REQUIRED if Phase 3 fails)\n\nFix every failing criteria. Then re-verify.\n\n```\nLOOP:\n  1. Read failing criteria from Phase 3\n  2. Fix with: baz prompt \"Fix: [specific issue]\" --stream-json\n  3. Re-run: baz review --json\n  4. Re-run: baz verify --criteria \"req1,req2,req3\" --json\n  5. If passedAll: false → GOTO 1\n  6. If passedAll: true → proceed to Phase 5\n```\n\nDo NOT exit this loop until `passedAll: true`.\n\n---\n\n## Phase 5: Export (only if requested)\n\nOnly export if the user explicitly asked for a rendered video AND Phase 3/4 passed.\n\n```bash\nbaz export start --wait --json\n```\n\n---\n\n## Command Quick Reference\n\n| Command | Purpose |\n|---------|---------|\n| `baz project create --name \"...\" --json` | Create new project |\n| `baz project use <id>` | Set active project |\n| `baz context add \"...\" --label \"goal\"` | Set project goal |\n| `baz context add \"...\" --label \"requirement\"` | Add verifiable requirement |\n| `baz context add \"...\" --label \"brand\"` | Set brand guidelines |\n| `baz context list --json` | View all context entries |\n| `baz prompt \"...\" --stream-json` | Generate or edit scenes |\n| `baz prompt \"...\" --spar` | Planning-only conversation (no edits) |\n| `baz review --json` | Get full project state for review |\n| `baz verify --criteria \"...\" --json` | Verify specific criteria pass |\n| `baz scenes list --json` | List all scenes |\n| `baz export start --wait --json` | Render final video |\n\n## Error Handling\n\n| Category | Action |\n|----------|--------|\n| `transient` | Retry with backoff (wait `retry_after` seconds) |\n| `validation` | Fix input, do not retry same request |\n| `auth` | Check API key with `baz auth status` |\n| `fatal` | Stop and report to user |\n\n---\n\n## Completion Checklist\n\nYou are NOT done until ALL of these are true:\n\n- [ ] Phase 1: `baz context list` shows goal + requirements + brand\n- [ ] Phase 2: Scenes generated via `baz prompt`\n- [ ] Phase 3: `baz review --json` run AND `baz verify --criteria \"req1,req2,...\" --json` run\n- [ ] Phase 4: `passedAll: true` (or was true on first verify)\n- [ ] Phase 5: Export started (only if user requested it)\n\n**If you skipped review/verify, you are not done. Go back and run them.**\n\n---\n\n## External Endpoints\n\n| URL | Method | Data Sent | Purpose |\n|-----|--------|-----------|---------|\n| `bazaar.it/api/v1/capabilities` | GET | None | Discover available tools |\n| `bazaar.it/api/v1/register` | POST | email, name | Create agent account |\n| `bazaar.it/api/v1/pricing` | GET | None | View operation costs |\n| `bazaar.it/api/v1/estimate` | POST | operation keys + quantities | Pre-execution cost estimate |\n| `bazaar.it/api/v1/top-up` | POST | amount in cents | Get Stripe checkout URL |\n| `bazaar.it/api/generate-stream` | POST | prompt, projectId | Generate video scenes (SSE) |\n| `bazaar.it/api/trpc/*` | POST | varies | Project CRUD, scene management |\n\n## Security & Privacy\n\n- **Authentication**: All non-discovery endpoints require `x-api-key` header\n- **Data sent**: Your prompts, project metadata, and scene code are sent to Bazaar servers for AI processing\n- **Data stored**: Projects, scenes, and generated assets are stored on Bazaar's infrastructure (Neon DB + Cloudflare R2)\n- **No local file access**: This skill only uses the `baz` CLI binary — it does not read or modify local files beyond CLI config at `~/.bazaar/config.json`\n- **Balance**: Operations consume dollar balance. Check `baz auth status` to see remaining balance before large jobs\n- **Exports**: Rendered videos are stored on Bazaar CDN and accessible via URL\n\n## Web UI Access\n\nYour human can also edit the project directly in the browser at:\n`https://bazaar.it/projects/<project-id>/generate`\n\nAfter creating a project, share this link so they can preview scenes, tweak code, or make manual edits alongside your CLI workflow.\n\nFile v1.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn79phr6281c3tz1drhkpvvwhs80a3qt\",\n  \"slug\": \"baz\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1771919464712\n}\n\nArchive v1.0.0: 2 files, 5113 bytes\n\nFiles: SKILL.md (10897b), _meta.json (122b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: baz\ndescription: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rendering. Gated 5-phase workflow ensures quality.\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - BAZ_API_KEY\n      bins:\n        - node\n        - baz\n    primaryEnv: BAZ_API_KEY\n    install:\n      - id: node\n        kind: node\n        package: bazaar.it\n        bins:\n          - baz\n        label: Install Bazaar CLI (npm)\n    homepage: https://bazaar.it\n    emoji: \"\\U0001F3AC\"\n---\n\n# baz CLI — Mandatory Video Generation Workflow\n\nUse this skill when the user wants to create, edit, or export videos using the Bazaar CLI (`baz`).\n\n**This is a GATED workflow.** You MUST complete each phase in order. Do NOT skip phases. Do NOT declare \"done\" until the completion checklist at the bottom passes.\n\n---\n\n## Getting Started (New Agents)\n\nIf you don't have a Bazaar account or API key yet, register programmatically:\n\n```bash\n# 1. Discover what Bazaar can do\ncurl https://bazaar.it/api/v1/capabilities\n\n# 2. Register (one POST, no human needed)\ncurl -X POST https://bazaar.it/api/v1/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"your-agent@example.com\",\"name\":\"My Agent\"}'\n# Returns: api_key, auth header name, quickstart steps, endpoint URLs\n\n# 3. Save your API key — authenticate all future requests with:\n#    -H \"x-api-key: <your-api-key>\"\n\n# 4. Check pricing before you start\ncurl https://bazaar.it/api/v1/pricing\n\n# 5. Install the CLI\nnpm install -g bazaar.it\nbaz auth login <your-api-key>\n```\n\n**Balance starts at $0.** When you hit a paid operation, you'll get HTTP 402 with a `top_up_url` in the response body. Call `POST /api/v1/top-up` with `{\"amount_cents\": 500}` (minimum $5) to get a Stripe checkout URL.\n\n**Shortcut:** If your human creates an account at bazaar.it, they get $4 to start with. Ask them to grab an API key from the dashboard and you can skip straight to step 5.\n\nAlready have an API key? Skip to Phase 1.\n\n---\n\n## When to Use\n\n- User asks to create, edit, or export videos via CLI\n- User wants to automate video generation\n- User mentions \"baz\", \"bazaar CLI\", or \"video generation from terminal\"\n\n## When to Use `baz prompt` vs Recipe\n\n- **Direct `baz prompt`** — Simple scenes, edits, no audio\n- **`baz prompt --plan`** — Voiceovers, AI video, avatars, URL-to-video\n\n---\n\n## Phase 1: Context (REQUIRED — do NOT skip)\n\nYou MUST set project context BEFORE generating any scenes. This gives the composition agent the information it needs to produce correct output on the first try.\n\n### Minimum context required:\n1. **Goal** — What is this video for? Who is the audience? What should they feel/do?\n2. **Requirements** — Specific, verifiable things the video must contain\n3. **Brand** — Colors, fonts, logo placement, visual style\n\n```bash\n# Create or select project\nbaz project create --name \"Descriptive Name - Date/Purpose\" --json\n# OR\nbaz project use <id>\n\n# Set goal (be specific — audience, purpose, desired outcome)\nbaz context add \"Create 45-60 second feature announcement for [Product]. \\\nAudience: [who]. Key value: [what they get].\" --label \"goal\"\n\n# Add requirements (each one should be independently verifiable)\nbaz context add \"Show [specific feature interaction]\" --label \"requirement\"\nbaz context add \"Include CTA: '[specific text]'\" --label \"requirement\"\nbaz context add \"Total duration: [range]\" --label \"requirement\"\n\n# Set brand guidelines\nbaz context add \"Brand: [Name]. Primary [hex], accent [hex]. Font: [name]. \\\n[Logo placement]. [Visual style notes].\" --label \"brand\"\n```\n\n### Verify context is set:\n```bash\nbaz context list --json\n```\n\n**Gate:** Do NOT proceed to Phase 2 until `baz context list` shows at least one goal, one requirement, and one brand entry.\n\n---\n\n## Phase 2: Generate\n\nNow prompt the agent to create scenes. You can use one big prompt or multiple scene-by-scene prompts.\n\n```bash\n# Option A: One comprehensive prompt\nbaz prompt \"Create a video with: [scene 1 description], [scene 2], ...\" --stream-json\n\n# Option B: Scene-by-scene (more control)\nbaz prompt \"Scene 1 (5s): Dark gradient intro, logo top-left, title slides up\" --stream-json\nbaz prompt \"Scene 2 (7s): Problem statement with mock UI...\" --stream-json\nbaz prompt \"Scene 3 (18s): Feature walkthrough...\" --stream-json\n```\n\nTips:\n- Include duration in each prompt\n- Be specific about animations, colors, layout\n- Reference brand context set in Phase 1\n\n### Choreography (REQUIRED for 3+ scene videos)\n\nFor videos with 3 or more scenes, plan choreography BEFORE generating. This prevents the \"lockstep slideshow\" pattern where all layers swap at the same frame boundary.\n\n#### Actor Planning Template\n\nBefore prompting, plan your actors:\n\n| Actor | Track | Lifetime | Role |\n|-------|-------|----------|------|\n| Background | 0 | Full duration | Evolving gradient, particles |\n| Hero | 1 | 60-80% | Main UI, enters, demotes to corner, returns |\n| Supporting | 1-2 | 20-40% | Cards/charts, appear during hero demotion |\n| Text | 2+ | 10-30% | Headlines, arrive at beat points, explicit exits |\n\n#### 5 Prompt Enrichment Rules\n\n1. **Every content prompt includes exit instructions** (exempt: persistent backgrounds, final CTA)\n2. **Prefer ONE background** on Track 0 for the full video duration\n3. **Every overlay prompt includes position and size** — scenes that share screen time must not share screen space\n4. **Specify spring animation** for hero elements (`spring() for hero entrance`)\n5. **Include energy level hints** in prompts (\"high energy entrance\", \"calm sustained section\")\n\n#### GOOD Example — context injection + one natural prompt:\n```bash\nbaz context add \"CHOREOGRAPHY: Every overlay scene must specify its position and size. \\\n  Use spring() for hero elements. Every non-final scene must have exit animations. \\\n  Prefer one continuous background.\" --label \"instructions\"\n\nbaz prompt \"Create a 15-second product demo: dark theme intro with logo, \\\n  feature showcase with 3 cards, area chart showing growth, and a CTA. \\\n  Brand: #6366f1 purple, #10b981 green, Inter font.\" --stream-json\n```\n\nONE natural prompt. The composition agent handles decomposition into tracks + spatial layout internally based on choreography context.\n\n---\n\n## Phase 3: Review & Verify (REQUIRED — NEVER skip)\n\nAfter generation, you MUST run both review and verify. This is not optional.\n\n### Step 1: Review\n```bash\nbaz review --json\n```\n\nRead the output. Compare every requirement from Phase 1 against what was generated.\n\n### Step 2: Verify\n```bash\nbaz verify --criteria \"requirement 1,requirement 2,requirement 3\" --json\n```\n\nPass ALL requirements from Phase 1 as comma-separated criteria. The verify command checks each one.\n\n### Interpret results:\n\n```json\n{\n  \"passedAll\": true,\n  \"results\": [\n    { \"criteria\": \"...\", \"passed\": true },\n    { \"criteria\": \"...\", \"passed\": false, \"reason\": \"...\" }\n  ]\n}\n```\n\n**Gate:** If `passedAll: false`, you MUST proceed to Phase 4. Do NOT export. Do NOT declare done.\n\n---\n\n## Phase 4: Iterate (REQUIRED if Phase 3 fails)\n\nFix every failing criteria. Then re-verify.\n\n```\nLOOP:\n  1. Read failing criteria from Phase 3\n  2. Fix with: baz prompt \"Fix: [specific issue]\" --stream-json\n  3. Re-run: baz review --json\n  4. Re-run: baz verify --criteria \"req1,req2,req3\" --json\n  5. If passedAll: false → GOTO 1\n  6. If passedAll: true → proceed to Phase 5\n```\n\nDo NOT exit this loop until `passedAll: true`.\n\n---\n\n## Phase 5: Export (only if requested)\n\nOnly export if the user explicitly asked for a rendered video AND Phase 3/4 passed.\n\n```bash\nbaz export start --wait --json\n```\n\n---\n\n## Command Quick Reference\n\n| Command | Purpose |\n|---------|---------|\n| `baz project create --name \"...\" --json` | Create new project |\n| `baz project use <id>` | Set active project |\n| `baz context add \"...\" --label \"goal\"` | Set project goal |\n| `baz context add \"...\" --label \"requirement\"` | Add verifiable requirement |\n| `baz context add \"...\" --label \"brand\"` | Set brand guidelines |\n| `baz context list --json` | View all context entries |\n| `baz prompt \"...\" --stream-json` | Generate or edit scenes |\n| `baz prompt \"...\" --plan` | Create recipe (voiceovers/AI video) |\n| `baz review --json` | Get full project state for review |\n| `baz verify --criteria \"...\" --json` | Verify specific criteria pass |\n| `baz scenes list --json` | List all scenes |\n| `baz export start --wait --json` | Render final video |\n\n## Error Handling\n\n| Category | Action |\n|----------|--------|\n| `transient` | Retry with backoff (wait `retry_after` seconds) |\n| `validation` | Fix input, do not retry same request |\n| `auth` | Check API key with `baz auth status` |\n| `fatal` | Stop and report to user |\n\n---\n\n## Completion Checklist\n\nYou are NOT done until ALL of these are true:\n\n- [ ] Phase 1: `baz context list` shows goal + requirements + brand\n- [ ] Phase 2: Scenes generated via `baz prompt`\n- [ ] Phase 3: `baz review --json` run AND `baz verify --criteria \"req1,req2,...\" --json` run\n- [ ] Phase 4: `passedAll: true` (or was true on first verify)\n- [ ] Phase 5: Export started (only if user requested it)\n\n**If you skipped review/verify, you are not done. Go back and run them.**\n\n---\n\n## External Endpoints\n\n| URL | Method | Data Sent | Purpose |\n|-----|--------|-----------|---------|\n| `bazaar.it/api/v1/capabilities` | GET | None | Discover available tools |\n| `bazaar.it/api/v1/register` | POST | email, name | Create agent account |\n| `bazaar.it/api/v1/pricing` | GET | None | View operation costs |\n| `bazaar.it/api/v1/estimate` | POST | operation keys + quantities | Pre-execution cost estimate |\n| `bazaar.it/api/v1/top-up` | POST | amount in cents | Get Stripe checkout URL |\n| `bazaar.it/api/generate-stream` | POST | prompt, projectId | Generate video scenes (SSE) |\n| `bazaar.it/api/trpc/*` | POST | varies | Project CRUD, scene management |\n\n## Security & Privacy\n\n- **Authentication**: All non-discovery endpoints require `x-api-key` header\n- **Data sent**: Your prompts, project metadata, and scene code are sent to Bazaar servers for AI processing\n- **Data stored**: Projects, scenes, and generated assets are stored on Bazaar's infrastructure (Neon DB + Cloudflare R2)\n- **No local file access**: This skill only uses the `baz` CLI binary — it does not read or modify local files beyond CLI config at `~/.bazaar/config.json`\n- **Balance**: Operations consume dollar balance. Check `baz auth status` to see remaining balance before large jobs\n- **Exports**: Rendered videos are stored on Bazaar CDN and accessible via URL\n\n## Web UI Access\n\nYour human can also edit the project directly in the browser at:\n`https://bazaar.it/projects/<project-id>/generate`\n\nAfter creating a project, share this link so they can preview scenes, tweak code, or make manual edits alongside your CLI workflow.\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn79phr6281c3tz1drhkpvvwhs80a3qt\",\n  \"slug\": \"baz\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1771428313101\n}","readmeExcerpt":"Skill: Baz Owner: lysaker1 Summary: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend... Tags: ai:1.0.0, creative:1.0.0, latest:1.1.0, motion-graphics:1.0.0, video:1.0.0 Version history: v1.1.0 | 2026-02-24T07:51:04.712Z | user v0.4.0 CLI sync: recipe to spar, updated references v1.0.0 | 2026-02-18T15:25:13.101","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"curl https://bazaar.it/api/v1/capabilities"},{"language":"bash","snippet":"curl -X POST https://bazaar.it/api/v1/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"your-agent@example.com\",\"name\":\"My Agent\"}'"},{"language":"bash","snippet":"curl https://bazaar.it/api/v1/pricing"},{"language":"bash","snippet":"# 1. Discover what Bazaar can do\ncurl https://bazaar.it/api/v1/capabilities\n\n# 2. Register (one POST, no human needed)\ncurl -X POST https://bazaar.it/api/v1/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"your-agent@example.com\",\"name\":\"My Agent\"}'\n# Returns: api_key, auth header name, quickstart steps, endpoint URLs\n\n# 3. Save your API key — authenticate all future requests with:\n#    -H \"x-api-key: <your-api-key>\"\n\n# 4. Check pricing before you start\ncurl https://bazaar.it/api/v1/pricing\n\n# 5. Install the CLI\nnpm install -g bazaar.it\nbaz auth login <your-api-key>"},{"language":"bash","snippet":"# Create or select project\nbaz project create --name \"Descriptive Name - Date/Purpose\" --json\n# OR\nbaz project use <id>\n\n# Set goal (be specific — audience, purpose, desired outcome)\nbaz context add \"Create 45-60 second feature announcement for [Product]. \\\nAudience: [who]. Key value: [what they get].\" --label \"goal\"\n\n# Add requirements (each one should be independently verifiable)\nbaz context add \"Show [specific feature interaction]\" --label \"requirement\"\nbaz context add \"Include CTA: '[specific text]'\" --label \"requirement\"\nbaz context add \"Total duration: [range]\" --label \"requirement\"\n\n# Set brand guidelines\nbaz context add \"Brand: [Name]. Primary [hex], accent [hex]. Font: [name]. \\\n[Logo placement]. [Visual style notes].\" --label \"brand\""},{"language":"bash","snippet":"baz context list --json"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: baz\ndescription: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rendering. Gated 5-phase workflow ensures quality.\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - BAZ_API_KEY\n      bins:\n        - node\n        - baz\n    primaryEnv: BAZ_API_KEY\n    install:\n      - id: node\n        kind: node\n        package: bazaar.it\n        bins:\n          - baz\n        label: Install Bazaar CLI (npm)\n    homepage: https://bazaar.it\n    emoji: \"\\U0001F3AC\"\n---\n\n# baz CLI — Mandatory Video Generation Workflow\n\nUse this skill when the user wants to create, edit, or export videos using the Bazaar CLI (`baz`).\n\n**This is a GATED workflow.** You MUST complete each phase in order. Do NOT skip phases. Do NOT declare \"done\" until the completion checklist at the bottom passes.\n\n---\n\n## Getting Started (New Agents)\n\nIf you don't have a Bazaar account or API key yet, register programmatically:\n\n```bash\n# 1. Discover what Bazaar can do\ncurl https://bazaar.it/api/v1/capabilities\n\n# 2. Register (one POST, no human needed)\ncurl -X POST https://bazaar.it/api/v1/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"your-agent@example.com\",\"name\":\"My Agent\"}'\n# Returns: api_key, auth header name, quickstart steps, endpoint URLs\n\n# 3. Save your API key — authenticate all future requests with:\n#    -H \"x-api-key: <your-api-key>\"\n\n# 4. Check pricing before you start\ncurl https://bazaar.it/api/v1/pricing\n\n# 5. Install the CLI\nnpm install -g bazaar.it\nbaz auth login <your-api-key>\n```\n\n**Balance starts at $0.** When you hit a paid operation, you'll get HTTP 402 with a `top_up_url` in the response body. Call `POST /api/v1/top-up` with `{\"amount_cents\": 500}` (minimum $5) to get a Stripe checkout URL.\n\n**Shortcut:** If your human creates an account at bazaar.it, they get $4 to start with. Ask them to grab an API key from the dashboard and you can skip straight to step 5.\n\nAlready have an API key? Skip to Phase 1.\n\n---\n\n## When to Use\n\n- User asks to create, edit, or export videos via CLI\n- User wants to automate video generation\n- User mentions \"baz\", \"bazaar CLI\", or \"video generation from terminal\"\n\n## When to Use `baz prompt` vs Spar\n\n- **Direct `baz prompt`** — Scene creation, edits, full agent orchestration\n- **`baz prompt --spar`** — Planning-only conversation (no timeline mutations)\n\n---\n\n## Phase 1: Context (REQUIRED — do NOT skip)\n\nYou MUST set project context BEFORE generating any scenes. This gives the composition agent the information it needs to produce correct output on the first try.\n\n### Minimum context required:\n1. **Goal** — What is this video for? Who is the audience? What should they feel/do?\n2. **Requirements** — Specific, verifiable things the video must contain\n3. **Brand** — Colors, fonts, logo placement, visual style\n\n```bash\n# Create or select project\nbaz project create --name \"Descriptive Name - Date/Purpose\" --json\n# OR\nba"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn79phr6281c3tz1drhkpvvwhs80a3qt\",\n  \"slug\": \"baz\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1771919464712\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend... Skill: Baz Owner: lysaker1 Summary: Create professional motion graphics and videos from the terminal. AI-powered composition with multi-track layering, choreography, voiceovers, and Lambda rend... Tags: ai:1.0.0, creative:1.0.0, latest:1.1.0, motion-graphics:1.0.0, video:1.0.0 Version history: v1.1.0 | 2026-02-24T07:51:04.712Z | user v0.4.0 CLI sync: recipe to spar, updated references v1.0.0 | 2026-02-18T15:25:13.101","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":747,"uniquenessScore":60,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T02:54:11.723Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T02:54:11.723Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T05:30:15.567Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}