timps: Instructions file for Codex

AGENTS.md

timps AGENTS.md is an instructions file for Codex, OpenCode from TIMPSs/timps. It costs 24,995 tokens per session, scanned A, a copy of timps AGENTS.md, MIT.

A repository guide for TIMPS, a TypeScript monorepo—a code repository containing multiple related apps and packages. It documents the layout, build commands, tests, type checking, and agent entry points.

In plain words
What is it for?
It helps agents work on the CLI, MCP server, VS Code extension, full server, and memory engine, including their build and test commands.
Why use it?
It gives coding agents consistent rules for navigating and checking a large multi-part codebase.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; reads ~/.codex paths.

This is TIMPSs/timps's own configuration. It tells Codex and OpenCode how to work on timps 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 timps configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TIMPSs/timps. 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/TIMPSs/timps/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/TIMPSs/timps

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 timps AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/timpss/timps/agents-md"><img src="https://agentmods.dev/badge/instructions/timpss/timps/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24,995 This file is loaded in full into every session.
When invoked 24,995 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.24995 $0.24995
Opus 5.5 $0.09998 $0.09998
Sonnet 5.5 $0.04999 $0.04999
Haiku 4.5 $0.02499 $0.02499

Measured 1mo ago against content hash 77b81a2e4e0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **Scanner rejects on `eval`, `Function()`, `child_process`, undeclared network/fs access, oversized packages** — not just warnings
Origin

This is a copy

100% identical to timps AGENTS.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 1,297 lines

How it starts

The opening of the file, as written. The whole thing — 1,297 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — TIMPS Codebase Guide

Canonical instruction doc for AI agents (OpenCode, Copilot, Claude, Cursor). If this conflicts with the README, trust this file.

Repo layout

Monorepo workspace roots: packages/*, apps/*, timps-code, timps-mcp.

| Surface | Path | Package | Build | Test | Typecheck | |---|---|---|---|---|---|---| | CLI | timps-code/ | timps-code | tsc (ESM, NodeNext) | vitest (unified) | tsc --noEmit | | MCP server | timps-mcp/ | timps-mcp | tsup src/index.ts --format cjs --no-dts --out-dir dist | vitest (unified) | tsc --noEmit (4GB heap) | | VS Code ext | timps-vscode/ | timps-ai-coding-agent | npm run compile (tsc) | vitest (unified) | tsc --noEmit | | Full server | packages/server/ | @timps/server | tsc (CJS) | vitest (unified) | tsc --noEmit | | Memory engine | packages/memory-core/ | @timps/memory-core | tsup (CJS + dts) | vitest (unified) | tsc --noEmit |

  • npm run build — turbo run build (all packages; mobile/plugins/docs may need extra tooling).
  • npm run build:ci — CI-targeted build that excludes 10 packages (mobile, plugins, docs, timps-code, timps-mcp).
  • Build timps-code/timps-mcp individually: cd timps-code && npm run build.

TypeScript config drift

  • timps-code → ESM (module: NodeNext), .js extension in imports required.
  • timps-mcp → CJS, strict: false, no declarations.
  • packages/server → CJS, wide include.
  • packages/memory-core → CJS, vitest resolves .js imports automatically.

Agent entrypoints (timps-code)

  • CLI: src/bin/timps.ts (run via npm run dev or tsx src/bin/timps.ts).
  • Loop: src/core/app.ts → AgentLoop.run() → src/core/agent.ts.
  • Tool registry: src/tools/tools.ts exports ALL_TOOLS, getTool(), getToolDefinitions().
  • Providers: src/models/ — 6 adapters + OpenRouter routing (7 total, not "75+").
  • Swarm: src/swarm/ — 10 agent roles, DAG is local fan-out, not distributed.
  • TUI: src/ui/App.tsx (Ink/React 19).
  • MCP client: src/services/mcp/, auto-discovery at src/tools/mcpDiscovery.ts.

Read the full file on GitHub · 1,297 lines

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. 1mo ago Changed · +20 lines · +588 tokens per session 77b81a2e4e0e
  2. 1mo ago First seen · 1,277 lines · 24,407 tokens per session scan A 53cfb1095180

Subscribe to this mod's changes

timps AGENTS.md is an instructions file published in the GitHub repository TIMPSs/timps (0 stars, last pushed 1mo ago), licensed MIT. It adds 24,995 tokens to every session, about $0.1000 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to timps AGENTS.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories