thurbox: Skill for Claude Code

.agents/skills/thurbox-kernel/SKILL.md

thurbox-kernel is a skill for Claude Code, Codex from Thurbeen/thurbox. It costs 0 tokens per session (10,373 once invoked), scanned A, original, MIT.

A reference for Thurbox, a terminal interface whose core is written in Rust and whose plugins are written in Lua. It explains the interface building blocks, plugin rules, event loop, and extension system.

In plain words
What is it for?
Use it when designing panes, writing interface plugins, checking module dependencies, or understanding how Thurbox reads state and processes commands.
Why use it?
It gives contributors the rules they need to change or extend Thurbox without breaking its layout, rendering, or non-blocking behavior.

Skill for Claude CodeCodex

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to Thurbeen/thurbox. 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/Thurbeen/thurbox/main/.agents/skills/thurbox-kernel/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Thurbeen/thurbox

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 thurbox-kernel

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thurbeen/thurbox/thurbox-kernel"><img src="https://agentmods.dev/badge/skills/thurbeen/thurbox/thurbox-kernel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,373 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.10373
Opus 5.5 $0.00000 $0.04149
Sonnet 5.5 $0.00000 $0.02075
Haiku 4.5 $0.00000 $0.01037

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

Security

Grade A, and why

thurbox-kernel 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 2d 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/thurbox-kernel/SKILL.md · 622 lines

How it starts

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

Thurbox plugin kernel and plugin authoring

Working reference indexed by AGENTS.md. The rationale behind these decisions is owned by the docs under docs/; a change that invalidates what this says updates it in the same PR.

Architecture (plugin kernel)

The interface is Lua running on a Rust kernel. thurbox boots the kernel, which reads ui/ and renders whatever plugins it finds; there is no built-in pane. v1's src/app (TEA model/update/view) and src/ui (35 render modules) were deleted when the kernel took the binary name — v1 lives on the v1.x branch.

The five rules

  1. Four node kinds, forever — text, box, input, surface. Everything else composes in ui/lib/widgets.lua. tests/kernel_mvp.rs asserts the count. A new appearance arrives as a prop on one of the four: text takes a style the kernel paints across its whole rect before the spans go on top, which is what a selection bar or hover band is — no pane pads a row with a spacer span, and a span naming its own colour keeps it (a search hit stays visible under the bar). widgets.list exposes it as selected_style / hover_style. A frame takes title_align, border_type (rounded/square) and an overlay — runs painted onto its own border cells (top_left/top_right/bottom_left/bottom_right/right_column) after the block, which is where the session list's ▲ N/▼ N counts and the terminal pane's scrollbar live, at the cost of no content cell. And a run takes id/role, so a chip inside a line is a click target over its own columns without becoming a node; adjacent runs sharing an identity coalesce into one hitbox, which is what makes ◀ F9 — an accent chevron and a muted hint — a single button.
  2. Layout resolves before render — rects are computed first, then each plugin is called with its own. Plugins declare size statically, in their declaration table, which is what breaks the circularity.
  3. Snapshot-read, command-write — reads come from an in-memory snapshot and return instantly; writes are commands accepted now and surfaced later. Lua never blocks, so no plugin can stall the loop on SQLite, git or an unreachable host.
  4. Capabilities by absence — an ungranted capability is not in the environment. io, os, debug, package and the loaders are withheld, and thurbox.yml makes selene enforce that statically. One capability cannot be expressed that way: a program pane is asked for through command, which every plugin has, so thurbox.granted reports the grant instead — a boolean about a decision already made, which withholds nothing.
  5. Anything touching the world runs on a worker — terminal attach, commands, the interface's database reads and writes (kernel::snapshot_db), diffs, metrics, git stats, repository reads, update checks, and programs a plugin asked for.

Read the full file on GitHub · 622 lines

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. 2d ago Changed · -1 lines 59cadf4d6662
  2. 5d ago Changed · +6 lines 17b2a638773e
  3. 7d ago Changed · +19 lines c58e9d016430
  4. 9d ago Changed · +5 lines bdeeae5cb41e
  5. 10d ago Changed · +15 lines 00a9ee06d945
  6. 11d ago Changed · +22 lines 339a6605eb43
  7. 12d ago Changed · +9 lines d6a8a7c5b340
  8. 20d ago Changed · +4 lines f833da70fe94
  9. 22d ago Changed · +11 lines fc281791dee1
  10. 28d ago First seen · 532 lines · 0 tokens per session scan A d561e92cfe59

Subscribe to this mod's changes

thurbox-kernel is a skill published in the GitHub repository Thurbeen/thurbox (115 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 10,373 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.