chatspeed AGENTS.md

Project instructions for ChatSpeed, a Tauri desktop application with a Rust backend and a Vue frontend. They describe the project structure, preferred libraries, working habits, and reporting expectations.

In plain words
What is it for?
Use them when editing ChatSpeed's Rust commands, Vue interface, state management, routing, styling, documentation, or submodules.
Why use it?
They prevent changes that conflict with the existing technology choices or project rules.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/aidyou/chatspeed/agents-md
Clone the repo
git clone --depth 1 https://github.com/aidyou/chatspeed

Made for: Codex, OpenCode.

Per session 1,169 This file is loaded in full into every session.
When invoked 1,169 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01169 $0.01169
Opus 5 $0.00584 $0.00584
Sonnet 5 $0.00234 $0.00234
Haiku 4.5 $0.00117 $0.00117

Measured 2d ago against content hash 231ae98d7518, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chatspeed 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 · 58 lines

How it starts

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

ChatSpeed Root Rules

This file is for global rules only. Keep it short. When a subdirectory has its own AGENTS.md or CONSTITUTION.md, follow the more specific file there.

Personal Preferences

  • Prefer small, targeted changes. Do not do unrelated cleanup or refactors.
  • Reuse existing patterns before adding abstractions.
  • Do not stage, commit, branch, or rewrite git history unless explicitly asked.
  • Git commit messages must be in English.
  • Unless the user explicitly requests it, do not proactively commit the chatspeed-docs or website submodules.
  • Unless explicitly requested otherwise, reply in the same language as the user's message.
  • Final reports should be concise and include what changed, what was verified, and any remaining risk.

Project Shape

  • ChatSpeed is a Tauri 2 desktop application: the Rust backend and Tauri commands live under src-tauri/, while the Vue 3 + Vite frontend lives under src/.
  • Frontend conventions are Vue 3 Composition API with <script setup>, Element Plus, Pinia, Vue Router, vue-i18n, and SCSS. Reuse these choices instead of introducing parallel UI or state-management stacks.
  • Use pnpm for frontend dependencies and scripts; package.json and pnpm-lock.yaml are authoritative. Use Cargo from src-tauri/ for Rust dependencies and commands. Do not use npm or yarn, and do not create another lockfile.
  • Keep cross-boundary changes explicit: trace Vue/TypeScript or JavaScript calls through the Tauri command/event contract to Rust, and verify both sides when that contract changes.

General Workflow

  • Read relevant files before editing.
  • Ask before broad refactors, dependency additions, schema migrations, destructive actions, or behavior changes outside the request.
  • For small localized fixes, proceed directly.
  • Prefer the narrowest useful verification. If you cannot run verification, say so.
  • When editing or adding files or modules, test only the affected page, module, or focused behavior. Do not run whole-repository tests unless the user explicitly asks, because they are prone to timing out.

Read the full file on GitHub · 58 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 · 58 lines · 1,169 tokens per session scan A 231ae98d7518

Subscribe to this mod's changes

chatspeed AGENTS.md is an instructions file published in the GitHub repository aidyou/chatspeed (21 stars, last pushed 2d ago), licensed MIT. It adds 1,169 tokens to every session, about $0.0058 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.