EchoBird
AGENTS.md3.3k starsChanged 2 months agoMITView on GitHub
Instructions for agents (ZCode / Claude Code / Codex) working in this repo. Read this before modifying code. Tauri desktop app: React + TypeScript + Vite frontend in src/, Rust backend in src-tauri/. Two-tier tool/feature registries often ship in both a bundled copy and a remote copy (e.g. src/data/<x>.json vs docs/api/<...>/index.json) — when adding or editing an entry, update both files unless told otherwise; they share one schema and the remote wins at runtime. Prettier governs the frontend JSON/TS; rustfmt…
Trending
More talk lately.thin dataabout the whole repository
Who's talking about edison7009/EchoBird
- sudosubin/agents.nix“agent-skills.github.edison7009.echobird: 5.8.7 → 5.8.8”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.edison7009.echobird: 5.8.6 → 5.8.7”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.edison7009.echobird: 5.7.8 → 5.8.6”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.edison7009.echobird: init at 5.7.8”GitHub · Sep 27, 2026
- fendouai/awesome-deepseek-harness“Weekly discovery: new DeepSeek Harness ecosystem candidates”GitHub · Aug 17, 2026
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 4
Read this before modifying code.
- Very specific: line 19
Keep the mouse cursor as the system default everywhere.
- Distinctive: line 28
Before adding a feature similar to one already in the app, identify the reference files and trace the full interaction through handlers, …
- Distinctive: line 47
Before implementation, record the requested capabilities against all three platforms, with the existing code to reuse and the verification …
- Distinctive: line 53
If existing implementations disagree, follow the user's confirmed behavior and these conventions.
- Distinctive: line 55
Ask a focused question only when a product decision remains unresolved.
- Distinctive: line 63
Before calling an integration complete, reconcile that capability table with evidence for detection, installation, launch, and the …
- Very specific: line 94
Run all of them, every push.
- Very specific: line 101
Commit 4774b1d5 passed cargo check + cargo clippy + cargo test locally but failed CI because cargo fmt hadn't been run (a braced-import …
- Very specific: line 110
After writing Rust: cargo fmt, then cargo clippy --all-targets --all-features -- -D warnings, then cargo test.
- Very specific: line 111
After writing TS/TSX/JSON: npm run format (or format:check), npm run typecheck, npm run lint.
- Very specific: line 116
Don't add #![cfg(...)] inside a module file when the mod declaration in services/mod.rs already gates it with #[cfg(...)] — rustfmt flags …
- Very specific: line 125
Use src/pages/AppManager/AccountSectionPrimitives.tsx for account login buttons and rows.
- Very specific: line 128
Keep provider colors via colorClassName and provider quota content via secondary.
- Distinctive: line 136
Use Lucide refresh/delete icons.
- Distinctive: line 141
Keep the existing delete confirmation.
- Distinctive: line 143
No extra explanatory copy, hover tips, or cursor changes.
- Very specific: line 155
Commit only when asked. Push only when asked.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — EchoBird
Instructions for agents (ZCode / Claude Code / Codex) working in this repo. Read this before modifying code.
Project shape
Tauri desktop app: React + TypeScript + Vite frontend in src/, Rust backend
in src-tauri/. Two-tier tool/feature registries often ship in both a
bundled copy and a remote copy (e.g. src/data/<x>.json vs
docs/api/<...>/index.json) — when adding or editing an entry, update both
files unless told otherwise; they share one schema and the remote wins at
runtime. Prettier governs the frontend JSON/TS; rustfmt governs src-tauri/.
Desktop interaction rules
- EchoBird is a desktop application, not a website. Do not add custom hover tips, custom tooltips, or other web-style hover-only guidance.
- Keep the mouse cursor as the system default everywhere. Do not use
cursor: pointeror any other cursor-changing style for buttons, links, draggable areas, disabled controls, or other interactive elements.
Existing behavior first
- For integration work, read
internal-docs/integration-memory.mdwhen present (local-only feedback). Recheck current code; older notes may describe retired layouts or an earlier, incomplete implementation. - Before adding a feature similar to one already in the app, identify the reference files and trace the full interaction through handlers, effects, and backend calls. Compare loading, selection, refresh, errors, and saved state; matching the appearance alone is insufficient.
- Reuse existing components and behavior. Keep provider-specific differences limited to necessary authentication, storage, and API details. Do not add automatic actions, new interaction flows, or new frameworks unless the task requires them. State any necessary behavioral difference and its reason before implementing it.
- Tool detection and executable resolution belong in
services/tool_manager.rswith catalog entries intools/<id>/paths.json; Windows Store package lookup usesservices/msix.rs. Launch throughservices/process_manager.rsand create background commands withutils/process.rsso Windows console suppression is shared. Keep explicit interactive terminal launches separate. - Evaluate Windows, macOS, and Linux for every new integration. Separate vendor availability from EchoBird implementation gaps; do not silently restrict an existing cross-platform client to Windows. Verify native paths, credential storage, process handling, and installation on supported systems, and state any platform limitation before release.
- Before implementation, record the requested capabilities against all three platforms, with the existing code to reuse and the verification for each. Distinguish implemented, unverified, and vendor-unavailable; do not turn an excluded capability into new scope to fill the table.
- A visual-only request must preserve unrelated typography, spacing, layout, and interaction. Keep the latest user-approved result as the baseline.
- If existing implementations disagree, follow the user's confirmed behavior and these conventions. Do not silently choose one and call it consistent. Ask a focused question only when a product decision remains unresolved.
- For behavior changes, establish regression expectations from the agreed workflow before coding. Cover entry, exit, tool/tab switching, missing local state, pending requests, and failures where relevant. Assert which network calls, writes, and dialogs must not happen during passive navigation.
- Review against the reference behavior as well as code correctness. Passing tests alone does not establish consistency. Report what was reused and any necessary differences; keep unrelated implementations outside the change.
- Before calling an integration complete, reconcile that capability table with evidence for detection, installation, launch, and the requested account or model operations. A Windows build or UI approval does not verify other OSes or native account switching. Report build, fixture, and live-client checks separately; verify test instrumentation with a positive control.
- At a handoff or interruption, save the current goal, approved decisions, reference files, changed/committed state, verification limits, and next step in a local note. Resume from that note and current Git state; do not restart the design or silently drop unfinished parts when the user gives feedback.
CI gates (must pass locally before pushing)
CI runs two jobs in parallel, each with this order — format runs first and fails the whole job before clippy/test even start, so a format slip hides whether the code is actually sound. Match the order locally:
Frontend (src/, repo root):
npm run typecheck # tsc --noEmit
npm run format:check # prettier --check (or `npm run format` to auto-fix)
npm run lint # eslint (or `npm run lint:fix`)
npm test # vitestRust (src-tauri/, or pass --manifest-path src-tauri/Cargo.toml):
cargo fmt --check # FORMAT FIRST. `cargo fmt` to auto-fix.
cargo clippy --all-targets --all-features -- -D warnings # CI denies warnings
cargo testRun all of them, every push. A green cargo check/cargo test does NOT
imply a green CI — cargo fmt --check is a separate gate and the one most
often skipped. Same for the frontend: npm run format:check is not implied by
typecheck or lint.
Lesson (learned the hard way)
Commit 4774b1d5 passed cargo check + cargo clippy + cargo test locally
but failed CI because cargo fmt hadn't been run (a braced-import reorder and
a wrapped method chain). CI's cargo fmt --check failed in the first step,
so clippy/test never executed — the failure said nothing about correctness,
only about formatting. Don't repeat it: treat the format gate as equal to
clippy/test, not optional.
Verification habits
- After writing Rust:
cargo fmt, thencargo clippy --all-targets --all-features -- -D warnings, thencargo test. - After writing TS/TSX/JSON:
npm run format(orformat:check),npm run typecheck,npm run lint. - The
winregcrate'sFromRegValue for Stringdoes not auto-expandREG_EXPAND_SZ— values like%USERPROFILE%\...come back literal. Expand them viaservices::tool_manager::expand_path(orexpand_path-equivalent) rather than assuming the registry hands back resolved paths. - Don't add
#![cfg(...)]inside a module file when themoddeclaration inservices/mod.rsalready gates it with#[cfg(...)]— rustfmt flags it as a duplicated attribute.
Account login UI conventions
- Reuse
src/pages/AppManager/useManagedAccounts.tsfor account loading, selection, login deadlines/cancellation, refresh and deletion. Provider hooks supply protocol/API and storage adapters; do not copy the lifecycle again. - Use
src/pages/AppManager/AccountSectionPrimitives.tsxfor account login buttons and rows. ChatGPT is the structural reference; do not copy a new provider-specific button/row implementation. - Keep provider colors via
colorClassNameand provider quota content viasecondary. Claude, DeepSeek and WorkBuddy retain their designed colors; Grok uses the same black/white treatment as ChatGPT. - Buttons are 48px tall, pill-shaped, with a 24px product icon and the existing add-account / waiting-for-browser translations. Login timeout is 60 seconds.
- Rows are 48px tall: 16px selection marker on the left, identity above quota
in the center, plan above refresh/delete actions on the right. Display the
plan once. Missing quota is unknown (
—), never fabricated as zero. - Use Lucide refresh/delete icons. Only show refresh when a real refresh action exists; disable it while pending. Clicks and keyboard actions on nested controls must not change account selection. Rows support Enter/Space.
- Selecting an account clears the API-model selection and vice versa. Adding an account saves it in EchoBird; applying a selection switches the client. Keep the existing delete confirmation. Cancel and clean up login on timeout or leaving the tool, and ignore late responses from earlier attempts.
- No extra explanatory copy, hover tips, or cursor changes. New integrations must test selection/action isolation, pending state and their quota display.
- For new or changed integrations, entering a tool or switching tabs/pages may load saved accounts for an installed client, but must not query quota, start login, or apply account/model changes. Quota refresh is an explicit user action. Uninstalled clients must not load native account configuration.
- Passive account-loading failures must preserve cached rows and must not open a blocking dialog. Explicit login, refresh, apply, and delete failures remain visible. Include these expectations in navigation regression tests.
Commit policy
Commit only when asked. Push only when asked. Keep history linear (rebase onto
origin/main when the remote has moved).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

