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.
npx agentmods add skills/vinsonconsulting/claude-skill-foundry/bubbleteanpx skills add vinsonconsulting/claude-skill-foundry --skill bubbleteagit clone --depth 1 https://github.com/vinsonconsulting/claude-skill-foundryWrote 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/vinsonconsulting/claude-skill-foundry/bubbletea)<a href="https://agentmods.dev/skills/vinsonconsulting/claude-skill-foundry/bubbletea"><img src="https://agentmods.dev/badge/skills/vinsonconsulting/claude-skill-foundry/bubbletea.svg" alt="Measured on agentmods" height="20"></a>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.00253 | $0.04379 |
| Opus 5 | $0.00127 | $0.02190 |
| Sonnet 5 | $0.00051 | $0.00876 |
| Haiku 4.5 | $0.00025 | $0.00438 |
Grade A, and why
bubbletea 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.
How it starts
The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bubble Tea
Write current, compiling Bubble Tea v2 code (pinned to v2.0.x on the
charm.land/*/v2 import paths) and refuse the v1/beta patterns the model remembers
from training. The body is the load-bearing 20%: the Elm mental model and one verified
example per concept. Everything enumerable — the full Bubbles catalog, the key/mouse
taxonomy, styling, streaming, testing, migration — lives in references/. Open the
matching reference before writing nontrivial code in that area.
Imports — the whole stack is on charm.land
Every Charm framework package lives on charm.land/*/v2. The most common v2 mistake is
importing lipgloss or bubbles from the old github.com/charmbracelet/… path while using
charm.land bubbletea — that pulls two incompatible trees into one build and fails to
compile. Use these paths; only the x/* helpers stay on github.com:
import (
tea "charm.land/bubbletea/v2"
"charm.land/lipgloss/v2" // NOT github.com/charmbracelet/lipgloss
"charm.land/bubbles/v2/viewport" // list, table, textinput, textarea, spinner, … under bubbles/v2/<c>
"charm.land/glamour/v2"
"github.com/charmbracelet/x/ansi" // width/wrap helpers — these have no charm.land alias
)
Mental model — The Elm Architecture is the whole framework
Bubble Tea is not a widget toolkit you poke at; it is one mandatory loop. You give the runtime a Model (your immutable state) and three methods, and it owns everything else:
- Init returns an optional first
Cmd. - Update receives a
Msg, returns a (possibly changed) Model and an optionalCmd. - View renders the Model to a
tea.View.
The runtime calls Update for every message, then View, and paints the result. This is
MVU (Model-View-Update). The entire discipline follows from it:
- Mutate state only inside
Update. Never fromView, from aCmdbody, or from a goroutine.Updateis the single writer; everything else races the render loop. - Never block in
Update. It runs on the render path. Do I/O — network, disk, subprocess, a timer — inside aCmd, which the runtime runs in its own goroutine and whose result comes back as aMsg. - Models flow by value.
Updatetakes the Model by value, mutates the local copy, and returns it. Bubbles (sub-components) work the same way — you reassign what theirUpdatereturns.
What ships with it
19 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.
- card-review.md 916 B
- card.authored.yaml 450 B
- card.json 4.8 KB
- evals/evals.json 4.9 KB
- evals/functional/graders.py 7.4 KB runs code
- evals/functional/run_grader.py 1.8 KB runs code
- evals/functional/tasks.json 4.3 KB
- evals/triggering.jsonl 2.8 KB
- README.md 4.8 KB
- references/agent-ui.md 3.6 KB
- references/architecture.md 5.3 KB
- references/components.md 4.2 KB
- references/ecosystem.md 2.7 KB
- references/styling-and-layout.md 3.3 KB
- references/testing.md 2.5 KB
- references/text-and-unicode.md 2.8 KB
- references/versioning.md 3.4 KB
- scan.json 3.1 KB
- skill-card.md 5.5 KB
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.
- 6d ago First seen · 360 lines · 253 tokens per session scan A 5e2cb7436f53
bubbletea is a skill published in the GitHub repository vinsonconsulting/claude-skill-foundry (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 253 tokens to every session and 4,379 once invoked, about $0.0013 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.
Other skills, from other repositories
golang-testing
Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.
golang-patterns
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.
gentleman-bubbletea
Bubbletea TUI patterns for Gentleman.Dots installer. Trigger: When editing Go files in installer/internal/tui/, working on TUI screens, or adding new UI features.
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-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-go-signature
Use when writing Go code with github.com/ax-llm/ax/packages/go for string signatures, field descriptors, JSON schema output, validation, and typed tool argument shapes.