Borrowing it
Nothing to install: this file belongs to remorses/termcast. 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/remorses/termcast/main/AGENTS.mdgit clone --depth 1 https://github.com/remorses/termcastWrote 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/remorses/termcast/agents-md)<a href="https://agentmods.dev/instructions/remorses/termcast/agents-md"><img src="https://agentmods.dev/badge/instructions/remorses/termcast/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/remorses/termcast/agents-md"><img src="https://agentmods.dev/badge/instructions/remorses/termcast/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.13726 | $0.13726 |
| Opus 5.5 | $0.05490 | $0.05490 |
| Sonnet 5.5 | $0.02745 | $0.02745 |
| Haiku 4.5 | $0.01373 | $0.01373 |
Grade A, and why
termcast AGENTS.md scanned grade A 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://developers.raycast.com/api-reference/user-interface/list.md How it starts
The opening of the file, as written. The whole thing — 1,333 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Coding Guidelines
NOTICE: AGENTS.md is generated using pnpm agents.md and should NEVER be manually updated. only update PREFIX.md
ALWAYS use pnpm to install dependencies
termcast specific rules
Porting @raycast/api components and hooks to termcast
ALWAYS use termcast to import things, instead of relative imports. This is possible thanks to exports in package.json. for example:
import {List} from 'termcast'
ALWAYS use .tsx extension for every new file.
NEVER use mocks in vitest tests
When running the e2e vitest suite, ALWAYS use the repo scripts (pnpm e2e, pnpm e2e <file>, pnpm e2e -u). NEVER run vitest directly.
prefer object args instead of positional args. as a way to implement named arguments, put the typescript definition inline
see files in the repo
use git ls-files | tree --fromfile to see files in the repo. this command will ignore files ignored by git
Goal
This project ports @raycast/api components and apis to use @opentui/react and other Bun APIs
We are basically implementing the package @raycast/api from scratch. DO NOT implement functions exported by @raycast/utils
This should be done one piece at a time, one hook and component at a time
Porting a new Raycast component or feature
Here is the process to follow to implement each API:
- decide which component or hook or function we are porting
- read the .d.ts of the @raycast/api package for the component or hook
- generate a new file or decide to which file to add this new API in src folder
- start by adding a signature without any actual implementation. Only a function or class or constant without any actual implementation
- try typechecking with
pnpm run tsc. fix any errors that is not related to the missing implementation (like missing returns) - then think, is the signature the same as Raycast?
- start implementing the component or function, before doing this
- decide on what @opentui/react components to use
- do so by reading opentui .d.ts files and see available components
- read .d.ts to understand available styling options and attributes
- typecheck
- if the added feature is a component or adds support for a new prop for a component, add an example usage component in the src/examples directory. create a descriptive name for it in the file. use simple-{component-name} for basic implementations examples
- if the implemented feature is function or other API, add an action in the file examples/miscellaneus.tsx, add a list item for the new feature, for example "show a error toast" if we are implementing toasts
- do not add an example if our feature is already covered by other example files
- DO NOT run the examples then. instead ask me to do it. do not add these as scripts in package.json
- typecheck to make sure the example is correct
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.
- 2mo ago First seen · 1,333 lines · 13,726 tokens per session scan A 974701b9109b
termcast AGENTS.md is an instructions file published in the GitHub repository remorses/termcast (341 stars, last pushed 2mo ago), licensed MIT. It adds 13,726 tokens to every session, about $0.0549 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
termcast AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| termcast AGENTS.mdremorses/termcast | Instructions file | 341 | 2mo ago | MIT | A | 13,726 | 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 | today | 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 |