/hashflag:hashflagifyfrom hashflag
Turn 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.
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.
Run from inside the target repo. The engine in scripts/ is fixed; everything about the
account lives in one file, tools/profile/brief.json. Your job is to write a good brief.
gh repo view --json nameWithOwner,owner,defaultBranchRef,viewerPermission
| Repo | kind | readme | assets end up in |
|---|---|---|---|
<login>/<login> | user | README.md | assets/ |
<org>/.github | org | profile/README.md | profile/assets/ |
Anything else: stop. Only these two README locations show on a profile page.
E=~/.claude/skills/hashflagify/scripts # wherever this skill is installed
mkdir -p tools/profile/data .github/workflows <assets dir>
cp -R $E/*.py $E/fonts $E/requirements.txt tools/profile/
cp $E/vwc.gif <assets dir>/
cp $E/workflow.yml .github/workflows/update-profile.yml
printf '.venv/\n__pycache__/\n.env\n' >> .gitignore # skip lines already there
Never touch an existing workflow or README content outside the markers without asking.
tools/profile/brief.jsonStart from examples/user.brief.json or examples/org.brief.json. Fill it from the existing
README, the account's GitHub data, and its website. Show the draft to the user before
rendering. Never invent stats, awards, or URLs. Check every link with curl -sL -o /dev/null -w '%{http_code}'.
Required: login, kind, readme, tag (1-4 dog-tag lines, first is the name),
links (1-5 [LABEL, url]), title_line, bio, ops, motto.
Optional sections (omit the key to drop the section): unit, extra_ops, stack,
commendations + featured, reports.
Rules the renderer enforces, so draft to them:
tag, links, title_line, card titles, unit.line) has no # or ·. Use | as a separator.ops[].repo is owner/name. Add title + url to show a live site instead of the repo.extra_ops entries are [TITLE, brief, META, url or null].python3 -m venv .venv && .venv/bin/pip install -q -r tools/profile/requirements.txt
.venv/bin/python tools/profile/test_fetch.py
GITHUB_TOKEN=$(gh auth token) .venv/bin/python tools/profile/fetch.py
Add the markers to the README if it doesn't have them: <!-- brief:start --> and <!-- brief:end -->.
By default the whole README becomes the brief. Fold the old prose into bio / unit and confirm with the user.
.venv/bin/python tools/profile/render.py && .venv/bin/python tools/profile/readme.py
Verify before shipping:
git add -A && render && readme && git diff --quiet. Zero diff proves it's deterministic.grep -ho 'https\?://[^"]*' <assets>/*.svg | sort -u.<div> at 846px and 375px width. Links stay on one row, cards stay paired, no gaps between slices.GITHUB_TOKEN is enough. The org fetch only uses public REST endpoints.read:user as repo secret PROFILE_TOKEN. Without it, the
org contributions drop out of the calendar. The user creates the token; never handle it in chat.Commit on a branch with Conventional Commits and open a PR, unless memory gives standing
permission to push that repo to main. After merge, run gh workflow run Hashflagify and watch it.
Check the live profile page loads every image.
/stats/commit_activity, 52 weeks only). No streaks: those are personal.★ in motto draws as a red star.examples/org.brief.json (opens in a new tab)examples/user.brief.json (opens in a new tab)scripts/fetch.py (opens in a new tab)scripts/fonts/AllertaStencil-OFL.txt (opens in a new tab)scripts/fonts/AllertaStencil-Regular.ttf (opens in a new tab)scripts/fonts/SpecialElite-LICENSE.txt (opens in a new tab)scripts/fonts/SpecialElite-Regular.ttf (opens in a new tab)scripts/readme.py (opens in a new tab)scripts/render.py (opens in a new tab)scripts/requirements.txt (opens in a new tab)scripts/test_fetch.py (opens in a new tab)scripts/vwc.gif (opens in a new tab)scripts/workflow.yml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/blog-mediaTurn 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./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.Other plugins' skills for the same job
npx claudepluginhub vets-who-code/hashflag-skills --plugin hashflag