ideogram-mcp: Instructions file for Codex

AGENTS.md

ideogram-mcp AGENTS.md is an instructions file for Codex, OpenCode from qmediat/ideogram-mcp. It costs 894 tokens per session, scanned A, original, MIT.

Repository instructions for maintaining an Ideogram API integration, including its build, type checks, formatting, tests, and generated code. An API is a defined way for software to communicate with a service.

In plain words
What is it for?
It is for working on this TypeScript codebase, regenerating code from the API specification, and verifying changes with tests and automated checks.
Why use it?
It gives a coding agent the project’s required checks and rules before it changes code or prepares a commit.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 ideogram-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/qmediat/ideogram-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/qmediat/ideogram-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 894 This file is loaded in full into every session.
When invoked 894 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.00894 $0.00894
Opus 5.5 $0.00358 $0.00358
Sonnet 5.5 $0.00179 $0.00179
Haiku 4.5 $0.00089 $0.00089

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

Security

Grade A, and why

ideogram-mcp 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 · 54 lines

How it starts

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

AGENTS.md

Work on the code

Install npm install
Build npm run build
Check before a commit npm run typecheck && npm run lint && npm test && npm run check:supports && npm run check:addresses
README "Supports", server.json and package-lock.json against the package version npm run check:supports
Every address-shaped text in a tracked file in an allowed domain or its subdomain, else in REPOSITORY_ADDRESSES npm run check:addresses
Format npm run format (Prettier; npm run lint checks it)
Tests test/, against a fake API (test/support/fake-api.mjs): no key, no network — run them with IDEOGRAM_API_KEY unset, or the live dry-run suite runs too
Run the local build IDEOGRAM_API_KEY=your-key node dist/index.js
Node.js 22.18 or newer (engines; the scripts and npm run lint need it)

The API specification drives the code

Install the generator npm ci --prefix scripts/spec-gen
Regenerate src/generated/ npm run spec:generate
Check it is current npm run spec:check
Compare with the live API npm run spec:pull
Rebuild the API reference npm run build && npm run docs:api
A snapshot update The steps in CONTRIBUTING.md

Where things are

src/server.ts toolDefinitions(): every tool this release registers
src/tools/ The tools; a model family is a FamilyToolSpec in src/tools/curated.ts
src/spec/ Each operation's class (classify.ts), what this release serves (support.ts), the rules the specification states only in prose (overlay.ts)
spec/openapi.json The specification snapshot
src/generated/ Generated from the specification: never edited by hand
docs/API-REFERENCE.md Every operation the API serves (generated: npm run docs:api)
docs/TOOLS.md Every tool, its models and its behaviour
docs/adr/ Design decisions
docs/SYSTEMIC.md Conventions every change keeps: the structure preset, the baselines, the exemplars
CONTRIBUTING.md Code style, adding a tool, pull requests

Read the full file on GitHub · 54 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 First seen · 54 lines · 894 tokens per session scan A 3712fc16149d

Subscribe to this mod's changes

ideogram-mcp AGENTS.md is an instructions file published in the GitHub repository qmediat/ideogram-mcp (0 stars, last pushed yesterday), licensed MIT. It adds 894 tokens to every session, about $0.0036 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-11-15.

Related

ideogram-mcp AGENTS.md compared with instructions from other repositories

ideogram-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ideogram-mcp AGENTS.mdqmediat/ideogram-mcpInstructions file0yesterdayMITA894Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA8,130Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,153GitHub Copilot
generative-ai-for-beginners AGENTS.mdmicrosoft/generative-ai-for-beginnersInstructions file124ktodayMITA2,981Codex, OpenCode