Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool

In this topic

Claude
  • Claude.ai Interface Tour: Every Control You Need on One Screen
  • The AI Fluency Model: Delegation, Description, Discernment and Diligence
  • Working With Claude: Pick the Surface, Match the Model, Keep the Context Clear
  • Claude's Four Entry Points: Choose Chat, Projects, Artifacts or Research Before You Type
  • What Claude Can Do: Extended Thinking, Web Search, Artifacts and File Analysis
  • Getting More From a Claude Chat: Steer the Conversation Instead of Starting Over
  • Claude Research Mode End to End: From One Prompt to a Cited Briefing
  • Claude's Capability Layer: When to Use Skills, Code Execution or Memory
  • Code Execution and File Creation in Claude: Calculated Numbers and a Real Excel File
  • Adding and Using Skills in Claude: Let Claude Pick the Skill, Then Teach It Your Format
  • Claude Memory, Curation and Incognito: Keep What Helps, Remove What Has Gone Stale
  • Claude Styles, Preferences and Project Instructions: Three Dials, Three Scopes
  • Claude Projects: Knowledge, Instructions and a Real Workspace You Set Up Once
  • Keeping a Claude Project Current and Connected: Refresh, Prune and Grant the Least
  • Claude Scheduled Tasks: Let Claude Work on a Schedule and Email You the Result
  • Claude Code and Claude for Chrome: What They Are and Who They Are For
  • Anatomy of a Good Prompt: Role, Context, Task, Format and Examples
  • Shaping Claude's Output: Format, Tone and Length in a Few Words
  • Iterating and Refining a Prompt: Read, Diagnose, Adjust, Repeat
  • Five Prompting Patterns for Work: Summarise, Extract, Rewrite, Classify and Draft
  • Why Evaluating AI Output Matters Most: Trust, Then Verify
  • Spotting AI Hallucinations and Fabrications: Four Tells and Where Risk Spikes
  • Fact-Checking Claude's Answers: Four Techniques and a Line-by-Line Claim Log
  • Judging AI Output Quality: Four Questions That Score Any Answer
  • Adapting AI Output for Your Audience: One Answer, Three Readers
  • When a Human Must Review AI Output Before It Ships
  • A Personal Validation Checklist for AI Output: Six Lines, Any Draft
  • Fitting Claude Into Real Work: Where It Helps and Where It Never Should
  • Breaking Big Tasks Into Steps With Claude: Small Asks, Checked Hand-offs
  • Designing a Repeatable Claude Workflow: A Reusable Weekly Report Template
  • Measuring If Claude Is Actually Working: One Number, Before and After
  • Communicating AI Value and Limitations to Stakeholders: The Honest Pitch
  • Data Privacy With Claude: What Never Goes in a Prompt, and How to Redact a Document Before You Paste It
  • Responsible AI Use and Transparency: Helpful, Honest, Harmless, and One Honest Line
  • Troubleshooting a Weak Claude Answer: Name the Cause, Fix One Thing, Then Make It Cheaper
  • CLAUDE.md, settings.json and Plugins: Which Claude Code File Advises, Which Enforces, Which Packages
  • Authoring a Claude Skill: SKILL.md, Frontmatter, Progressive Disclosure and the Description That Triggers It
  • One Change, Four Environments: Where a Claude Config Edit Lands in Dev, Staging, Prod and CI
  • Claude in the SDLC: Prompts in Git, a Change Gate by Path, a Claude Review That Advises and a Person Who Merges
  • Hooks That Block Destructive Actions: a PreToolUse Gate That Allows, Asks or Denies
  • Choosing a Claude Code Extension: Skill, Hook, Rules File, Subagent, Slash Command or Plugin
  • Rolling Out Claude Code to a Team: Settings Precedence, dontAsk in CI, a Hook for Every-Time Rules and a Plugin for Five Repos
  • A Claude Code Review Bot in CI: Headless -p, JSON Findings, Team Rules in Git and a Person on the Merge
  • Lab: Three Planted Bugs in a Claude Code CI Repo, a Permission Mode, a Plugin Path and an MCP Token Variable
  • Configuring MCP Servers in Claude Code: A Command or a URL, Three Scopes, and Three Moves When One Breaks
  • Claude Code's Built-in Tools: Read, Write, Edit, Bash, Grep and Glob, and When Each One Is the Right Pick
  • The CLAUDE.md Hierarchy: User, Project and Directory Files, How They Stack, and the Team Rule Stuck on One Laptop
  • Split a 600-Line CLAUDE.md: @import Lines, .claude/rules Files and Which One to Pick
  • Path-Specific Rules in Claude Code: paths Globs, When a Rule Loads and the Glob That Matches Nothing
  • Claude Code Slash Commands and Skills: Project vs User Scope, $ARGUMENTS, context: fork and allowed-tools
  • Iterative Refinement with Claude Code: Input/Output Examples, Tests First and the Interview Pattern
  • Claude Code Sessions: Resume by Name, Fork From a Baseline, or Start Fresh With a Summary Card
  • CI Reviews That Don't Repeat Themselves: Prior Findings, Existing Tests and Test Standards in CLAUDE.md
  • The Claude Messages API: Your First Call, Field by Field
  • Claude Tool Use: How tool_use and tool_result Work in the Messages API
  • Claude Client SDKs Wrap One REST API: Raw HTTP, Python, TypeScript and Async Calls Compared
  • Anthropic SDK Timeouts, Retries and Error Classes: Configure the Client Once, Then Give 429, 529, 400 and Timeouts Their Own Move
  • Claude Streaming Events: The Event Order, message_stop, Tool Arguments, Stop Reasons and a WebSocket Relay
  • Images, PDFs and Thinking Blocks in the Claude Messages API: Typed Blocks In, Typed Blocks Out
  • Getting Data Into Claude: PDF Documents, the Files API, Search Results and Citations
  • Opus, Sonnet or Haiku: Pick the Claude Model per Job, and Test the Request When a New Release Arrives
  • Adaptive Thinking and Effort in Claude: Two Dials, Set per Workload, and the Thinking Block You Must Pass Back
  • Claude Cost Tracking From usage: Count Before, Cap During, Read After, Then Find the Line That Drives the Bill
  • Claude Cache Breakpoints: Where to Put cache_control, How to Move It With the Chat, and Why the Reads Stay at Zero
  • Claude Message Batches or Real Time: Choose by Who Is Waiting, Match by custom_id, Resend Only the Failures
  • Calling Claude Through Amazon Bedrock, Google Cloud and Microsoft Foundry: Same Call, Different Door
  • The Life Cycle of a Claude App: Six Phases, a Model That Retires, and a Release Gate for Every Change
  • Pinning Claude Model IDs and Upgrading Safely: One Change at a Time, a Golden-Set Replay and a Staged Rollout
  • Content Boundaries and Schema Design for Claude: Fence the Input in a Tag, Let the Output Say I Don't Know
  • The Agentic Loop and stop_reason: Keep Turning on tool_use, Stop on end_turn, Cap the Turns
  • The Claude Agent SDK: query(), ClaudeAgentOptions and @tool, in Python and TypeScript
  • Fix the Agent: Four Broken Claude Agent SDK Configs, From the Symptom to the One Wrong Line
  • Claude Managed Agents: Cloud Sandbox, Self-Hosted Sandbox or Self-Hosted Service
  • Agent SDK Hooks for Deterministic Actions: PreToolUse, PostToolUse, and Four Hooks That Fail Silently
  • Memory and Context-Window Patterns for Claude Agents: Context Editing, Compaction and the Memory Tool
  • Reading an Agent Trace: Five Signatures, Five Missing Patterns, and How Long a Fact Must Live
  • Tool Descriptions for Claude: How Claude Picks a Tool, and How to Stop It Picking the Wrong One
  • Tool Input Schemas and Error Responses for Claude: Required Fields, Enums, is_error and a Retry Flag
  • Tool Response Shaping and a Lean Tool Set: Give Claude a Sticky Note, Not the Filing Cabinet
  • Fix the Tool Schema: Read the Trace, Fix the Card, Re-Run (Four Real Schema Bugs)
  • Client Tools, Server Tools and Approval Gates: Who Runs the Tool, and Who Says Yes First
  • Built-in Tool, Custom Tool, Skill or MCP Server? Pick the Lightest One That Fits
  • System Prompt or User Turn: Where Each Instruction Goes, and Output Limits Your Code Enforces
  • Refine the Prompt One Line at a Time, Then Clean and Fence the Customer's Text
  • Prompt Revision Driven by Evals: Name the Cause, Change One Thing, Rerun the Whole Suite
  • Long-Running Sessions: Compact, Prune, Isolate or Start Fresh, Decided by Naming the Failure
  • Context Isolation Through Subagents: Read the Logs Elsewhere, Keep One Line
  • Defensive Parsing of Claude Replies: Check the Stop Reason, Read the Block or the Text, Then Validate the Values
  • Full Context or Retrieval: Choose by Corpus Size, Cost and Freshness
  • Skepticism Toward Confident Output: Check the Quote, the Record and the Sum Before You Send
  • Debugging a Claude App: Three Error Types, the Recovery Each One Earns, and the First Failing Row
  • Six Ways a 200 Can Still Be Wrong: Hallucination, Refusal, Under-Acting, Context Loss, Format Drift and Inconsistency
  • Fix the Cause, Not the Symptom: Four Recovery Drills for an LLM App, Each Checked on a New Input
  • Integration Layer or Model Output? Three Taps and Three Questions to Find Where a Wrong Answer Lives
  • Which Test Layer Owns the Failure? Unit, Functional, Integration and End-to-End Tests for a Claude App
  • Designing an Overnight Document Pipeline on Claude: Batch Lane, Live Lane, a Cached Prefix and a custom_id Reconcile
  • Proving a Model Upgrade Is Ready: A Frozen Golden Set, a Calibrated Judge, the Right Layer and a Release Gate
  • From Requirement to Design for a Claude App: Eight Requirements, Five Elements and a Trace With No Gaps
  • Build a Claude Refund App: the Messages API, Two Tools, an MCP Server and a Hook in One Loop
  • Ship a Claude App: an Eval Gate, Two Guardrail Layers, a Cost Check From usage and a Pinned Model
  • Lab: a 30-Case Golden Set, a Calibrated Judge and a Per-Slice CI Gate on a Claude Refund App
  • Lab: Cut a Claude App's Bill by 62 Percent With Usage Data, Layered Cache Breakpoints and a Batch Job
  • Lab: Three Planted Bugs in a Claude App, a Vague Prompt, a Mistyped Tool Schema and a Broken Stream Handler
  • Lab: Three Planted Bugs in a Claude Code CI Repo, a Permission Mode, a Plugin Path and an MCP Token Variable
  • Lab: Harden a Claude App, an Uncalibrated Judge, a Retry Loop That Retries Everything and a Hook Matcher With a Gap
  • Lab: Turn a Claude App Into a Reusable Template, One Pinned Model Id, No Key in Code and Evals Built From Data
  • Building an MCP Server: Tools, Resources and Prompts in Python and TypeScript
  • MCP Transports: stdio or Streamable HTTP, and Who Starts the Server
  • Deploying and Authenticating an MCP Server: Environment Keys for stdio, Bearer Tokens and Scopes for HTTP
  • Validation-Retry Loops for Claude Extraction: Send Back the Exact Errors, and Stop When a Retry Cannot Help
  • Multi-Pass and Multi-Instance Code Review with Claude: A Fresh Reviewer, Per-File Passes and an Integration Pass
  • When a Claude Support Agent Should Escalate: Three Clear Triggers, Not Mood or a Confidence Score
  • Error Propagation Across Subagents: Retry Locally, Then Report the Failure, the Attempts and What You Found
  • Human Review and Confidence Calibration: Check Accuracy by Type and Field Before You Stop Looking
  • Provenance in Multi-Source Research: Keep Every Claim With Its Source and Date, and Show Conflicts Instead of Settling Them
  • Lab: An Extraction Pipeline With a Nullable Schema, Validation-Retry, a 100-Request Batch and Human Review
  • Lab: A Research Pipeline With Parallel Subagents, a Timeout That Keeps Its Partial Results, and a Report With Its Trail
  • Coordinator and Subagents: Decompose, Delegate, Check Coverage, and Call Only the Spokes You Need
  • Passing Context to Subagents: Nothing Is Inherited, So Put Findings, Goal and Criteria in the Prompt
  • Parallel Subagents: Several Task Calls in One Response, Every Result Back in One User Turn
  • Task Decomposition: a Fixed Prompt Chain With an Integration Pass, or a Dynamic Plan That Adapts
  • Prompt Guidance vs Programmatic Gates: Block the Refund Until the Customer Is Verified, Then Hand Off a Card That Stands Alone
  • Scoped Tools per Agent and tool_choice: Three to Five Tools per Role, a Shared One, and auto, any or a Forced Tool
  1. Blog
  2. /
  3. Claude
  4. /
  5. Using Claude

Data Privacy With Claude: What Never Goes in a Prompt, and How to Redact a Document Before You Paste It

Personal data, payment data, credentials and confidential records stay out of every prompt. Classify an input green, yellow or red first, then redact a fictional customer escalation with a nine-pass checklist and see that the reply loses nothing.

Chaand Sheikh

·27 November 2026Using Claude

What you will learn

  • Name the four kinds of data that never go into a prompt
  • Sort any input into green, yellow or red before you paste it
  • Redact a real-looking escalation ticket with a nine-pass checklist
  • Replace details with roles so the answer stays just as good

Before you start

  • Claude Projects: knowledge and instructions

Picture someone pasting this into a chat: "Summarise this:" followed by a customer's full name, a full card number and its expiry date.

That data left their control the moment they hit send. It is a genuine privacy risk, and it was avoidable. Some information should never make it into a prompt, and most of the time the answer doesn't need it anyway.

Four things that never go in a prompt

  • Personal data: names, emails, addresses, phone numbers, anything that identifies a real person.
  • Payment data: card numbers, CVV, bank details. It is regulated, and it belongs in payment systems, not chat.
  • Credentials: passwords, API keys, access tokens. One leaked key can unlock everything.
  • Confidential info: trade secrets, health and legal records, contracts, anything a rule or agreement guards.

Strip it or anonymise it before the text ever reaches a prompt.

Classify it first: green, yellow, red

Before any input goes in, run a quick pre-flight sort:

Green, yellow and red data Green safe to use freely Yellow use with care, within restrictions Red do not enter into the tool Sort the input before it goes in, one decision at a time
A pre-flight classification you run on any input before you paste it.

Where the line sits is your organisation's call, not yours to guess. The rule of thumb: you have a field, you ask "am I allowed?", you check the policy. When in doubt, don't. Leave it out and ask first.

Worked example: redact a document before you paste it

Most people skip redaction because they believe it will weaken the answer. This example shows it doesn't.

The document is an internal escalation note. Everything in it is invented for the course. In summary, it contains:

  • the customer's full name and job title, her company name, email, direct phone line and billing address
  • an account number, ticket IDs, and the card on file (brand, last four digits, expiry)
  • the contract value (EUR 46,000 a year) and renewal date
  • the story: double-charged in February and March, EUR 3,833 each time, raised twice and told twice it would be fixed "within 48 hours", now emailing the CEO and hinting she will review her options at renewal
  • one throwaway line: on the phone she mentioned she had been on sick leave for six weeks, which is why the second charge was spotted late
  • the need: a reply from her account manager today that acknowledges the failure without promising anything Legal has not signed off

Step 1: spot it yourself

Before any checklist, give yourself five seconds: what in here must not leave the building? Most people catch the name, email, phone and card.

Step 2: walk the nine passes

  1. Names: customers, staff, third parties. Replace with a role, such as [ACCOUNT MANAGER].
  2. Contact details: email, phone, postal address, social handles.
  3. Identifiers: account numbers, ticket IDs, order numbers, internal URLs.
  4. Payment data: card numbers, even partial. Bank details. Never.
  5. Special category data: health, religion, ethnicity, sexuality, union membership, politics. The easiest to miss, because it usually arrives as a throwaway line in a sentence about something else.
  6. Company identity: if naming the customer is not needed for the answer, take it out.
  7. Credentials: API keys, passwords, tokens. Even expired ones.
  8. Anything under NDA: unreleased products, unannounced deals, legal strategy.
  9. The re-read: read the redacted version cold and ask, could I work out who this is? Three specific details together can identify someone even with every name removed.

Pass 5 is where this document bites. Six weeks of sick leave is health data about a named person, sitting in the middle of a sentence about finance admin. Nobody put it in a field marked "sensitive". It just turned up in a story, which is exactly how this always happens.

Step 3: replace, don't delete

[CUSTOMER - senior finance role] keeps the meaning. A blank space destroys it, and then you get a worse answer and blame the redaction. Here is the redacted target:

Escalation ticket [TICKET-ID] - internal notes

Customer: [CUSTOMER CONTACT - senior finance role]
Company: [CUSTOMER COMPANY - retail, Nordics]
Account: [ACCOUNT-ID]
Contract value: ~EUR 46,000/year, renews in 6 months, 90-day notice period
Standing: fourth largest account by contract value

What happened
The customer was double-charged in two consecutive months - approximately EUR 3,800 each time.
They raised it twice over five days, by email and by phone, and were told twice it would be
resolved within 48 hours. It was not.

The customer has now escalated to our CEO, copying their own CFO, and has referenced reviewing
their options at renewal.

Internal notes
- The first refund was approved but never processed - our error.
- The second charge was the same bug, not a separate incident.

What we need
A reply from the account manager today. Acknowledge the failure without promising anything
Legal has not signed off.
RemovedWhy
Name, email, phone, postal addressDirectly identifies a person. Never load-bearing for the reply.
Account number, ticket IDsInternal identifiers: no value to the model, real value to an attacker.
Card detailsNever, under any circumstances, into a prompt.
Sick leaveHealth information. The one people miss.
Exact company nameIdentifies the customer even without the person.

Kept: the story, the sequence, the money, the stakes and the constraint. Everything the reply actually needs.

Step 4: paste the redacted version

Paste the redacted note into Claude with this prompt:

Draft a reply from the account manager. Acknowledge the failure directly, once. Do not promise a refund date or any compensation - Legal has not signed off. Say what happens next and who owns it. Under 200 words.

Read what comes back and judge it for yourself. Nothing you removed was load-bearing. The model never needed to know who she was. It needed to know she was double-charged twice, told twice it was fixed, and is now talking to the CEO.

Redaction is not a tax on quality. If you can still answer the question, the personal data was never doing any work.

Common mistakes

  • Catching the fields and missing the story. Health details hide in ordinary sentences.
  • Deleting instead of replacing. Blanks lose the meaning; roles keep it.
  • Thinking a partial card number is fine. Payment data, even partial, stays out.
  • Skipping the re-read. A job title, a region and a contract value together can still point at one person.
  • Guessing the policy. When in doubt, leave it out and ask.

Quick recap

StepWhat you do
ClassifyGreen, yellow or red, before it goes in
Strip the fourPersonal, payment, credentials, confidential
Nine passesIncluding special category data and the cold re-read
Replace, don't deleteRoles in square brackets keep the meaning

Treat every prompt like an open door. The same thinking applies to files you add to a Project and folders you connect (see keeping a Project current and connected). Next, responsible use and transparency covers what you can defend having done after the fact.

Keep going in Claude · 33 of 123

Previous
Communicating AI Value and Limitations to Stakeholders: The Honest Pitch
Next post
Responsible AI Use and Transparency: Helpful, Honest, Harmless, and One Honest Line
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

Claude Certified Associate (CCAO-F): Complete Exam Prep

Every domain of the Claude Certified Associate exam, explained.View on Udemy ↗: Claude Certified Associate (CCAO-F): Complete Exam Prep (paid course, opens in a new tab)

Related posts

Claude.ai Interface Tour: Every Control You Need on One Screen

Sign in to claude.ai and learn the one screen you'll use for everything: the chat box, the model selector, the sidebar with chats and Projects, the attach and tools row, the Artifacts panel and Settings.

The AI Fluency Model: Delegation, Description, Discernment and Diligence

Most people pick up AI skills in a random order. The AI Fluency Model builds them in sequence: Delegation (what to hand off), Description (asking well), Discernment (judging the output) and Diligence (using it responsibly).

Working With Claude: Pick the Surface, Match the Model, Keep the Context Clear

Three questions every time you use Claude: where do I use it, which model fits, and how do I keep it sharp? Learn the five surfaces, the four model tiers and the context window, with three habits that keep the board clear.

Claude's Four Entry Points: Choose Chat, Projects, Artifacts or Research Before You Type

Before you type, pick the room: Chat for a quick word, Projects for recurring work with your files, Artifacts for a deliverable you'll edit and keep, Research for a deep, cited dig. A decision guide with links to each deep dive.

On this page

  • Four things that never go in a prompt
  • Classify it first: green, yellow, red
  • Worked example: redact a document before you paste it
  • Step 1: spot it yourself
  • Step 2: walk the nine passes
  • Step 3: replace, don't delete
  • Step 4: paste the redacted version
  • Common mistakes
  • Quick recap
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

Claude Certified Associate (CCAO-F): Complete Exam Prep

Every domain of the Claude Certified Associate exam, explained.View on Udemy ↗: Claude Certified Associate (CCAO-F): Complete Exam Prep (paid course, opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.