cc-haha / site
AGENTS.md15k starsChanged 2 months agoMITView on GitHub
These rules apply to the public landing page and documentation experience under site/. scripts/generate-docs-manifest.mjs scans docs/, then emits three things into src/generated/ (gitignored): Routes come from file paths (docs/start/install.md → /start/install). Renaming a file renames its URL, so add the old path to both LEGACY_ROUTES in src/content/docs.js and legacyRoutes in scripts/prepare-static-output.mjs. Sidebar grouping comes from the sections array in the generator — register any new top-level docs/ directory there or it sorts last with a bare directory name. Order inside…
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
- desktop/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/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
7 rules. About 1 is common, 1 is distinctive, and 5 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Keep the site independently installable with npm ci and buildable with npm run build.
- Very specific: line 8
Keep npm run check deterministic, offline, and responsible for site-specific validation beyond compilation.
- Very specific: line 10
Treat files under docs/ as the source of truth for long-form Chinese and English documentation.
- Common: line 11
Do not copy private user state, credentials, local filesystem paths, or unredacted product screenshots into the site.
- Very specific: line 12
Run bun run check:docs after site or docs changes and include desktop plus narrow-mobile browser evidence for user-visible layout changes.
- Very specific: line 32
Use tokens (--surface-*, --text-*, --border*, --brand*, --sp-*, --fs-*, --r-*) rather than literal values.
- Distinctive: line 33
Keep screenshots flat and legible.
≈ “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
React Site Instructions
These rules apply to the public landing page and documentation experience under site/.
Contracts that must not break
- Keep the site independently installable with
npm ciand buildable withnpm run build. - Keep
npm run checkdeterministic, offline, and responsible for site-specific validation beyond compilation. - Preserve the GitHub Pages custom-domain contract; production assets and routes must work from the root of
cchaha.ai.scripts/prepare-static-output.mjshard-fails when the CNAME drifts. - Treat files under
docs/as the source of truth for long-form Chinese and English documentation. Keep paired public routes aligned when both languages exist. - Do not copy private user state, credentials, local filesystem paths, or unredacted product screenshots into the site.
- Run
bun run check:docsafter site or docs changes and include desktop plus narrow-mobile browser evidence for user-visible layout changes.
How content reaches the site
scripts/generate-docs-manifest.mjs scans docs/, then emits three things into src/generated/ (gitignored):
docs-index.js— the eager index: route, section, title,nav_title, description,order. Keep it small; it ships on every page.content/<id>.js— one module per document holding the markdown body (frontmatter already stripped).docsContentmaps a route to a dynamic import, so opening one page never downloads the rest.search-index.js— lazily imported by the search dialog only.
Routes come from file paths (docs/start/install.md → /start/install). Renaming a file renames its URL, so add the old path to both LEGACY_ROUTES in src/content/docs.js and legacyRoutes in scripts/prepare-static-output.mjs.
Sidebar grouping comes from the sections array in the generator — register any new top-level docs/ directory there or it sorts last with a bare directory name. Order inside a group comes from each document's order frontmatter.
Design system
src/styles/base.css holds shared tokens. The landing page uses the user-provided Wandor direction throughout: warm paper illustrations, a white-faded ambient video, Geist typography, Special Elite wordmark, liquid glass surfaces and black capsule controls. Keep the entire landing journey consistent, including features, onboarding, FAQ and download. Documentation uses the same paper, illustration, typography and terracotta palette, scoped through src/docs/doc-wandor.css so its reading surfaces remain legible in both themes. The public display name is cc-haha; preserve legacy executable paths and release filenames when they must match actual artifacts. Rules:
On a first visit to /, show Chinese when the browser's preferred language is Chinese; use English for every other language. /en and /en/start are the English entries; / and /start remain Chinese routes. A saved manual language choice takes precedence when opening /.
- Use tokens (
--surface-*,--text-*,--border*,--brand*,--sp-*,--fs-*,--r-*) rather than literal values. A raw hex in a component is a bug. - Keep screenshots flat and legible. Never stack, tilt, blur, or auto-rotate product UI as the main evidence.
- Animation should explain a task stage or reading transition; the page must remain complete with reduced motion or paused motion.
- Both themes must work.
data-themeon<html>is set by the bootstrap script inindex.htmlbefore first paint. - Breakpoints are 1180 / 900 / 620 across the stylesheets. Do not introduce a fourth.
Mermaid
````mermaid fences render as diagrams. Nothing under docs/ currently uses one — the two pages that did were deleted in the July 2026 restructure — so the dependency and its .doc-mermaid styles sit unused, lazily loaded and costing readers nothing. Keep them: internals/ is exactly where a diagram would earn its place, and the mermaid theme is already wired to the site tokens.
Fonts
Self-hosted in public/fonts/, copied from desktop/public/fonts/. The landing reference explicitly requests the Geist and Special Elite Google Fonts link. Keep local font fallbacks so the layout still works when the font CDN is unreachable. Only the latin subsets are hosted; Chinese glyphs fall through to the platform font on purpose, exactly as the desktop app does.
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.

