What Claude Code is
General information, not legal advice. Check your own bar or regulator's guidance and your client engagement terms before putting any client information into an AI tool.
Claude Code is Anthropic's agentic coding tool. You run it in a terminal, describe a task in plain language, and it can read files in the working folder, propose edits, run commands and iterate, usually asking permission for actions. It is designed for software development. Setup requires comfort with the command line, and it needs an Anthropic account or compatible plan; check Anthropic's documentation for current requirements.
Cautious non-client-data uses
- Build or maintain your firm's public website or blog
- Write a small script to rename or sort files in a folder of public documents
- Clean up a spreadsheet of marketing contacts you are entitled to hold, following privacy rules
- Convert formats, such as many text files into one tidy document
- Prototype an internal checklist tool with invented data
These are tasks where the files contain nothing privileged. If you are not sure whether a folder is safe, it is not.
Confidentiality rules of thumb
- 1
Use a dedicated empty folder
Create a working folder containing only what the task needs.
- 2
Keep client data elsewhere
Never run the tool from a directory that holds matter files or your document-management sync.
- 3
Read the permission prompts
Do not approve commands you do not understand.
- 4
Check vendor terms
Read Anthropic's current data and retention terms for your plan; content you work on is sent to the service.
- 5
Review the result
Treat generated scripts like work from an unsupervised junior: test on dummy data.
Is it for you?
Most lawyers will get more from a chat assistant or Notion AI than from a coding agent. Consider Claude Code only if you want to build things, and start with a throwaway project.
Frequently asked questions
- Do I need to know how to code?
- Not necessarily, but you should be comfortable in a terminal and able to review what the tool changes. A mistake can alter or delete files.
- Can Claude Code review contracts?
- It is built for software work. A chat assistant is a more natural fit for reading documents, and client documents carry confidentiality concerns either way.
- Does it send my files to Anthropic?
- Content the tool reads is processed by the model service. Read Anthropic's current terms for your plan to understand retention and training use.
- Is it safe for a law firm?
- Only with scoping, policy and review. Start with non-client tasks and involve your IT adviser.
About the author
Raghav Handa trained as a lawyer, then spent years building legal technology, from enterprise legal products to custom systems for law firms.
Keep reading
- LibraryClaude chat for lawyers: a practical guide to getting good answersA practical guide to using Claude's chat interface in a law practice: setting up a conversation, giving context, checking output and keeping client data safe.3 min read · 17 October 2026
- AIUsing Claude for legal work: what to use it for and what to checkHow lawyers can use Anthropic's Claude for drafting, long-document reading and structuring, plus the data-control questions to check before using client material.3 min read · 17 October 2026
- AIAI agents for law firms: what they are and where they fitWhat AI agents are, how they differ from chatbots, which law firm tasks suit them, and the supervision and confidentiality limits. Includes Notion Custom Agents.3 min read · 17 October 2026
- LibraryHow to write AI prompts as a lawyer: the five-part formulaA simple five-part formula for writing AI prompts in legal work, with before-and-after examples, common mistakes and a checklist for reviewing what comes back.3 min read · 17 October 2026