teaql-agent-kit: Instructions file for Codex

AGENTS.md

teaql-agent-kit AGENTS.md is an instructions file for Codex, OpenCode from teaql/teaql-agent-kit. It costs 940 tokens per session, scanned A, original, MIT.

Repository instructions for working with TeaQL, a tool that generates applications from data models. They define supported languages and required steps for checking models before generating code.

In plain words
What is it for?
Use them when modeling or generating TeaQL applications, especially to verify Rust and Java tool versions, supported runtimes, and the required model-first workflow.
Why use it?
They prevent unsupported language choices, incomplete models, and version mismatches that could make TeaQL operations fail or produce incorrect results.

Instructions file for CodexOpenCode

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

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

About the project

TeaQL Agent Kit is a development harness that places an executable domain model between a coding agent's requirements and its implementation. It evaluates and repairs that model, generates typed API boundaries, and guides the agent toward implementing and verifying software within those constraints. The catalogue entries provide the kit's agent, skill, and instruction workflows.

teaql/teaql-agent-kit · 2,818 stars · on GitHub · teaql.io

Reuse

Borrowing it

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

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 teaql-agent-kit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/teaql/teaql-agent-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/teaql/teaql-agent-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 940 This file is loaded in full into every session.
When invoked 940 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.00940 $0.00940
Opus 5.5 $0.00376 $0.00376
Sonnet 5.5 $0.00188 $0.00188
Haiku 4.5 $0.00094 $0.00094

Measured today against content hash bb74b1a40adb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

teaql-agent-kit 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 today.

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.

AGENTS.md · 75 lines

How it starts

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

AGENTS.md — TeaQL Agent Kit

This repository publishes the build-teaql-app Agent Skill. For TeaQL modeling, generation, or application work, read and follow skills/build-teaql-app/SKILL.md.

Repository infrastructure

The generic context runtime lives in packages/agent-context-kit/ as the independently publishable @teaql/agent-context-kit package. Its source, host plugins, tests and Apache-2.0 license stay inside that package. The root MIT license and TeaQL Skill entry point remain separate.

For context-runtime or repository infrastructure changes, use npm ci and npm run check from the root; see docs/context-runtime.md. The workspace root is private and must not be published. Publish or install the explicit child package, not the repository root. Package-local paths in host manifests remain relative to packages/agent-context-kit/.

TeaQL client/evaluation/generation requirements below apply when performing TeaQL modeling or application operations. Parser, packaging and local runtime tests do not require invoking the Generation Service. Do not claim that the dedicated context-policy harness already executes the complete TeaQL workflow.

Hard Requirements

  1. Work model-first: save complete KSML, evaluate it with the Generation Service, and fix all Errors before generation. Never run evaluation before the first complete model target exists.
  2. TeaQL application generation supports exactly these seven language families: Java, Rust, Go, Swift, Python, C#/.NET, and TypeScript. Kotlin/JVM applications are also supported through Java-generated libraries and the Java runtime; this is JVM interoperability, not an eighth generator/runtime. Do not infer support for an unlisted language. C++, Dart, Ruby, and other unlisted smaller language ecosystems are not supported. Do not substitute one language's generated API for another.
  3. Rust requires cargo-teaql exactly 2.0.14. Verify it before every TeaQL operation; stop on any mismatch.
  4. Java requires io.teaql:teaql-maven-plugin:1.1.1 or newer from the TeaQL Nexus releases repository. Use fully qualified Maven coordinates, never mvn teaql:*.
  5. Every Rust model-derived command, including assist, uses cargo teaql --input <model> <command> ....
  6. Rust generation uses only rust-lib-core and rust-app-console.
  7. Never edit generated domain-library files.
  8. Read the generated application/workspace AGENTS.md and current object-specific assist before business code. Never guess generated methods. Do not inspect generated domain-library source for API discovery. If progressive Assist lacks the required operation, report MISSING_ASSIST instead of searching the generated library.
  9. Create each application-owned source file once. After its first compile attempt, repair it with the smallest localized patch; do not rewrite the whole file. If a repair would replace more than 25% of an existing file, stop and report LARGE_REWRITE_REQUEST with the diagnostic and reason.
  10. Every query execution declares purpose and comment through the exact generated API for its language.
  11. Every write declares an audit reason through the exact generated API for its language. Never guess the spelling from Java or Rust examples.
  12. When evaluation reaches zero errors, send the model path and evaluation counts, then continue without waiting. Human Review runs in parallel.
  13. Report actual model, assist, policy, compile, test, runtime, and token/context evidence. Never invent savings or verification results.
  14. Every <_value> in a constant object must explicitly provide every data field declared by that constant object, even when a field is nullable. Do not repeat _... metadata, version, createTime()/updateTime() fields, or the domain-root relationship injected by runtime Fix/Context.
  15. Prefer XML-aware tools or libraries to create and repair KSML. Select nodes structurally and check match counts; avoid repeated string/regex replacements. Reparse saved XML and inspect the diff before semantic evaluation. Follow the Skill's "Edit KSML as XML" guidance.

Read the full file on GitHub · 75 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. today Changed · +22 lines · +263 tokens per session bb74b1a40adb
  2. 1mo ago Changed eaa2bbfeb457
  3. 1mo ago Changed · +7 lines · +104 tokens per session 0fbbc4f98126
  4. 1mo ago Changed · +4 lines · +67 tokens per session 63d003169147
  5. 1mo ago First seen · 42 lines · 506 tokens per session scan A 4f745bfe314a

Subscribe to this mod's changes

teaql-agent-kit AGENTS.md is an instructions file published in the GitHub repository teaql/teaql-agent-kit (2,818 stars, last pushed yesterday), licensed MIT. It adds 940 tokens to every session, about $0.0038 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.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens