deskmail-ai: Skill for Claude Code

.claude/skills/verify/SKILL.md

verify is a skill for Claude Code from scrappy-builds/deskmail-ai. It costs 24 tokens per session (530 once invoked), scanned A, original, Apache-2.0.

A verification guide for building, launching, and testing the DeskMail AI Electron app with Playwright.

In plain words
What is it for?
Use it to build the app, launch it with temporary user data, interact with menus and settings, and test that changes persist after relaunch.
Why use it?
It provides a repeatable way to check app changes end to end without touching real mail data.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to scrappy-builds/deskmail-ai. 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/scrappy-builds/deskmail-ai/main/.claude/skills/verify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/scrappy-builds/deskmail-ai

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 verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/scrappy-builds/deskmail-ai/verify/github.svg)](https://agentmods.dev/skills/scrappy-builds/deskmail-ai/verify)
Your own site
<a href="https://agentmods.dev/skills/scrappy-builds/deskmail-ai/verify"><img src="https://agentmods.dev/badge/skills/scrappy-builds/deskmail-ai/verify/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 verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrappy-builds/deskmail-ai/verify"><img src="https://agentmods.dev/badge/skills/scrappy-builds/deskmail-ai/verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 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.00024 $0.00530
Opus 5 $0.00012 $0.00265
Sonnet 5 $0.00005 $0.00106
Haiku 4.5 $0.00002 $0.00053

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

Security

Grade A, and why

verify 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 10d 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/verify/SKILL.md · 51 lines

What it actually says

Verifying DeskMail AI changes

Build + launch

npm run build            # electron-vite build → out/

Drive the built app with Playwright's Electron support (already a dev dependency). From a Node .mjs script:

import { createRequire } from 'node:module'
const { _electron: electron } = createRequire(join(process.cwd(), 'package.json'))('playwright')
const app = await electron.launch({
  args: [join(process.cwd(), 'out', 'main', 'index.js')],
  env: { ...process.env, DESKMAIL_USER_DATA: mkdtempSync(join(tmpdir(), 'deskmail-verify-')) }
})
const win = await app.firstWindow()

DESKMAIL_USER_DATA points the app at a throwaway data dir — always set it so runs don't touch real mail. Relaunch with the same dir to test persistence.

Driving gotchas

  • Title-bar menus (File/Edit/View/…) are <span>s, not buttons — use getByText('File', { exact: true }), then menu items by text ('Settings…').
  • Settings modal: open via File → Settings…; close by clicking the backdrop (e.g. win.mouse.click(8, 400)), the ✕ has no accessible name.
  • Buttons named Delete/Edit exist in the command bar behind modals too — never use bare getByRole('button', { name: 'Delete' }).nth(n); scope to the card/row (xpath //span[text()="…"]/parent::div//button[…] works).
  • window.confirm dialogs: register win.on('dialog', d => d.accept()) and log d.message() — the message tells you which item the click really hit.
  • The renderer bridge is available for state checks: win.evaluate(() => window.deskmail.getSettings()).
  • Theme state lives on the root element: data-theme attribute + inline --token style vars.

Worth driving

Theme/appearance: command-bar "Colour scheme" menu; Settings → Appearance (cards, New theme editor, live preview, Cancel-restores, delete-confirm). Native file dialogs (import/export/backup) can't be driven — verify around them.

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. 10d ago First seen · 51 lines · 24 tokens per session scan A ce99663b4d29

Subscribe to this mod's changes

verify is a skill published in the GitHub repository scrappy-builds/deskmail-ai (1 stars, last pushed 29d ago), licensed Apache-2.0. It adds 24 tokens to every session and 530 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

performance-engineer

Becomes a senior performance engineer who identifies bottlenecks, designs optimization strategies, and conducts load testing using systematic profiling and benchmarking methodology. Use when the user needs performance analysis, load testing, bottleneck identification, latency optimization, or capacity planning. Do NOT…

FerroxLabs/wayland · 77 tokens

e2e-test-engineer

Use when the user asks to create, improve, review, or repair end-to-end tests for a meaningful user workflow across the UI, runtime, backend, or installed application. Validate the real workflow at the highest useful boundary while keeping environments, accounts, and test data controlled.

lfyxhappy/lfcode · 62 tokens

visual-regression-tester

Use when the user asks to detect, review, prevent, or update visual regressions in a web, desktop, or mobile interface. Capture comparable rendered states, control viewport and data variance, inspect image differences, and distinguish intended design changes from rendering defects.

lfyxhappy/lfcode · 57 tokens

playwright

Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli or the bundled wrapper script.

freestylefly/wesight · 45 tokens

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

freestylefly/wesight · 64 tokens

browser-qa

Use when validating or debugging a workflow in the embedded browser and you need a reproducible, evidence-first loop.

holaboss-ai/holaOS · 26 tokens