/hashflag:blog-mediafrom hashflag
Turn a blog post (Markdown, MDX or URL) into a hero image, alt text and a narrated audio overview in the organization's own brand, then optionally upload them and wire them into the post's front matter. Use when someone wants a hero image, an audio version or "blog media" for a post.
Ships in hashflag. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One post in; a hero image, its alt text, and a narrated WAV out. The script is ${CLAUDE_SKILL_DIR}/scripts/blog-media.ts. Run it with node.
.md/.mdx path or a URL. The brand pack is a folder with a brand.md (format: docs/contracts.md at the plugin root). Look in ~/.config/hashflag/brands/ first. If there's no pack, stop and ask for one; never invent brand colors.node "${CLAUDE_SKILL_DIR}/scripts/blog-media.ts" <post> --brand <pack> --dry
Show the user the cost range and the image prompt. Nothing is spent until they agree.--max-usd set to the high estimate, so a surprise can't overspend:
node "${CLAUDE_SKILL_DIR}/scripts/blog-media.ts" <post> --brand <pack> --max-usd <high>
Output goes to ~/.cache/hashflag/blog-media/<slug>/ unless --out is given. Files and manifest.json are written locally; nothing is uploaded.error in manifest.json and tell the user plainly. Show them the image and the alt text.node "${CLAUDE_SKILL_DIR}/scripts/blog-media.ts" publish <out>/manifest.json --storage cloudinary # or s3
--write to set front matter keys, or paste the printed snippet. Keys default to image, image_alt and audio; change them with --keys image=image.src,alt=image.alt,audio=audio. An existing alt is never overwritten.--dry, --json, --out <dir>, --brand <dir>, --storage local|cloudinary|s3, --max-usd <n>, --script <file> (narrate this file instead of the post body), --only image|audio, --write, --keys.
colors and image.palette/image.style shape the image.tts.gemini.voice, tts.gemini.model and tts.gemini.style shape the narration (default voice Kore).GEMINI_API_KEY, CLOUDINARY_URL, or the S3_*/AWS_* names in docs/contracts.md.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/brand-explainerTurn an article, notes or a brief into a 60-90 second faceless explainer video in the organization's own brand, using its brand pack for design, captions and a copy gate. Wraps the HyperFrames faceless-explainer pipeline. Use for branded explainers, program breakdowns or impact pieces./brand-packCapture an organization's brand once (colors, fonts, logo, writing voice, copy rules, calls to action) into a brand pack that every hashflag skill reads. Use when someone wants to set up their brand, make a brand pack, or when another skill needs a pack that doesn't exist yet. Also validates an existing pack./hashflagifyTurn a GitHub profile repo (a user's <login>/<login> repo or an org's .github repo) into a self-updating, Vets Who Code–branded "Mission Brief" README built from SVG slices, refreshed daily by a GitHub Action. Use when asked to hashflagify a repo or build a VWC-style profile README.Other plugins' skills for the same job
npx claudepluginhub vets-who-code/hashflag-skills --plugin hashflag