Skip to content

Claude Code

Claude Code is AI-powered code agent by Anthropic.

CommandDescription
/helpGet help with using Claude Code
/compactCompact conversation history
/clearClear conversation
/commitCreate a git commit
/review-prReview a pull request
/fastToggle fast mode
/pluginManage plugins
/loopRun a command on interval
/scheduleManage scheduled agents

Skills are specialized prompts that extend Claude Code capabilities. They are invoked with /<skill-name> syntax.

SkillDescription
/commitCreate a git commit
/rebaseRebase the current branch
/simplifyReview code for reuse and quality
/loopRun a prompt on recurring interval
/scheduleManage scheduled remote agents
/claude-apiHelp building apps with Claude API
/update-configConfigure Claude Code settings

A persistent set of Markdown files seeds Claude with memory, rules, examples, and vocabulary so you don’t re-explain everything each session. Only CLAUDE.md is auto-loaded; the rest are referenced or imported from it. This setup, shared by José Siles, recommends creating these before starting a project:

FilePurpose
CLAUDE.mdGeneral rules — the “constitution”. Everything here becomes a premise of every conversation.
persona.mdTone and voice — how you speak, how sentences end, which first person, energy level.
lessons.mdError log — one line per mistake, so the same error isn’t repeated twice.
references.mdGood examples and patterns to point at (“do it like this”) — shortens instructions, raises accuracy.
ng-rules.mdForbidden expressions, structures, or styles you never want to see again.
glossary.mdInternal slang, abbreviations, and terms of your world — kills the “I don’t know what you mean” replies.

The author singles out lessons.md as the most powerful of the early files. The original thread numbers seven files but only six are shown in the captured post.

This error appears when the conversation context is too large (e.g. 1M token window). The fix is to reduce the context by switching to the standard 200k model:

  1. Run /compact to compress conversation history
  2. Run /model and select opus 4.6 (without the 1m suffix)

Settings are stored in ~/.claude/settings.json:

{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"attribution": {
"commit": "",
"pr": ""
},
"permissions": {
"allow": [
"Read",
"Glob",
"Grep",
"Write",
"Edit",
"MultiEdit",
"Bash(git *)",
"Bash(glab *)",
"Bash(gh *)",
"Bash(npm *)",
"Bash(npx *)",
"Bash(yarn *)",
"Bash(pnpm *)",
"Bash(curl:*)",
"Bash(wget:*)",
"Bash(ls:*)",
"Bash(ls -la:*)",
"Bash(cp:*)",
"Bash(mv:*)",
"Bash(mkdir:*)",
"Bash(touch:*)",
"Bash(find:*)",
"Bash(cat:*)",
"Bash(echo:*)",
"Bash(pwd:*)",
"Bash(cd:*)"
],
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)",
"Read(./.ssh/**)",
"Write(./.env)",
"Write(./.env.*)",
"Write(./secrets/**)",
"Bash(chmod 777:*)",
"Bash(rm -rf:*)",
"Bash(sudo:*)",
"Bash(ssh:*)",
"Bash(scp:*)"
]
},
"model": "opus",
"enabledPlugins": {
"nette@nette": true,
"impeccable@impeccable": true
},
"extraKnownMarketplaces": {
"nette": {
"source": {
"source": "github",
"repo": "nette/claude-code"
},
"autoUpdate": true
},
"impeccable": {
"source": {
"source": "github",
"repo": "pbakaus/impeccable"
},
"autoUpdate": true
}
},
"voiceEnabled": false
}
  • Plugins — plugin marketplace overview
  • Skills — open-source skill collections