selected work

Pixlings

An open-source Claude Code plugin: a pixel creature that watches cache, limits and subagents

class
Claude Code plugin
state
live
access
github.com/cglremrcn/pixlings
built with
Claude Code · JavaScript · Node.js
Pixlings — the running product

Pixlings is a Claude Code plugin that puts a small pixel creature above the prompt and uses it to show what Claude Code itself does not: how long the prompt cache has left, when a usage limit resets, how many subagents are running, and whether the command about to run is a dangerous one. It is open source under the MIT licence, at version 0.3.0.

the problem

The expensive events in a long Claude Code session are invisible. The prompt cache expires after a few minutes of silence and the next message quietly pays to write the whole context again; a usage limit stops a long task in the middle of the night and nothing restarts it; subagents run out of sight. None of these needs a dashboard — they need something small that is always on screen and reacts at the right moment.

how it is built

  • A countdown on the prompt cache, so the cost of the next message is known before it is sent.
  • When the usage limit is hit the creature naps with a countdown, and when the window resets it wakes Claude and tells it to carry on, so a long task can finish unattended.
  • Every subagent Claude starts gets a helper beside the creature, carrying that agent's tools; the helper leaves when the agent finishes.
  • A warning before risky commands run — rm -rf, a force push, a hard reset, DROP TABLE, piping curl into a shell.
  • Sound and desktop notifications when Claude needs permission or finishes a long turn, on Windows, macOS and Linux.
  • One vitals line under its name: cache time left, cached share, context use, usage window, model and effort.
  • Fifteen species in five rarities, each hatching with its own personality, and a room view that works where there is no band above the prompt.

the hard parts

  • Risky commands are read the way a shell reads them, not matched as text: searching a file for the words DROP TABLE, or writing a commit message that mentions rm -rf, must not set the warning off, or the warning becomes noise and gets ignored.
  • The host's sound API only plays on macOS, so the plugin carries its own players for Windows and Linux in order to behave the same on all three.

Need something like this built?

Backend systems, payment and API integrations, AI pipelines, and the interfaces in front of them. Freelance or contract, remote.

emircan@emircancaglar.com