ascii-backdrop

ascii-backdrop is a skill for Claude Code, Codex from majiayu000/spellbook. It costs 209 tokens per session (3,239 once invoked), scanned A, original, MIT.

A small animated background engine that renders subjects as ASCII characters, dots, tiles, or Braille in a user interface. It draws each subject on a low-resolution canvas and converts the result into character cells.

In plain words
What is it for?
Use it to create animated terminal-style backdrops with brightness, edge, shape-matching, or Braille rendering. It supports layered depth and a cleared area around interface content.
Why use it?
It lets a moving visual background stay readable behind headings and input fields without requiring a separate animation system for every subject. Different drawing functions can produce creatures, particles, smoke, logos, or image-like fields.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create animated terminal-style backdrops with brightness, edge, shape-matching, or Braille rendering. It supports layered depth and a cleared area around interface content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/spellbook/ascii-backdrop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add majiayu000/spellbook --skill ascii-backdrop
Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ascii-backdrop

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/spellbook/ascii-backdrop/github.svg)](https://agentmods.dev/skills/majiayu000/spellbook/ascii-backdrop)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/spellbook/ascii-backdrop"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/ascii-backdrop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ascii-backdrop

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/spellbook/ascii-backdrop"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/ascii-backdrop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00209 $0.03239
Opus 5.5 $0.00084 $0.01296
Sonnet 5.5 $0.00042 $0.00648
Haiku 4.5 $0.00021 $0.00324

Measured 9d ago against content hash c1b4cbddab35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ascii-backdrop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (assets/ascii-backdrop.js, scripts/check.mjs, scripts/regression.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ascii-backdrop/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ASCII Backdrop

A subject paints brightness or colour on a small canvas; the engine prints every character cell as a glyph, dot or tile. Anything that can paint on a canvas can be the subject.

How it works

Every frame, each layer's subject draws itself on a small offscreen canvas (a few pixels per character cell). The engine reads those pixels and prints them in the layer's mode. A lower depth dims a layer, which gives depth for free; a clear zone fades output around the UI so headings and inputs stay readable. Changing the subject means changing one draw function; the engine does not change.

Print mode Layer setting Look Frame cost at 1440×900 (measured)
Brightness glyphs default mode: 'glyph' Glyph from the density ramp; the brightest cells print as filled boxes ~8 ms
Edge glyphs glyph: { edges: true } / \ | - follow strong edges ~8 ms
Shape matching glyph: { match: 'shape' } Samples a 2×3 grid per cell and picks the glyph whose shape fits best, for crisper outlines (after Alex Harri) ~5 ms (cached)
Braille mode: 'braille' 2×4 dots per cell, twice the resolution, optional Bayer dither ~6 ms
Dither mode: 'dither' Bayer 4×4 ordered dither, dots or squares sized by level ~6 ms
Colour tiles mode: 'tile' Rounded squares in the colours the subject paints ~3 ms

Subjects paint in white (brightness = density); only tile layers paint real colours. Layers in different modes can share one scene.

Files

  • assets/ascii-backdrop.js: engine, built-in subjects and page helpers, no dependencies, exposed as window.AsciiBackdrop. Copy it into the project.
  • assets/demo.html: a dark prompt page with the backdrop behind it; switch subjects, print modes, glyph sets, CRT and palettes; the heading decodes; a corner card shows the image dissolve; upload an image or video.
  • scripts/check.mjs: screenshots desktop, phone and reduced-motion views and reports errors and frame rate (needs Playwright).

Read the full file on GitHub · 148 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 148 lines · 209 tokens per session scan A c1b4cbddab35

Subscribe to this mod's changes

ascii-backdrop is a skill published in the GitHub repository majiayu000/spellbook (290 stars, last pushed 2d ago), licensed MIT. It adds 209 tokens to every session and 3,239 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

ascii-backdrop compared with skills from other repositories

ascii-backdrop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ascii-backdropmajiayu000/spellbookSkill2902d agoMITA209Claude Code, Codex
cao-session-managementawslabs/cli-agent-orchestratorSkill1.5kyesterdayApache-2.0B83Claude Code
workflowzhinkgit/embeddedskillsSkill78518d agoMITA88Claude Code
pneuma-sessionpandazki/pneuma-skillsSkill161yesterdayMITA127Claude Code, Codex
fast-resumeangristan/fast-resumeSkill190yesterdayMITA50Claude Code, Codex
lov-organize-storagelovstudio/skillsSkill723d agoMITA58Claude Code
lov-finder-actionlovstudio/skillsSkill723d agoMITA36Claude Code