Skills

Infographics

Use when generating Basic Memory PR, changelog, release, or weekly images from Codex.

Install

npx skills add basicmachines-co/basic-memory --skill infographics -g -a claude-code -y
Category
Git and review
Updated
3d ago
License
AGPL-3.0
Context cost
Mediumabout 2,682 tokens
Runs scripts
No, instructions only

What it does

Use when generating Basic Memory PR, changelog, release, or weekly images from Codex.

Basic Memory Images

Generate repository visuals with evidence-grounded content and canonical output paths. The file and marker names still say "infographic" for compatibility, but PR generation is image-first: scene, poster, painting, photograph, cover, tableau, staged artifact, or another editorial visual moment that describes the intent of the PR. PR images are non-gating BM Bossbot artifacts; changelog and release-summary images are manual evidence-pack workflows.

Output Contract

  • Base output directory: docs/assets/infographics/
  • PR image: docs/assets/infographics/pr-<number>.webp
  • Changelog image: docs/assets/infographics/changelog.webp
  • Weekly image:
    • This is always a 2-Week Retro window: previous ISO week through current ISO week (start-week = current-week - 1, end-week = current-week).
    • Same year window: docs/assets/infographics/<year>-w<start-week>-w<end-week>.webp
    • Cross-year window: docs/assets/infographics/<start-year>-w<start-week>-<end-year>-w<end-week>.webp

PR Mode

PR mode uses the BM Bossbot summary block as source material. Do not hand-write claims that are not present in the PR body.

  1. Fetch the PR body:
gh pr view <number> --json body --jq '.body // ""' > /tmp/bm-pr-body.md
  1. Generate the canonical asset:
uv run --script scripts/generate_pr_infographic.py \
  --pr-number <number> \
  --pr-body-file /tmp/bm-pr-body.md \
  --theme "<optional visual theme>" \
  --provenance-output /tmp/bm-infographic-provenance.md \
  --output docs/assets/infographics/pr-<number>.webp

If the PR body contains a managed image theme block, the script reads it automatically:

<!-- BM_INFOGRAPHIC_THEME:start -->
<theme>
<!-- BM_INFOGRAPHIC_THEME:end -->

Before spending an image call, test the prompt path locally:

Read the whole SKILL.md on GitHub

More in Git and review