Jump to content

Claude Code/Cheat Sheet: Difference between revisions

From Wiki
Marcluer (talk | contribs)
mNo edit summary
Marcluer (talk | contribs)
mNo edit summary
Line 46: Line 46:
/mcp                            # list mcp servers
/mcp                            # list mcp servers
/mcp__github__list_prs</pre>
/mcp__github__list_prs</pre>
== Memory ==
{| class="wikitable"
|+
!
!file
|-
|Project memory
|<code>./CLAUDE.md</code>
|-
|User memory
|<code>~/.claude/CLAUDE.md</code>
|}
== sub agents ==
* https://docs.anthropic.com/en/docs/claude-code/sub-agents
{| class="wikitable"
|+
!
!file
|-
|User sub agents
|<code>~/.claude/agents/</code>
|-
|Project sub agents
|<code>.claude/agents/</code>
|}


== thinking ==
== thinking ==

Revision as of 12:42, 31 July 2025

Other articles

Keyboard / UI

shift-tab        # normal- / auto-accept- / planning-Mode
ctrl-esc         # quick launch from ide (not working!)
ctrl-R           # detailed output

/commands (built-in)

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

@filename.txt                    # @file mention
# 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)

/mcp                             # list mcp servers
/mcp__github__list_prs

thinking

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

CLI

claude --dangerously-skip-permissions