Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/zengliangyi/chatcrystal/agents-mdgit clone --depth 1 https://github.com/ZengLiangYi/ChatCrystalWrote 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.
[](https://agentmods.dev/instructions/zengliangyi/chatcrystal/agents-md)<a href="https://agentmods.dev/instructions/zengliangyi/chatcrystal/agents-md"><img src="https://agentmods.dev/badge/instructions/zengliangyi/chatcrystal/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02922 | $0.02922 |
| Opus 5 | $0.01461 | $0.01461 |
| Sonnet 5 | $0.00584 | $0.00584 |
| Haiku 4.5 | $0.00292 | $0.00292 |
Grade A, and why
ChatCrystal 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.
How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Project Overview
ChatCrystal is an AI conversation knowledge crystallization tool. It imports conversations from AI coding tools (Claude Code, Cursor, Codex CLI, Trae, GitHub Copilot), uses LLM to generate structured notes (title, summary, key conclusions, code snippets, tags), and provides semantic search via embeddings. The UI is in Simplified Chinese.
Commands
# Development (server port 3721 + client port 13721)
npm run dev
# Build for production
npm run build
# Production server (serves frontend statically on port 3721)
npm start
# Electron desktop app
npm run dev:electron # dev mode (Vite HMR + Electron window)
npm run build:electron # build NSIS installer → release/
npm run pack:electron # build unpacked directory (faster for testing)
# Release (bump version + git tag + push → CI builds & publishes)
npm run release # patch bump (0.1.0 → 0.1.1)
npm run release -- minor # minor bump
npm run release -- major # major bump
npm run release -- 1.0.0 # explicit version
npm run release:electron -- 1.0.1 # Electron-only release → electron-v*
npm run release:npm -- 1.0.1 # npm-only release → npm-v*
# Lint
npm run lint
npm run lint:fix
Release Tag Semantics
Use scripts/release.mjs for releases; do not manually bump versions, commit, tag, and push unless the user explicitly asks for a custom recovery flow.
v*tags are full releases and trigger both npm publishing and Electron GitHub Release builds. Use this only when both rootpackage.jsonandserver/package.jsonshould move together.electron-v*tags are Electron-only releases. Usenpm run release:electron -- <version>for desktop-only changes, including Electron main/preload/tray/packaging changes and Electron-gated client UI.npm-v*tags are npm-only releases. Usenpm run release:npm -- <version>for CLI/server/MCP package changes.- The published npm package version comes from
server/package.json, not the root package. If av*tag is pushed whileserver/package.jsonstill points at an already-published version, the npm job will fail withE403 You cannot publish over the previously published versions. - If an Electron-only release is accidentally published with a
v*tag and the Electron job succeeds but npm fails because the server version already exists, do not delete or re-tag the release by default. Treat the GitHub Release as usable, document the cause, and useelectron-v*for the next Electron-only release.
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.
- yesterday Changed · +10 tokens per session fa5326a46486
- 5d ago First seen · 200 lines · 2,912 tokens per session scan A 39592263145f
ChatCrystal AGENTS.md is an instructions file published in the GitHub repository ZengLiangYi/ChatCrystal (58 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,922 tokens to every session, about $0.0146 per session on Opus 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.
Other instructions, from other repositories
cursor-studio copilot-instructions.md
Copilot instructions for DearLicy/cursor-studio, a project described as: Local-first Windows control center for Cursor: manage AI providers, balances, usage and costs, sessions, prompts, MCP, Skills, appearance, and integrations. | Cursor 本地桌面管理工具.
gortex CLAUDE.md
Claude Code instructions for zzet/gortex, covering gortex, build & test, codebase overview, discovery (read once, then keep using) and llm provider (powers ask and searchsymbols assist: modes).
Dragon-Brain CLAUDE.md
Instructions for iikarus/Dragon-Brain, covering dragon brain — claude.md, the harness, audit remediation (april–may 2026, complete 2026-05-09), the lie this audit closed and the contract that matters now.
agent-toolkit AGENTS.md
AGENTS.md instructions for ulises-jeremias/agent-toolkit, covering agents.md — ai agent contract, what this toolkit does, repository structure, operating rules and how to add a skill.
core-ai CLAUDE.md
Claude Code instructions for helius-labs/core-ai, covering core ai, compiler-managed sync, mcp server pin, skill versioning and router surface maintenance.
core-ai AGENTS.md
AGENTS.md instructions for helius-labs/core-ai, covering core ai — agent instructions, repository overview, mcp server setup, api key setup and public tool surface.