ai-screen
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Call screen_guide once, then use screen / screen_batch.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| screenA | Run one ai-screen (screenctl) command in the user's chosen window. Examples: "select window firefox", "see", "page --grep price", "find 'Sign in'", "click --text 'Sign in' --role button", "type --into Email user@mail.com", "goto example.com", "mark --text 'Total'", "shot", "done". Read the screen_guide tool first. Exit codes: 0 ok, 2 error, 3 denied/stopped by the user (stop and ask), 4 a find/wait/expect condition is not met (re-plan). |
| screen_batchA | Run several screenctl steps, one per line (POSIX quoting), as one action with one permission check. Put |
| screen_guideA | How to use ai-screen well (fast text-first workflow, rules, exit codes). Read once before use. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools have distinct roles: single-command execution (screen), batched multi-step execution (screen_batch), and documentation (screen_guide). The main risk is screen vs screen_batch, but descriptions make the boundary clear ('one command' vs 'several steps, one permission check'). The only residual ambiguity is that `screen` silently absorbs dozens of subcommands, so an agent must infer which subcommand fits a task.
All names use snake_case with a shared `screen` root plus a clear suffix (`_batch`, `_guide`), which is a predictable pattern. The bare `screen` base name alongside suffixed variants is a minor deviation from a strict verb_noun convention, but it reads cleanly and maps well to the underlying `screenctl` CLI.
Three tools is at the low end but justified here because breadth lives inside the CLI passthrough rather than in the tool list. Splitting further (one tool per subcommand) would be worse, and adding more would be redundant; it is minimal but each tool earns its place.
The set covers the full workflow: one-off actions, batched steps with expect-gating and exit-4 feedback, plus an onboarding guide and documented exit codes for re-planning. Minor gap: there is no dedicated discovery/state tool (e.g. listing windows or available subcommands) beyond what screen_guide and `select window` provide, so agents rely on out-of-band knowledge for introspection.