claude-desktop-extra: Skill for Claude Code

.claude/skills/test-native/SKILL.md

test-native is a skill for Claude Code from patrickjaja/claude-desktop-extra. It costs 139 tokens per session (2,644 once invoked), scanned A, original, MIT.

A testing skill for reproducing and measuring a desktop app inside a nested Linux graphical session. It can drive a Sway/Wayland environment with scripted input and screenshots, and use in-app probes to observe behaviour such as focus, frames, timers, and messaging.

In plain words
What is it for?
Use it to run repeatable mouse and keyboard tests, capture screenshots, compare debug variants, and measure the app's runtime behaviour.
Why use it?
It helps investigate desktop behaviour that ordinary logs cannot reveal, while separating generic Linux behaviour from GNOME- or KDE-specific behaviour.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument; mentions AGENTS.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to patrickjaja/claude-desktop-extra. 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/patrickjaja/claude-desktop-extra/master/.claude/skills/test-native/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/patrickjaja/claude-desktop-extra

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 test-native

README.md
[![agentmods](https://agentmods.dev/badge/skills/patrickjaja/claude-desktop-extra/test-native/github.svg)](https://agentmods.dev/skills/patrickjaja/claude-desktop-extra/test-native)
Your own site
<a href="https://agentmods.dev/skills/patrickjaja/claude-desktop-extra/test-native"><img src="https://agentmods.dev/badge/skills/patrickjaja/claude-desktop-extra/test-native/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 test-native

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrickjaja/claude-desktop-extra/test-native"><img src="https://agentmods.dev/badge/skills/patrickjaja/claude-desktop-extra/test-native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,644 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.
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.00139 $0.02644
Opus 5.5 $0.00056 $0.01058
Sonnet 5.5 $0.00028 $0.00529
Haiku 4.5 $0.00014 $0.00264

Measured 8d ago against content hash 6b8065d0e2d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-native 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.

The scan reads SKILL.md. This mod also ships 1 executable file (reference/probe.js), 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.

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/test-native/SKILL.md · 192 lines

How it starts

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

test-native - nested compositor + in-app probes

Goal: $ARGUMENTS

Two tools, used together or alone:

  1. A nested sway gives a real Wayland session with workspaces, focus and frame callbacks, on any host (X11 desktop, Wayland desktop, or no display at all), with scripted mouse/keyboard and screenshots. It is not a substitute for GNOME/KDE-specific behavior (portals, KWin, mutter); for those use the VMs in AGENTS.md ("Test VMs").
  2. Probes injected into the app measure what no log shows (frames, observers, focus, timers, IPC shapes) and let several candidate fixes ship in ONE debug build, switched by environment variables, so each variant is a relaunch, not a rebuild.

Read /linux for the session/DE routing the launcher does; this skill is about producing those sessions and reading the app from inside.

1. Nested sway

sway is packaged everywhere (sway; grim for screenshots and wtype for typing are small extras worth installing). Pick the backend by host:

Host Start Notes
X11 desktop (XFCE, i3, ...) WLR_BACKENDS=x11 sway a 1024x768 window; resize with swaymsg output X11-1 resolution 1600x1000
Wayland desktop (KDE, GNOME, sway) WLR_BACKENDS=wayland sway a nested window inside the host compositor
none / CI WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 WLR_RENDERER=pixman sway no window; screenshots via grim

Always start it with a minimal config (-c) so the host's ~/.config/sway bindings do not interfere, and talk to it through its own socket:

printf 'output * resolution 1600x1000\ndefault_border none\n' > /tmp/sway-test.conf
WLR_BACKENDS=x11 sway -c /tmp/sway-test.conf &
export SWAYSOCK=$(ls -t /run/user/$(id -u)/sway-ipc.*.sock | head -1)
swaymsg -t get_outputs | jq -r '.[].name'            # X11-1 / HEADLESS-1 / WL-1
ls /run/user/$(id -u)/wayland-*                        # the nested display, e.g. wayland-1

-c replaces ~/.config/sway/config entirely, so host bindings and outputs never apply. The nested instance also starts its own XWayland (:1 when the host owns :0); check with ss -xlp | grep X11-unix.

Read the full file on GitHub · 192 lines

Files

What ships with it

1 file 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. 8d ago Changed 6b8065d0e2d4
  2. 21d ago First seen · 192 lines · 139 tokens per session scan A 6ba3d49b2587

Subscribe to this mod's changes

test-native is a skill published in the GitHub repository patrickjaja/claude-desktop-extra (726 stars, last pushed yesterday), licensed MIT. It adds 139 tokens to every session and 2,644 once invoked, about $0.0006 per session on Opus 5.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-10-17.

Related

test-native compared with skills from other repositories

test-native next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-nativepatrickjaja/claude-desktop-extraSkill726yesterdayMITA139Claude Code
test-masterzacklecon/claude-skillsSkill324d agoMITA38Claude Code, Codex
qa-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A53Claude Code
sipcode-regressAnuj7411/sipcodeSkill4621d agoMITA105Claude Code
perf-theory-gatherercomposio-community/awesome-claude-pluginsSkill2.0kyesterdaynoneA20Claude Code
perf-code-pathscomposio-community/awesome-claude-pluginsSkill2.0kyesterdaynoneA21Claude Code
perf-profilercomposio-community/awesome-claude-pluginsSkill2.0kyesterdaynoneA25Claude Code