wails

wails is a skill for Claude Code from spf13/go-skills. It costs 102 tokens per session (3,325 once invoked), scanned A, original, MIT.

A guide for building desktop applications in Go with Wails, a framework that connects a Go program to a web-based user interface. It covers Wails versions 2 and 3 separately.

In plain words
What is it for?
Use it when building, reviewing, or debugging a Go desktop or webview application that uses Wails.
Why use it?
It helps prevent mixing incompatible instructions between the stable version 2 and the alpha version 3.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wails plugin — 1 skill shipped together

Good fit Use it when building, reviewing, or debugging a Go desktop or webview application that uses Wails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spf13/go-skills/wails
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 spf13/go-skills --skill wails
Clone the repo
git clone --depth 1 https://github.com/spf13/go-skills

Made for: Claude Code.

Or install wails, the plugin that ships this one along with the rest of its 1 skill.

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 wails

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/spf13/go-skills/wails"><img src="https://agentmods.dev/badge/skills/spf13/go-skills/wails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,325 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.00102 $0.03325
Opus 5.5 $0.00041 $0.01330
Sonnet 5.5 $0.00020 $0.00665
Haiku 4.5 $0.00010 $0.00332

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

Security

Grade A, and why

wails 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 15d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • wails — 100% identical, 90 lines differ
wails/SKILL.md · 244 lines

How it starts

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

Wails: Desktop Apps in Go

Wails builds native desktop applications with a Go backend and a web frontend rendered in the platform webview (WebKit on macOS/Linux, WebView2 on Windows). No bundled Chromium — binaries are megabytes, not hundreds of megabytes.

Two major versions coexist, with incompatible APIs. v2 is stable. v3 is late alpha — production apps do ship on it, but releases are nightly v3.0.0-alpha2.x tags, the API still churns between them, so an exact alpha must be pinned (see Pinning v3) and it must never be presented as stable. The single most common failure mode — for LLMs especially — is mixing v2 and v3 code. Every response must be pure v2 or pure v3.

Step 0 — Detect the Version (Mandatory)

Before writing any code, determine the version from the project. Do not guess from the user's phrasing.

Signal Weight v2 v3
go.mod require path authoritative github.com/wailsapp/wails/v2 github.com/wailsapp/wails/v3
Entry point strong wails.Run(&options.App{...}) application.New(application.Options{...})
Go→JS exposure strong Bind: []interface{}{app} Services: []application.Service{...}
Runtime calls strong runtime.EventsEmit(ctx, ...) with stored context methods on app / window — no context threading
Frontend imports strong wailsjs/go/main/App frontend/bindings/<import-path>/<service>
Build orchestration weak driven by wails.json Taskfile.yml (go-task), transparent
CLI name context only wails dev, wails build wails3 dev, wails3 build

go.mod is the only authoritative signal. One require github.com/wailsapp/wails/vN line settles it — stop reading.

Tie-break. When go.mod and the code disagree, go.mod wins and the code is the bug: a /v3 module containing wails.Run(&options.App{}) is a half-finished migration; a /v2 module containing application.New is a paste from a v3 tutorial. Report the conflict instead of writing more code in either style.

Read the full file on GitHub · 244 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. 15d ago Changed · +54 lines · -13 tokens per session a2eebb8413e3
  2. 3mo ago First seen · 190 lines · 115 tokens per session scan A 90a6dc2d796c

Subscribe to this mod's changes

wails is a skill published in the GitHub repository spf13/go-skills (722 stars, last pushed 15d ago), licensed MIT. It adds 102 tokens to every session and 3,325 once invoked, about $0.0004 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-08-30.

Related

wails compared with skills from other repositories

wails next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wailsspf13/go-skillsSkill72215d agoMITA102Claude Code
golang-testingaffaan-m/ECCSkill313k7d agoMITA37Claude Code, Kiro
golang-patternsaffaan-m/ECCSkill313k7d agoMITA45Claude Code, Kiro
ax-go-agent-optimizeax-llm/axSkill3.0ktodayApache-2.0A51Claude Code, Codex
golang-testingsamber/cc-skills-golangSkill4.0k21d agoMITA115Claude Code
golang-samber-oopssamber/cc-skills-golangSkill4.0k21d agoMITA74Claude Code
golang-uber-fxsamber/cc-skills-golangSkill4.0k21d agoMITA122Claude Code