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/pavelzw/skill-forge/textualnpx skills add pavelzw/skill-forge --skill textualgit clone --depth 1 https://github.com/pavelzw/skill-forgeWrote 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/pavelzw/skill-forge/textual)<a href="https://agentmods.dev/skills/pavelzw/skill-forge/textual"><img src="https://agentmods.dev/badge/skills/pavelzw/skill-forge/textual.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.00057 | $0.04373 |
| Opus 5 | $0.00028 | $0.02187 |
| Sonnet 5 | $0.00011 | $0.00875 |
| Haiku 4.5 | $0.00006 | $0.00437 |
Grade A, and why
textual scanned grade A with 2 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
response = await fetch(url) Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
os.system("vim file.txt") How it starts
The opening of the file, as written. The whole thing — 595 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Textual Skill
Textual is a Python framework for building rich terminal user interfaces (TUIs). It provides a widget toolkit with CSS-based styling, an event system with message passing, reactive data binding, screen management, and async worker support.
When to Use This Skill
Use Textual when:
- Building interactive terminal applications
- Creating dashboards, forms, or data browsers in the terminal
- Need rich UI with layout, styling, and input handling
- Want CSS-like styling for terminal apps
- Building apps with multiple screens or modal dialogs
Architecture
App (application root)
└── Screen (layered views, one active at a time)
└── Widget (UI components, nested in a DOM tree)
└── Child Widgets...
- App is the top-level container. It manages screens, themes, key bindings, and the event loop.
- Screen is a full-screen layer within the app. Screens stack; only the top screen is visible.
- Widget is a UI component. Widgets form a DOM tree, can have children, and are styled with CSS.
Creating an App
from textual.app import App, ComposeResult
from textual.widgets import Header, Footer, Static
class MyApp(App):
"""A minimal Textual application."""
CSS = """
Screen {
align: center middle;
}
#greeting {
width: 40;
padding: 1 2;
border: solid green;
text-align: center;
}
"""
BINDINGS = [
("q", "quit", "Quit"),
("d", "toggle_dark", "Toggle dark mode"),
]
def compose(self) -> ComposeResult:
yield Header()
yield Static("Hello, World!", id="greeting")
yield Footer()
def action_toggle_dark(self) -> None:
self.theme = "textual-light" if self.theme == "textual-dark" else "textual-dark"
if __name__ == "__main__":
MyApp().run()
App Class Variables
| Variable | Type | Purpose |
|---|---|---|
CSS |
str |
Inline CSS rules |
CSS_PATH |
str | list[str] |
Path(s) to .tcss CSS files |
BINDINGS |
list[BindingType] |
Key bindings |
TITLE |
str |
App title (shown in Header) |
SUB_TITLE |
str |
App subtitle |
SCREENS |
dict[str, Callable] |
Named screen factories |
MODES |
dict[str, str | Callable] |
App modes with base screens |
COMMANDS |
set[type[Provider]] |
Command palette providers |
ENABLE_COMMAND_PALETTE |
bool |
Enable command palette (default: True) |
What ships with it
9 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.
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 · 595 lines · 57 tokens per session scan A 57e84ec49d31
textual is a skill published in the GitHub repository pavelzw/skill-forge (24 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 57 tokens to every session and 4,373 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
pennylane
Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
typing-exclusion-worker
Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.
python
Python development with ruff, mypy, pytest - TDD and type safety.
splitting-oversized-modules
Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to…