Borrowing it
Nothing to install: this file belongs to xuzhougeng/wispterm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xuzhougeng/wispterm/main/AGENTS.mdgit clone --depth 1 https://github.com/xuzhougeng/wisptermWrote 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/instructions/xuzhougeng/wispterm/agents-md)<a href="https://agentmods.dev/instructions/xuzhougeng/wispterm/agents-md"><img src="https://agentmods.dev/badge/instructions/xuzhougeng/wispterm/agents-md/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.
<a href="https://agentmods.dev/instructions/xuzhougeng/wispterm/agents-md"><img src="https://agentmods.dev/badge/instructions/xuzhougeng/wispterm/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.06067 | $0.06067 |
| Opus 5.5 | $0.02427 | $0.02427 |
| Sonnet 5.5 | $0.01213 | $0.01213 |
| Haiku 4.5 | $0.00607 | $0.00607 |
Grade A, and why
wispterm AGENTS.md 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Overview
WispTerm is a terminal emulator written in Zig, shipping desktop builds for Windows and macOS, plus an experimental Linux AppImage. It uses libghostty-vt (Ghostty's VT parser and terminal state machine) for terminal emulation, with its own rendering pipeline (D3D11/Metal/OpenGL + FreeType, plus DirectWrite/CoreText/fontconfig for font discovery by platform).
Windows is the primary and default development target (x86_64-windows-gnu), and day-to-day development happens on Windows in PowerShell. Platform-specific code lives behind narrow interfaces in src/platform/ (per-platform implementations plus _unsupported/_posix stubs) so macOS and Linux can share the terminal core. macOS is an active supported desktop build that is still stabilizing; Linux is experimental. See ROADMAP.md for future work and KNOWN_ISSUES.md for current platform limitations.
Architecture
WispTerm is split into a platform-agnostic core (terminal state, IO, rendering) and a per-platform host (window, event loop, input) that drives the core through a narrow surface API. The host interface is src/platform/window_backend.zig; OS facilities go through capability facades in src/platform/. The named contract — what the host implements, what services it supplies, and the invariants that keep the seam intact — is documented in docs/architecture.md. Read it before touching the platform boundary or starting a port.
UI presentation styles
WispTerm has exactly three application UI styles. Choose one before adding a screen; do not create a fourth ad-hoc overlay shape. The shared geometry contract is src/renderer/ui_patterns.zig. It is intentionally pure and is included in the fast test suite.
| Style | Use for | Required structure | Examples |
|---|---|---|---|
| Command palette | Find-and-run actions with no persistent form state | Search field, filtered and scrollable action list, visible selection, shortcut/meta column, Escape closes. Keep it transient; do not put multi-step configuration here. | Command Center, Copilot History picker |
| Form dialog | Small configuration, profile editing, confirmation, and launch choices | Centered constrained dialog, title plus one-line instruction, aligned rows/fields, explicit primary and cancel/close actions. Must fit inside viewport gutters at every size. | New Session, AI/SSH/MCP forms |
| Workbench page | Persistent tab-owned tools with browsing, status, or multi-column content | Header, content region, and a full-width footer/status band. Empty states explain why the page is empty and name the next action. Keyboard hints and non-blocking status belong in the footer/status band, never squeezed into a content column. | Settings, Memory Center, Skill Center, Port Forwarding, Agent History |
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.
- today Changed 8957ba252431
- 6d ago Changed · +1 lines · +70 tokens per session 1ee41f70eb73
- 1mo ago Changed 35bba2d09187
- 1mo ago First seen · 233 lines · 5,997 tokens per session scan A cff400c5b6b9
wispterm AGENTS.md is an instructions file published in the GitHub repository xuzhougeng/wispterm (452 stars, last pushed today), licensed MIT. It adds 6,067 tokens to every session, about $0.0243 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-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.