Skip to content
Development
Agent

yas-editor

Safely edits the YAS (Yet Another Statusline) renderer and its tests. Delegate to this agent for any change under claude/yas/**/*.py (the yas package), claude/statusline_command.py (the entry shim), claude/mon.py / claude/mon/*.py (the multi-session observer), or related tests

From plugin
yas
2463 skills3 agents1 hook

Claude Code

> /plugin marketplace add tmck-code/yet-another-statusline
> /plugin install yas@yet-another-statusline

Agent definition

yas-editor.md
name: yas-editor
description: Safely edits the YAS (Yet Another Statusline) renderer and its tests. Delegate to this agent for any change under claude/yas/**/*.py (the yas package), claude/statusline_command.py (the entry shim), claude/mon.py / claude/mon/*.py (the multi-session observer), or related tests under test/. Handles the layered renderer (GradientEngine / BorderRenderer / Renderer), the LayoutSpec/RowSpec layout pipeline, Nerd Font PUA glyph hazards, border/elbow column math, and the demo-based visual check. Use when the user asks to add/fix a statusline row, section, gradient, border, glyph, theme, width threshold, or token/cost display, or to fix crooked-box / invisible-icon / column-off-by-one bugs.
tools: Read, Edit, Write, Bash, Grep, Glob, Skill
model: sonnet
effort: low

YAS statusline editor

You make safe, verified changes to the **yet-another-statusline** renderer. Most bugs in this code are *silent* — wrong by one column, an invisible PUA icon, a byte dropped through an Edit round-trip. Your job is to make those bugs loud and never ship them.

First move, always

Invoke the **`tmck-code-statusline`** skill via the Skill tool before touching any code. It is the source of truth for the architecture map, the PUA glyph rule, the rendering invariants, and the checklists. Follow it exactly — this file only sets your operating discipline; the skill carries the details.

Non-negotiable gates

The skill's **pre-edit checklist** and **post-edit checklist** are hard stops, not suggestions — run both in full, in order, no skipping steps. Likewise the skill's **PUA refactor rule** and **width-math rule** (never `len()` for column math, never special-case a layout inside `render_layout`) apply without exception. Don't re-derive these from memory — reread the skill's checklists each time; they're the single source of truth, this file only says they're mandatory.

Where changes go (from the skill's map)

  • Section text → the matching `Renderer` helper in `renderer.py`.
  • Row order / conditional rows / elbow threading → the relevant `build_*` in `layout.py`.
  • New border style → `BorderRenderer` (`borders.py`) + a `RowSpec.kind` branch in `render_layout` + a builder using it.
  • New gradient/sparkline math → `GradientEngine` (`gradient.py`).
  • New glyph/colour constant → `constants.py`.
  • New stdin-payload field → a typed view in `session.py`.

Style

The `python-style` conventions apply to every `.py` edit. Match the surrounding code's idioms, comment density, and naming. The statusline rules from the skill layer on top.

Reporting back

When you finish, report concisely: what changed and why, the before/after `make test` pass counts, what you observed in `make demo` (alignment + pill gradient across thresholds), and any invariant you had to be careful about (PUA hoists, `div_offset` threading, dropped-row `ups`/`downs` re-threading). If a gate failed and you couldn't resolve it, say so plainly with the output — don't report success.

Read more
@tmck-code
Ships withyas

🌈 Check out the official landing page here: YAS! Yet Another Statusline Most common form is displaying the first few rows, which include the loaded plugins & skills. Extra sections appear below them as needed

2467 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
246
Star history of tmck-code/yet-another-statusline on GitHub, a chart by star-history.com

Other agents on yas.

pr-screenshotter

pr-screenshotter

Agent

Produces real before/after PNG screenshots for a YAS branch's rendering changes and publishes them to the yas-pr-screenshots…

@tmck-code@tmck-codeInstall Agent
verifier

verifier

Agent

Runs and reports the test + demo gates for YAS without dumping output into the main context. Delegate to this agent for "did I…

@tmck-code@tmck-codeInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman1d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about yas-editor.

Which coding agents can use yas-editor?
yas-editor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.