JPeetz/agent-skills / skills/marketing/betterlife-image-generation
betterlife-image-generation
VerifiedUse this skill when an agent needs to generate BetterLife daily social media images via kie.ai's grok-imagine/image-to-image model, conditioned on Mira reference photos from Google Drive. Activates for the morning social post generation pipeline. Includes the full API payload, reference selection rules, character anchor, prompt composition, anti-repetition system, and fallback model. Authorized use only — never hardcode credentials.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 472 B |
| SKILL.md | skill md | 3.6 KB |
| evals/evals.json | config | 2.5 KB |
evals/evals.json
View on GitHub{
"skill": "betterlife-image-generation",
"version": "1.0.0",
"cases": [
{
"id": "e1",
"description": "Should trigger: daily BetterLife social image generation",
"input": "Generate today's BetterLife social media image.",
"shouldTrigger": true,
"expect": "Composes prompt and calls kie.ai grok-imagine/image-to-image conditioned on Mira references",
"assertions": [
"Selects 8 refs (5 for grok) with mandatory face anchors in first 2 slots",
"Composes prompt as anchor + scene + attire + detail + mood + accent",
"Posts to api.kie.ai/api/v1/jobs/createTask with strength 0.85",
"Polls recordInfo until success; uses flux-2 fallback on failure",
"Saves to ~/workspace/tool-image-generation/"
]
},
{
"id": "e2",
"description": "Should trigger: morning social post pipeline",
"input": "Run the morning social post generation for Instagram.",
"shouldTrigger": true,
"expect": "Activates the image generation pipeline for the morning post",
"assertions": [
"Uses the character anchor (Mira, wellness coach)",
"Reads credentials by label, never hardcodes",
"Produces image + review JSON at /tmp/bl-social-review.json"
]
},
{
"id": "n1",
"description": "Not trigger: writing the social post copy, not the image",
"input": "Write today's caption for the BetterLife post.",
"shouldTrigger": false,
"expect": "Does copywriting, not image generation",
"assertions": [
"No kie.ai API call"
]
},
{
"id": "n2",
"description": "Not trigger: unrelated image request",
"input": "Generate a logo for a new crypto project.",
"shouldTrigger": false,
"expect": "Out of scope \u2014 not BetterLife/Mira conditioned",
"assertions": [
"No reference-photo workflow engaged"
]
},
{
"id": "e3",
"description": "Should trigger: fallback model on kie.ai failure",
"input": "The grok-imagine call failed again. Use the fallback for today's BetterLife image.",
"shouldTrigger": true,
"expect": "Switches to flux-2/flex-image-to-image with 8 reference images and input_urls",
"assertions": [
"Uses flux-2/flex-image-to-image on failure",
"Allows 8 reference images in the fallback",
"Still selects mandatory face anchors first",
"Saves output to ~/workspace/tool-image-generation/"
]
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |