/godmode:knowledge-capturefrom GodMode
Captures durable, non-obvious lessons (preferences, gotchas, root causes) into the harness's native memory or project docs so future sessions benefit. Use after corrections, discoveries, or when asked to remember/forget.
Ships in GodMode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Each session starts cold. What you learned the hard way in this one (a hidden convention, a root-cause signature, a preference the user stated) is lost unless it is written where the next session will read it. Save durable, non-obvious lessons into the harness's own memory or the project's docs, never into a store of your own invention, and keep that memory short, current and free of duplicates.
SAVE WHAT THE NEXT SESSION CANNOT REDISCOVER CHEAPLY, WHERE IT WILL BE READ
No exceptions. No workarounds. No shortcuts.
Required:
Skip:
Use the harness's native mechanism. The exact paths and commands for each harness are in its reference file under godmode:using-godmode (for example the Claude Code reference).
| Kind of lesson | Destination | Who may write |
|---|---|---|
| Agent's own learnings about this user or project (preferences, gotchas, past decisions) | the harness's auto memory, if it has one | you, freely |
| Standing instructions for every agent on the project | the project instruction file (CLAUDE.md, AGENTS.md, GEMINI.md) or a rules file | propose; the user approves |
| Knowledge a human contributor also needs | the project's docs (README, docs/, ADRs, comments at the code) | you, as part of the change |
| Personal preferences across projects | the user-level instruction file | propose; the user approves |
When the harness has no auto memory, the instruction file or the project docs are the only destinations, so every save is a proposal to the user. Never create a parallel store (a private JSON file, a custom database, a memory folder the harness does not load). Memory nobody loads is not memory.
For auto memory or a notes file:
---
name: prefers-pnpm
description: User wants pnpm, never npm or yarn, in this repository
---
Use pnpm for every install and script in this repository.
**Why:** the lockfile is pnpm-lock.yaml and CI fails on npm installs (corrected 2026-10-25).
**How to apply:** run `pnpm install`, `pnpm test`; never add package-lock.json.
For a proposed instruction-file line, one imperative sentence the user can accept or edit:
- Use pnpm for all installs and scripts; CI rejects npm lockfiles.
| Weak | Strong |
|---|---|
| "Fixed the login bug" | "Session cookies here need SameSite=None; Secure; the app is embedded in an iframe on the partner site." |
| "User likes clean code" | "User rejects string-typed errors; use the AppError subclasses in src/errors.ts." |
| "Tests were flaky" | "Tests that pass locally and fail in CI here are timezone bugs; CI runs in UTC, dev machines do not." |
| "Remember the config" | "Runtime config is read from src/config/runtime.ts, not from .env; .env only feeds the build." |
| Rationalisation | Truth |
|---|---|
| "I'll remember this" | The next session starts with nothing. Write it or lose it. |
| "It's obvious" | It is obvious now, with full context. Cold, it is invisible. |
| "More memory is better" | Memory loads into every session and costs context. Short and current beats complete. |
| "I'll keep my own notes file" | A store the harness does not load is never read. Use the native one. |
| "The user said it once; I'll add a rule" | Rules in instruction files are the user's. Propose; do not write unasked. |
| "This old entry is probably still right" | Memory reflects the past. Verify before acting; fix or delete if wrong. |
| "Save the whole debugging story" | Save the lesson. The story is in the git log. |
Never:
Always:
godmode:using-godmode: the harness reference files name each harness's memory paths and commands.godmode:fault-diagnosis: a non-obvious root cause is a prime lesson to capture.godmode:review-response: repeated review feedback becomes a lesson or a proposed rule.godmode:codebase-conventions: conventions found here feed later conformity checks.godmode:completion-gate: the end of a verified task is the natural moment to reflect.godmode:writing-skills: a lesson that applies to every project may belong in a skill instead.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub noobygains/godmode --plugin godmode33 skills in this plugin
/agent-briefingUse when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff report between agents, or sending a message to another agent mid-task./codebase-conventionsUse when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration, error path or dependency, especially in a project the agent did not write or has not yet surveyed in this session./code-reviewUse when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the user asks for a review of a change, a branch or a pull request./completion-gateUse when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull request, closing a task, moving to the next task, or reporting a subagent's result as finished./cross-model-reviewUse when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second opinion on a change from a different model or a different AI vendor./delegated-executionUse when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each one can go to a fresh implementer subagent with its own review.Other plugins' skills for the same job