Index of every page on this site: llms.txt
All skills
getopenpost avatar

/cuelume

@300814b
by OpenPostgetopenpost/openpost952 stars
136
Run it yourself

Add or audit OpenPost interaction sounds with Cuelume. Use for UI sound wiring, duplicate or missing cues, sound preferences, and semantic success or error feedback.

  • 1 file
  • 2.4 KB
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/getopenpost/openpost/cuelume

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈44 tokens for metadata: the name and description. ≈569 when used: this file.

Description uses 2.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈175 characters, or 2.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Cuelume in OpenPost

Use the pinned cuelume package for short browser interaction sounds. The official agent guide is cuelume-site.pages.dev/agents.md.

OpenPost rules

  • Keep soundPreferences as the single owner of bind(), setEnabled(), persistence, and imperative playback.
  • Put declarative cues in shared UI components. Route-specific markup should add a cue only when no shared control owns the interaction.
  • Emit one gesture cue per completed action. Use data-cuelume-toggle="release" for an ordinary button click so pointer, touch, and keyboard activation share one event.
  • Let the most specific control own a composed interaction. A dropdown, popover, tab, checkbox, radio, or select trigger uses toggle; its child Button must not add another event type.
  • Use tick for light navigation and menu choices, toggle for state changes and tabs, and release for ordinary actions.
  • Call soundPreferences.play('success') or play('error') only after a user-started operation reaches that outcome. Keep autosave, passive refresh, text entry, and background work quiet.
  • Keep the visible sound preference. Sound must never replace a label, state change, notice, or error message.

API

import { bind, play, setEnabled, setVolume, sounds, type SoundName } from 'cuelume';
  • bind(root?) installs delegated handlers and is idempotent per root.
  • play(name, { volume }?) plays an imperative cue and fails silently when audio is unavailable.
  • setEnabled(enabled) and setVolume(volume) change future playback. OpenPost owns persistence.
  • Declarative attributes are data-cuelume-hover, data-cuelume-press, data-cuelume-release, and data-cuelume-toggle.

Verify

For every changed interaction:

  1. Add a browser component test that asserts the owning element has one declarative event attribute.
  2. Test pointer and keyboard activation, the muted preference, and rapid repeated use.
  3. Check composed triggers for stacked attributes from different event types.
  4. Exercise the real route in a browser and confirm one audible cue, the visible state change, and a clean console.
  5. Run the frontend type, lint, test, UI consistency, and build gates in proportion to the change.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 300814b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 6 hours ago.

Activeupdated 3 months ago

README badge

README badge for getopenpost/openpost/cuelume