Agent skill

Basic Memory Repo Images

by basicmachines-co in basicmachines-co/basic-memory

Produces PR, changelog and two-week retro images for the Basic Memory repository from evidence in PR bodies, saved to fixed paths under docs/assets/infographics.

AGPL-3.0Auto-check passedMedia & Creative

Install Basic Memory Repo Images

skills CLI
$ npx skills add basicmachines-co/basic-memory --skill infographics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install basicmachines-co/basic-memory infographics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/basicmachines-co/basic-memory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/infographics .claude/skills/infographics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
infographics
GitHub stars
4.1k
Token cost
~2.7k tokens
SKILL.md length
1,263 words
Files
5 (incl. references, assets)
Skills in repo
49
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Produces PR, changelog and two-week retro images for the Basic Memory repository from evidence in PR bodies, saved to fixed paths under docs/assets/infographics.

  • Works in 2 steps: Fetch the PR body → Generate the canonical asset
  • Creating the image for a Basic Memory pull request
  • SKILL.md covers Output Contract, PR Mode, Changelog Mode and Style And Category Selection, plus 3 more sections
  • Calls uv, gh and git

What it does

This skill generates repository visuals for Basic Memory from Codex. The word infographic stays in file and marker names for compatibility, but pull request images are meant to be editorial scenes such as posters or paintings that convey what the change is about, not charts. They are built from the BM Bossbot summary block in the PR body, fetched with gh pr view, and the skill forbids claims the body does not make.

Images go to fixed paths: a file named after the PR number for a PR, changelog.webp for a changelog, and a year-and-week range name for the weekly image, which always covers the previous and current ISO week. A uv-run script, scripts/generate_pr_infographic.py, builds the image; --print-prompt (or --dry-run) shows the prompt without calling OpenAI, and --provenance-output writes a record of the model, size, quality, theme source and chosen visual direction. Without a theme, the direction is picked from a style pool using the PR number. PR images never gate a merge; changelog and release images are manual workflows.

When your agent uses it

  • Creating the image for a Basic Memory pull request
  • Producing a changelog or release-summary image for the Basic Memory repo
  • Making the two-week retro image covering the previous and current ISO week
  • Testing an image prompt locally before spending a generation call

Example prompts

  • “Generate the image for the Basic Memory pull request I just opened, using its Bossbot summary.”
  • “Print the prompt for this PR's image without calling OpenAI.”
  • “Make the weekly Basic Memory retro image for the current ISO week.”

Requirements

  • uv to run the generator script
  • The gh CLI to read PR bodies
  • OpenAI access for image generation

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Fetch the PR body
  2. Generate the canonical asset

What it can do on your machine

Read from SKILL.md and the folder at commit 6982cfc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • gh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, gh and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Basic Memory Repo Images loads about 2.7k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 25 tokens; SKILL.md has 1,263 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from basicmachines-co/basic-memory at commit 6982cfc, republished under its AGPL-3.0 licence (© basicmachines-co). 1,263 words, ~2,714 tokens.

Download SKILL.mdSave it as .claude/skills/infographics/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
infographics
description
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:
bash
gh pr view <number> --json body --jq '.body // ""' > /tmp/bm-pr-body.md
  1. Generate the canonical asset:
bash
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:

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

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

bash
uv run --script scripts/generate_pr_infographic.py \
  --pr-number <number> \
  --pr-body-file /tmp/bm-pr-body.md \
  --theme "<optional visual theme>" \
  --output docs/assets/infographics/pr-<number>.webp \
  --print-prompt

--dry-run is an alias for --print-prompt; both print the final prompt and exit without calling OpenAI.

When no theme is supplied, the script selects a deterministic BM visual direction from the style pool below based on the PR number and Bossbot summary. This keeps repeated PR images from collapsing into the same generic visual.

When the image is generated, also write provenance with --provenance-output <path>. BM Bossbot publishes that managed block into the PR body with these markers:

markdown
<!-- BM_INFOGRAPHIC_PROVENANCE:start -->
...
<!-- BM_INFOGRAPHIC_PROVENANCE:end -->

The provenance block records the generated asset path, image model, size, quality, image mode, theme source, and selected visual direction. It intentionally does not dump the full generated prompt into the PR body. Treat this block as debugging and creative provenance only; it is not a merge gate.

The PR image is visual support only. The authoritative merge gate is the GitHub commit status named BM Bossbot Approval.

Changelog Mode

Build an evidence pack before writing a prompt:

  • diff truth source: merged PR diffs, merge commits, or local reconstructed diffs
  • changed-file orientation: git diff --stat plus key file reads
  • impact ledger: before/after outcomes tied to actual changes
  • discard list: misleading titles, reverted work, rename-only churn, speculative TODOs
  • chosen image form: poster, scene, tableau, cover, painting, photograph, staged artifact, or another editorial visual moment
  • chosen BM style category: exactly one category from the selection pool below

Read these references before drafting the prompt:

  • references/prompt-blueprint.md
  • references/style-balance.md

Read the current CHANGELOG.md entries and include the latest meaningful changes.

Style And Category Selection

Select exactly one BM style category per image based on semantic fit. The visual language should be recognizable and tasteful, while staying business-readable.

Create an image-first visual form that communicates the change: poster, scene, tableau, cover image, painting, photograph, staged artifact, or another editorial visual moment. Maps, diagrams, dossiers, charts, and labels can appear as props inside the scene, but do not make a text-heavy infographic.

BM category pool:

  • computer science college textbooks: SICP-style diagrams, algorithms lectures, compiler pipelines, automata, database systems, type theory, operating systems
  • classic literature subjects: sea voyages, gothic manors, Dickensian city maps, Austen social graphs, library marginalia, travel journals
  • fantasy/D&D-inspired: quest maps, dungeon keys, guild ledgers, spellbooks, bestiaries, tavern notice boards; no copyrighted settings
  • Music: Metal, Hard Rock, Punk, techno, soul, reggae bands; no pop music, no direct band logos, album covers, or musician likenesses
  • sci-fi: Star Wars inspired knockoff, Spaceballs-adjacent space opera, fleet routes, mission consoles, contraband manifests; avoid copyrighted characters, logos, or named fictional universes
  • Conan the barbarian-inspired sword-and-sorcery: ruined temples, desert routes, battle standards, ancient maps; no named character likenesses
  • Comic books: issue covers, splash pages, action-panel maps, caption boxes, halftone energy, clean sound-effect typography
  • French new wave movies: poster style, stark typography, city route maps, jump-cut sequencing, high-contrast editorial photography cues
  • WWII propaganda posters: home-front public-information poster language, logistics arrows, ration charts, mobilization maps, bold simplified figures; no real-world party symbols, hate imagery, dehumanizing slogans, or false historical claims
  • Italian movie posters: hand-painted drama, bold credits, expressive color, route-map collage, 1960s or 1970s cinema energy; no direct film titles or actor likenesses
  • Shakespeare: stage maps, acts and scenes, dramatis personae, royal courts, backstage cue sheets
  • Greek mythology: temple diagrams, constellation routes, hero's journey maps, oracle tablets, labyrinths, ship routes
  • noir detective boards: case files, red-string maps, typed evidence labels, precinct wall charts
  • NASA mission-control dashboards: launch timelines, telemetry maps, orbital routes, status boards
  • space exploration and astronomy: celestial atlases, observatory charts, star-field maps, orbital mechanics diagrams, planetary survey routes, telescope annotations, mission trajectories, deep-space timelines
  • paintings: abstract painting, classical landscape, Remington-inspired western action painting, Rembrandt-inspired chiaroscuro, historical mural, stormy seascape, allegorical editorial painting
  • classic black-and-white photography: documentary field report, newsroom archive print, editorial photo essay, street photography, high-contrast darkroom print, contact sheet, civic infrastructure photograph
  • 80's action movies: practical explosions, smoky backlit warehouses, neon city streets, helicopter searchlights, mission dossiers, heroic silhouettes, high-stakes countdowns, painted ensemble posters; no direct actor likenesses, real film titles, franchise marks, or catchphrases
  • alchemy manuscripts: transformation diagrams, annotated symbols, recipe-like process maps, illuminated margins
  • brutalist civic planning: transit maps, concrete signage, zoning blocks, infrastructure diagrams
Show full SKILL.md (425 more words)Show less

Selection rules:

  • Pick one category only; do not create mixed mashups.
  • Pick the most appropriate image form. Prefer an actual scene, poster, painting, photograph, tableau, or cover over a text-heavy infographic.
  • Match metaphor to content, but do not overthink it. The category is a creative catalyst, not a semantic constraint.
  • Use a polished editorial rendering direction: smooth anti-aliased text, high contrast, clean edges, readable labels.
  • Make the category drive the composition through a readable staged moment, editorial composition, symbolic environment, route, artifact, or visual metaphor.
  • Keep the structure literal enough to aid understanding, but not so heavy that it obscures engineering meaning.
  • Give the image generator creative latitude on layout, structure, color palette, and visual metaphors. Be precise about what content to show, loose about how to show it.
  • Do not use copyrighted characters, logos, or named fictional universes. Use genre cues, knockoffs, and original compositions instead.

Content-First Aesthetic Contract

The meaning must be readable and clearly hierarchical. Everything else is creative territory: image form, layout, visual metaphors, decorative elements, color choices, and category-specific visual language.

Hierarchy:

  1. Meaning: what shipped, what changed, and why it matters must be clear.
  2. If the image uses text, labels, sections, or evidence bullets, they must be legible.
  3. The selected category's visual DNA should drive the composition as a poster, scene, painting, photograph, tableau, cover, or symbolic object arrangement.
  4. Do not play it safe. A visually striking image that someone wants to look at beats a correct but boring one.

Hard rules:

  • Content sections and labels must be readable when present. Text cannot be obscured by decorations.
  • Do not use lore-heavy copy that competes with engineering or business meaning.
  • Every prompt must include a clear image-first composition cue: a staged scene, poster composition, painting, photograph, symbolic tableau, hero object, mission room, dossier, artifact, route, or visual metaphor.
  • Do not over-prescribe exact coordinates or panel geometry; give a composition backbone and let the model compose around it.

Generation

  1. Write the final prompt to a temporary markdown file.
  2. Generate with the shared image helper:
bash
uv run --script scripts/generate_infographic.py \
  --prompt-file /tmp/bm-infographic-prompt.md \
  --output docs/assets/infographics/<name>.webp
  1. Verify the image exists and is readable before reporting success.

Quality Bar

  • Tell a concrete before/after value story, not vague improvement claims.
  • Stay understandable for both engineers and non-technical stakeholders.
  • Use plain-language section titles and labels when text is present.
  • Include clear visual hierarchy: title, staged focal point, symbolic scene, evidence props, or hero object.
  • Avoid invented facts; only use provided source material.
  • Favor shipped outcomes over intermediate or reverted work.
  • Preserve readability with high contrast, non-tiny labels, and uncluttered layout.

© basicmachines-co, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references, assets) in .agents/skills/infographics of basicmachines-co/basic-memory.

  • SKILL.md
  • agents/openai.yaml
  • assets/icon.svg
  • references/prompt-blueprint.md
  • references/style-balance.md

Open the folder on GitHubat commit 6982cfc

Compare with similar skills

Basic Memory Repo Images next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Basic Memory Repo Images compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Basic Memory Repo Images this skillbasicmachines-co/basic-memory4.1k—~2.7kAutomated safety check: PassAGPL-3.0
Nano Banana Pro Prompts Recommend SkillYouMind-OpenLab/nano-banana-pro-prompts-recommend-skill1.9k1 repos~4.1kAutomated safety check: PassNone
Yingzaoop7418/guizang-yingzao-skill488—~1.1kAutomated safety check: PassNone
AI Image Creatorcentminmod/my-claude-code-setup2.7k—~8kAutomated safety check: NotesMIT
Character Refseternityspring/shuohao-skills4.2k—~1.7kAutomated safety check: WarnApache-2.0
Chatgpt Image Adkrusemediallc/arcads-claude-code1.6k—~2.7kAutomated safety check: NotesMIT

Similar skills

  • Nano Banana Pro Prompts Recommend Skill

    YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill

    Recommend suitable prompts from 10,000+ Nano Banana Pro image generation prompts based on user needs.

    1.9k GitHub starsUsed in 1 repo~4.1k tokens
    Media & CreativeAuto-check passed
  • Yingzao

    op7418/guizang-yingzao-skill

    Transform real Chinese architecture and place-based cultural photos into art-directed editorial posters, integrated multi-photo scenes, and optional source comparisons.

    488 GitHub stars~1.1k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • AI Image Creator

    centminmod/my-claude-code-setup

    Generate, edit-from-reference, or analyze images with AI via OpenRouter (Gemini, GPT Image, Seedream, Qwen, MAI, Grok, FLUX.2, Recraft, Muse, Riverflow; Cloudflare AI Gateway BYOK).

    2.7k GitHub stars~8k tokensUpdated 9 days ago
    Media & CreativeAuto-check: notes
  • Character Refs

    eternityspring/shuohao-skills

    给任何故事里的角色真出参考图(小说改编、自己原创的故事、单独设计一个角色都行,不需要小说原文): 一段话描述角色,拆成分层字段、补全后确认, 先出一张正面全身锚点,其余视图(大头照、90° 侧面、背面、细节、45° 大头照)都只参考这张锚点, 按需分档出图。每张图带标识、可单独重出,重出后自动标出哪些图过期。

    4.2k GitHub stars~1.7k tokensUpdated 11 days ago
    Media & CreativeAuto-check: warnings
  • Chatgpt Image Ad

    krusemediallc/arcads-claude-code

    Generate one or more standalone Meta image-ad creatives via ChatGPT Image 2 (gpt-image-2) through the Arcads external API.

    1.6k GitHub stars~2.7k tokensUpdated 14 days ago
    Media & CreativeAuto-check: notes
  • Zy Cinematic Realism

    popopo-99/zy-cinematic-realism

    Develop supplied scripts, short stories, or synopses into scene understanding, director-facing art concepts, and motivated narrative keyframes; compile scene ideas, visual references, or existing…

    557 GitHub stars~4.6k tokensUpdated 3 days ago
    Media & CreativeAuto-check passed

More from basicmachines-co/basic-memory

All 49 skills in this repo
  • cmux Settings Editor

    basicmachines-co/basic-memory

    Views, sets, unsets and validates cmux settings in ~/.config/cmux/cmux.json with a helper script that checks keys against the schema.

    4.1k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • cmux Window and Pane Control

    basicmachines-co/basic-memory

    End-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs…

    4.1k GitHub starsUsed in 2 repos~842 tokens
    Auto-check passed
  • Cmux Markdown Viewer Panel

    basicmachines-co/basic-memory

    Opens markdown files in a formatted cmux panel beside the terminal that re-renders on every change, handy for plans and task lists.

    4.1k GitHub starsUsed in 2 repos~527 tokens
    Auto-check passed
  • cmux Workspace Scoping

    basicmachines-co/basic-memory

    Keeps agent actions scoped to the cmux workspace and terminal that invoked it, and lays out pane and surface commands that avoid disrupting the user's own focus.

    4.1k GitHub starsUsed in 2 repos~1.7k tokens
    Auto-check passed
  • Logfire Instrumentation

    basicmachines-co/basic-memory

    Adds Pydantic Logfire tracing, logging and metrics to Python, JavaScript or TypeScript and Rust projects, with the correct setup order and library extras.

    4.1k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Basic Memory Onboarding

    basicmachines-co/basic-memory

    Guides a newcomer to Basic Memory through designing a personal knowledge system, then teaches its use and sets up their assistant to load it each session.

    4.1k GitHub stars~3.4k tokensUpdated today
    Auto-check passed

Works with

Questions about Basic Memory Repo Images

What does Basic Memory Repo Images do?

Produces PR, changelog and two-week retro images for the Basic Memory repository from evidence in PR bodies, saved to fixed paths under docs/assets/infographics. This skill generates repository visuals for Basic Memory from Codex. The word infographic stays in file and marker names for compatibility, but pull request images are meant to be editorial scenes such as posters or paintings that convey what the change is about, not charts.

When should I use Basic Memory Repo Images?

Basic Memory Repo Images fits situations like: creating the image for a Basic Memory pull request; producing a changelog or release-summary image for the Basic Memory repo; making the two-week retro image covering the previous and current ISO week; testing an image prompt locally before spending a generation call.

How do I install Basic Memory Repo Images in Claude Code?

Run `npx skills add basicmachines-co/basic-memory --skill infographics -a claude-code`. Or copy the skill folder (.agents/skills/infographics in basicmachines-co/basic-memory) into .claude/skills/infographics in your project. Claude Code loads it when a task matches its description.

How do I install Basic Memory Repo Images in Codex?

Run `npx skills add basicmachines-co/basic-memory --skill infographics -a codex`. Or copy the skill folder (.agents/skills/infographics in basicmachines-co/basic-memory) into .agents/skills/infographics in your project. Codex loads it when a task matches its description.

Can I use Basic Memory Repo Images in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add basicmachines-co/basic-memory --skill infographics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/infographics, .gemini/skills/infographics, .github/skills/infographics and .opencode/skills/infographics in your project.

What does Basic Memory Repo Images need to run?

Going by SKILL.md and its folder, Basic Memory Repo Images needs the command-line tools its instructions call (uv, gh and git). Our summary lists: uv to run the generator script; The gh CLI to read PR bodies; OpenAI access for image generation.

Does Basic Memory Repo Images access the network?

SKILL.md contains no URLs. Its commands use uv, gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Basic Memory Repo Images safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Basic Memory Repo Images use?

Basic Memory Repo Images is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Basic Memory Repo Images use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Basic Memory Repo Images?

Skills that share tags, products or a category with Basic Memory Repo Images: Nano Banana Pro Prompts Recommend Skill (YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill, 1.9k stars), Yingzao (op7418/guizang-yingzao-skill, 488 stars), AI Image Creator (centminmod/my-claude-code-setup, 2.7k stars) and Character Refs (eternityspring/shuohao-skills, 4.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Basic Memory Repo Images?

basicmachines-co (a GitHub organization) maintains it in basicmachines-co/basic-memory, which has 4,107 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: basicmachines-co/basic-memory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.