Files and code-backed analysis

Home Tools Platforms Claude Files and code-backed analysis

Supply documents and distinguish reading their contents from running code to analyze them.

Conversation & research · Documented · Documentation checked 2026-10-04

Claude apps, projects, and Cowork; Claude Code and Claude Platform are separate environments.

File support varies by format and size. Cloud code execution and file creation must be enabled for current Artifacts and skills.

The worked example is illustrative and has not been tested in a signed-in product account.

What it does and how it connects

Supply documents and distinguish reading their contents from running code to analyze them.

Uploading supplies a document; code execution enables calculations and file creation in the supported environment. Current Artifacts depend on cloud code execution and file creation being enabled. A model can describe a spreadsheet without having correctly computed every value in it.

Walkthrough

Use the product named in the access panel. The steps below combine documented controls with the editorial example.

  1. Upload a small supported file and state the task and relevant sections.
  2. Ask Claude to inventory accessible content before summarizing or calculating.
  3. If analysis needs execution, confirm that the necessary capability is enabled.
  4. Open the resulting file or table and compare it with the input.

Worked example

Upload a fictional workshop attendance table and ask for a summary by event. Include one missing value and one duplicate so you can see whether Claude notices them. The desired result is an explained calculation, not an invented clean data set.

Using only the attached table, group attendance by event type. First list missing values and duplicate records. Show how you handle them and provide a table of totals. If you run code, explain the transformation and make the output inspectable. Do not infer attendance for missing rows.

Inspect and verify the result

Calculate one group independently. Check row counts before and after filtering, units, and generated-file contents. An execution transcript showing a command ran still does not establish that the calculation matched your intent.

Limits and troubleshooting

File format, extraction quality, and usage limits vary. A scanned or complex document may need a cleaner export. If code execution is disabled, ask for a reviewable method instead of accepting a claim that code was run.

Data, permissions, and actions

The supplied document is processed in the selected account and workspace. Avoid uploading unrelated personal data. Generated outputs and copies have their own sharing risks; keep them private until their contents are checked.

Projects, chat search, and memory

Organize source knowledge and inspect what Claude recalls from earlier work.

Explore Projects, chat search, and memory

From reports to an editable briefing

Build a private Artifact from a bounded source set and a verified argument.

Explore From reports to an editable briefing

A bounded Cowork preparation task

Use an eligible agent to prepare a workshop pack while preserving original files.

Explore A bounded Cowork preparation task

Evaluations: does the system do the job?

Create representative tests for quality, tool behavior, refusal, escalation, and the effects of a change.

Explore Evaluations: does the system do the job?

Sources and verification

Documentation checked 2026-10-04. Examples are illustrative unless described otherwise.

Upload files to Claude · Anthropic

Artifacts and current editing surfaces · Anthropic

Share this page