desktop-visual-design

desktop-visual-design is a skill for Claude Code, Codex from Firstp1ck/pi-coding-agent-forge. It costs 71 tokens per session (2,674 once invoked), scanned A, original, MIT.

A design guide for making desktop app interfaces match the colours, spacing, text styles, shapes, and animations already used by the user's desktop system.

In plain words
What is it for?
Use it when building or reviewing QML, Qt, GTK, Tauri, Electron, or embedded-web desktop interfaces such as panels, launchers, popups, notifications, and widgets.
Why use it?
It prevents an app from looking like an unrelated website or ignoring the system's visual style. It also provides a restrained fallback when no existing design rules can be found.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/firstp1ck/pi-coding-agent-forge/desktop-visual-design
Any agent
npx skills add Firstp1ck/pi-coding-agent-forge --skill desktop-visual-design
Clone the repo
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge

Made for: Claude Code, Codex.

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 desktop-visual-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/desktop-visual-design.svg)](https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/desktop-visual-design)
Your own site
<a href="https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/desktop-visual-design"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/desktop-visual-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,674 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00071 $0.02674
Opus 5 $0.00036 $0.01337
Sonnet 5 $0.00014 $0.00535
Haiku 4.5 $0.00007 $0.00267

Measured 4d ago against content hash 91667bf4376d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

desktop-visual-design 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 4d 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.

pi-skill-desktop-visual-design/skills/desktop-visual-design/SKILL.md · 131 lines

How it starts

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

Desktop Visual Design

Build system-native desktop interfaces from the visual rules already present in the user's environment. Inspect the target first, turn repeated values into semantic tokens, reuse host components, and verify the result across interaction states and theme changes. When the target has no visual contract, use the restrained terminal-first fallback defined here rather than inventing a glossy web-app style.

Installing this Pi package makes the skill available to Pi. It does not modify desktop settings, themes, or application code by itself.

When to use

Trigger for:

  • Quickshell widgets, panels, bars, popups, overlays, launchers, and notifications.
  • Desktop apps built with QML, Qt, GTK, Tauri, Electron, or embedded web views.
  • UI reviews focused on palette, hierarchy, spacing, typography, borders, geometry, focus states, and motion.
  • Requests to make a desktop interface match an existing system theme or first-party surface.

Do not trigger for server-side work, CLI output formatting, compositor configuration unrelated to application appearance, or general public-website design without a desktop-integration requirement.

Principles

  1. Inspect before styling. Existing theme files, token objects, shared controls, and first-party surfaces are the source of truth.
  2. Honor the active color scheme. Standalone apps must read the toolkit, portal, or host-shell light or dark preference before choosing a built-in palette. For Linux Qt apps, prefer an explicit XDG portal result at startup because Qt platform-theme environment can differ between launchers; use Qt style hints as the fallback and live-change input. Automatic mode must update when its authoritative preference changes.
  3. Use semantic roles. Components depend on foreground, background, accent, urgent, muted, and named surface roles instead of literal palette colors.
  4. Define every interaction state. Cover idle, hover, keyboard cursor, focus, selected, pressed, disabled, and urgent states where they apply.
  5. Keep geometry stable. Reserve border and focus-ring space so interaction never shifts layout.
  6. Use one scale. Derive spacing and typography from named tokens and a documented base size.
  7. Retheme through one path. Parse, validate, and publish an atomic theme snapshot. Theme changes must not leave mixed old and new values on screen.
  8. Match existing motion. Honor the target's motion language and reduced-motion settings. When no motion language exists, animate only short color or opacity changes.
  9. Restrain decoration. Without an explicit reference, prefer opaque flat surfaces, one accent family, thin borders, square geometry, and no gradients, glow, blur, hover lift, or decorative shadows.
  10. Compare relationships, not sampled pixels. A screenshot can establish palette relationships, hierarchy, composition, framing, type treatment, landmarks, and state language. It does not override project tokens with guessed colors or justify forcing its apparent color scheme.

Read the full file on GitHub · 131 lines

Files

What ships with it

3 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. 4d ago First seen · 131 lines · 71 tokens per session scan A 91667bf4376d

Subscribe to this mod's changes

desktop-visual-design is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (74 stars, last pushed 4d ago), licensed MIT. It adds 71 tokens to every session and 2,674 once invoked, about $0.0004 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-08-30.