Borrowing it
Nothing to install: this file belongs to tuweihuasheng/host-console. 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/tuweihuasheng/host-console/main/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/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/tuweihuasheng/host-console/agents-md"><img src="https://agentmods.dev/badge/instructions/tuweihuasheng/host-console/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.00787 | $0.00787 |
| Opus 5.5 | $0.00315 | $0.00315 |
| Sonnet 5.5 | $0.00157 | $0.00157 |
| Haiku 4.5 | $0.00079 | $0.00079 |
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 1mo 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 SSH host may persistently allow multi-Agent terminal writes. Default stays single-writer lease (others wait or force-takeover only after the user explicitly says so); enabling multi-write lets several Agents hold 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 SSH host may persistently allow multi-Agent terminal writes. Default stays single-writer lease (others wait or force-takeover only after the user explicitly says so); enabling multi-write lets several Agents hold write rights at once. Turning the switch off immediately clears every writer and temporary sudo grant on that session.
- 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.
- Each SSH host may persistently enable sudo auto-approval. It only bypasses the per-command sudo prompt while the session is in full mode and an enabled Agent owns the lease; passwords remain encrypted locally and disabling the switch immediately clears temporary sudo grants.
- 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.
- 1mo ago Changed · +2 lines · +114 tokens per session 1a445e5f54cc
- 2mo 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 1mo ago), licensed MIT. It adds 787 tokens to every session, about $0.0031 per session on Opus 5.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.
host-console AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| host-console AGENTS.mdtuweihuasheng/host-console | Instructions file | 1 | 1mo ago | MIT | B | 787 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |