Amethyst is an Android client for Nostr, a social network protocol that lets people control their own social activity and connections. People use it to read and publish Nostr content, follow accounts, and exchange encrypted direct messages from Android and other supported platforms. The catalogue add-ons support workflows for developing or operating the client.
Borrowing it
Nothing to install: this file belongs to vitorpamplona/amethyst. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vitorpamplona/amethyst/main/.claude/skills/desktop-expert/SKILL.mdgit clone --depth 1 https://github.com/vitorpamplona/amethystWrote 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.
[](https://agentmods.dev/skills/vitorpamplona/amethyst/desktop-expert)<a href="https://agentmods.dev/skills/vitorpamplona/amethyst/desktop-expert"><img src="https://agentmods.dev/badge/skills/vitorpamplona/amethyst/desktop-expert/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.
<a href="https://agentmods.dev/skills/vitorpamplona/amethyst/desktop-expert"><img src="https://agentmods.dev/badge/skills/vitorpamplona/amethyst/desktop-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02312 |
| Opus 5.5 | $0.00000 | $0.00925 |
| Sonnet 5.5 | $0.00000 | $0.00462 |
| Haiku 4.5 | $0.00000 | $0.00231 |
Grade A, and why
desktop-expert 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Desktop (JVM shim)
desktopApp is a shim: it opens a window and renders the same AmethystApp Android renders.
Screens, the navigation shell (bottom bar / rail / drawer, chosen by ScreenLayoutSpec) and the
deck are shared UI in commonsUI — see AGENTS.md "Navigation Shell" and "Feature Workflow", and
compose-expert. Never add a desktop-only screen or a desktop-specific navigation layout.
Background: commons/plans/2026-09-27-one-ui-android-desktop.md,
commons/plans/2026-10-09-legacy-desktop-retirement.md (the legacy desktop app is gone).
Where things live (desktopApp/src/jvmMain/kotlin/com/vitorpamplona/amethyst/desktop/)
| File | Role |
|---|---|
app/AmethystDesktop.kt |
main(): macOS AWT properties, data dir, DesktopAppModules, the Window, the CompositionLocals (LocalAppPlatform, LocalNotePlatform, …) around AmethystApp. --publish-scheduled runs headless (OS timer publishing scheduled posts). |
app/DesktopAppModules.kt |
The desktop graph (Android's AppModules minus phone-only parts). |
app/DesktopAppRoot.kt |
AppRoot impl; jvmDestinations. |
app/DesktopAppPlatform.kt |
AppPlatform (commonsUI ui/platform/); unoverridden members keep the default, which hides the feature. |
app/DesktopNotePlatform.kt, DesktopRichTextPlatform.kt |
NotePlatform, RichTextPlatform (commonsUI). |
app/DesktopAccountViewModelHost.kt, DesktopLocalCacheHost.kt, DesktopAppServices.kt |
AccountViewModelHost, LocalCacheHost, AppServices (commons). |
app/DesktopMenuBar.kt |
DesktopNavigator, the Command enum, DesktopMenuBar, handleShortcut. |
app/Legacy*Import.kt |
One-time import of the retired legacy app's accounts, deck, feeds, privacy lock. |
platform/PlatformInfo.kt |
PlatformInfo.current / host, isMacOS, isWindows, isLinux, isGnome, isKde. |
platform/SavedWindowBounds.kt |
Window position/size persisted to window-bounds.properties. |
platform/WaylandDisplay.kt, platform/AppWindow.kt |
Native Wayland: WLToolkit picked in main() on a Wayland session (AMETHYST_X11=1 or the "Draw through XWayland" setting, display.properties, opts out); AppWindow is Compose's Window elsewhere and a Swing-drawn frame there. Open new top-level windows with AppWindow, never Window/ComposeDialog. |
platform/DesktopUiScale.kt |
X11 at a fractional scale (Xft.dpi 120 = 125%, AMETHYST_SCALE by hand): AWT draws whole scales only, so AppWindow raises Compose's density by the rest. LocalDensity is then not AWT's scale: convert AWT window/event coordinates with awtPixelScale(component), and size AWT windows in AWT units. |
account/, tor/, network/, service/, ui/media/ |
Account storage, Tor, HTTP, scheduled posts, video/audio players. |
update/ |
Self-update: InstallChannel (how this copy was installed: DMG, Homebrew, MSI, zip, AppImage, tarball, .deb/.rpm, Flatpak), DesktopUpdateInstaller + UpdateHelperScripts (stage, then swap after quit), UpdateDownloader (SHA-256 checked). The checker is commons appupdate; dev runs need -Damethyst.update.devCheck=true. |
What ships with it
4 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.
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.
- today Changed 44cb11893c82
- 7d ago Changed · +4 lines 1d8d6839ab45
- 15d ago Changed 79c5232b921b
- 20d ago Changed · +1 lines 387056311453
- 22d ago Changed · +1 lines 7081ca8fe5b6
- 23d ago Changed · +3 lines 618c8dd63086
- 24d ago Changed · +31 lines 43276726c817
- 25d ago Changed · -707 lines · -157 tokens per session 680f6615b617
- 28d ago Changed · +14 lines 0cf2b72bd44c
- 1mo ago First seen · 767 lines · 157 tokens per session scan A 98f358615978
desktop-expert is a skill published in the GitHub repository vitorpamplona/amethyst (1,620 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,312 tokens. 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.
desktop-expert compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| desktop-expertvitorpamplona/amethyst | Skill | 1.6k | yesterday | MIT | A | 0 | Claude Code |
| compose-animationschrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 64 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 41 | Claude Code |
| kotlin-androidericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 78 | Claude Code, Codex |
| compose-multiplatformericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 80 | Claude Code, Codex |
| release-kotlin-librarychrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 46 | Claude Code |
| using-chrisbanes-skillschrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 38 | Claude Code |