desktop-feature

desktop-feature is a skill for Claude Code, Codex from clidey/whodb. It costs 16 tokens per session (528 once invoked), scanned A, original, Apache-2.0.

A workflow for adding or changing features in the native desktop application built with Wails, a framework for making desktop apps with web technologies.

In plain words
What is it for?
Use it for desktop menus, keyboard shortcuts, window behavior, runtime desktop checks, and other native app changes.
Why use it?
It shows where shared desktop behavior belongs and how to build the app for the current system, macOS, or all supported platforms.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for desktop menus, keyboard shortcuts, window behavior, runtime desktop checks, and other native app changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clidey/whodb/desktop-feature
About the project

WhoDB is a self-hosted workspace for exploring and managing databases through a browser, desktop app, or terminal interface. Developers and data teams use it to browse and edit data, run queries, inspect table relationships, move data, and optionally ask questions through an AI provider. The catalogue includes add-ons for operating WhoDB and working with its database tools.

clidey/whodb · 5,074 stars · on GitHub · whodb.com

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.

Any agent
npx skills add clidey/whodb --skill desktop-feature
Clone the repo
git clone --depth 1 https://github.com/clidey/whodb

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-feature

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/clidey/whodb/desktop-feature"><img src="https://agentmods.dev/badge/skills/clidey/whodb/desktop-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 528 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.00016 $0.00528
Opus 5.5 $0.00006 $0.00211
Sonnet 5.5 $0.00003 $0.00106
Haiku 4.5 $0.00002 $0.00053

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

Security

Grade A, and why

desktop-feature 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 17d 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.

.agents/skills/desktop-feature/SKILL.md · 73 lines

How it starts

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

Desktop App Feature

Architecture

desktop-common/         # Shared: App struct, window management, menus, RunApp()
desktop-ce/             # CE entry point, Makefile, wails.json

desktop-ce/main.go calls common.RunApp(common.RunConfig{Edition: "ce", ...}) with the embedded assets, GraphQL schema and engine initializer.

Adding Desktop-Specific Behavior

1. Runtime Detection

import "github.com/clidey/whodb/core/src/env"

if env.GetIsDesktopMode() {
    // Desktop-specific behavior
}

It reads WHODB_DESKTOP on every call because the app sets the variable after package initialization.

2. Menu / Accelerator Changes

Edit desktop-common/app.go. Wails accelerators are separate from frontend keyboard shortcuts — both must be updated for shared shortcuts.

3. Window Management

All window logic lives in desktop-common/app.go (App struct methods).

Build and Test

Development

cd desktop-ce && make dev    # Hot reload mode

Production Build

cd desktop-ce && make build          # Current platform
cd desktop-ce && make build-mac      # macOS universal binary
cd desktop-ce && make build-all      # All platforms

Verification

# Must build with workspace
GOWORK=$PWD/go.work.desktop-ce go build -C desktop-ce -o test-build
rm -f desktop-ce/test-build

# Frontend must also build (it gets embedded)
cd frontend && pnpm run build:ce

macOS Packaging (release only)

make package-mac-signed    # Signed .pkg (CODESIGN_ID, INSTALLER_ID)
make notarize-mac          # Notarize with Apple
make dmg-mac               # DMG installer
make release-mac           # Build, sign, notarize and staple

Notarization needs NOTARY_PROFILE or APPLE_ID, TEAM_ID and APPLE_APP_PASSWORD. Run make help for every target.

Key Rules

  • Entry points are thin — call common.RunApp()
  • Edition not controlled by build tags, only by which entry point compiles
  • WHODB_DESKTOP=true is set automatically at runtime
  • Go workspace file: go.work.desktop-ce

Read the full file on GitHub · 73 lines

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. 17d ago First seen · 73 lines · 16 tokens per session scan A 2b806cca59d8

Subscribe to this mod's changes

desktop-feature is a skill published in the GitHub repository clidey/whodb (5,074 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 528 once invoked, about $0.0001 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-11-13.

Related

desktop-feature compared with skills from other repositories

desktop-feature next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
desktop-featureclidey/whodbSkill5.1ktodayApache-2.0A16Claude Code, Codex
test-reviewdatahub-project/datahubSkill13ktodayApache-2.0A0Claude Code, Codex
datahub-test-taxonomydatahub-project/datahubSkill13ktodayApache-2.0A80Claude Code
graphjin-evaldosco/graphjinSkill3.2kyesterdayApache-2.0A27Claude Code, Codex
graphjin-env-workflowsdosco/graphjinSkill3.2kyesterdayApache-2.0A60Claude Code
graphjin-envdosco/graphjinSkill3.2kyesterdayApache-2.0A61Claude Code, Codex
add-graphjin-databasedosco/graphjinSkill3.2kyesterdayApache-2.0A60Claude Code, Codex