ui-control

ui-control is a skill for Claude Code, Codex from SirAllap/agentglass. It costs 127 tokens per session (2,826 once invoked), scanned A, original, MIT.

A control tool for reading and changing panels and settings in the agentglass application window.

In plain words
What is it for?
Use it to open settings, read the chat or current panel, inspect available controls, and change supported application settings.
Why use it?
It lets an agent inspect what is open and adjust supported settings without relying on what the person describes or manually navigating the window.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to open settings, read the chat or current panel, inspect available controls, and change supported application settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sirallap/agentglass/ui-control
Install

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.

Any agent
npx skills add SirAllap/agentglass --skill ui-control
Clone the repo
git clone --depth 1 https://github.com/SirAllap/agentglass

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 ui-control

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sirallap/agentglass/ui-control"><img src="https://agentmods.dev/badge/skills/sirallap/agentglass/ui-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,826 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 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.00127 $0.02826
Opus 5.5 $0.00051 $0.01130
Sonnet 5.5 $0.00025 $0.00565
Haiku 4.5 $0.00013 $0.00283

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

Security

Grade A, and why

ui-control 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.

skills/ui-control/SKILL.md · 164 lines

How it starts

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

Driving agentglass's own screen

The window the person works in has panels (Settings, the machine panel, the bench, the Git modals, the file finder) and settings. agentglass-ui is your door to them: the same list of doors a Stream Deck button uses, with a name on every call so the person can see in the action log that it was you.

agentglass-ui list                                   # every door, its level, its arguments
agentglass-ui state                                  # what is open now; which panels `read` describes
agentglass-ui read chat                              # one panel's state, shown nowhere
agentglass-ui open settings.open --arg page=diff --arg row=wrap-long-lines   # quiet: a chip if they are typing
agentglass-ui open --now settings.open --arg page=diff       # they said "show me": at once
agentglass-ui settings list                          # what you may read and write
agentglass-ui settings get diff.wrap
agentglass-ui settings set diff.wrap true
agentglass-ui --as my-agent read view                # put a name on the call

As an MCP server: claude mcp add agentglass-ui -- agentglass-ui-mcp. One tool per door (ui_settings_open, ui_read, ui_settings_set, ...), and the list comes from the running app, so it is always the doors this version has. Set AGENTGLASS_UI_AS to the name your calls carry.

What you can open: every view and Settings page, one plugin's own page (settings.plugin), the machine panel, project picker, window switcher, the bench, a file in the viewer, the Git modals (insights, bisect, the git palette, compare, blame, and the rebase editor, which only draws the plan), one event or session the window holds (event.open, session.open), the running version's release notes (whatsnew.open), the Lantern schedule dialog, the Terminal's Resume list, and what the pane chords open for the focused terminal pane (pane.open). Opening only shows: starting a rebase, saving a schedule, resuming a session is the person's click. Not doors, on purpose: the people picker, the Rescue modal and the menus inside a panel; agentglass-ui list is the truth.

What you can read: agentglass-ui read <panel> for view, chat, bench, gates and the Settings panes (diff, terminal, browser, notifications, prefs, rail, keys, tasks, appearance, understudy, hooks, lantern, budgets, recipes, review-prompts, saved-replies, tmux, privacy, plugins, log, about). Panes the server holds ask their own route and can take a moment. Recipe steps, prompt and reply text, plugin settings and credentials are never in an answer; names and titles are under untrusted.

Every answer is one JSON object. ok: true means a window ran the command; ok: false carries one sentence saying why (no window is open, a change is off on this server, the setting is not exposed, an argument is outside its set). Read the sentence and do what it says; do not retry the same call.

Read the full file on GitHub · 164 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. 6d ago First seen · 164 lines · 127 tokens per session scan A 65e99aea4f06

Subscribe to this mod's changes

ui-control is a skill published in the GitHub repository SirAllap/agentglass (334 stars, last pushed today), licensed MIT. It adds 127 tokens to every session and 2,826 once invoked, about $0.0005 per session on Opus 5.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-10-10.