Jump to content

Claude Code/Cheat Sheet

From Wiki
Revision as of 14:21, 28 July 2025 by Marcluer (talk | contribs) (Created page with "== /commands (built-in)== <pre> /clear # Clear conversation history /cost # Show costs of current session /agents # Manage agents # always write unit tests # Add to memory !ls # Run bash commands </pre> == /commands (custom) == <pre> /command1 [argument] # .claude/commands/command1.md (project command) /command2 [argument] # ~/.claud...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/commands (built-in)

/clear                           # Clear conversation history
/cost                            # Show costs of current session
/agents                          # Manage agents

# always write unit tests        # Add to memory
!ls                              # Run bash commands

/commands (custom)

/command1 [argument]             # .claude/commands/command1.md (project command)
/command2 [argument]             # ~/.claude/commands/command2.md (user command)

                                 # commands in subfolders
/frontend:test                   # .claude/commands/frontend/test.md 

                                 # arguments
/fix-issue 123                   # $ARGUMENTS <- 123

/commands (mcp)


thinking

think
think more, think a lot, think harder, think longer

CLI

claude --dangerously-skip-permissions