AI Compass / Knowledge cards
Project start with rules and plan files
An agent that starts without a plan has to guess. A project starts better with a few files: a requirements document, or PRD (Product Requirements Document: what is being built and in which phases), a short CLAUDE.md with rules, and one file each for progress, lessons and decisions. On top of that come four basic rules that a well-known collection derived from observations by Andrej Karpathy.
What it is for
Every new session knows what is being built, what is already done and what must never happen. You don’t have to explain your project from scratch in every chat.
Steps
- Put the four basic rules in the
CLAUDE.mdof a parent folder rather than installing them as a skill: state assumptions instead of guessing. Choose the simplest solution. Change nothing outside the task. Before “done”, define a check and keep working until it passes. According to the docs, Claude Code reads theCLAUDE.mdin the working folder and in all folders above it. - Clarify the requirements in conversation: a planner agent keeps asking until you say “that’s it”. Then it writes the PRD with phases and design decisions into the project folder.
- Keep the project’s
CLAUDE.mdshort: one sentence at the top on what it is about, then the pointer to the PRD and only rules the agent can’t work out itself, such as an unusual test tool. According to the docs, under 200 lines. - Put rules per area into separate files and link them, plus a file of negative rules: what must never be built or used. Claude Code has the folder
.claude/rules/for this. According to the docs, it loads rules with a path scope only when Claude works on matching files. - Create three working files and state in the
CLAUDE.mdthat the agent maintains them: progress, lessons and decisions. After each correction from you, the agent writes the lesson into the lessons file. - Have the tests derived from the PRD before building, and run them at the end. Commit after each implementation step.
- Regulate risky commands and, where necessary, block them outright. The video of 28 April writes force-push, reset, merge and
rm -finto theCLAUDE.mdas a rule: only after asking. According to the docs, however, theCLAUDE.mdis context, not a block. What must never happen therefore belongs in a hook, a script that Claude Code runs before every tool call.
Limits
- The basic rules don’t come from Karpathy himself. The repo
multica-ai/andrej-karpathy-skillssummarizes his observations (MIT license according to the README). The old addressforrestchang/andrej-karpathy-skillsnow redirects there; it is the same project. Whether the rules work is only attested by the creators. - Open contradiction: in April, AI LABS advises writing the
CLAUDE.mdyourself instead of using/init. The setup card recommends/initin its conversational version (CLAUDE_CODE_NEW_INIT=1), which according to the docs only writes after your approval. Common denominator: trim the draft until it contains only what Claude can’t find out on its own. - Parent rules can contradict project rules. According to the docs, Claude may then pick one of them arbitrarily.
- Collect lessons automatically: the skill
task-observer(reporebelytics/one-skill-to-rule-them-all, CC BY 4.0) observes the work and suggests changes to skills. According to the video, its log entries take effect in the very next sessions, before anyone has reviewed them. According to the README (as of 17 Oct 2026), it changes nothing without your approval and only pays off with many skills. To be safe, read the log regularly and adopt only what has proven itself (my recommendation). - Don’t use the other skills from the video of 1 Sept: OpenCLI accesses your sessions through logged-in browser accounts and may violate terms of service.
- Older videos give 300 lines as the upper limit for the
CLAUDE.md. That is outdated. - The creators’ templates sit in paid communities. My own assessment: they are quick to build yourself.
Links
- Maintaining your Claude Code setup: how the
CLAUDE.mdstays lean after the start. - “Done” only with evidence: basic rule 4 in full, with a check command and expected output.
- Let Claude work until the goal is met – with /goal: the next step once the project is set up.
- Three-tier memory: this card governs one project, that one your memory across all projects.
Sources
- AI LABS: These New Claude Skills Are Actually Insane, 1 Sept 2026, 1:06–2:09, 7:01–8:36. Sponsored by Supabase, plus paid community
- AI LABS: Knowing This Gives You An Unfair Advantage With AI Coding, 28 Apr 2026, 6:01–7:06, 8:12–8:44, 10:55. Sponsored by Klaus, plus paid community
- AI LABS: Give Me 13mins, I Will Show You The Right Agent Setup, 10 Apr 2026, 1:04–10:14. Sponsored by Wayin Video (6:30–7:35), plus paid community
- Jack Roberts: Build your first AI agent (Claude Code), 13 May 2026, 7:35–8:08. Firecrawl and Glaido links, promotion for course and community
- multica-ai: andrej-karpathy-skills, README and rebelytics: one-skill-to-rule-them-all, README, retrieved 17 Oct 2026
- Claude Code docs: Memory (loading the
CLAUDE.md, under 200 lines,.claude/rules/, context instead of a block,/init), retrieved 17 Oct 2026
Status
Checked 17 Oct 2026 · Maturity new (built-in tools described in the docs; effect of the basic rules attested by the creators only)
Want to try this with your team? That’s what the AI Lab is for. See the AI Lab