termigo: Instructions file for Codex

AGENTS.md

termigo AGENTS.md is an instructions file for Codex, OpenCode from 99apps-id/termigo. It costs 507 tokens per session, scanned A, original, Apache-2.0.

An AGENTS.md guidance file for Termigo, a terminal-focused development environment built with Rust, Tauri, React, and Go.

In plain words
What is it for?
Use it when developing Termigo or its Go command-line tool, including work related to agent runs, MCP, skills, and automation.
Why use it?
It gives coding agents project-specific information for working across the desktop application, frontend, and command-line companion.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions AGENTS.md.

This is 99apps-id/termigo's own configuration. It tells Codex and OpenCode how to work on termigo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything termigo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 99apps-id/termigo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/99apps-id/termigo/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/99apps-id/termigo

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for termigo AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/99apps-id/termigo/agents-md/github.svg)](https://agentmods.dev/instructions/99apps-id/termigo/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/99apps-id/termigo/agents-md"><img src="https://agentmods.dev/badge/instructions/99apps-id/termigo/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.

agentmods 80×15 button for termigo AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/99apps-id/termigo/agents-md"><img src="https://agentmods.dev/badge/instructions/99apps-id/termigo/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 507 This file is loaded in full into every session.
When invoked 507 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00507 $0.00507
Opus 5.5 $0.00203 $0.00203
Sonnet 5.5 $0.00101 $0.00101
Haiku 4.5 $0.00051 $0.00051

Measured 11d ago against content hash 7181345f3b5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

termigo 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 38 lines

What it actually says

AGENTS.md

Read TERMIGO.md first. It is the living architecture doc and source of truth. On conflict, TERMIGO.md wins over this file and over docs/.

Project snapshot

Termigo: open-source AI-native terminal emulator. Tauri 2 + Rust (portable-pty) backend in src-tauri/, React 19 + TypeScript + xterm.js client in src/, Go automation companion in cli/. Package manager pnpm only. See TERMIGO.md and docs/README.md for the module map.

Agent Guidelines

  1. Operate pragmatically with full tool access (no sandbox, no path boundaries).
  2. Agent and subagents are empowered to inspect, edit, build, and test autonomously to achieve the user goal.
  3. Retain and support git worktree isolation for branch operations and subagent tasks.
  4. Ground every finding and edit in real files and lines: path plus symbol or command name. No hallucinated imports or phantom paths. Cross-check frontend invoke("...") names against Rust generate_handler! via pnpm check:commands.
  5. Judge against the quality bar in TERMIGO.md: correctness, performance (light bundle, no redundant IPC or re-renders), security, UI/UX, architecture (functional core, thin shell).

Checks to run for evaluation

pnpm lint
pnpm format:check
pnpm check-types
pnpm check:commands
pnpm check:doc-commands
pnpm test
cd src-tauri && cargo clippy --all-targets --locked -- -D warnings
cd src-tauri && cargo nextest run --locked # fallback: cargo test --locked

Reference: docs/contributing/testing.md and .github/workflows/ci.yml.

Conventions

  • No unicode em-dash (—, U+2014) or en-dash (–, U+2013) in prose, comments, commits, or documentation.
  • Standard ASCII double-hyphen (--) IS PERMITTED AND REQUIRED for CLI flags (e.g. --version, --build, ssh -- <command>), code operators (--i), and markdown fences. Never confuse ASCII -- with unicode em-dash.
  • No emojis anywhere.
  • Defer to USER.md for specific user preferences and workflow instructions.
Changes

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.

  1. 11d ago Changed · +2 lines · +14 tokens per session 7181345f3b5a
  2. 20d ago Changed · +1 lines · +81 tokens per session 97e20987a872
  3. 1mo ago Changed · -122 tokens per session 012cce519510
  4. 1mo ago Changed · +34 lines · +531 tokens per session 9dfee4dc0cb4
  5. 2mo ago First seen · 1 lines · 3 tokens per session scan A d0390667de3f

Subscribe to this mod's changes

termigo AGENTS.md is an instructions file published in the GitHub repository 99apps-id/termigo (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 507 tokens to every session, about $0.0020 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-31.

Related

termigo AGENTS.md compared with instructions from other repositories

termigo AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
termigo AGENTS.md99apps-id/termigoInstructions file24yesterdayApache-2.0A507Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode