im-dream: Instructions file for Codex

AGENTS.md

im-dream AGENTS.md is an instructions file for Codex, OpenCode from glide-the/im-dream. It costs 3,942 tokens per session, scanned A, original, MIT.

Repository instructions are a written set of rules for coding agents working in the im-dream project. They define source documents, coding practices, validation steps, browser end-to-end test preparation, and database schema ownership.

In plain words
What is it for?
It is for guiding code, documentation, browser end-to-end tests, configuration values, and PostgreSQL schema-related work in this repository.
Why use it?
They reduce inconsistent changes by telling agents which files to update, what to reuse, how to validate work, and how to avoid disrupting existing services.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 im-dream AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/glide-the/im-dream/agents-md"><img src="https://agentmods.dev/badge/instructions/glide-the/im-dream/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,942 This file is loaded in full into every session.
When invoked 3,942 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.03942 $0.03942
Opus 5.5 $0.01577 $0.01577
Sonnet 5.5 $0.00788 $0.00788
Haiku 4.5 $0.00394 $0.00394

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

Security

Grade A, and why

im-dream 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 25d 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 · 129 lines

How it starts

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

AGENTS Instructions

本仓库是 Ink & Memory

Vibe Contract

  • Any functional, architectural, or coding-style change must update affected folder docs and file headers before session end.
  • Prefer reuse-first refactor: search existing modules/components before adding new implementations.
  • Avoid hard-coded business IDs, thresholds, hosts, paths, or policy values; resolve to env/config/policy first.

Source Of Truth

  • Root repository maintenance and Agent contract: AGENTS.md
  • Folder contracts: **/.folder.md
  • Rules index: docs/rules/README.md
  • Claude Agent tool rules: docs/rules/claude-agent-tools.md
  • Claude Agent permission policy: docs/design/claude-agent/claude-agent-permission-policy.md
  • Cursor rules: .cursor/rules/*.mdc

Claude Agent 说明与权限规则

  • 修改 Claude Agent 的上下文说明、工具描述或权限分类前,必须先读取 Rules index 中的 Claude Agent 工具规则。
  • *_WORKFLOW 及同类注入说明,只描述当前相关 Tools 的基本概念和使用方法;不得夹带其他工具、数据源路由或无关业务策略。
  • *_TOOL_SPECS 及同类注册定义中的工具描述,只说明该 Tool 的定位与职责;参数约束由 schema 表达,不加入业务场景、跨工具流程或额外行为引导。
  • _LOW_SENSITIVITY* 及同类权限分类,必须依据 Claude-Agent Permission Policy 的 low-sensitivity 定义、明确例外和决策顺序;未知工具按 high-sensitivity 处理,不得凭名称、提示词或“只读”声明放行。权限分类变更须同步该策略和对应权限验证。

Validation

  • Run requested validation commands after meaningful changes.
  • When touching docs, verify Markdown inventory and referenced paths remain valid.
  • Report concrete evidence (command, exit code, key output) in the final summary.

Read the full file on GitHub · 129 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. 25d ago Changed · +8 lines · +303 tokens per session 6c585199ce54
  2. 1mo ago Changed · +16 lines · +587 tokens per session 19f941ec6ed3
  3. 1mo ago Changed · +3 lines · +170 tokens per session 2e199e203696
  4. 1mo ago Changed · +14 lines · +548 tokens per session dc3c4fc54e14
  5. 1mo ago First seen · 88 lines · 2,334 tokens per session scan A adfaf74529c0

Subscribe to this mod's changes

im-dream AGENTS.md is an instructions file published in the GitHub repository glide-the/im-dream (0 stars, last pushed 3d ago), licensed MIT. It adds 3,942 tokens to every session, about $0.0158 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-10-02.

Related

im-dream AGENTS.md compared with instructions from other repositories

im-dream AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
im-dream AGENTS.mdglide-the/im-dreamInstructions file03d agoMITA3,942Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode