coding-guidance-go-tui

coding-guidance-go-tui is a skill for Claude Code, Codex from n-n-code/n-n-code-skills. It costs 74 tokens per session (2,331 once invoked), scanned A, original, MIT.

A coding guide for building and reviewing interactive Go terminal interfaces with Charmbracelet libraries. A terminal interface is an interactive program that runs in a text-based command window.

In plain words
What is it for?
Use it for Bubble Tea state machines, Bubbles components, Lip Gloss styling, and Huh forms embedded inside Bubble Tea applications.
Why use it?
It helps keep keyboard controls, screen focus, application state, and terminal behaviour consistent in interactive command-line programs.

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 Bubble Tea state machines, Bubbles components, Lip Gloss styling…

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

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 coding-guidance-go-tui

README.md
[![agentmods](https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/coding-guidance-go-tui.svg)](https://agentmods.dev/skills/n-n-code/n-n-code-skills/coding-guidance-go-tui)
Your own site
<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/coding-guidance-go-tui"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/coding-guidance-go-tui.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,331 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.00074 $0.02331
Opus 5 $0.00037 $0.01166
Sonnet 5 $0.00015 $0.00466
Haiku 4.5 $0.00007 $0.00233

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

Security

Grade A, and why

coding-guidance-go-tui 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 6d 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/coding-guidance-go-tui/SKILL.md · 205 lines

How it starts

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

Go TUI Coding Guidance

Portable implementation, refactoring, testing, and review guidance for interactive Go terminal user interfaces built with Charmbracelet Bubble Tea, Bubbles, Lip Gloss, Huh forms embedded in Bubble Tea, and related Charm libraries.

Adjacent Skills

Use this as the default principle skill for Charmbracelet Go TUI work. Compose with:

  • Workflow: thinking for ambiguous decision framing, recursive-thinking for stress-testing, tester-mindset for validation strategy, and security for sensitive input, shell execution, token display, or filesystem access
  • Project overlays: project-core-dev for repo-specific completion discovery and reporting when needed, project-config-and-tests for config and deterministic tests at config or path seams, and project-platform-diagnose for terminal capability, piped stdio, SSH, alt-screen, shell, platform, install, or runtime smoke issues
  • Go depth: coding-guidance-go only when the non-TUI Go package design, concurrency, service boundary, profiling, or module behavior is the main risk

Use coding-guidance-go instead when the task is a non-interactive Go CLI, standalone or one-shot Huh prompt, library, worker, service, or test change with no terminal UI state machine.

Reference Map

Load references only when the task needs that depth:

  • references/charmbracelet-patterns.md for version-specific Bubble Tea APIs, Bubbles component integration, Huh forms embedded in Bubble Tea, Lip Gloss APIs, key binding patterns, and upstream example routing
  • references/tui-layout-and-production.md for layout arithmetic, responsive panels, mouse hit testing, screen/focus state machines, production polish, performance, noninteractive fallbacks, and Bubble Tea code-review false positives

When Not to Lean on This Skill

  • non-Go terminal UI frameworks such as ncurses, Textual, blessed, termbox, or curses-style wrappers unless only the generic TUI UX ideas apply
  • simple command-line flag parsing, one-shot command output, standalone Huh forms, or other prompt-only flows that do not maintain an interactive screen
  • shell-only prompt polish with Gum, VHS, Mods, or plain shell unless the user is explicitly converting the flow into a Go Bubble Tea TUI
  • web, mobile, or graphical desktop UI work; use the appropriate UI or platform guidance instead
  • broad Go backend, package architecture, or performance work where Bubble Tea, Bubbles, and Lip Gloss are incidental

Read the full file on GitHub · 205 lines

Files

What ships with it

2 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. 6d ago First seen · 205 lines · 74 tokens per session scan A 6f2a0b755c6f

Subscribe to this mod's changes

coding-guidance-go-tui is a skill published in the GitHub repository n-n-code/n-n-code-skills (4 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,331 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-31.

Related

Other skills, from other repositories

document-code

Apply Google Style documentation standards to Python, Go, TypeScript, and Terraform code. Use when writing or reviewing code that needs docstrings/comments/JSDoc, when asked to "document this code", "add docstrings", "follow Google Style", or when improving code documentation quality. Supports Python docstrings, Go…

jjmartres/ai-coding-agents · 88 tokens

go-best-practices

Use when reading or writing Go files (.go, go.mod).

aiskillstore/marketplace · 19 tokens

go-concurrency

Production Go concurrency patterns — goroutines, channels, sync primitives, context, worker pools, pipelines, and graceful shutdown. Use when building concurrent Go applications or debugging race conditions.

wpank/ai · 39 tokens

golang-pro

Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming…

Jeffallan/claude-skills · 95 tokens

ax-go-gen

Use when writing Go code with github.com/ax-llm/ax/packages/go for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.

ax-llm/ax · 54 tokens

ax-go-llm

Use when writing Go code with github.com/ax-llm/ax/packages/go for using the generated Ax package, factory functions, package docs, examples, and API reference.

ax-llm/ax · 44 tokens