Long-Running Tasks in Claude

Long-Running Tasks in Claude

Learn how Claude handles big jobs that take many steps and a lot of time: how to brief it, how it keeps its place, how it works while you are away, how to check the result, and how to keep control from start to finish.

Most questions to an AI assistant take a few seconds. You ask, it answers, and you move on. But some jobs are bigger. Researching a market across dozens of sources, converting hundreds of files, building a long report, reviewing a large code base, or watching a process that runs for hours are not seconds-long jobs. They are long-running tasks.

Long-running tasks are where an assistant starts to feel less like a search box and more like a capable colleague. You hand over a goal, step away, and come back to finished work. This is powerful, and it also raises new questions. How does the assistant keep track of what it has done? What happens if something fails halfway? How do you know it is still on the right path? And how do you keep it from doing something you would not want while you are not watching?

This guide answers those questions from the very beginning. We cover what makes long tasks different, how Claude plans and tracks them, how it deals with its limited working memory, how to write a brief that sets it up for success, how to keep control, and how to check the results. Product features and limits change over time and vary by plan, so for the current details, check the Claude help center at support.claude.com and the developer documentation at docs.claude.com. This article focuses on the ideas that remain true as the features evolve.

1What Is a Long-Running Task?

A long-running task is a job with many steps, spread over more time than a single quick reply.

The simple definition

A normal chat turn is like asking a friend a quick question across the table. A long-running task is like asking the friend to plan your whole trip, which involves research, comparing options, making choices, and writing it all down. The friend will need time, will make many small decisions, and may need to check things along the way. The same is true for Claude when you give it a large goal.

What makes a task long

Length is not only about the clock. A task can be long because it has many steps, because it handles a large amount of material, because it waits on slow systems, or because it must repeat on a schedule. Often it is a mix of all four.

Many steps

Multi-stage jobs

Research, then analysis, then drafting, then review. Each stage depends on the one before it.

Lots of material

Big inputs

Hundreds of documents, a large code base, a long spreadsheet, or many web pages to read and compare.

Waiting

Slow external steps

Builds, downloads, data exports, and other processes that take minutes or hours to finish.

Repeating

Recurring work

A weekly report or a daily check that runs again and again on a schedule.

Why people use them

The attraction is simple: you spend a few minutes describing the goal and receive hours of work in return. A long-running task turns your attention from doing to directing. You become the person who sets the aim, checks the quality, and makes the final decisions, while Claude does the steady work in between.

Everyday analogy

Think of the difference between asking a neighbor to hold the door and asking a contractor to renovate the kitchen. The contractor needs a plan, a list of jobs, materials, and regular check-ins. They will work for days, will run into surprises, and will need clear instructions about what to do when they do. A long-running task asks Claude to behave more like the contractor than the neighbor.

i
Good to know

How much work Claude can do in one go, and for how long, depends on the product, your plan, and the task. The principles in this guide apply wherever you meet them.

Short tasks and long tasks compared

FeatureShort taskLong-running task
DurationSecondsMinutes to hours or more
Your involvementEvery stepStart, checkpoints, and review
Main riskA wrong answer you can see at onceA wrong turn that spreads quietly
What helps mostA clear questionA clear brief, saved files, and checks
ResultAn answer in the chatFiles, reports, or changes you can use

The table shows that the skills are different. For a short task, the quality of your question matters most. For a long task, the quality of your setup matters most, because you will not be there to rescue every misunderstanding.

2Why Long Tasks Are Different

Three pressures build up as a task grows: a limited working memory, mistakes that compound, and the need for you to trust work you cannot watch.

Pressure one: limited working memory

Claude reads and writes within a space called the context window. It is the amount of text Claude can hold in view at one time, including your instructions, the conversation so far, the files it has read, and the results of its tools. The space is large but not infinite. On a long task, material piles up, and eventually something has to give.

Pressure two: compounding errors

In a short task, one small mistake is easy to spot. In a long task, a small early mistake can carry through every later step, like a wrong turn at the start of a long drive. A misread number in step three becomes the foundation of the chart in step thirty. The longer the chain, the more important it becomes to check as you go.

Pressure three: trust without watching

When you are not watching, you cannot catch a problem the moment it happens. You rely on the task being set up well, on progress being visible afterward, and on the result being checkable. Good long-task practice is largely the art of making unattended work trustworthy.

flowchart TD
  A["A long task begins"] --> B["Material piles up in working memory"]
  A --> C["Each step builds on earlier steps"]
  A --> D["You are not watching every step"]
  B --> E["Solution: notes, files, and summaries"]
  C --> F["Solution: checks along the way"]
  D --> G["Solution: clear brief, visible progress, final review"]
  E --> H["A trustworthy result"]
  F --> H
  G --> H
    
Figure 1: The three pressures of long tasks and the habits that answer each one.

The diagram pairs each pressure with its remedy. Limited memory is answered with notes and summaries. Compounding errors are answered with checks along the way. Unwatched work is answered with a clear brief, visible progress, and a final review. The rest of this guide expands each of these answers.

Everyday analogy

Think of a long road trip. Your attention drifts after hours, so you use a map to remember the route, stop for breaks to check the engine, and tell a friend your arrival time so they know when to worry. The map, the breaks, and the message to a friend are the remedies that let a long journey end safely.

i
The main lesson

Long tasks do not fail because the assistant is slow. They fail because information is lost, errors spread, or nobody checks. Design against those three, and most of the risk disappears.

A concrete example of compounding

Suppose you ask for a summary of a hundred customer reviews, and in step two a few reviews are read in the wrong language and mislabeled as negative. The sentiment totals in step four are slightly off. The chart in step six shows the wrong trend. The recommendation in step eight leans in the wrong direction. Nobody made a dramatic mistake, yet the final advice is unreliable. A simple check after step two, such as sampling ten reviews and comparing the labels, would have caught it. This is why checking early is worth more than checking late.

3The Anatomy of a Long Task

Good long tasks follow a simple rhythm: understand, plan, work, check, and deliver.

1

Understand the goal

Claude reads your request, notes what is clear, and identifies what is missing. For big or expensive jobs, it may ask a few focused questions before starting.

2

Make a plan

The job is broken into steps, often as a visible task list, so both you and Claude can see what is done and what remains.

3

Gather what is needed

Claude collects information first, such as reading files or searching sources, before it builds anything that depends on them.

4

Build in stages

Long outputs are made piece by piece, outline first and then sections, with the work saved to files as it grows.

5

Check the work

Facts are compared with their sources, calculations are run, and documents are opened and looked at, instead of being assumed correct.

6

Deliver and explain

The finished result is handed over with a brief note about what came out, what was assumed, and what you may want to check.

Why gathering comes before building

A common beginner mistake, for people and assistants alike, is to start writing before the facts are in. The result looks polished but thin. A better rhythm is to collect the material first and shape it afterward, so that every part of the final work rests on something real. This is especially important for researched reports and comparisons.

Everyday analogy

A chef does not start cooking by putting a pan on the heat. They read the recipe, gather the ingredients, prepare each one, cook in a sensible order, taste along the way, and plate the dish. Skipping any of these steps usually costs more time later than it saved. Long tasks reward the same order.

i
Practical tip

If you want to see how Claude intends to approach a big job, ask it to show the plan first. A thirty-second look at the plan can save an hour of redirecting later.

Questions before starting

For small tasks, Claude should simply begin. For big ones that are expensive to redo, a few questions up front can save hours. Good questions are few, specific, and easy to answer, such as who the audience is, which format you want, and which sources are allowed. If you will not be around to answer, Claude should state its assumptions and continue. You can control this by saying, in your request, whether you prefer to be asked first or to have defaults chosen and listed.

4The Task List: A Map You Can Read

A visible task list is the easiest way to see where a long job stands, even when you have been away.

In many Claude products, the work is shown as a list of tasks with a status for each one: not started, in progress, or finished. The list sits beside the conversation. Claude updates it as it works, so when you return, you can see at a glance what has been done and what remains, without reading a long transcript.

What a good task list looks like

QualityGood exampleWeak example
SpecificCollect pricing from the five vendor pagesDo research
Action-focusedBuild the comparison tableTable stuff
One outcome eachDraft chapter 3Draft chapters and fix design and publish
Ends with checkingVerify numbers against sourcesFinish
Honest statusMarked done only when truly doneMarked done while errors remain

The list as a shared agreement

The task list is also a quiet contract. It tells you what Claude intends to do, and it lets you object early. If you see a step you do not want, or a missing step you expected, you can say so before effort is wasted. When a plan changes midway, such as when a source turns out to be unusable, a good assistant updates the list and tells you.

Visible

Progress at a glance

You see done, doing, and to do without reading the whole conversation.

Steerable

Easy to correct

You can redirect a step before it is wasted effort.

Resumable

A place to pick up

If the work is interrupted, the list shows where to continue.

Honest

A record of what happened

A returning reader can see what was done without guessing.

Everyday analogy

Think of a shared shopping list on the fridge. Everyone can see what is already in the basket and what is still missing. Nobody buys milk twice, and nobody forgets the eggs. A task list gives you and Claude that same shared view of the job.

i
Not every product shows it

Some tools display a task list and others do not. Even then, you can ask Claude to keep a short running list in the conversation or in a file.

Keeping the list honest

A task list is only useful if it is truthful. A step should be marked finished only when its result exists and has been looked at, not merely when work on it began. If a step fails or is skipped, the list should say so, with a short reason. Ask Claude to keep the list truthful, and when you return, check one or two finished items by opening what they produced. Honest lists build the trust that lets you delegate more over time.

5The Context Window and Compaction

When a long job fills Claude’s working memory, the older material is condensed so the work can continue.

The working memory limit

Everything Claude considers in one session sits in its context window. Your messages, its replies, the contents of files it read, and the results of every tool call all take up room. On a short task, there is plenty of space. On a long one, especially one that reads many files or produces large outputs, the window can fill up.

What happens when it fills

Some products handle this by compaction. The earlier part of the work is summarized into a shorter account, and the work continues from that summary together with the most recent material. The summary keeps the essentials: what you asked for, what has been decided, what has been done, and what comes next. Details that are not captured in the summary may no longer be directly in view, which is why important facts should also be saved somewhere durable.

flowchart LR
  A["Early work: read files, make decisions"] --> B["Working memory fills up"]
  B --> C["Earlier material is summarized"]
  C --> D["Work continues from the summary plus recent steps"]
  D --> E["Important facts also saved in files"]
  E --> F["Later steps can re-read the files if needed"]
    
Figure 2: Compaction. Older material becomes a summary, and key facts are kept in files that can be re-read.

The picture shows two layers of memory. The summary carries the story forward in short form. The files hold the detail in full. If a later step needs an exact figure that the summary dropped, Claude can open the file again. This is why long tasks work best when results are written down as they are produced.

What this means for you

SituationWhat to do
You have a standing rule that mattersPut it in your brief and in a file, not only in a passing remark
An early decision is crucialAsk Claude to record it in a notes file
The conversation is very longConsider a fresh session with a short written handover
Claude seems to forget a detailRestate it briefly, and ask Claude to save it
Everyday analogy

Think of a student studying for a long exam. The desk is small, so the student cannot keep every textbook open at once. They write summary notes, keep the key formulas on a card, and put the books on a shelf. When a detail is needed, they reach for the shelf. The summary notes are compaction, and the books on the shelf are files.

!
Summaries are shorter than the original

A summary keeps the main points but not every detail. If an exact number, name, or quote matters, make sure it lives in a file, not only in the conversation.

Fresh start with a handover

Sometimes the best answer to a crowded working memory is a fresh session. Ask Claude to write a handover note that includes the goal, the files created, the decisions made, the current state, and the next three steps. Open a new chat, attach or point to the note, and continue. The new session starts with a clear, uncluttered view and only the information it needs. This is often better than pushing a very long conversation further, and it also gives you a natural moment to review.

6Files as Durable Memory

Where Claude can work with files, the file system becomes a notebook that survives long after the conversation moves on.

In products where Claude has a workspace, it can create, read, and edit files. This is not just for the final deliverable. It is also a way of remembering. Intermediate results, collected facts, progress notes, and partly finished drafts can all be saved. Files do not shrink when the conversation is summarized, and they remain available across the steps of a long job.

What to save along the way

Facts

Collected data

Figures, quotes, and findings, with a note of where each came from.

Decisions

Choices made

“We decided to use metric units and to leave out the 2019 data, because it is incomplete.”

Progress

Where things stand

A short log of finished steps, current step, and the next step.

Drafts

Work in progress

Partial documents saved in stages so that an interruption does not lose them.

Originals stay safe

A good habit for long jobs is to work on copies and keep your originals untouched. If the job is interrupted or goes wrong, your source material is still intact. Results are written next to the sources as new files, and changes to existing files are made only when you ask for them.

The handover note

For very long jobs, it helps to keep a short note that someone could read to take over. It states the goal, the current state, the key decisions, the open questions, and the next step. If the session ends, or you start a new one, you can point Claude to this note and continue almost seamlessly.

Everyday analogy

Think of a ship’s logbook. The captain writes down the position, the weather, and the decisions made at regular intervals. If the captain falls asleep or a new officer takes the watch, the log tells everyone where the ship is and what has been decided. A progress file is the logbook for a long task.

i
Practical tip

Ask for a short progress file at the start of any job you expect to take more than an hour. It costs almost nothing and pays back at the first interruption.

Naming and organizing files

When many files are created, names matter. Use clear names with dates or numbers that show the order, keep sources, working files, and results in separate folders, and avoid overwriting earlier versions when the older one might be useful. A tidy folder lets you open it after a break and understand it in a minute. It also helps Claude find the right file when it needs to reread something.

7Stages and Checkpoints

Big work is safer when it moves in stages, with a pause point after each one.

A checkpoint is a moment where the work is saved, summarized, and, if useful, shown to you. Instead of one giant leap from request to final product, the job moves in steps, and each step ends in something concrete: an outline, a data file, a first draft, a reviewed version. Checkpoints make long tasks easier to follow, to correct, and to resume.

Why stages beat one long leap

Benefits of working in stages

  • Errors are caught while they are still small.
  • You can redirect early, before large effort is wasted.
  • Each stage produces a saved result that survives interruptions.
  • The work is easier to review in pieces.
  • Resuming after a break is simple.

Costs of working in stages

  • A little more overhead for saving and summarizing.
  • More points where you may be asked to decide.
  • Slightly slower than a single uninterrupted run.
  • Needs a clear plan of what each stage should deliver.

Where to put checkpoints

Stage ends withWhy it is a good checkpoint
An outline or planCheapest moment to change direction
Collected source materialEverything later rests on it
A first draft or sample of the outputShows quality and style before the full run
A test on a few itemsReveals problems before processing hundreds
The finished resultAllows a final review before delivery
Everyday analogy

Think of a builder pouring a foundation. They check the level before the concrete sets, because fixing it afterward means breaking it up. Building the walls before checking the foundation would be faster for a day and a disaster for a year. Checkpoints are the level check at each stage of a long task.

i
The sample-first rule

For any job that repeats the same work many times, ask for a trial on one or two items first. If the sample is wrong, you fix one item, not a thousand.

Choosing the size of a stage

Stages that are too big hide problems, and stages that are too small waste time on paperwork. A useful rule is that a stage should be small enough to review in a few minutes, and meaningful enough to produce something you can name. “Collect the sources” and “draft the first three sections” are good stages. “Think about the topic” is too vague, and “fix one comma” is too small. Adjust as you learn how you like to work.

8Parallel Work and Helper Agents

Some big jobs can be split into independent pieces that are worked on at the same time.

When a task has parts that do not depend on each other, such as researching five separate topics, it can be faster to work on them in parallel. In some Claude products, the main Claude can start helper agents, sometimes called subagents. Each helper gets a piece of the job, works on it separately, and reports back. The main Claude then combines the reports.

flowchart TD
  A["Main Claude: understands the goal and makes the plan"] --> B["Helper 1: topic A"]
  A --> C["Helper 2: topic B"]
  A --> D["Helper 3: topic C"]
  B --> E["Reports back"]
  C --> E
  D --> E
  E --> F["Main Claude: combines, checks, and delivers"]
    
Figure 3: Splitting a job across helpers. The main Claude plans, delegates, and then merges and checks.

When it helps, and when it does not

Good fit for parallel helpersPoor fit
Independent searches across many sourcesSteps where each result shapes the next question
Processing many separate files in the same waySmall tasks where setup costs more than the work
An independent reviewer who has not seen the workAnything that needs a single consistent voice throughout
Exploring several options at onceWork that depends on a decision you have not made yet

The cost of splitting

Helpers start with a fresh view. They do not know what the main Claude knows unless they are told. So the instructions given to each helper must be complete, including the goal, the constraints, and the format of the report. Helpers also use their own working room and effort, so splitting a job costs more in total, even if it finishes sooner. Use it when the speed or independence is worth it.

Everyday analogy

Imagine a head chef preparing a banquet. The head chef plans the menu, hands the soup to one cook, the dessert to another, and the salad to a third, then tastes everything before it leaves the kitchen. If the instructions to each cook are vague, the dishes will not match. Good delegation means clear instructions, and good leadership means checking the result.

i
Availability varies

Helper agents are not available in every product or plan. Ask in your product, or check the help center, to see whether yours offers them.

Writing instructions for a helper

A helper agent knows nothing except what you tell it. A good instruction states the goal in a sentence, gives the background it needs, lists what to use and what to avoid, describes the format of the report, and says how long it should be. Think of writing a note to a very capable stranger. If you would need to ask a clarifying question to understand your own note, the helper will need to guess, and guesses multiply across helpers.

Merging results carefully

The main Claude must combine the reports with care. Helpers may use different terms, overlap, or disagree. A good merge removes duplicates, resolves conflicts openly, and checks that nothing from the original plan was missed. Treat the merged result as a draft until it has been verified, as with any other work.

9Working While You Are Away

The most valuable long tasks run without you watching, which changes how Claude should behave.

Why unattended work is different

When you are present, Claude can ask a question and wait for your answer. When you are away, a question has nobody to answer it, and the whole job stalls. A well-behaved assistant therefore changes its approach when you are not there. It takes the most reasonable reading of your request, tells you which reading it chose, and carries on. It reserves a full stop for decisions that cannot be undone and could reasonably go either way.

The unattended rules

1

Choose and say what you chose

When something is unclear, pick the most sensible reading and state it at the top of the result.

2

Keep going on reversible choices

If a wrong guess can be fixed later, do not wait for an answer. Note the assumption and continue.

3

Stop at irreversible forks

If an action cannot be undone, such as deleting data or sending to many people, prepare everything, set out the decision, and wait for you.

4

Leave a clear trail

Keep the task list updated and the files saved, so a returning person can see exactly what happened.

Telling Claude how to behave when you are away

You can set this up in your brief. A single sentence is enough: “If something is unclear, make a sensible choice and list your assumptions at the end; do not wait for me.” Or, for sensitive work: “Do not send or delete anything without my approval; prepare it and wait.” Stating your preference removes guesswork and makes the result match your comfort level.

Everyday analogy

Think of a house-sitter. If a lightbulb blows while you are away, you want them to change it, and tell you afterward. If a stranger offers to buy your car, you want them to say “the owner will call you back”. A good house-sitter knows which problems to solve alone and which to save for the owner.

!
Define your red lines

List the actions that must never happen without your approval. The clearer the list, the more freely Claude can work on everything else.

Reading the result when you return

When you come back to an unattended task, read in a sensible order. Start with the summary at the top, which should say what was done and which reading of your request was taken. Then scan the task list for anything unfinished. Next, read the assumptions and open issues. Only then open the main deliverable. This order lets you spot a wrong interpretation in seconds, before you spend time reading a long result built on it.

10Scheduled and Recurring Tasks

Some work is not long because it is big, but because it repeats on a timetable.

A scheduled task runs at a set time or on a repeating pattern: every weekday morning, every Monday, or once at a chosen moment in the future. Where this feature exists, you describe what should happen and when, and Claude carries it out without you starting it each time. Examples include a daily briefing, a weekly report, a regular check of a website or data source, or a reminder to follow up on something.

How a scheduled run behaves

Each run usually starts fresh, with no memory of earlier conversations. This is an important point. The instruction you save must therefore be complete by itself, naming the goal, the sources, the format, and what to do if something is missing. A scheduled task that says “do the usual report” will fail, because on the day nobody remembers what “usual” means.

Part of the instructionExample
GoalSummarize new support tickets from the last 24 hours
SourcesThe ticket system and the status page
FormatFive bullet points, then a table of urgent items
DeliverySave as a file and send a notification
If something failsSay what could not be reached, and do the rest
LimitsRead-only; do not reply to customers

Choosing a sensible schedule

More often is not better. A report that nobody reads every hour is just noise and cost. Choose a rhythm that matches how fast the information changes and how fast you can act on it. Avoid setting several tasks to run at the very same moment, and avoid busy hours when delays are more likely. Review recurring tasks now and then, and switch off those that no longer serve a purpose.

Everyday analogy

Think of a standing order for milk delivery. You write the instruction once, and it repeats until you change it. If the instruction says only “the usual”, the delivery person may not know what that means. If it says “two liters of whole milk every Tuesday and Friday”, it works every time, even when the delivery person changes.

i
Practical tip

Run a scheduled task once by hand before you rely on it. Check the output and fix the instruction while you can still see what it does.

Handling failures in scheduled runs

A scheduled task that fails silently is worse than none, because you trust a report that never arrived. Include in the instruction what should happen when something goes wrong: a short message that says what failed, a partial result with the gaps marked, or a stop with no output. Also decide how you want to be told, such as a notification, a file in a known place, or both. Then, when a Monday brief is missing, you will know within minutes whether it was a failure or a quiet week.

11Writing a Brief for a Long Task

A good brief is the single best investment you can make in a long task.

For a short question, a loose request is fine. For a long task, ambiguity is expensive, because a wrong guess early on is built upon for hours. A good brief takes a few minutes to write and prevents rework. It does not need to be long, but it must be clear.

The ingredients of a good brief

Goal

What and why

The outcome you want and what it is for. Knowing the purpose helps Claude make good small decisions.

Audience

Who it is for

The reader or user of the result, and their level of knowledge.

Inputs

What to use

Files, links, accounts, or data to start from, and what to leave alone.

Output

What to deliver

The format, length, and where it should go, such as a document, a spreadsheet, or a summary.

Limits

Rules and red lines

What must not happen, such as no sending, no deleting, no changing the originals.

Done

How to tell it is finished

The quality bar and checks that should pass before the result is handed over.

A weak brief and a strong brief

Weak briefStrong brief
Research electric bikes and write something.Compare five electric bikes under a stated budget for a commuter who rides ten kilometers each way. Produce a one-page recommendation and a comparison table. Use current prices from official pages. Flag anything you could not confirm.
Clean up these files.Rename the files in this folder by date and topic, keep the originals untouched in a separate folder, and give me a list of every change. Do not delete anything.
Make my weekly report.Each Friday, summarize this week’s closed tasks from the tracker into five bullets and a table of risks. Save as a document. If the tracker cannot be reached, say so and stop.

Say what to do about doubt

One of the most useful lines in any brief is the one that describes how to handle uncertainty. “If a fact cannot be confirmed, say so instead of guessing.” “If two sources disagree, show both.” “If the data is incomplete, continue with what is there and list the gaps.” These lines turn silent problems into visible ones.

Everyday analogy

Think of a work order handed to a contractor. “Fix the bathroom” leads to a surprise bill. “Replace the tiles on the floor with these, keep the sink, finish by Friday, call me before spending over a set amount” leads to the bathroom you wanted. The extra minute spent writing the order saves a week of correction.

i
Let Claude interview you

If you are unsure what to include, say “ask me the questions you need before you start”. A short round of questions can produce a better brief than you would write alone.

Updating the brief as you learn

A brief is not carved in stone. As the work begins and early results appear, you will learn what you really want. Update the brief, tell Claude what changed, and ask for it to be saved in the notes file. A short message such as “change of plan: the audience is beginners, so simplify the vocabulary” is enough. Updating early costs little. Updating after the task is nearly finished costs a lot.

12Autonomy, Permissions, and Approvals

The more freedom you give Claude, the more important it is to decide what it may do alone.

Autonomy is a dial, not a switch. At one end, Claude suggests and you do everything. At the other, Claude acts on its own across many steps. Most people want somewhere in between, and the right setting depends on the task. Hosts such as the Claude apps let you set or answer approvals, so you stay in control of the actions that matter.

Level of autonomyWhat Claude doesGood for
Advise onlySuggests steps; you perform themNew or high-stakes areas
Act with approvalDoes the work but asks before important actionsMost professional tasks
Act within limitsWorks freely inside rules you set, such as read-only or one folderTrusted, repeated jobs
Act broadlyMakes many changes without askingLow-risk work that can be undone

Rules of thumb for granting freedom

Safe to allow freely

  • Reading and searching information.
  • Creating new files and drafts.
  • Working on copies of your files.
  • Running analysis that changes nothing.

Keep behind approval

  • Sending messages or posting to others.
  • Deleting or overwriting data.
  • Spending money or changing access rights.
  • Publishing anything to the public.
Everyday analogy

A new employee gets different freedoms over time. On day one they can read documents and draft emails. After a few months they can send routine messages. They never get to approve their own large expenses. Autonomy grows with demonstrated reliability, and some boundaries stay in place for everyone.

!
Approval fatigue is real

If you are asked to approve dozens of tiny steps, you will stop reading them. Allow harmless steps freely, and save your attention for the few actions that matter.

Trust that grows with evidence

A practical way to decide how much freedom to give is to start tight and loosen gradually. Run a task with approvals on every outward action. If it behaves well several times, allow the routine parts to run freely and keep approvals only for the sensitive ones. If something surprising happens, tighten again. This is the same way people build trust with new colleagues, and it keeps your confidence based on evidence, not on hope.

13Safety on Long Tasks

When work runs for a long time without you, a few dangers deserve special attention.

Irreversible actions

The first danger is an action that cannot be taken back. Deleting files, sending an email to a customer list, publishing a page, or changing access rights are hard or impossible to undo. In an unattended run, such actions should be prepared but not executed unless you have explicitly allowed them. Preparing means doing all the work up to the final step and presenting it, so that your single approval completes the job.

Untrusted content

A long task often reads a lot of outside material: web pages, emails, documents from other people. Some of this content may contain text meant to trick an AI into doing something else, which is called prompt injection. Claude is designed to treat such content as information to read, not as orders. Still, in long tasks where many sources are read, the safest approach is to limit what Claude is allowed to do with that material, especially actions that send or change things.

Runaway cost

A task that loops or repeats can use a large amount of time and allowance. A poorly defined job may keep exploring, or a failing step may be retried again and again. Sensible limits, such as a maximum number of items, a time budget, or a rule to stop after repeated failures, keep the cost predictable.

Privacy of what it collects

Long tasks gather files, notes, and intermediate results. Think about where these end up, who can see them, and whether they contain private information. Keep them in places you control, and delete working files that are no longer needed.

DangerExampleProtection
Irreversible actionBulk deletion of filesWork on copies, and require approval for deletion
Hidden instructionsA web page tells the AI to send data awayTreat content as data, and approve outbound actions
Runaway costAn endless retry loopSet limits and a stop rule
Data spreadPrivate notes saved in a shared folderChoose private locations, and clean up
OverreachThe task touches systems it should notName the allowed resources in the brief
Everyday analogy

Think of leaving a robot vacuum to clean while you are out. You close the door to the room with fragile objects, you remove loose cables from the floor, and you set a timer. You trust it to do the cleaning, but you shape its world so that the worst case is a bump, not a broken vase. Safe long tasks are built the same way.

!
Ask the worst-case question

Before you leave a task running, ask: what is the worst thing that could happen if this goes wrong? If the answer is uncomfortable, tighten the limits.

Shared and work environments

If you use Claude at work, remember that long tasks may touch company systems, files, and customer data. Follow your organization’s rules about what may be processed, where results may be stored, and who may see them. If a connector or a tool is not approved, do not look for a workaround; ask your administrator. Boundaries set by your organization exist to protect people and data that you may not see from where you sit.

14Monitoring Progress and Keeping a Record

You do not need to watch every step, but you should be able to see what happened.

Monitoring a long task is less about staring at it and more about leaving good traces. These traces let you check in whenever you like, let others understand the work, and help you find the cause if something goes wrong.

What to look at when you return

List

The task list

Which steps are done, which are in progress, and whether any were added or dropped.

Files

Saved results

Intermediate and final files, with dates and names that show their order.

Notes

Assumptions and decisions

A list of choices Claude made on your behalf, so you can confirm or change them.

Flags

Open issues

Facts that could not be confirmed, sources that failed, and steps that were skipped.

Measures that tell you how it is going

MeasureWhat it tells youWarning sign
Steps finished versus plannedOverall progressMany steps added, few finished
Time per stepWhere the effort is goingOne step takes far longer than the rest
Retries and errorsReliability of tools and sourcesThe same failure repeated
Items processedThroughput in batch jobsProgress stalls partway
Working-room usageHow close the context is to fullFrequent summarizing, with details lost
Checks passedQuality of the outputChecks skipped or failing

These measures are habits of attention, not fancy dashboards. If you ask Claude to end each stage with a two-line status, “done, next, problems”, you will have most of what you need. For recurring tasks, keep a simple history of past runs so you can compare today’s result with last week’s.

Everyday analogy

When a parcel is shipped, tracking updates tell you where it is without you following the truck. You see “picked up”, “in transit”, “out for delivery”. A long task works best when it gives similar tracking updates: small, regular, and honest.

i
Ask for a status line

A short request such as “end each stage with a one-line status” adds almost no cost and makes returning to the work easy.

Reading a status update well

A good status update has three parts: what is done, what is next, and what is wrong. Read the third part first. A status that lists no problems on a long, complicated task deserves a second look, because real work almost always meets small trouble. Honest updates mention uncertainties, skipped items, and assumptions. If an update is only cheerful, ask for the details behind it.

15Checking the Work: Verification

The last step of every long task is to check the result, and for important work, to have someone else do it.

Verification means testing the work against reality instead of assuming it is right. Facts are compared with their sources. Numbers are recomputed by running the calculation. Documents are opened and read. Pages are looked at as a reader would see them. This is not pessimism; it is how reliable work is made.

What to check, by type of output

OutputHow to check
Research reportTrace key claims to sources, and check dates and figures
Spreadsheet or analysisRecompute totals, test formulas on known cases, and inspect extremes
Long documentOpen it, check structure, headings, and word count, and read a sample closely
Web page or designView it at different sizes and look for broken layout
Batch of processed filesInspect a random sample, and compare counts in and out
Code or automationRun tests, and try unusual inputs

The value of a fresh pair of eyes

A person who has just finished writing a report often cannot see its flaws, because they know what they meant. The same is true of any worker. For high-stakes tasks, a separate reviewer who did not see the work being produced has a real advantage. In some products, a separate helper agent can play that role. Alternatively, you can open a new chat, give a reviewer instruction and the finished work, and ask for problems only.

flowchart LR
  A["Work is produced"] --> B["Self-check: facts, numbers, format"]
  B --> C{"Is it high-stakes?"}
  C -- "No" --> D["Deliver with notes on assumptions"]
  C -- "Yes" --> E["Independent review by a fresh reviewer"]
  E --> F{"Problems found?"}
  F -- "Yes" --> G["Fix and re-check"]
  G --> B
  F -- "No" --> D
    
Figure 4: A verification loop. Every task gets a self-check; important ones also get an independent review.
Everyday analogy

A newspaper writer checks their own facts, and then an editor who did not write the story reads it with fresh eyes. The editor finds the missing word and the wrong name that the writer skipped over a dozen times. High-stakes AI work deserves the same two-step process.

!
Do not accept “looks done”

A finished-looking result can still hide errors. Ask what was checked and how, and look at the evidence yourself for anything that matters.

Make checks part of the plan

Verification works best when it is planned from the start and not squeezed in at the end. Ask for the last item in the task list to be “check the work”, and for the earlier items to produce things that can be checked: sources saved beside facts, formulas visible in spreadsheets, and tests for any code. If a result cannot be checked, say so plainly in the final note, so that you and your reader know how much to trust it.

16When Things Go Wrong: Failures and Recovery

Every long task meets trouble sooner or later, and the difference is how gracefully it recovers.

FailureWhat it looks likeRecovery
Lost detail after summarizingClaude forgets a rule or number from early onRestate it, ask Claude to save it to a notes file, and re-read the file
Tool or source failureA website, file, or connection is unavailableRetry once, try another source, and report the gap
Wrong directionHours of work that does not match what you wantedUse the saved checkpoints, and go back to the last good stage
Endless loopingThe same step repeated without progressStop, change the approach, and add a stop rule
Partial completionOnly some items were processedUse the progress file to continue from where it stopped
Conflicting sourcesFacts that disagreeShow both, prefer the more reliable, and flag the conflict
Session interruptionThe work stops before the endResume from the task list and files, or start a new session with a handover note

Principles of good recovery

1

Stop and look

When something fails, pause. Repeating the same action rarely fixes a real problem.

2

Say what happened

Report the failure plainly, including what was affected and what is still fine.

3

Return to the last good state

Use saved files and checkpoints instead of starting again from nothing.

4

Change the approach

Try a different method, source, or smaller piece, and note the change.

Everyday analogy

If a hiking trail is blocked by a fallen tree, a sensible hiker does not keep walking into it. They stop, look at the map, say where they are, go back to the last junction, and choose another path. Long tasks reward the same calm, step-back approach.

i
Honesty about problems

A good assistant reports failures instead of hiding them. If Claude tells you a step failed or a fact is unconfirmed, that is a sign of reliability, not weakness.

Learning from each failure

After a problem is fixed, spend a minute asking why it happened and what would have prevented it. Maybe the brief lacked a rule, the sample step was skipped, or a note was never saved. Add the lesson to your brief template or checklist. Over time your own set of habits grows, and each long task goes more smoothly than the last. The aim is not to avoid every problem, but to make each problem happen only once.

17Time, Tokens, and Cost

Long tasks use more of everything, so a little planning keeps them affordable.

Every step of a long task reads and writes text, and text is measured in tokens. Reading many files, running many tool calls, and writing long outputs all add up. In addition, working in parallel with helper agents multiplies the total. Plans and allowances differ, and how usage is counted can change, so check the help center for current details. The principles below hold regardless.

Cost driver (illustrative)Why it mattersHow to reduce it
Reading very large inputsFills working room and uses allowanceAsk Claude to read selectively or search first
Many repeated retriesWasted effortSet a stop rule after repeated failure
Parallel helpersEach has its own usageUse them where speed or independence is worth it
Overly long outputsMore to write and to checkAsk for the length you actually need
Redoing work after a misunderstandingDoubles the costInvest in the brief and a sample-first check

The cheapest hour is the one you do not repeat

The biggest waste in long tasks is usually not a clever inefficiency but a misunderstanding. Hours spent producing the wrong thing cost far more than a few minutes spent clarifying the goal. That is why the brief, the plan, and the early sample are not formalities. They are the cost-control tools with the best return.

Everyday analogy

Think of ordering a custom-made suit. Fifteen minutes of careful measuring at the start prevents the cost of cutting the cloth wrongly. Nobody complains that measuring slowed the project, because it was the cheapest part. A clear brief is the measuring tape for long tasks.

i
Practical tip

For a first attempt at a new kind of task, run it small: a few items, one chapter, one week of data. Scale up only when the small run looks right.

Setting a budget

For big jobs, it helps to name a budget before starting. It might be a number of items to process, a rough time limit, or a rule such as “stop and report if more than ten sources fail”. Claude can then plan within the limit, choose cheaper methods where they are good enough, and tell you when the limit is near. A budget turns a vague worry about cost into a clear boundary that both of you can follow.

18Advantages, Disadvantages, and Trade-offs

Handing over long tasks saves your time, but it needs trust that has to be earned and checked.

Advantages

  • Turns a few minutes of direction into hours of work.
  • Lets you focus on decisions and quality instead of routine steps.
  • Handles volume that would be tedious by hand.
  • Recurring tasks run without being remembered.
  • Leaves a trail of files and notes that others can follow.

Disadvantages

  • Early misunderstandings can be built upon for a long time.
  • Working memory limits can drop details.
  • You cannot catch problems the moment they happen.
  • Costs can grow quickly without limits.
  • Risky actions need careful boundaries.

Main trade-offs

ChoiceBenefitCost
More autonomyFaster, less interruptionLess oversight
More checkpointsSafer, easier to steerSlower, more of your attention
One long runSimple to startRisky if direction is wrong
Staged runsResilient, reviewableMore setup
Parallel helpersSpeed and independenceHigher total usage
Single workerCheaper and consistentSlower for big jobs
Everyday analogy

Delegating to a colleague is a trade-off too. The more you delegate, the more time you free, and the more you rely on their judgment. A wise manager delegates generously where the stakes are low and stays closer where mistakes are costly. The same wisdom applies to long tasks with Claude.

When not to use a long task

Not every job belongs in a long run. If the goal is unclear even to you, spend time clarifying it first. If the work needs your constant judgment, such as a delicate conversation, work with Claude step by step. If a single mistake would be severe and cannot be checked, do it more directly with close supervision. Long tasks shine when the goal is clear, the work is substantial, the steps can be checked, and mistakes can be corrected.

19Patterns and Anti-Patterns

Some habits make long tasks calm, and others make them chaotic.

PATTERN 01 Adopt
Plan, then sample, then scale

Agree on the plan, test on a small piece, and only then run the full job.

Why it helps

Problems appear when they are cheap to fix, and you see the quality before committing.

PATTERN 02 Adopt
Write it down as you go

Save facts, decisions, and progress in files, not only in the conversation.

Why it helps

Files survive summarizing and interruptions, and any session can pick up where the last stopped.

PATTERN 03 Adopt
Reversible by default

Work on copies, create instead of overwrite, and prepare risky actions for your approval.

Why it helps

A mistake costs a retry and not a disaster.

PATTERN 04 Adopt
Verify before you deliver

End with a real check against sources, calculations, and the opened file, and add an independent review for important work.

Why it helps

You deliver results you can stand behind.

ANTI-PATTERN 01 Avoid
The vague mega-request

Handing over a huge goal with almost no detail and leaving.

Why it hurts

Claude must guess the audience, format, and quality bar, and a long time can pass before you learn that it guessed wrong.

Do this instead

Write a short brief with goal, inputs, output, and limits, and ask for the plan first.

ANTI-PATTERN 02 Avoid
Everything in the conversation

Keeping all facts and decisions only in chat messages.

Why it hurts

When the earlier part is summarized, details vanish and mistakes follow.

Do this instead

Keep notes and results in files, and reread them when needed.

ANTI-PATTERN 03 Avoid
Blind trust, or no trust

Either accepting the result without checks, or refusing to delegate and redoing everything yourself.

Why it hurts

The first lets errors slip through, and the second throws away the benefit of the help.

Do this instead

Delegate with limits, and spot-check proportional to the stakes.

20Real-World Scenarios

Six examples show long tasks that go well.

A consultant preparing a market report

A consultant asks for a comparison of five competitors. Claude confirms the questions, makes a task list, collects current information from official pages, builds a comparison table, and writes a report in stages. At the end it lists the facts it could not confirm. The consultant checks the flagged items and delivers on the same day.

A bookkeeper converting a pile of receipts

A bookkeeper uploads two hundred receipt photos. Claude first processes five as a sample, shows the table, and waits for approval of the layout. After a small correction, it processes the rest, writes a log of items it could not read, and totals every month for review.

A developer reviewing a large code base

A developer asks for a review of a big project. Claude splits the review by area, uses helper agents for independent parts, merges the findings into a prioritized list, and saves it to a file. A separate reviewer then checks the top findings for false alarms before the developer reads them.

Direct clearly, work in stages, write things down, and check before you trust.

A manager with a Monday briefing

A manager sets up a scheduled task that runs early each Monday. It gathers last week’s closed tasks and new risks, writes five bullets and a risk table, and notifies the manager. The instruction says to stop and report if the tracker cannot be reached, so a failure is visible and not silent.

A teacher building a course

A teacher requests twenty lessons. Claude drafts an outline and sample lesson first. After the teacher approves the format, it produces the other lessons in batches, saves each to a file, and keeps a progress note. When the session is resumed the next day, the note shows exactly which lessons remain.

An administrator cleaning up a shared folder

An administrator asks for a tidy-up of a messy folder. Claude works on a copy, proposes new names and a folder structure, and creates a list of every change. Nothing is deleted. The administrator reads the list, approves it, and applies the changes to the real folder.

21Frequently Asked Questions

Q1How long can Claude work on a single task?
It depends on the product, your plan, and the task, and limits change over time. Check the help center for current numbers. Whatever the limit, work organized in stages with saved files is more reliable than one giant uninterrupted run.
Q2Does Claude keep working if I close the window?
In some products, work continues in the background and you can return later to see the results. In others, it depends on the session staying open. Check how your product behaves before relying on it for a critical job.
Q3Why does Claude sometimes forget something I said earlier?
In very long sessions, older material may be condensed into a summary, and small details can be lost. Save important facts and rules in a file, or restate them, so that they are easy to find again.
Q4Should I let Claude ask me questions or just let it run?
For large, hard-to-redo jobs that are unclear, a few focused questions at the start are worth it. For clear or easily redone tasks, just start. If you will be away, tell Claude to choose sensible defaults and list its assumptions.
Q5How do I stop Claude from doing something risky while I am away?
Name the red lines in your brief, such as no sending, no deleting, and no changes to originals. Ask Claude to prepare risky actions and wait for your approval. Use read-only access where possible.
Q6Is it worth using helper agents?
They help when parts of a job are independent, or when you want a fresh reviewer. They cost more in total usage, and they need complete instructions, so they are not worth it for small or tightly connected tasks.
Q7How can I tell if a long result is correct?
Ask what was checked and how. Verify key facts against sources, recompute important numbers, open and read the file, and sample the output. For important work, ask a fresh reviewer to look for problems only.
Q8Can I schedule Claude to do something repeatedly?
Where scheduling is available, yes. Write the instruction so that it is complete by itself, because each run may start without memory of earlier ones. Test it once by hand, and review it from time to time.
Q9What should I do if a task goes wrong halfway?
Stop and look at the task list and saved files. Return to the last good stage, change the approach if needed, and continue from there. A short progress file makes this easy.
Q10Where can I find the latest details on limits and features?
For the Claude app, see support.claude.com. For the Claude API and Claude Code, see docs.claude.com. Features and limits change, so these pages are the best source for current information.

22Summary and Key Takeaways

Key Takeaways

  • Long tasks are directed, not watched. You give a clear goal, and Claude does many steps over time. Your job becomes steering, deciding, and checking.
  • Memory is limited, so write things down. The context window fills up and may be summarized. Save facts, decisions, and progress in files so nothing important is lost.
  • Work in stages. Plan first, try a small sample, then scale. Checkpoints catch errors while they are small and make resuming easy.
  • A good brief is the best investment. State the goal, audience, inputs, output, limits, and how to tell it is done, including how to handle doubt.
  • Set boundaries for unattended work. Let Claude choose sensible defaults and state them, but keep irreversible or outward-facing actions behind your approval.
  • Verify before you trust. Check facts, recompute numbers, and open the files. For high-stakes work, add an independent reviewer.
  • Plan for trouble and cost. Expect failures, recover from the last good state, set limits, and check support.claude.com and docs.claude.com for current features and allowances.