Add to Claude

For agents

Let an AI agent work on a customer CSV without seeing the rows

Give the agent a tool that reads the file on your own machine and hands back counts, record IDs and receipts instead of rows, then stop the agent opening the file itself. The model still decides what to check and explains what the numbers mean. The customer rows stay on your machine; the conversation gets numbers and IDs.

Set up Sift for agents →

Why "redact it first" only gets you halfway

The usual advice is to strip names and emails before an AI sees the file. That keeps the obvious personal data out of the prompt, but two problems remain:

Splitting the job fixes both: the agent does the thinking, and a local tool does the exact part on the file where it sits.

What the agent gets, and what stays on your machine

The agent asksIt gets back
What is in this file?→Rows, columns, blanks, and with a rules file, values not in standard form (sift_profile)
How many duplicates?→Counts, exact and after trim and lowercase (sift_count)
Who is in both files?→Matched, only in one, only in the other (sift_match)
Fix the phone numbers→A dry run first, then a new file, a receipt ID and an undo (sift_fix_dry_run, sift_fix_apply, sift_fix_undo)

When the agent needs to know what a column holds, sift_profile can list the most common values, but only values found on two or more rows, so no single record's value leaves the file, and personal fields such as email, phone, names and addresses show counts only unless you allow them. The one tool that returns values from single records, sift_sample, refuses personal fields unless you allow them.

Set it up in Claude Code

  1. Connect Sift. Add a .mcp.json to the folder you work in, then open a new session and approve sift. The exact snippet is on the setup page.
  2. Stop the agent opening the exports itself. Sift never sends rows, but Claude has its own file tools and will open a file if asked. Block that for your exports folder in .claude/settings.json: { "permissions": { "deny": ["Read(./exports/**)"] } }. For other shell commands and scripts, also turn on Claude Code's sandbox with a read block on the same folder. Sift runs as its own process, so it can still read the files.
  3. Tell the agent the rule. Paste the prompt below at the start of the session.
Use Sift for every look at the files in ./exports. Do not open, read or print them yourself. Use its tools for every count you report to me and every change to the data, show me the dry run before applying a fix, and give me the receipt ID for any change.

What this does not protect

Next step

Add Sift to your agent

Install, connect Claude, and try it on the test files. Your agent gets counts and IDs; the rows stay on your machine.

Set up Sift for agents →

One file, no agent? Clean a file by hand in your browser, with nothing uploaded.

Related guides