
Use AI to Build a Desktop Tool That Does What You Want It To

Grok Bot Can Call for You: Pricing, Availability, Appointments, and Quotes

How to Use AI with Sensitive Data You Cannot Put in the Cloud
You have files that contain PHI, PII, or other confidential information you will not put into a cloud AI. You still want help from Claude or Grok. Use the AI where it is safe (planning and building the tool) and use the AI to build a local tool for the parts where the raw data must stay on your machine. You then run that tool yourself on the real files.
A Claude or Grok account and the desktop app. Create a folder on your computer named “quarantine” for the real sensitive files. Turn off “help improve the model” in your settings.
| Step | What you do | Where |
|---|---|---|
| 1 | Describe the outcome and get the coding prompt | Normal chat |
| 2 | Open Code, choose an empty desktop folder, paste the prompt | Code tab |
| 3 | Define the file structure, then build and test on matching synthetic data | Same Code session |
| 4 | Run the finished tool yourself on the real files in the quarantine folder | Your computer |
Step 1: Describe the outcome in the normal chat
Open the regular Claude or Grok chat. Describe what you want the finished tool to do. Use only the shape of the data (column names, file type), never real values. Ask it to write the exact prompt for the coding tool.
Step 2: Open Code and paste the prompt
If you have only used the Chat before and not the Code feature:
Open the Claude desktop app. Click the Code button (the icon that looks like a code bracket).

Choose an empty folder on your Desktop (not the quarantine folder). Paste the prompt you got from the chat and press Enter.

Step 3: Define the file structure, then build on matching synthetic data
The coding tool cannot see your real files, so it cannot invent a matching structure on its own. Synthetic data is the safe stand-in: a small made-up file that has the same column headings as your real file but contains only fake values. The AI uses this fake file to write and test the tool. Once the tool works on the fake file, you run it yourself on the real file in the quarantine folder. The AI never sees the real data.
You need one intermediate step that gives the coding tool only the column headings (no real values). Two clear ways work for most people:
In the Code session, ask:
Copy the command it gives you. Open Terminal on your Mac (or Command Prompt on Windows), navigate to the folder that holds a copy of the real file structure, run the command, and paste only the header row back into the Code session. Then say:
Open the real file, copy only the header row into a new spreadsheet, add three made-up rows with fake values, and save it as test-clients.xlsx. Drop that file into the project folder before you start the Code session. Tell Code: “Use only test-clients.xlsx. It has the same columns as the real file. Do not open any other files.”
Either way, the coding tool only ever sees the synthetic file. Stay in the same session while it builds and tests. If the first run fails, type a plain sentence:
Step 4: Run the finished tool yourself on the real files
When the synthetic test produces the summary you expect, copy the tool to your machine. Point it at the quarantine folder yourself and run it. Look at the real output on your screen. If you need the AI’s help with a result, describe the issue in words (“the count is higher than I expected”) instead of pasting the actual line. Only counts or cleaned summaries go back.
Move that file to the quarantine folder without opening it. Do not paste the value. Trace it by date and session name only, then tighten the rule so the coding tool only sees the synthetic test file.
What this looks like for your work
A healthcare practice can use the same steps to produce a monthly no-show count or yearly patient summary from the real appointment or session file. A financial practice can produce an overdue-invoice list or a yearly client review from the real client file. In both cases the AI builds and tests the tool on a synthetic file that has the same columns. You run the finished tool on the real file in the quarantine folder and only bring back the finished reports or counts.
Once the tool is correct, you can run it anytime without opening a new AI session. The sensitive data stays on your machine the entire time.


