Latest Post

Claude Code - Useful Commands and Keywords

Claude Code ships with several built-in commands and keywords that improve how you interact with it day-to-day. Here are the ones worth knowing.


ultrathink — Deeper Reasoning on Demand

Typing ultrathink anywhere in your message tells Claude to reason more thoroughly before responding. It’s useful when a task is genuinely complex — architecture decisions, tricky bugs, multi-file refactors — and a shallow first pass would waste time.

1
ultrathink Can you provide suggestions to improve this project?

There is a family of these keywords, each triggering a progressively deeper thinking budget:

Keyword Reasoning depth
think Light extended thinking
think hard Moderate
think harder Deep
ultrathink Maximum

Use them selectively. On straightforward tasks they add latency with no benefit.


/effort — Control How Hard Claude Works

/effort sets the effort level Claude applies to responses. Useful when you want faster, lighter answers for exploratory work, or maximum thoroughness for critical changes.

1
2
/effort low      # faster, lighter responses
/effort auto # default — Claude decides based on task complexity

Running /effort with no argument shows the current setting. Toggle it back to auto when you want Claude to self-pace again.


/insights — Analyze Your Usage Patterns

/insights analyzes your recent sessions and generates a usage report — both a console summary and a full HTML report saved locally.

1
/insights

Output example:

1
2
32 sessions · 592 messages · 337h · 88 commits
Report URL: file:///home/pablo/.claude/usage-data/report.html

The report covers:

  • Project areas — which projects got the most attention and what was done
  • Interaction style — how you batch tasks, redirect Claude, and delegate
  • Friction analysis — recurring failure modes with examples from your own sessions (wrong scope, regressions, auth blockers)
  • Suggestions — CLAUDE.md additions, features to try, copyable prompts
  • On the horizon — ambitious autonomous workflows matched to your patterns

The friction analysis is the most actionable part. A wrong-scope mistake in a single session feels like a one-off; seeing it happen 16 times across a month makes it worth fixing in CLAUDE.md.


/clear — Reset the Conversation Context

/clear wipes the current conversation context and starts fresh. Use it when:

  • The context has grown too large and responses are slowing down
  • You are switching to an unrelated task in the same session
  • Claude has gone off-track and a clean slate is faster than correcting it
1
/clear

A related command is /compact, which summarizes the conversation history instead of discarding it — useful when you want to continue a long session without losing the thread entirely.


Combining Them

These commands complement each other in practice. A typical flow might look like:

  1. Start a complex task with ultrathink to get a thorough plan upfront
  2. Switch to /effort auto for the implementation work
  3. Use /clear between unrelated tasks to keep context clean
  4. Run /insights periodically to spot patterns and improve your workflow

Small adjustments — adding the right keyword, clearing context at the right moment — add up over dozens of sessions.

Claude Code - Skills Setup

Claude Code is Anthropic’s official CLI for Claude. It can be extended with skills — reusable slash commands that give Claude structured workflows for common tasks like debugging, testing, code review, and more.

Installing Skills

Skills are installed via npx skills. The -g flag installs them globally (available in all projects) and -y auto-confirms.

Sequential Thinking

Systematic step-by-step reasoning with the ability to revise and branch thoughts.

1
npx skills add mrgoonie/claudekit-skills@sequential-thinking -g -y

Invoke with: /sequential-thinking

Superpowers Bundle (14 skills)

A curated bundle covering the most common development workflows.

1
npx skills add obra/superpowers -g -y

Context7 — Live Library Documentation

Fetches up-to-date documentation for libraries and frameworks in real time.

1
2
3
4
5
6
# Install the skill
npx skills add upstash/context7@context7-mcp -g -y
npx skills add intellectronica/agent-skills@context7 -g -y

# Activate the MCP server
claude mcp add context7 -- npx -y @upstash/context7-mcp@latest

Invoke with: /context7

Official Claude Plugin

Code Simplifier

Reviews changed code for reuse, quality, and efficiency, then fixes issues found.

1
claude plugin install code-simplifier

Invoke with: /simplify

Quick Reference — All Skills

Skill Command
Sequential Thinking /sequential-thinking
Brainstorming /brainstorming
Writing Plans /writing-plans
Executing Plans /executing-plans
Test-Driven Development /test-driven-development
Systematic Debugging /systematic-debugging
Subagent Development /subagent-driven-development
Parallel Agents /dispatching-parallel-agents
Git Worktrees /using-git-worktrees
Verification /verification-before-completion
Code Review (request) /requesting-code-review
Code Review (receive) /receiving-code-review
Finish Branch /finishing-a-development-branch
Context7 Docs /context7
Code Simplifier /simplify

Extra Tools

markitdown — Document Reader

Converts files (PDF, Word, PowerPoint, Excel, HTML, CSV, JSON, Images, Audio, YouTube URLs, EPubs, ZIP) to Markdown so Claude can read them.

1
2
3
4
pipx install 'markitdown[all]'

# For scanned PDFs (OCR support)
sudo apt install tesseract-ocr

Usage inside a Claude Code session:

1
markitdown path/to/file.pdf