gcon: Skill for Claude Code

.agents/skills/bubbletea-code-review/SKILL.md

bubbletea-code-review is a skill for Claude Code, Codex from slayer/gcon. It costs 41 tokens per session (1,211 once invoked), scanned A, a copy of bubbletea-code-review, MIT.

A code-review guide for BubbleTea terminal user interfaces. BubbleTea is a Go framework for text-based interfaces, and the guide checks its Elm-style model, update, and view structure as well as Lipgloss styling.

In plain words
What is it for?
Use it when reviewing BubbleTea code, including state handling, message updates, screen rendering, component composition, and styling.
Why use it?
It helps reviewers distinguish real problems from standard BubbleTea patterns that may look unusual, reducing false warnings.

Skill for Claude CodeCodex

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

This is slayer/gcon's own configuration. It tells Claude Code and Codex how to work on gcon 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 gcon configures →

View source ↗ slayer/gcon
Reuse

Borrowing it

Nothing to install: this file belongs to slayer/gcon. 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/slayer/gcon/master/.agents/skills/bubbletea-code-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/slayer/gcon

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 bubbletea-code-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/slayer/gcon/bubbletea-code-review"><img src="https://agentmods.dev/badge/skills/slayer/gcon/bubbletea-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,211 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 86% copy Near-identical to another mod 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.00041 $0.01211
Opus 5.5 $0.00016 $0.00484
Sonnet 5.5 $0.00008 $0.00242
Haiku 4.5 $0.00004 $0.00121

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

Security

Grade A, and why

bubbletea-code-review 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 13d 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

This is a copy

86% identical to bubbletea-code-review — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/bubbletea-code-review/SKILL.md · 147 lines

How it starts

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

BubbleTea Code Review

Quick Reference

Issue Type Reference
Elm architecture, tea.Cmd as data references/elm-architecture.md
Model state, message handling references/model-update.md
View rendering, Lipgloss styling references/view-styling.md
Component composition, Huh forms references/composition.md
Bubbles components (list, table, etc.) references/bubbles-components.md

CRITICAL: Avoid False Positives

Read elm-architecture.md first! The most common review mistake is flagging correct patterns as bugs.

NOT Issues (Do NOT Flag These)

Pattern Why It's Correct
return m, m.loadData() tea.Cmd is returned immediately; runtime executes async
Value receiver on Update() Standard BubbleTea pattern; model returned by value
Nested m.child, cmd = m.child.Update(msg) Normal component composition
Helper functions returning tea.Cmd Creates command descriptor, no I/O in Update
tea.Batch(cmd1, cmd2) Commands execute concurrently by runtime

ACTUAL Issues (DO Flag These)

Pattern Why It's Wrong
os.ReadFile() in Update Blocks UI thread
http.Get() in Update Network I/O blocks
time.Sleep() in Update Freezes UI
<-channel in Update (blocking) May block indefinitely
huh.Form.Run() in Update Blocking call

Review Checklist

Architecture

  • No blocking I/O in Update() (file, network, sleep)
  • Helper functions returning tea.Cmd are NOT flagged as blocking
  • Commands used for all async operations

Model & Update

  • Model is immutable (Update returns new model, not mutates)
  • Init returns proper initial command (or nil)
  • Update handles all expected message types
  • WindowSizeMsg handled for responsive layout
  • tea.Batch used for multiple commands
  • tea.Quit used correctly for exit

Read the full file on GitHub · 147 lines

Files

What ships with it

5 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. 13d ago First seen · 147 lines · 41 tokens per session scan A 5bad0b973a65

Subscribe to this mod's changes

bubbletea-code-review is a skill published in the GitHub repository slayer/gcon (8 stars, last pushed 16d ago), licensed MIT. It adds 41 tokens to every session and 1,211 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to bubbletea-code-review, differing in 10 lines, and is treated as a copy.

Related

Other skills, from other repositories

pr-to-go-linter

Generate a new pkg/linters analyzer from a merged or open PR pattern.

github/gh-aw · 22 tokens

golang-refactoring

Golang refactoring — safe, at-scale restructuring of existing Go code: a coverage-adaptive safety net, behavior-preserving transforms (gopls Rename/Extract, gofmt -r, gopatch), the Fowler catalog mapped to Go, breaking import cycles, and small stacked PRs. Apply when a function or type has grown too large, a code…

samber/cc-skills-golang · 220 tokens

design-review

Deep design review of Go codebase — naming, structure, consistency, interfaces, error handling. Scores each dimension and provides actionable fixes.

dimetron/pi-go · 30 tokens

agents-md

Generate AGENTS.md files for Go, Rust, TypeScript, and Java projects. Use this skill whenever the user asks to create, scaffold, bootstrap, update, or review an AGENTS.md (or agent-instructions, CLAUDE.md, repo guide for agents) file in a codebase. Also trigger when the user says "add AGENTS.md", "make this repo…

dimetron/pi-go · 138 tokens

ring:verifying-code

Verifying a Go project: runs every quality check (lint, vet, imports, format, docs, unit, integration, E2E) and returns a single MERGEREADY or NEEDSFIX verdict. Report-only: never fixes anything. Use for a quick pre-merge or pre-PR check outside a full dev-cycle. Skip when not a Go project, when you want a single…

LerianStudio/ring · 101 tokens

go-concurrency-safety

L1 supplement - audits Go-specific concurrency hazards in node client code: map iteration non-determinism, goroutine leaks, mutex ordering, panic boundaries, context cancellation.

PlamenTSV/plamen · 40 tokens