Game sound effects as code: 180 CC0 SFX, a 2.9 kB Web Audio player, a CLI to WAV/OGG and an agent skill. No audio files.
# Add to your Claude Code skills
git clone https://github.com/maximilianfeix/plinkfxGuides for using ai agents skills like plinkfx.
See how plinkfx compares with popular alternatives.
plinkfx is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by maximilianfeix. Game sound effects as code: 180 CC0 SFX, a 2.9 kB Web Audio player, a CLI to WAV/OGG and an agent skill. No audio files. It has 50 GitHub stars.
plinkfx's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/maximilianfeix/plinkfx" and add it to your Claude Code skills directory (see the Installation section above).
plinkfx is primarily written in TypeScript. It is open-source under maximilianfeix on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh plinkfx against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
274 game sound effects, written as code. Coins, jumps, hits, lasers, explosions, UI clicks and the rest of what a game needs, each one a few readable numbers that a 3.1 kB player turns into sound. CC0, no audio files, no account.
▶ Hear all 274 in your browser (one click per sound, tweak any of them and share the link) · play the 30-second demo game · watch the 30 s video with sound
npm i plinkfx
import { play } from "plinkfx";
play("coin");
Each sound has four takes, and play picks a different one from the last, so the hundredth coin doesn't
sound like a loop.
By name (every sound included, 23.8 kB gzipped):
import { play, volume, muted } from "plinkfx";
play("laser");
play("coin", { volume: 0.5, rate: 1.2 }); // quieter, a bit higher
play("step-wood", { variant: 2 }); // a specific take (0-3)
play("step-wood", { pan: -0.6 }); // to the left
play("coin", { delay: 0.1 }); // 100 ms later
play("combo-chain", { rate: 2 ** (n / 12) }); // n-th combo step, a semitone higher each
volume(0.8); // master volume, 0..1
muted(true); // mute everything, muted() reads it
The player protects your mix. The same sound started again within 30 ms is skipped (cooldown),
so 30 coin pickups in one frame make one coin, not one deafening stack. At most 4 copies of a sound
play at once (voices); one more stops the oldest with a short fade. Both are per call:
play("step-grass", { cooldown: 0.08 }); // footsteps: at most one every 80 ms
play("explosion", { voices: 2 }); // keep the mix clear
play("click", { cooldown: 0, voices: 16 }); // off
Loops: rain-loop, wind-loop, engine-idle and force-field are seamless and loop until you stop
them. play() returns a voice you can stop (with a fade) or bend:
const engine = play("engine-idle");
engine?.rate(1.6); // revs up, gliding
engine?.stop(0.5); // fade out over 0.5 s
play("coin", { loop: true }); // any sound can loop; loop: false plays a loop sound once
play() returns undefined when it skips a sound (on the server, inside the cooldown, before the first
click), hence the ?.. The voice's node is the AudioBufferSourceNode if you need more.
muted() is not saved. To remember it, one line at startup and one where you toggle it:
muted(localStorage.muted == "1");
localStorage.muted = muted(!muted()) ? "1" : "0";
In a game: browsers keep audio locked until the first click or key press. unlockAudio() resumes
it on that first gesture (and on iOS lets sounds play with the silent switch on). Sounds triggered
before that are skipped, not saved up into one loud burst. preload() renders sounds in idle time so
the first play has no delay; stopAll() is for pause screens.
import { play, preload, stopAll, unlockAudio } from "plinkfx";
unlockAudio();
preload(["jump", "coin", "hit", "explosion"]);
// ...
stopAll();
Everything is safe to import on the server (Next.js, Nuxt, SvelteKit): play() and volume() do
nothing there.
Only what you use (player plus one sound: 3 kB gzipped). Importing anything from "plinkfx"
includes every sound, so use the subpaths when size matters:
import { play } from "plinkfx/core";
import { coin, jump } from "plinkfx/sounds";
play(coin);
Your own sound is a plain object. Tweak any sound in the gallery, open the "params" tab and paste:
import { play } from "plinkfx/core";
const blip = {
layers: [
{ wave: "square", duty: 0.25, freq: 988, arp: [0, 5], arpRate: 0.07, h: 0.05, d: 0.3, lp: 7000 },
{ wave: "sine", freq: 1976, arp: [0, 5], arpRate: 0.07, d: 0.22, gain: 0.5 },
],
verb: [0.2, 0.12],
};
play(blip);
All fields are documented in skills/plinkfx/reference.md.
React, a two-line hook is enough:
import { play } from "plinkfx";
const useSfx = (name) => useCallback((opts) => play(name, opts), [name]);
Vue / Svelte: call play("coin") from any click handler; unlockAudio() once in onMounted / onMount.
Without a bundler, straight from a CDN:
<script type="module">
import { play, unlockAudio } from "https://esm.sh/plinkfx@0";
// or https://cdn.jsdelivr.net/npm/plinkfx@0/+esm
unlockAudio();
document.body.onclick = () => play("coin");
</script>
Deno / Bun: deno run -A npm:plinkfx render coin -o coin.wav, bunx plinkfx render coin.
| Category | Sounds | Examples |
|---|---|---|
| UI | 32 | click click-soft toggle-on confirm error notify swipe plink |
| Pickups | 19 | coin coin-double coin-bag gem key heart ka-ching |
| Jump & land | 12 | jump jump-double jump-cartoon land land-heavy spring |
| Hits | 20 | hit hit-heavy punch hurt enemy-die sword-hit block crit |
| Explosions | 10 | explosion explosion-big explosion-retro firework implosion |
| Power-ups | 12 | powerup level-up extra-life shield-on heal charge-up |
| Shots & lasers | 21 | laser blaster zap pew gunshot ricochet bow-twang reload |
| Footsteps | 12 | step-grass step-stone step-wood step-metal step-snow step-water |
| Magic | 13 | sparkle spell-cast fireball ice teleport harp lightning |
| Alerts | 13 | alarm warning low-health heartbeat countdown radar-ping |
| Jingles | 11 | victory checkpoint level-complete game-over secret-found achievement |
| Doors & mechanics | 10 | door-open door-heavy lock-open chest-open lever ratchet |
| play("combo-chain", { rate: 2 ** (n / 12) }); // n-th combo step, a semitone higher each | ||
| World | 13 | whoosh swing splash water-drop wind glass-break engine-idle (loop) force-field (loop) |
| Creatures | 9 | bat-flap slime-blob growl-small ghost-moan bee-buzz voice-babble |
| Nature | 8 | thunder-far rain-drop bird-chirp frog-croak stone-drop rain-loop (loop) wind-loop (loop) |
Every sound with a one-line description: npx plinkfx list, or the gallery.
Godot, Unity, Phaser, Defold, LÖVE or anything else that loads audio files.
Download every sound as WAV + OGG (zip), all four takes, 48 kHz mono, in category folders. No install needed. Or render them yourself:
npx plinkfx export sfx/ # every sound as 48 kHz mono WAV, in category folders
npx plinkfx export sfx/ --format both # WAV + OGG (OGG needs ffmpeg)
npx plinkfx export sfx/ --variants # all four takes of each sound
npx plinkfx render explosion-big -o boom.wav # one sound
res:// and turn the importer's Normalize off. The levels are already matched.this.load.audio("coin", ["sfx/pickup/coin.ogg", "sfx/pickup/coin.wav"]), or skip files
and call play("coin") from plinkfx.Each sound in the gallery also has a "download .wav" button. Ready-made players for the exported files: Godot, Unity, and a Phaser example that needs no files at all.
For the web, one file with every sound means one request instead of 274:
npx plinkfx export public/sfx --sprite --format both # all sounds, 0.1 s of silence between them
npx plinkfx export public/sfx --sprite --only ui,pickup # only some categories
That writes plinkfx-sprite.ogg and plinkfx-sprite.wav (take 0 of each sound, back to back),
plinkfx-sprite.phaser.json (Phaser's audio sprite format) and plinkfx-sprite.json (Howler's sprite map,
{ "coin": [offsetMs, durationMs] }). Sprite names are the sound names. --gap 0.25 changes the silence between sounds.
// Phaser 3 or 4
preload() {
this.load.audioSprite("sfx", "sfx/plinkfx-sprite.phaser.json", ["sfx/plinkfx-sprite.ogg", "sfx/plinkfx-sprite.wav"]);
}
create() {
this.sound.playAudioSprite("sfx", "coin");
}
// Howler
import { Howl } from "howler";
const sprite = await (await fetch("sfx/plinkfx-sprite.json")).json();
const sfx = new Howl({ src: ["sfx/plinkfx-sprite.ogg", "sfx/plinkfx-sprite.wav"], sprite });
sfx.play("coin");
plinkfx ships a skill for Claude Code, Codex, Cursor and other agents. Ask for "a heavy door for a dungeon level" and the agent starts from the nearest cat