cc-haha / desktop
AGENTS.md15k starsChanged 2 months agoMITView on GitHub
These rules apply to desktop/ changes in addition to the root instructions.
Trending
Steady talk.about the whole repository
Who's talking about NanmiCoder/cc-haha
- @github-trending-js.bsky.social“📦 NanmiCoder / cc-haha ⭐ 14,614 (+38) 🗒 TypeScript Local-first cross-platform desktop workspace for …”Bluesky · Sep 19, 2026 · 2 likes
- @github-trending-js.bsky.social“📦 NanmiCoder / cc-haha ⭐ 13,664 (+53) 🗒 TypeScript 本地优先的跨平台 Claude Code / Agent 桌面工作台:多 Agent、Git …”Bluesky · Jul 29, 2026 · 2 likes
- sudosubin/agents.nix“agent-skills.github.nanmicoder.cc-haha: 0.6.6 → 0.6.8”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.nanmicoder.cc-haha: init at 0.6.6”GitHub · Sep 30, 2026
- MarkQWu/agents-in-the-wild“Audit candidate: NanmiCoder/cc-haha”GitHub · Sep 28, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub and Bluesky (16 times).
On GitHub · 14
- Oct 3, 2026agent-skills.github.nanmicoder.cc-haha: 0.6.6 → 0.6.8 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.nanmicoder.cc-haha: init at 0.6.6 — sudosubin/agents.nix0 reactions
- Sep 28, 2026Audit candidate: NanmiCoder/cc-haha — MarkQWu/agents-in-the-wild0 reactions
- Sep 28, 2026Audit candidate: NanmiCoder/cc-haha — xiaolai/nlpm0 reactions · 4 comments
- Sep 10, 2026[收录] <Claude Code Haha> — AvalonLee/AstraCraft-Program0 reactions · 1 comment
9 more on GitHub
- Aug 23, 2026[Feature] 按照工作区划分项目,以便于管理 — liliMozi/openhanako0 reactions
- Aug 17, 2026enhancement: Cross-platform core — run CoAgent on macOS & Linux (not just Windows) — Predator04/Hermes-CoAgent0 reactions · 1 comment
- Aug 4, 2026idea: NanmiCoder/cc-haha — zqf1314/idea0 reactions · 1 comment
- Jul 13, 2026定时任务/预约消息:睡前排活、限额重置后自动续跑(daemon 常驻是天然优势,cc-haha/AiMote 均已做) — heypandax/pairlet0 reactions · 1 comment
- Jun 10, 2026[feat]: 支持 ClaudeCode Haha 的供应商配置(从 CluadeCode 一键导入) — farion1231/cc-switch0 reactions · 1 comment
- May 29, 2026可否打通Claude Code Haha(一个不错的开源版本,11.8K星)的MCP管理 — farion1231/cc-switch0 reactions · 1 comment
- May 2, 2026[Skill] 解密微信数据 — titanwings/colleague-skill-site0 reactions
- Apr 28, 2026504错误是什么情况 — NIyueeE/ds-free-api0 reactions · 1 comment
- Apr 27, 2026No Context Memory & Tool Calling Failure with Local Gemma4 via Ollama Docker — ollama/ollama0 reactions · 1 comment
On Bluesky · 2
- Sep 19, 2026📦 NanmiCoder / cc-haha ⭐ 14,614 (+38) 🗒 TypeScript Local-first cross-platform desktop workspace for Claude Code / agents: multi-agent,… — @github-trending-js.bsky.social2 likes and reposts
- Jul 29, 2026📦 NanmiCoder / cc-haha ⭐ 13,664 (+53) 🗒 TypeScript 本地优先的跨平台 Claude Code / Agent 桌面工作台:多 Agent、Git Worktree、代码 Diff、技能市场、多模型、Computer… — @github-trending-js.bsky.social2 likes and reposts
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.
In this repository8 other files it gives its agents.
- adapters/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- release-announcementSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Every translation key a component uses must be added to all five files in src/i18n/locales/, including keys chosen inside an expression …
- Very specific: line 10
Add focused Vitest or Testing Library coverage for UI, store, or API behavior.
≈ “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
Desktop Instructions
These rules apply to desktop/ changes in addition to the root instructions.
- Before adding or editing anything under
desktop/src/components/, readdesktop/src/components/AGENTS.md. It is the authoritative index of reusable components, the placement rules for new ones, and the required style/i18n/a11y/test conventions. Do not add a component that duplicates one listed there, and do not add new files tocomponents/shared/orcomponents/common/. - Reuse the existing desktop store/API patterns. Use
lucide-reactfor common icons and keep operational UI dense, stable, and readable. - A new feature panel is its own module from the start.
Settings.tsxreached 4639 lines holding seven unrelated panels before it was split intopages/settings/*; the four most-repeatedly-fixed files in the repository are also its four largest. Put a panel in its own file, and put anything two panels share in an explicit shared module rather than leaving it in the page that happens to host both. - Wire the component into its route in the same change that creates it.
src/__tests__/componentReachability.test.tsfails on any.tsxno entry point can reach. Three components once lost their last import, and the coverage gate read "zero coverage" as "needs a test" — someone wrote suites for two of them, and a UI redesign then restyled all three. - Every translation key a component uses must be added to all five files in
src/i18n/locales/, including keys chosen inside an expression (t(count === 1 ? 'a' : 'b')) — a literal-only scan misses those in both directions. - Add focused Vitest or Testing Library coverage for UI, store, or API behavior. Run it first, then follow
bun run check:impact; desktop product changes normally selectbun run check:desktop. - Chat transport, WebSocket lifecycle, first-turn runtime selection, reconnect, or session changes also require the offline
bun run check:chat-contractwhen selected, plusbun run check:agent-flowfor the end-to-end session/tool/permission/reconnect protocol. - Permission dialog, tool-call rendering, or approval-flow changes should also run
bun run check:desktop-ui-smoke: it exercises the real dialog in a real browser against the mock runtime, with no provider. desktop/electron/**is not covered bydesktop/tsconfig.json, socheck:desktopcannot prove it still compiles. Changing adesktop/src/**module that the Electron host imports selectsbun run check:nativethrough the import graph — run it.- Electron host, sidecar, packaging, or version changes require
bun run check:nativewhen selected. - Validate user-visible flows in a real browser/desktop session when unit tests cannot prove layout or cross-process behavior, and record the path exercised.
localStorageor native settings shape changes require a migration, an old fixture, andbun run check:persistence-upgrade.
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.

