pixtuoid: Skill for Claude Code

.claude/skills/procedural-lofi/SKILL.md

procedural-lofi is a skill for Claude Code from IvanWng97/pixtuoid. It costs 142 tokens per session (3,615 once invoked), scanned A, original, MIT.

A coding recipe for generating lofi or ambient sound at runtime from synthesized tones and fixed parameter tables, without shipping audio samples.

In plain words
What is it for?
Use it to create lofi music or ambient sounds such as rain, typing, chimes, printers, or water coolers. It includes scripts for analyzing a reference recording, auditioning sounds, and freezing a selected result into code.
Why use it?
It helps avoid audio files and sample royalties while producing sound that can vary over time.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is IvanWng97/pixtuoid's own configuration. It tells Claude Code how to work on pixtuoid itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pixtuoid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to IvanWng97/pixtuoid. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/IvanWng97/pixtuoid/main/.claude/skills/procedural-lofi/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/IvanWng97/pixtuoid

Made for: Claude Code.

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 procedural-lofi

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanwng97/pixtuoid/procedural-lofi/github.svg)](https://agentmods.dev/skills/ivanwng97/pixtuoid/procedural-lofi)
Your own site
<a href="https://agentmods.dev/skills/ivanwng97/pixtuoid/procedural-lofi"><img src="https://agentmods.dev/badge/skills/ivanwng97/pixtuoid/procedural-lofi/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 procedural-lofi

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanwng97/pixtuoid/procedural-lofi"><img src="https://agentmods.dev/badge/skills/ivanwng97/pixtuoid/procedural-lofi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00142 $0.03615
Opus 5 $0.00071 $0.01808
Sonnet 5 $0.00028 $0.00723
Haiku 4.5 $0.00014 $0.00362

Measured 9d ago against content hash 96b7a62af6ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

procedural-lofi scanned grade A with 1 finding 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 6 executable files (scripts/analyze_drops.py, scripts/analyze_rain.py, scripts/analyze_typing.py, …), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(`yt-dlp` / `curl` for analysis only; for an endless live stream, `yt-dlp -g` gets the
.claude/skills/procedural-lofi/SKILL.md · 225 lines

How it starts

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

Procedural Lofi — build a soundtrack in code, not in a sample pack

This skill is the end-to-end recipe for a lofi bed (and its sibling ambient sounds: rain, keystrokes, door chimes, printer, water cooler…) that is synthesized at runtime from constants — zero audio files, zero royalties, and no two minutes ever sound the same. It was proven out on a real shipping product (an animated pixel-art office that plays ambient sound scaled by how busy the on-screen agents are), then distilled here.

Two documents ship alongside this one:

  • reference/LOFI-BIBLE.md — the parameter tables. Harmony (chord grammar, voice-leading, register clamps), groove (swing %, drag ms, velocity curves), per-voice sound design (pad / bass / EP keys / sparkle / drums / texture / tape chain), mix targets (band shares, HPF strategy, loudness), and generative lessons from prior art. Every number is cited and, where it conflicts with a measurement, the measurement wins.
  • scripts/ — the Python (numpy) pipeline: analyze_*.py (fingerprint a reference), synth_audition.py (a runnable numpy synth that produces .wav auditions), and export_score.py (freeze a good take into a constants table for the port).

Read those two when you reach the step that needs them. This file is the map.


The core idea (why code, not samples)

A sampled lofi loop is: (a) a licensing liability, (b) heavy to bundle, and (c) audibly repetitive — the human brain catches a loop seam on the 3rd or 4th pass. Synthesizing it solves all three:

  • Legal: acoustic parameters are not copyrightable. You measure a reference to get target numbers (this band has 55% of the power, the centroid sits at 150 Hz, drops land 13 dB above the bed). You never keep or ship the reference bytes. What ships is your own oscillator code hitting those numbers.
  • Size: a few kilobytes of constant tables + a synth function vs. megabytes of PCM.
  • Never repeats (in practice), from three stacked tricks: (1) the frozen musical composition — pad, drums, and the melody (keys + sparkle) — loops in lockstep, but the loop is made long enough that its repetition doesn't fatigue (this project doubled its day loop from 4 to 8 bars precisely because a short looped melody was audibly repetitive — "loop the bed" does not mean "make it short"); (2) the genuinely-stochastic layers — rain drops and keystrokesare scattered fresh at runtime from a seeded RNG, laid over the loop; (3) a busy-ness stem mixer fades whole stems (drums, keys…) in and out by how active the scene is, so the arrangement keeps changing even though the notes don't. The result reads as "never the same two minutes" without regenerating harmony. (Regenerating melody live is possible but it's the hard, optional part — the shipped product froze the melody and leaned on 1–3 instead.)

Read the full file on GitHub · 225 lines

Files

What ships with it

7 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 · 225 lines · 142 tokens per session scan A 96b7a62af6ad

Subscribe to this mod's changes

procedural-lofi is a skill published in the GitHub repository IvanWng97/pixtuoid (473 stars, last pushed today), licensed MIT. It adds 142 tokens to every session and 3,615 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

recording

Capture screen recordings and screenshots on any registered computer (macOS, Windows, Linux, HarmonyOS) and manage the recording library.

Hmbown/Codewhale · 29 tokens

ast-grep

Use for ast-grep project setup, rule authoring, rule debugging, and structural search workflows.

vinhnx/VTCode · 24 tokens

spotatui-dj

Be the DJ for spotatui, the terminal music player, by driving its MCP server. Use whenever the user asks for music, asks you to DJ, wants tracks queued, played, skipped, or searched, asks what they have been listening to, or mentions spotatui.

LargeModGames/spotatui · 63 tokens

remotion-bits

Animation components and utilities for Remotion video projects. Use when building Remotion compositions with text animations, gradient transitions, particle effects, 3D scenes, or staggered motion effects. Provides example bits (complete compositions) and reusable components that can be installed via jsrepo.

Marve10s/Better-Fullstack · 60 tokens

remotion-animation

Generates animation configurations for Remotion including spring configs, interpolations, easing functions, and timing logic. Focuses ONLY on animation parameters, NOT component implementation. Use when defining animation behavior or when asked to "configure animations", "setup spring configs", "define easing curves".

Marve10s/Better-Fullstack · 59 tokens

skill-installer

Install VT Code skills into /.agents/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo, including private repos.

vinhnx/VTCode · 52 tokens