TideMind: Instructions file for Codex

AGENTS.md

TideMind AGENTS.md is an instructions file for Codex, OpenCode from SawyerHan-AI/TideMind. It costs 1,255 tokens per session, scanned A, original, MIT.

Project instructions for TideMind, a closed-source application whose open-source and private code are kept in separate areas.

In plain words
What is it for?
Use them when developing TideMind, syncing its open-source copy, following its build commands, or managing its stabilization work.
Why use it?
They prevent private code from leaking into the open-source version and define how changes are built and synchronized.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sawyerhan-ai/tidemind/agents-md"><img src="https://agentmods.dev/badge/instructions/sawyerhan-ai/tidemind/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,255 This file is loaded in full into every session.
When invoked 1,255 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.01255 $0.01255
Opus 5.5 $0.00502 $0.00502
Sonnet 5.5 $0.00251 $0.00251
Haiku 4.5 $0.00126 $0.00126

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

Security

Grade A, and why

TideMind 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 yesterday.

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 · 41 lines

How it starts

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

ExternaBrain 项目约束

本仓库是 TideMind 的闭源开发源;pro/ 外开源、内闭源。公开同步目标是 ~/Projects/tidemind,不能把两者当作同一工作目录。

核心约束

  • 开源代码不得 import pro/;移除 pro/ 后必须独立编译、运行并通过测试。所有改动在本仓库进行,不直接改公开镜像;公开专属内容在 oss-release/ 编辑。
  • 代码改动后的 OSS 同步走 sync-oss.sh,只能从主仓库运行,不能从 worktree 运行;执行同步前读下表同步指南。用户说“推送 GitHub”默认指 ExternaBrain,除非明确要求公开仓库。
  • 公开 commit 必须英文且不含闭源内容,Release Notes 手写;测试用虚构数据,禁止真实个人信息。同步、发布和文档提交不得泄漏凭据或私人内容。
  • MCP stdout 仅供协议,禁止 console.log,日志用 createLogger 输出 stderr。Plugin 配置不写字面量 node 或 Electron 绝对路径,使用 getShimPath/getHookScriptPath/getMcpServerScriptPath。
  • 修改策略 Prompt 必须同步对应 hardcoded fallback,并按文本同步指南使 daemon 加载;客户端文本用 t() 并同步全部 12 种语言,官网文案同步 en.ts/zh.ts。
  • 用户 vault/graph 笔记读写相关实现先查 safe-fs 规则:读取必须经 src/utils/safe-fs.ts,不得直接 fs.readFileSync;配置文件例外和扫描 API 见 runtime-data 及开发维护指南。
  • Schema SQL 必须完全幂等;schema migration 与一次性数据 runbook 分开。生产依赖和非 TS 资源必须进入实际运行产物,不能用源码测试代替 dist/容器验证。
  • 修改 src/ 后 npm run build 才能让 Electron 取得新代码;改动前后优先 npm run health,client build/typecheck 是阻塞项。安装或升级前执行全局依赖安全检查。
  • 新 feature merge、大重构/跨子系统、安全关键路径(auth/billing/sync/签名)改动,保留 3 路 Sol(默认 GPT-6.1 Sol)并行 end-to-end 交叉审计门禁;纯文档、纯依赖升级、纯 typo 不适用。具体流程见 release-checklist。
  • 发布前确认 main;签名脚本任何改动及发版后的客户端公钥验签要求保留。三种部署目标的范围与触发方式必须按 release-checklist 核对,不能只完成一步就报告发版完成。
  • 2026-04-24 稳定化周期的结束状态尚未复核;涉及新增大功能或大重构前先读下方范围说明,不自动解除原限制。实质改动更新相关文档、backlog 和按日工作日志。

按任务读取

在首次修改或执行对应动作前读取匹配行;只读相关文档,不开场全量加载。docs/claude-guides/ 是共用手册,Codex 可直接读取,不复制为另一套文档。

触发任务 必读文档
新功能归属、开闭源边界、定位模块 docs/claude-guides/architecture.md、docs/claude-guides/oss-sync.md
新功能/重构范围、backlog、日志、测试规则 docs/Codex-guides/agent-maintenance.md 的对应章节
clone/worktree 后安装、开发命令、构建 docs/claude-guides/dev-setup.md
运行目录、用户笔记、iCloud safe-fs docs/claude-guides/runtime-data.md;safe-fs 例外及 API 补充见 docs/Codex-guides/agent-maintenance.md
同步 OSS、PII 扫描、rsync exclude docs/claude-guides/oss-sync.md、docs/claude-guides/release-checklist.md 中同步与 PII 章节
Prompt、MCP description、Skill、fallback docs/claude-guides/text-content-sync.md
Plugin 配置、外部 Agent 运行时路径 docs/claude-guides/plugin-runtime.md
外部 Agent 安装、配置写入、schema、Host Adapter docs/Codex-guides/local-agent-integration-safety.md
后台 runtime 启动/初始化 docs/Codex-guides/background-runtime-startup-initialization.md
本地账号 CLI LLM provider docs/Codex-guides/local-account-cli-llm-providers.md
客户端文案/翻译 docs/claude-guides/i18n.md
官网文案/样式/Cloudflare Pages docs/claude-guides/website.md;部署时另读 release-checklist
数据库 schema/数据迁移 docs/claude-guides/db-migrations.md
cloud-server、Docker、生产构建/模板 docs/Codex-guides/agent-maintenance.md 的生产构建章节
CI runner、labels、隔离/恢复 docs/Codex-guides/self-hosted-ci-operations.md
Feature 合并审计、部署、tag、签名/更新 docs/claude-guides/release-checklist.md;敏感 timing/perf 测试另读开发维护指南

Read the full file on GitHub · 41 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. yesterday Changed · -100 lines · -2,052 tokens per session 82bb97ca2416
  2. 2mo ago Changed · +4 lines · +82 tokens per session 87c2d62940ba
  3. 2mo ago First seen · 137 lines · 3,225 tokens per session scan A e3e76857f1ba

Subscribe to this mod's changes

TideMind AGENTS.md is an instructions file published in the GitHub repository SawyerHan-AI/TideMind (11 stars, last pushed today), licensed MIT. It adds 1,255 tokens to every session, about $0.0050 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

TideMind AGENTS.md compared with instructions from other repositories

TideMind AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
TideMind AGENTS.mdSawyerHan-AI/TideMindInstructions file11todayMITA1,255Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot