orkid: Skill for Claude Code

.claude/skills/orklev2-pipewire/SKILL.md

orklev2-pipewire is a skill for Claude Code from tweakoz/orkid. It costs 55 tokens per session (582 once invoked), scanned A, original, MIT.

A reference for orkid's PipeWire backend, which connects the Linux application to the PipeWire audio system. It explains how audio buffers are processed and how the Singularity synthesizer produces output.

In plain words
What is it for?
Use it when working on PipeWire stream setup, SPA buffers, audio processing callbacks, Linux audio threads, or synthesizer output.
Why use it?
It provides the project-specific details needed to understand Linux audio callbacks, buffers, threads, and CPU-load measurement.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is tweakoz/orkid's own configuration. It tells Claude Code how to work on orkid 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 orkid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tweakoz/orkid. 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/tweakoz/orkid/develop/.claude/skills/orklev2-pipewire/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tweakoz/orkid

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 orklev2-pipewire

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tweakoz/orkid/orklev2-pipewire"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-pipewire.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00055 $0.00582
Opus 5 $0.00028 $0.00291
Sonnet 5 $0.00011 $0.00116
Haiku 4.5 $0.00006 $0.00058

Measured 8d ago against content hash 7efdde2cc924, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

orklev2-pipewire scanned grade A with 0 findings 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 8d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/orklev2-pipewire/SKILL.md · 68 lines

What it actually says

Orkid PipeWire Backend Reference

When answering questions about the PipeWire audio backend in orkid, consult the files below. All under ork.lev2/.

Key Files

Component File
AudioDevice Base inc/ork/lev2/aud/audiodevice.h
AudioDevicePipeWire src/aud/pipewire/audiodevice_pipewire.h
Implementation src/aud/pipewire/audiodevice_pipewire.cpp
Config Flags inc/ork/lev2/config.h (ENABLE_PIPEWIRE, Linux only)

Architecture

PipeWire stream callback model:

PipeWire Main Loop Thread (on_pw_process)
  ├─ Dequeue SPA buffer from pw_stream
  ├─ synth->compute(num_frames, input_buffer)
  ├─ Interleave L/R floats → output buffer
  ├─ Compute CPU load percentage
  └─ Re-queue buffer

PrivateImplementation

Member Description
_synth Singularity synth instance
_audioThread / _synthThread Processing threads
_pipewire_stream pw_stream* handle
_pipewire_main_loop pw_main_loop*
_spa_buffer SPA buffer for output
_input_buffer Float input buffer (2048 samples)
_timer CPU load timing

Process Callback (on_pw_process)

  1. Dequeue buffer from PipeWire stream
  2. Calculate frames: num_frames = maxsize / stride
  3. synth->compute(num_frames, _input_buffer)
  4. Interleave _obuf._leftBuffer / _rightBuffer → output
  5. Compute CPU load as percentage
  6. Re-queue buffer

Configuration

Parameter Value
Format Interleaved float (32-bit)
Channels 2 (stereo)
Sample Rate 48000 Hz
Frames/Buffer 256 (DESIRED_NUMFRAMES)

How to Answer

  1. For PipeWire device: check audiodevice_pipewire.h and .cpp
  2. For base interface: check audiodevice.h
  3. For Singularity integration: consult orklev2-audio skill
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. 8d ago First seen · 68 lines · 55 tokens per session scan A 7efdde2cc924

Subscribe to this mod's changes

orklev2-pipewire is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 27d ago), licensed MIT. It adds 55 tokens to every session and 582 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other skills, from other repositories

evaluating-cosmos-policy

Evaluates NVIDIA Cosmos Policy on LIBERO and RoboCasa simulation environments. Use when setting up cosmos-policy for robot manipulation evaluation, running headless GPU evaluations with EGL rendering, or profiling inference latency on cluster or local GPU machines.

Orchestra-Research/AI-Research-SKILLs · 51 tokens

kernel-dev

A development tool for building Linux kernels and kernel modules, which are add-on pieces of kernel code such as drivers. It installs dependencies and supports RPM-based systems, including Alibaba Cloud Linux, on Intel/AMD and ARM 64-bit machines.

alibaba/anolisa · 112 tokens

c-bluetooth

Manage Bluetooth devices on macOS using the blucli (blu) CLI. List paired and available devices, connect to headphones/speakers/keyboards, and disconnect devices by name or MAC address.

daxaur/openpaw · 44 tokens

c-speakers

Control Sonos speakers using the sonos CLI (sonoscli). Play, pause, adjust volume, manage groups, and play favorites across rooms and speaker zones.

daxaur/openpaw · 39 tokens

linux-phone-porting

Use for every hardware bring-up or debug session that ports mainline Linux to a phone (Android handset). Requires an already-unlocked bootloader; locked devices are out of scope.

angelwzr/linux-phone-porting · 41 tokens

apollo-onboarding

Plans and configures a Universal Audio Apollo rig end to end through the uad-console-mcp MCP server, covering the interview questions to ask, which physical input suits which source, the clock master decision for ADAT expanders and other digital gear, ADAT sample-rate and channel-count limits, multi-Apollo Thunderbolt…

fomoPhil/uad-console-mcp · 183 tokens