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 instructions/tuweihuasheng/host-console/agents-mdgit clone --depth 1 https://github.com/tuweihuasheng/host-consoleWrote 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/tuweihuasheng/host-console/agents-md)<a href="https://agentmods.dev/instructions/tuweihuasheng/host-console/agents-md"><img src="https://agentmods.dev/badge/instructions/tuweihuasheng/host-console/agents-md.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 | $0.00673 | $0.00673 |
| Opus 5 | $0.00336 | $0.00336 |
| Sonnet 5 | $0.00135 | $0.00135 |
| Haiku 4.5 | $0.00067 | $0.00067 |
Grade B, and why
host-console AGENTS.md scanned grade B with 1 finding 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 4d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Each registered Agent has a persistent, independent connection switch. Turning it off must make the Agent appear disabled, reject every MCP bridge operation except registration/heartbeat cleanup, release its SSH leases What it actually says
Prototype Instructions
Run the local server yourself and open the preview in the browser available to this environment. Do not give the user server-start instructions when you can run it.
Before making substantial visual changes, use the Product Design plugin's get-context skill when the visual source is unclear or no longer matches the current goal. When the user gives durable prototype-specific design feedback, preferences, or decisions, record them in AGENTS.md.
When implementing from a selected generated mock, treat that image as the source of truth for layout, component anatomy, density, spacing, color, typography, visible content, and hierarchy.
Build app UI in src/. Keep .openai/hosting.json, worker/index.js, scripts/prepare-sites-build.mjs, and tests/sites-worker.test.mjs intact so the same local prototype can be handed to Sites. Before a Sites handoff, run npm run build and npm run test:sites; the build must leave dist/client/index.html, dist/server/index.js, and dist/.openai/hosting.json.
Durable product decisions:
- Agent access is a persistent, data-driven registry. Never hard-code supported Agent names into the UI; live MCP clients auto-register and remain visible while offline.
- Keep task/client identity separate from Agent installation identity: each task retains its own control lease, while a stable registry ID groups active tasks under one Agent row. Show the active task/connection count, and allow users to remove only offline, unconfigured discovered records.
- Each registered Agent has a persistent, independent connection switch. Turning it off must make the Agent appear disabled, reject every MCP bridge operation except registration/heartbeat cleanup, release its SSH leases, cancel pending sudo approvals, and revoke its sudo grants without affecting other Agents or disconnecting SSH.
- Adding an Agent uses a local config-file wizard with preview, same-directory backup, and explicit restart guidance. Configuration paths stay in the desktop renderer and are never exposed through MCP snapshots.
- Native config-wizard formats include Codex TOML, OpenCode JSONC, ZCode
~/.zcode/cli/config.jsonundermcp.servers, WorkBuddy~/.codebuddy/.mcp.jsonundermcpServers, and genericmcpServers; keep each Agent's registry kind and label distinct in the access center. - Every SSH action is bound to a session ID. When more than one session is authorized, control acquisition also verifies the exact alias; Agents must ask rather than infer an ambiguous target.
- Saved SSH connections can be edited only while disconnected. Replacing authentication never reveals the old secret; the new encrypted credential overwrites it, and changing the endpoint resets pinned host trust.
- On desktop, the Agent access center expands to consume all vertical space between the terminal and permission controls; permission controls stay near the bottom so the session pane has no unused lower void. Compact layouts fall back to natural document flow.
- sudo approval defaults to a user-adjustable 30-minute no-prompt window (0 means one command, maximum 240 minutes). A grant is bound to the current SSH session and controlling Agent task, is visible and manually revocable in the UI, and is cleared by pause, mode downgrade, Agent handoff/disconnect, SSH disconnect, or expiry.
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.
- 4d ago First seen · 22 lines · 673 tokens per session scan B e180a723d14e
host-console AGENTS.md is an instructions file published in the GitHub repository tuweihuasheng/host-console (1 stars, last pushed 13d ago), licensed MIT. It adds 673 tokens to every session, about $0.0034 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
ChatCrystal AGENTS.md
AGENTS.md instructions for ZengLiangYi/ChatCrystal, covering agents.md, project overview, commands, development (server port 3721 + client port 13721) and build for production.
swob AGENTS.md
Instructions for IvyYang1999/swob, covering swob 研发协作唯一规范, 不可越过的边界, 角色与职责, 生命周期 and 分支、worktree 与提交.
pfsense-mcp-server AGENTS.md
AGENTS.md instructions for night4me/pfsense-mcp-server, covering pfsense mcp server, architecture and security, development workflow, long-running validation and test parallelism.
cursor-studio copilot-instructions.md
Copilot instructions for DearLicy/cursor-studio, a project described as: Local-first Windows control center for Cursor: manage AI providers, balances, usage and costs, sessions, prompts, MCP, Skills, appearance, and integrations. | Cursor 本地桌面管理工具.
applyer CLAUDE.md
Claude Code instructions for xCirno1/applyer, covering code guidelines, design guidelines, style guidelines, performance guidelines and response guidelines.
TheMAGI CLAUDE.md
Claude Code instructions for Bloodshed-Rain/TheMAGI, covering claude.md, project overview, commands, architecture and process model (electron).