/copybook-zh:codebase-tipsfrom copybook-zh
Provides 31 tips for codebase management including repo indexing, code maps, AGENTS.md rules, and scope guard patterns. Useful when navigating or cleaning up a repository.
Ships in copybook-zh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Copybook's 31 tips on codebase, most saved first. Each tip's text, where it goes and what the user should get are in its file in references/.
| Tip | What it does |
|---|---|
codebase-memory MCP: an index of your repo codebase-memory-repo-index | Dozens of grep and read turns per question: the repo as one graph of functions, files and dependencies; dead code found too. |
Vibe-coding cleanup: 5 Codex /goal prompts vibe-coding-cleanup-prompts | Half your quota left at reset: dead code, duplicates and unneeded dependencies cut; scheduled tasks and old worktrees sorted. |
Clickable repo map clickable-repo-map | Before you change a repo: click any module for its callers, dependencies, tests and source evidence; a rule keeps it current. |
Scope Guard: AGENTS.md rules for small tasks scope-guard-rules | Asked to change a config, it builds a framework: minimum sufficient change, reuse first, ask before widening, test narrowly. |
Disk map of dev leftovers disk-map-of-dev-leftovers | Disk almost full: a read-only scan, a treemap of what development left behind, and a cleanup script only for what you tick. |
One AGENTS.md for Claude Code and Codex one-agents-md-for-both-agents | Two agents, one rules file: plan first, smallest change, subagent roles, own the bug, verify before done, Lessons per correction. |
Untangle /goal for spaghetti code untangle-goal | Months of vibe coding left the code in knots: an HTML wiring diagram, the worst numbered in red, then fixes tested one by one. |
Investigate-and-plan prompt for Codex investigate-and-plan-prompt | Before it implements on a guess: repo read, goal restated, assumptions and plan listed, then a stop for your approval. |
Repeated PR comments as AGENTS.md rules pr-comments-as-agents-md-rules | A reviewer keeps flagging the same things: 50 recent PRs scanned, issues ranked by count, your picks written into AGENTS.md. |
Archify: system diagrams from code archify-system-diagrams | A system you have to explain: an HTML diagram you can search, trace up and downstream, compare across versions, export as PNG. |
REA: take apart another app's feature rea-take-apart-a-feature | A feature you like and can't see how it's built: taken down layer by layer, each finding with evidence, then a plan for your own. |
Less defensive code: 4 AGENTS.md rules less-defensive-code | Even a tiny change gets null checks at every layer: Codex checks data once where it comes in, then just uses it. |
CI time audit: 150 runs, 9 checks ci-time-audit | Code takes minutes, then each PR waits on CI: the 5 slowest jobs split into queue, setup and run, and the line to change per fix. |
MIT axiomatic design check for coupled code axiomatic-design-coupling-check | Fixing one bug breaks ten other things: an MIT axiomatic design analysis that says whether your code is coupled. |
Agent workspace audit agent-workspace-audit | Your agent feels dumber over time: every instruction, skill, MCP and memory marked KEEP or REMOVE, cleared on your OK. |
Agent memory tools: 8 repos in 4 kinds agent-memory-tools-8-repos | No memory of code, notes, sessions or long tasks: 8 repos in those 4 kinds, one of each installed on your OK. |
3 slimmer AGENTS.md plans side by side 3-slimmer-agents-md-plans | AGENTS.md past 200 lines gets followed less: 3 slimmer versions, each more aggressive, nothing lost, shown before changes. |
No compatibility code yet: AGENTS.md rules no-compatibility-code-yet | No users yet, but the agent adds compatibility code and migrations: skip both, then docs, tests, smallest change and cleanup. |
Claude Code permissions: deny, ask and allow commands deny-ask-and-allow-permissions | Claude deleted a config that 'looked unused': risky commands blocked, pushes ask first, routine ones run, deny always wins. |
Ask before edge-case code: one AGENTS.md line ask-before-edge-case-code | The agent codes for races that never happen: one line makes it state the risk and the odds, then wait for your OK. |
Claude Code project instructions from your sessions instructions-from-your-sessions | Background you re-explain every new session: pulled from your last 20 sessions and written up as project instructions. |
~/.codex and ~/.claude sorted before cleanup codex-and-claude-sorted | A cleanup that could delete your chats: items sorted Keep, History, Work, Clearable or Unknown, each command approved by you. |
Mod ideas from your last 20 sessions mod-ideas-from-20-sessions | Requests you repeat, commands you stop or undo, how you check changes: ranked by how much each would help, your words quoted. |
/teach: strategic programming on your project teach-strategic-programming | Spend tokens learning what AI can't replace: 3 questions about your codebase, then MISSION.md, a curriculum and lessons on it. |
Bug-fix loop rules for CLAUDE.md or AGENTS.md bug-fix-loop-rules | Agents that both fix and review can't stop going back and forth: stop after two failed fixes, review only this round's changes. |
ub-mode: the Clean Code author's agent rules ub-mode-clean-code-agent-rules | Your agent's code hides bugs and its tests fool you: a skill it follows on every change, with crapper, dryer and mutator checks. |
Outdated CLAUDE.md and AGENTS.md review outdated-claude-md-review | Agents follow an outdated CLAUDE.md over your code: its old instructions identified, and a rule that puts code first. |
Repeat mistakes as helpers and lint rules repeat-mistakes-as-lint-rules | The agent keeps making one mistake: the right way in a helper, the old way banned by lint, an error that names the helper to use. |
Situation routing rules for skills situation-routing-for-skills | Your agent often forgets to use what you install, so you call each by name: the best fit per task, with one line on which and why. |
Claude Code attribution off: commits and PRs claude-code-attribution-off | Claude Code adds Co-Authored-By to its commits and a Generated line to its PRs: one setting hides both, in one repo or all. |
IMPOSSIBLE.md rules for failed agent tasks impossible-md-for-failed-tasks | Failed agent tasks vanish with the session: an IMPOSSIBLE.md entry each, with prompt and failed check, to rerun on new models. |
agents/openai.yaml (opens in a new tab)references/3-slimmer-agents-md-plans.md (opens in a new tab)references/agent-memory-tools-8-repos.md (opens in a new tab)references/agent-workspace-audit.md (opens in a new tab)references/archify-system-diagrams.md (opens in a new tab)references/ask-before-edge-case-code.md (opens in a new tab)references/axiomatic-design-coupling-check.md (opens in a new tab)references/bug-fix-loop-rules.md (opens in a new tab)references/ci-time-audit.md (opens in a new tab)references/claude-code-attribution-off.md (opens in a new tab)references/clickable-repo-map.md (opens in a new tab)references/codebase-memory-repo-index.md (opens in a new tab)references/codex-and-claude-sorted.md (opens in a new tab)references/deny-ask-and-allow-permissions.md (opens in a new tab)references/disk-map-of-dev-leftovers.md (opens in a new tab)references/impossible-md-for-failed-tasks.md (opens in a new tab)references/instructions-from-your-sessions.md (opens in a new tab)references/investigate-and-plan-prompt.md (opens in a new tab)references/less-defensive-code.md (opens in a new tab)references/mod-ideas-from-20-sessions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins in one repository ship this exact skill · first indexed Dec 3, 2026
8 skills in this plugin
/copybookLoad unasked: plan, multi-file PR review (no tiny edits); repeat mistakes; 2 failed fixes; handoffs; ready-made prompts, rules; usage or models; site launch prep. A one- or two-line edit, one small new file or a single question, such as explaining one error: just do it, unless the user is correcting the same mistake a second time. When the user names Copybook or one of its tips, always load. Also: stopping for the day (notes for next time); long-run reports; multi-session or multi-agent work; which model for main session or subagents; page or dashboard design, redesign or de-AI look; a new or trimmed AGENTS.md or CLAUDE.md, or agent permissions; installing a skill or plugin; rewriting a whole README for new readers, or a task brief. Load even if a built-in skill (init, claude-api, dataviz) fits too. Handle one README section or a small wording fix directly. Also when the user asks for a checklist or a setup, or what Copybook has, or whether finished work is really done. 131 tips, picked by situation./design-tipsDesign · 31 tips: image-first pages, motion libraries, reference sites, design skills./launch-tipsLaunch · 12 tips: pre-launch, speed, and legal checks, SEO tool pages, VPS lockdown.npx claudepluginhub heyvhuang/copybook-skills --plugin copybook-zhOther plugins' skills for the same job