Claude Code basics, page 3
2026-10-13 · 7 min
How to see the cost of a specific subagent
Learn how to track the individual token consumption and costs generated by subagents during a multi-step Claude Code session.
2026-10-13 · 7 min
How to set up a .claudignore file
Prevent the AI from scanning large directories or sensitive environment variables by configuring a proper ignore file.
2026-10-13 · 7 min
How to skip the diff review in Claude Code
Use specific flags and settings to automatically accept changes when you trust the AI to perform repetitive or simple tasks.
2026-10-13 · 9 min
How to stop Claude Code from installing new packages
Set strict permissions or brief instructions to ensure Claude only uses existing dependencies and never runs install commands.
2026-10-13 · 7 min
How to tell Claude Code to ignore specific file extensions
Use configuration files and command line flags to prevent the Claude CLI from reading or editing specific file types in your project.
2026-10-13 · 8 min
How to undo changes made by Claude Code
Use git integration and built-in commands to safely revert the code changes if the AI makes a mistake during a session.
2026-10-13 · 8 min
How to use Claude Code in pipe mode
Find out how to run Claude Code in pipe mode for automation scripts where you need to pass input directly from other tools.
2026-10-13 · 8 min
How to use pre-task hooks in Claude Code
Set up automated scripts that run before Claude begins a task to ensure your environment is ready or code is properly linted.
2026-10-13 · 8 min
How to use the bug report command in Claude Code
Find out how to use the built-in bug reporting tool to send feedback or report technical issues directly to the Anthropic team.
2026-10-13 · 8 min
How to use the doctor command to fix Claude Code
Troubleshoot installation issues, permission errors, and environment problems using the built-in diagnostic doctor command.
2026-10-13 · 9 min
How to write a clear Claude Code prompt
Learn how to structure your initial request to Claude Code to get accurate code changes without repetitive follow-up cycles.
2026-10-13 · 11 min
Increase the timeout for Claude subagents
Learn how to adjust the timeout settings for subagents to prevent them from cutting off during long or complex processing tasks.
2026-10-13 · 9 min
Initialise a project with /init
A guide to using the /init command to quickly generate a functional CLAUDE.md file based on your existing project structure.
2026-10-13 · 8 min
Let Claude Code see local images
How to provide local image files to Claude Code so it can help with UI styling tasks or document visual bug reports in your terminal.
2026-10-13 · 7 min
Limit Claude Code to a specific folder
Use path restrictions and relative starting points to prevent Claude Code from scanning your entire repository when you only need one folder.
2026-10-13 · 7 min
Limit the number of Claude subagents
How to configure Claude Code to limit the number of subagents it can spawn to prevent run-away processes and excessive API usage.
2026-10-13 · 8 min
List files currently in context
How to check exactly which files Claude Code is currently reading or monitoring to ensure it has enough information for the task.
2026-10-13 · 8 min
Make Claude Code follow a coding style guide
Add linting rules and style preferences to your project memory so Claude Code writes code that matches your existing formatting standards.
2026-10-13 · 7 min
Make the test folder read-only for Claude
Configure your settings to prevent Claude Code from making any modifications to your test suite or documentation folders.
2026-10-13 · 8 min
Manage project environment info in CLAUDE.md
Document your project's runtime requirements and environment variables in CLAUDE.md to prevent AI execution errors.
2026-10-13 · 6 min
Managing multiple Claude Code projects
Organise your workflow when running different Claude Code sessions across separate repositories or terminal windows.
2026-10-13 · 8 min
Monitor multiple Claude sessions on one wall
Use adhdTerminal to view every active Claude session as a tile on one wall so you can monitor multiple tasks simultaneously.
2026-10-13 · 7 min
Pass environment variables to Claude Code
Discover how to ensure your Claude Code session has access to the necessary environment variables and secrets required for your build.
2026-10-13 · 9 min
Protect git branches from Claude Code
Learn the configuration steps to ensure Claude Code never makes direct commits to your main branch or other protected production environments.