claude-black-hole-theme

skill
Security Audit
Fail
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • exec() — Shell command execution in hooks/make-colors.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A Claude Code mod and live GPU shader theme for the Claude desktop app: an Interstellar-inspired black hole behind the Code tab that reacts to models, context, quota, and orbiting subagents.

README.md

“Do not go gentle into that good night.”
Dylan Thomas · Interstellar (2014)

Black Hole Theme

A Claude Code plugin that puts a live, Interstellar-inspired black hole behind the Claude desktop app. It reads what Claude is doing (working, waiting for you, which model, how much of your limit is left) and turns it into gravity and light. Subagents orbit it, errors fire jets, and you can throw planets and stars at it.

License: MIT
Claude Code mod
Version
GPU
Inspired by

English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español | Français | Deutsch | Português | Русский

▶ Try it in your browser

The same scene running live on the web, with controls to simulate Claude at work.

Claude at work in front of the black hole: tool calls fall into the disk while subagents orbit it

If Gargantua in Interstellar stayed with you long after the credits, this one is for you. Rest your pointer on the disk and time slows down, a little like Miller's planet.

An extended take on claude-desktop-event-horizon. Same idea, a black hole you work in front of, grown into a fuller version: more of the real physics (a spinning hole's D-shaped shadow, frame dragging, the photon ring, tidal disruption, hot spots, jets, gravitational redshift at the horizon), and every effect driven by what Claude is actually doing. No buttons to learn: everything lives in the backdrop, the status line and the app's own speaker menu.

The status line

Under the prompt box, four readings at a glance: which machine, the 5-hour limit left, context size, and the turn timer that turns into the cache countdown once Claude answers, with a toast when 5 minutes are left.

The status line under the prompt box, labeled

Hear it

Turn your sound on. A deep hum while you work (with a layer an octave up, so laptop speakers carry it too), the odd starlight chime, a slow organ motif when Claude finishes (E B A, falling home) or asks you something (B E, rising), and a sinking tone with a deep bell when the context is compacted. It all plays through the speaker menu in the app's title bar: Low / Mid / High, plus a separate switch for the hum.

https://github.com/user-attachments/assets/7f36325a-1db4-4e68-9d15-a31f02975815

The web demo has the same sound behind its 🔊 button.

Highlights

“We used to look up at the sky and wonder at our place in the stars.”

Interstellar (2014)

✋ It calls you when it needs you While a permission prompt or a question waits for you, the disk dims, a warm amber glow pulses around the photon ring and a fainter second ring lights up just outside it. Back at your desk, you see it at a glance.
🧠 Context gauge without a number The halo grows as the context fills. Past 85% it turns red; at 90% it starts to pulse slowly, a nudge to compact.
⛽ Your 5-hour limit is its fuel The more of the limit you use, the thinner and dimmer the disk. Near empty, only the brightest streaks remain.
🕳️ Subagents orbit as small black holes Each running subagent (up to three) circles the big hole with its own photon ring and lensing. When it finishes it spirals in over two seconds, the ring flares, the halo blazes and a gravitational wave rolls out.
✴️ Cold cache becomes a neutron star An hour after Claude's last answer, the prompt cache has expired: the hole collapses into a neutron star with sweeping pulsar beams. Send a message and it becomes a black hole again.
🪐 Throw planets Press and hold on the empty backdrop: a planet appears under your cursor. Let go gently and real gravity takes it round a few times in a tightening spiral, stretched and reddened by the tides. Fling it fast and it slingshots away. Up to three at once, each leaving a faint trail; they pull on each other, and subagent holes pull on them too. Nothing is ever seen crossing the horizon: a falling planet slows, reddens and fades at the edge, as a distant observer would see it.
All 16 other effects

It shows you what Claude is doing

⚙️ Working or idle The disk turns fast while Claude is busy and slows to a drift while it waits for you.
🔥 The longer it thinks, the hotter it burns From 30 seconds into a turn the inner disk heats up; after five minutes it glows blue-white.
🎨 Tool calls in color Every tool call sends a clump of matter spiraling in from the rim, colored by kind: shell blue, file writes orange, web green, reads gray, shipping out red (git push, a release, a deploy, a message sent), delegation purple. The photon ring flashes as the clump falls in.
🌈 Each model has its own light Four tiers, low to high: Haiku cold blue, Sonnet jade green, Opus gold-white, Fable and above (Mythos too) violet-pink. A model it does not recognize gets Opus's light. Switch models and the disk slowly changes color.
⚠️ Errors fire jets A turn that ends in an error shoots two blue-white jets out of the poles.
🗜️ Compaction collapses and rebounds The hole shrinks and swallows its own disk in under a second, then rebounds in a flash: a shock wave ripples the starlight outward and the disk grows back from the inside, brighter than before.
📈 It grows with the session Up to 25% larger at 400 tool calls. A new session starts small again.
🌀 The busier it is, the faster it spins Real black holes spin, and so does this one. While Claude works it turns faster: the shadow flattens into a D on one side, as a spinning (Kerr) black hole's does, starlight is dragged around it, and the disk's inner edge moves in, leaving only thin streams falling across the gap.
💫 Every message leaves a hot spot Each message you send adds a bright spot circling just outside the disk's inner edge, like the flares seen around Sagittarius A*. It fades over a few minutes; up to three at once.
🔆 Full power turns it into a quasar About eight tool calls in quick succession and the disk flares, two long golden jets shoot out and the neighbourhood lights up for a few seconds.
🌟 Milestones leave a supernova On the 5th, 15th, 50th and 100th turn, a distant star explodes and leaves a nebula that stays for the rest of the session. Each one is bigger than the last.

Things to play with

⭐ Throw a star Double-click: a star falls in, is torn into a glowing stream within three radii, wraps around and is swallowed in a tidal disruption flare.
⏳ Time dilation Hover over the disk and time slows down: the disk spins more slowly and reddens around your pointer. A click sends a gravitational wave.
💥 Easter egg Feed it three planets within fifteen seconds.

Atmosphere

☄️ Comets Every half minute or so a comet crosses the screen, its path bent by the hole, its tail pointing away from it.
🌗 Companion eclipse A companion star circles every two minutes. Behind the hole it is bent into arcs, and into a full ring when aligned.

Gallery: what triggers what

Captured from the web demo. Pointer effects (stars bending around your cursor, time slowing on the disk, the gravitational wave on click) only show in motion.

Each model has its own light
Each model has its own light
Low to high: Haiku cold blue, Sonnet jade, Opus gold-white, Fable+ violet-pink
Waiting for you
Waiting for you
A permission prompt or question is open: the ring breathes
Compaction
Compaction
Context is compacted: the disk is swallowed, then regrows
Context nearly full
Context nearly full
Context past 85% of the limit: red, pulsing from 90%
Neutron star
Neutron star
An hour after the last answer (cache expired)
Subagent done
Subagent done
A subagent finishes: it spirals in, halo flares
Quasar
Quasar
About 8 tool calls in quick succession: golden jets
Supernova
Supernova
Turns 5, 15, 50, 100: each nebula bigger than the last
More states: Tool call, Low fuel, Long turn, hot disk, Growth, Error, Planets, Star, Comet
Tool call
Tool call
Every tool call; the clump is colored by kind (green = web)
Low fuel
Low fuel
Little of the 5-hour limit left: thin, dim disk
Long turn, hot disk
Long turn, hot disk
A turn running past 30 s; blue-white after 5 min
Growth
Growth
Tool calls add mass: up to +25% at 400 calls
Error
Error
A turn ends in an error: jets from the poles
Planets
Planets
Press and hold, then let go or fling
Star
Star
Double-click: it is torn into a stream
Comet
Comet
Every half minute or so, bent by the hole

How it works

Nothing in the app is patched. It is all the regular Claude Code plugin API: a theme with a seven-pass GPU shader, a status line and hooks.

hooks/register.tsx          theme, sound, status line; events → eight numbers for the shader
  fill     context / limit
  calls    tool calls, mod 1024
  mode     busy + 2 × waiting for you + 4 × cache expired
  agents   running subagents, 0 to 3
  evts     errors + 32 × compactions (each mod 32)
  mass     tool calls / 400
  fuel     5-hour limit left
  look     model + 4 × kind of the last tool + 28 × switched-off effects
hooks/scenes/black-hole.ts  the GPU shader, seven passes; only pass 3 touches every pixel
  pass 1  buffer (24×1)       disk phase and speed, turn length, neutron-star blend, clump in flight,
                              pointer and double-click, 5 bodies (3 planets, a star, a comet:
                              position, velocity, state), event clocks, subagent presence, model tint
  pass 2  buffer (480×300)    trails: each body splats its color, everything fades over ~0.7 s
  pass 3  picture             lensing (main hole + subagent holes) → companion star → halo
                              → disk back → arcs → photon ring → trails → horizon / neutron star
                              → jets → disk front → subagent hole shadows → tone map
  pass 4  shapes (novae)      supernova remnants at turns 5, 15, 50 and 100
  pass 5  shapes (spots)      hot spots, one per message
  pass 6  shapes (bodies)     planets, the star and the comet head
  pass 7  shapes (minis)      rings and halos of the subagent holes
  passes 4–7 draw only small squares around what they show, which is why it runs on any GPU
web/index.html              the same scene in WebGL2 + GLSL, state simulated in JavaScript
  • Bodies fly on real gravity. Positions and velocities live in the buffer and are integrated every frame: two semi-implicit Euler substeps, a softened 1/r² pull from the main hole and from each subagent hole, a little drag so slow orbits decay into a spiral.
  • A shader can take at most eight numbers from its plugin, so several signals are packed into one and unpacked on the GPU.
  • Lensing is an analytic point-mass deflection, not a geodesic integration. The companion star is drawn at the lensed coordinate, so its arcs and Einstein ring come out of the same formula for free.
  • Disk rotation is Keplerian with two cross-fading texture layers, so it never winds into thin rings even after hours.
  • Sound is numbers, not files. The hum and the motif are declared in the theme, so the app synthesizes them and its own speaker menu controls them.

Performance

claude plugin validate rates it "runs on any GPU at 30 fps", its top tier. With Reduce Motion on, on mobile, or on a GPU that can't keep up, the app falls back to a matching still image.

Compared with the original

claude-desktop-event-horizon Black Hole Theme
Light paths Ray-traced in Schwarzschild spacetime Analytic lensing
Views Five camera views, cycling One composed view, plus a companion eclipse
Light mode Photographic negative Dark only, by design
Pointer Time dilation; click feeds a stream Time dilation; click sends a wave; throw planets and stars
Claude at work Streams of matter, ring flashes Disk speed, turn heat, colored tool clumps
Waiting for you None Breathing photon ring
Model / limits None Disk color per model; disk thins as the 5-hour limit runs out
Subagents None Small black holes in orbit, merging when done
Errors / compaction None Polar jets / disk swallowed and regrown
Cold cache Scene redshifted Collapses into a neutron star
Sound None Space hum and organ motif via the app's speaker menu
Status line None Machine · 5h limit · context · cache countdown

The original traces every light ray exactly in Schwarzschild spacetime and offers five camera views; for that, use the original. This one keeps a single composed view and goes wider: more physical phenomena, and a scene that changes with every state of your session.

Install

“We’ll find a way… We always have.”

Interstellar (2014)

Requirements: Claude Code 2.1.287 or later, and a GPU that can run theme shaders. The backdrop shows in the desktop app's Code tab; you can install it from the app or from the terminal.

Desktop app: click + next to the prompt box → Plugins → Add marketplace → MrBruceKing/claude-black-hole-theme → Add plugin → black-hole-theme. Quit and reopen the app.

Terminal:

claude plugin marketplace add MrBruceKing/claude-black-hole-theme
claude plugin install black-hole-theme@black-hole-theme

The theme applies itself at the start of every session; /blackhole re-applies it. For sound, click the speaker in the title bar.

It is a regular Claude Code plugin and does not modify the app itself. Pick another theme to switch it off, or remove it with claude plugin uninstall black-hole-theme@black-hole-theme.

Installed it but see no black hole?
  • Check the version: claude --version should be 2.1.287 or later.
  • The backdrop shows in the desktop app's Code tab, not in the chat tab or the terminal.
  • With Reduce Motion turned on in your system settings, or on a GPU that can't keep up, the app shows a still image instead.
  • Quit and reopen the app after installing, then type /blackhole to apply the theme again.
  • No sound? Click the speaker in the title bar; the theme is silent until you turn it on there.

Privacy: everything runs on your computer and the plugin makes no network requests. It only sees event signals (tool names and counts, the model, context size and limits), never your prompts, your files or Claude's replies.

Disclaimer: a personal, unofficial plugin. It is not made, endorsed or supported by Anthropic.

Settings

Asked at install, changeable any time in /config:

Setting Default What it does
Context limit 400,000 Context size treated as full (halo size, red from 85%)
Comets on A comet every half minute or so
Companion eclipse on The companion star and its lensed arcs
Planet trails on Faint trails behind flying planets
Frosted glass on A light frosted pane between the hole and the chat; off for a crisp sky
Status line on The line under the prompt box
Merge chirp off A short rising chirp when a subagent's hole merges. It plays through your system speaker, outside the app's speaker menu

Roadmap

“Mankind was born on Earth. It was never meant to die here.”

Interstellar (2014)

Everything shipped so far keeps the top rating, "runs on any GPU". Heavier ideas will go behind a High quality setting for fast GPUs, off by default, so nobody's laptop pays for them.

Heavier rendering (opt-in, fast GPUs)

  • Real ray tracing: integrate light paths through the Kerr metric of a spinning hole instead of the analytic lensing, the way the DNGR renderer behind Interstellar did
  • Higher-order photon rings (the second and third images of the disk, thinner each time)
  • Full relativistic color: gravitational redshift and Doppler beaming as a shift of the spectrum, not a tint
  • A turbulent, higher-resolution disk with bloom
  • Slowly drifting camera angles, from face-on to edge-on

More cosmic phenomena

  • Planets colliding with each other: they merge, or shatter into a debris ring
  • Three-body chaos: planets and subagent holes tugging each other until one is flung out
  • Binary black hole inspiral: two subagents that finish together circle each other faster and faster, then merge with a louder chirp
  • Kilonova: the cache-cold neutron star swallows a subagent hole
  • Ergosphere and the Penrose process: a planet skims the spinning hole and leaves faster than it came
  • Magnetar flares on the neutron star
  • Microlensing: background stars brighten as they slip behind the hole
  • Jets that precess with the spin
  • Hawking radiation as a faint shimmer at the horizon (far too weak in reality, which is the joke)
  • A wormhole easter egg

Settings

  • Pick the context limit per model

Ideas and pull requests are welcome in Issues.

Credits and license

  • Author: Bruce Po Shu King (MrBruceKing).
  • Code: MIT, © 2026 Bruce Po Shu King. See LICENSE.
  • Original idea: claude-desktop-event-horizon by Olivier BERTHIER Msc (MoebiuS451), MIT: a black hole behind the Claude desktop app, and a context gauge around its shadow. Everything else in this repository is original.
  • Physics: light bending around a Schwarzschild black hole (Karl Schwarzschild, 1916), the spin of a Kerr black hole (Roy Kerr, 1963), the hot spots seen around Sagittarius A* and tidal disruption events. The lensing is an analytic approximation, not a full geodesic ray trace. Visual references: public scientific renderings of thin accretion disks, such as NASA's black hole visualization.
  • Inspiration: the film Interstellar (2014), directed by Christopher Nolan, with its score by Hans Zimmer and physicist Kip Thorne as scientific advisor. Its black hole, Gargantua, is what made a whole generation picture one. No image, footage, music or other material from the film is used here, and this project has no connection with the film or its makers.
  • Font: the watermark, the social preview and the demo's panel title are set in TASA Orbiter, an open-source typeface commissioned by the Taiwan Space Agency and designed by Local Remote, under the SIL Open Font License 1.1 (web/fonts/OFL.txt).
  • hooks/make-colors.js: color helper from Claude Code's plugin-authoring kit.
  • Built with Claude (Anthropic) and Gemini (Google). Gemini drafted parts of the spin, frame dragging and compaction effects and reviewed the shader.

Links

Reviews (0)

No results found