ts-sdks: Instructions file for Codex

AGENTS.md

ts-sdks AGENTS.md is an instructions file for Codex, OpenCode from Suigar-Gaming/ts-sdks. It costs 1,858 tokens per session, scanned A, original, Apache-2.0.

Repository-specific instructions for AI agents working on the Suigar TypeScript SDK workspace, a collection of related packages managed together.

In plain words
What is it for?
Use them when setting up the workspace, generating Move contract bindings, building the SDK or MCP package, running tests, or checking types.
Why use it?
They explain the repository’s setup, build, code-generation, testing, and type-checking commands so work follows the project’s expected process.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 ts-sdks AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/suigar-gaming/ts-sdks/agents-md"><img src="https://agentmods.dev/badge/instructions/suigar-gaming/ts-sdks/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,858 This file is loaded in full into every session.
When invoked 1,858 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.01858 $0.01858
Opus 5.5 $0.00743 $0.00743
Sonnet 5.5 $0.00372 $0.00372
Haiku 4.5 $0.00186 $0.00186

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

Security

Grade A, and why

ts-sdks 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 2d 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.

AGENTS.md · 134 lines

How it starts

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

Workspace agent instructions

These instructions apply throughout the repository. Scoped instructions add package-specific rules; read the relevant file before editing that package. Commands below run from the repository root.

Workspace and instruction map

This private pnpm workspace contains two ESM-only publishable packages and a local integration app:

Shared dependencies and catalogs live in pnpm-workspace.yaml; shared compiler options live in tsconfig.shared.json. Package source, scripts, and tests live under their own workspace directory. dist/ contains generated build output. Do not copy package-specific instructions into this file.

Each instruction directory has a relative CLAUDE.md -> AGENTS.md symlink. Update the corresponding AGENTS.md rather than creating a separate copy of its instructions.

Workspace commands

pnpm install
pnpm run lint
pnpm run lint:fix
pnpm run changeset
pnpm run changeset:version
pnpm run release

Use each package's scoped instructions for build, code generation, tests, and typechecks.

Shared testing conventions

  • Both packages use Vitest 5 in the Node.js environment. Run tests through the package scripts or from the package root so its Vitest config is loaded. For -t filters, match an individual test name or use .* between suite and test names.
  • Add regression coverage near the affected behavior. Check observable results, argument normalization, configuration overrides, and actionable failures where relevant. Transaction tests should cover the applicable game or action and its generated contract-call arguments; keep standard and PvP flows separate.
  • Reuse nearby test fixtures and helpers. Mock external services and generated contract boundaries where needed, while exercising the package's own behavior. Keep tests independent of live networks and real wallet credentials; wallet bridge tests may use local loopback servers and temporary storage.
  • Vitest clears mock call history before each test by default. Reset mock implementations, module state, environment variables, timers, and resources explicitly when a test changes them; clearing call history does not reset those. Keep vi.mock, vi.unmock, and vi.hoisted at module scope, and use vi.doMock for runtime mocking. Await asynchronous assertions.
  • Run tests and typechecks for every affected package. Package-specific test typechecks and fixtures are documented in the scoped instructions.

Read the full file on GitHub · 134 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. 2d ago Changed · +21 lines · +122 tokens per session 35fa5fba4ad4
  2. 4d ago Changed · -190 lines · -2,962 tokens per session 2333c06fc109
  3. 15d ago Changed · +1 lines · +39 tokens per session dcdac337c456
  4. 1mo ago Changed · +1 lines · +81 tokens per session cd8deeacf928
  5. 1mo ago Changed · +8 lines · +608 tokens per session d3ebb0b10197
  6. 2mo ago First seen · 293 lines · 3,970 tokens per session scan A b158238919d2

Subscribe to this mod's changes

ts-sdks AGENTS.md is an instructions file published in the GitHub repository Suigar-Gaming/ts-sdks (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,858 tokens to every session, about $0.0074 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

ts-sdks AGENTS.md compared with instructions from other repositories

ts-sdks AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ts-sdks AGENTS.mdSuigar-Gaming/ts-sdksInstructions file0yesterdayApache-2.0A1,858Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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