Borrowing it
Nothing to install: this file belongs to neoswarm/neosh. 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/neoswarm/neosh/main/AGENTS.mdgit clone --depth 1 https://github.com/neoswarm/neoshWrote 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/neoswarm/neosh/agents-md)<a href="https://agentmods.dev/instructions/neoswarm/neosh/agents-md"><img src="https://agentmods.dev/badge/instructions/neoswarm/neosh/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/neoswarm/neosh/agents-md"><img src="https://agentmods.dev/badge/instructions/neoswarm/neosh/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.41808 | $0.41808 |
| Opus 5.5 | $0.16723 | $0.16723 |
| Sonnet 5.5 | $0.08362 | $0.08362 |
| Haiku 4.5 | $0.04181 | $0.04181 |
Grade A, and why
neosh 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 21d 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.
How it starts
The opening of the file, as written. The whole thing — 1,889 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working on neosh
A terminal-first agent workspace: Rust core, TypeScript plugins, "the extensibility model of Neovim and the feature set of Cursor".
The thesis is that extensibility is the product. Every capability ships on the same public API a third-party plugin author would use. If a feature needs a private escape hatch, the API is wrong and the API is what to fix.
Which means the user owns the workspace, not us: every part of it is theirs to replace, and a plugin of their own is how they do it. New windows, panels and floats; new commands and keys on any of them; different colours, different layout, a sidebar that is nothing like ours — none of that is a feature we grant, it is what the API is for. Ours are the defaults, and a default is something you turn off.
Layout
| Crate | Owns |
|---|---|
neosh-proto |
Every wire type. #[derive(TS)] on all of them; generated .ts is committed. |
neosh-core |
Buffers, windows, floats, extmarks, highlights, focus, keymaps, the single-writer Editor. No I/O. |
neosh-script |
The deno_core host and the op surface. The only crate that knows deno exists. |
neosh-provider |
trait Provider, the shared SSE parser, and one driver per transport. |
neosh-agent |
Session, Turn, the tool registry, the permission layer, the agent loop. |
neosh-syntax |
Syntax highlighting: what a token is, never what colour it is. The only crate that knows a grammar exists. |
neosh-tui |
Terminal frontend. Owns all display-width maths. |
neosh |
The binary. Wires the tasks, owns config, hosts the chat — and is both the workspace (daemon.rs) and the terminal that views it (client.rs). |
neosh-plugins |
plugins/ itself. One file of Rust holding the include_dir!s, because the tree an include_dir! reads has to be under the package root or it embeds here and publishes empty. |
plugins/api/ is @neosh/api — generated protocol types plus a hand-written ergonomic layer.
plugins/builtin/ are ordinary plugins that happen to ship in the binary. The directory is also a
crate (plugins/Cargo.toml, plugins/lib.rs) and nothing moved to make it one: cargo package
carries only what is under a package root, so a neosh-script embedding ../../plugins built fine
in a checkout and would have uploaded a crate with no plugins and no API source in it. Publishing
is docs/releasing.md.
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.
- 21d ago Changed · +63 lines · +1,648 tokens per session 1975d79488a8
- 25d ago Changed · +10 lines · +224 tokens per session 7037587dc113
- 26d ago Changed · +60 lines · +1,396 tokens per session cb4d65759072
- 27d ago Changed · +4 lines · +111 tokens per session 8da433af95c6
- 1mo ago Changed · +36 lines · +841 tokens per session d934ece9ed97
- 1mo ago Changed · +154 lines · +3,612 tokens per session 151631e36226
- 1mo ago Changed · +58 lines · +1,318 tokens per session 52111e59ec75
- 2mo ago Changed · +105 lines · +2,431 tokens per session b7f4b2ea2d42
- 2mo ago Changed · +93 lines · +2,295 tokens per session aded72e5324a
- 2mo ago First seen · 1,306 lines · 27,932 tokens per session scan A 4ffa6de5d0b8
neosh AGENTS.md is an instructions file published in the GitHub repository neoswarm/neosh (31 stars, last pushed 22d ago), licensed MIT. It adds 41,808 tokens to every session, about $0.1672 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.
neosh AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neosh AGENTS.mdneoswarm/neosh | Instructions file | 31 | 22d ago | MIT | A | 41,808 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |