Explore our AI courses, practical training for non-technical teamsExplore courses →Explore AI courses →
AI AgentsPrompting HabitsClaude Code

AI Agent Hacks That Work (and the Ones to Skip): A Sorted, Checked-Against-the-Docs Guide

Fourteen popular agent habits, sorted by what the tool makers' own documentation says, with a first-week plan for picking three.

TLDR: Most AI agent hacks do one of three jobs: say what good looks like, check the work, or control cost. The ones that hold up are the ones the tool makers’ own documentation also recommends, and the flashy ones add cost or risk without evidence. Pick three, one per job, and measure them by use, persistence and impact.
14agent habits sorted into works, works with a caveat, and skip.
3jobs every surviving hack does: define, check, control cost.
1habit from each job is enough for a first-week pilot.

Share this article

The Short Version

Sorted by evidence, nine of fourteen popular agent hacks hold up, four come with caveats and one (persona backstories) is not worth it. Start with a written finish line, a check the agent runs before it says done, and clearing context between tasks. Keep one job per agent, read everything before you install it, and score your pilot on use, persistence and impact.

Which AI agent hacks hold up (the sorted list first)

A first agent usually goes wrong in a predictable way. It gets a loose instruction, nothing to check itself against and a conversation that keeps growing, and what comes back looks finished without being right. Most popular agent habits are repairs for that one pattern.

Sorted by the job they do, the habits fall into three groups: ones that say what good looks like, ones that check the work, and ones that change what the work costs. We read Anthropic’s documentation, the tool makers’ pages and, where one exists, the original paper for each habit on October 19, 2026. We haven’t run a controlled test, and nothing here is our benchmark.

“Works” means the tool’s own documentation recommends it. “Caveat” means it carries a cost the hype leaves out. “Skip” means we found no support for the usual claim.

Fourteen agent habits, sorted by evidence

HabitEvidence we foundVerdictBest used when
1. Write down what done and bad look likeAnthropic says to give the agent a way to check its work. Threat-and-reward prompts: no supportWorks, without the threatsJobs you repeat
2. A personal glossaryFits Anthropic’s advice that specific instructions are followed more consistentlyWorksJargon-heavy jobs
3. A scored matrix to pick the first agentNo study; the scores are your opinionsWorks as a judgment aidBefore building
4. An interview-built profileAnthropic recommends interviews; instruction files are context, not rulesWorks, kept shortNew agents
5. Sketch the flow firstMatches Anthropic’s explore, plan, then buildWorksMulti-decision jobs
6. A skill that builds skillsSkills are documented; skill-creator already runs testsCaveat: test in a fresh sessionFrequent builds
7. Personas with backstoriesNo support found for better output; costs tokensSkip (keep a one-line role)Rarely
8. Parallel agentsSubagents documented; teams experimental and token-heavyCaveatIndependent tasks only
9. Browser automationPlaywright’s docs warn about untrusted page contentCaveatNo export or API exists
10. Trimming output tokensSelf-reported by one community project; output onlyCaveatAfter bigger levers
11. The cheapest capable modelAnthropic’s costs page says match model to jobWorksRoutine tasks
12. A built-in check and a second reviewerAnthropic’s headline adviceWorksCostly mistakes
13. Hooks and approval gatesInstruction files are advisory; hooks are deterministicWorksSend, pay and delete steps
14. Context hygieneAnthropic’s best-practices and costs pagesWorksLong sessions

Our reading of the pages, not test results.

Nine came through clean. Each says what good looks like, adds a check, or controls what loads into the agent’s context. The four caveats cluster around power and cost, where the claims are biggest, and the one skip is the persona.

The Evidence Rule

A hack has earned its place when someone other than its promoter says it works.

Hacks for defining the job: done, not done and a shared vocabulary

A finance analyst asks an agent to tidy the variance table and gets back a different table with better headings. The instruction had no finish line, so “done” meant whatever the agent decided.

The first habit is to write down both ends before the agent starts: what a finished result looks like and what a miss looks like, with an example of each. Anthropic’s best-practices page makes the same point for coding. Without a check the agent can run, “looks done” is the only signal available, and you become the checking step.[1]

You’ll also see this wrapped in threats and rewards, such as telling the agent it’ll be shut down if it fails. A prompt changes what the model sees on one request. It doesn’t retrain the model, so there’s no learning loop for a reward to feed. The best-known evidence is a 2023 paper that added emotional phrases and reported gains on 45 tasks with models of that time, including ChatGPT and GPT-4.[2] Those phrases were encouraging, none of them threats, the authors call it uncertain whether models grasp emotion, and a plain finish line does the same work.

The Done Before Do Rule

Write down what done and bad look like before the agent does anything.

Done, not done and glossary, filled in: weekly pipeline update for an ops lead

FieldWeekly pipeline update
Done looks likeOne page. Starts with what changed since last week. Every number traces to a row in the CRM export. Ends with up to three questions
Bad looks likeA restated total with no change, a number not in the export, or explanation before the first number
GlossaryAt risk: no logged activity since the last update. Slipped: close date moved later than in last week’s update
Stop and ask whenA column is missing or totals don’t match the previous update

The glossary row is the one people skip. Two lines of definition remove most of the guessing.

The second habit is a glossary for words that mean different things to different people, such as “recent”, “at risk” or “good”. Let the agent ask you what you mean, then store the answers in your instructions file. Anthropic describes that file as context, not enforced configuration, so a glossary guides the agent without guaranteeing anything.[3] Our explainer on CLAUDE.md and MEMORY.md files covers what belongs in it.

The CLAUDE.md vs auto memory passage on the Claude Code memory documentation page, saying Claude treats these files as context, not enforced configuration, and pointing to hooks to block an action.
Capture of Anthropic’s page, October 19, 2026: How Claude remembers your project.

Prompt to paste: build a glossary before you start a job

Before you start the task below, list every word in my instructions that could mean more than one thing. Ask me what I mean by each, one question at a time, then write my answers as a short glossary. Do not guess a definition. If I skip one, mark it OPEN.

Task: [PASTE YOUR TASK]

The OPEN lines are the words to settle with a colleague.

Hacks for shaping the agent: an interview, a sketch and a skill that builds skills

The second group shapes the agent itself, and each habit makes the person do the thinking before the agent does the typing.

The first is to let the AI interview you instead of writing the brief from a blank page. Anthropic recommends this for larger tasks: start with a short prompt, let the agent ask about the hard parts you hadn’t considered, and have it write the spec before building. In Claude Code the interview runs through a tool called AskUserQuestion. In other chat tools you ask for it in words.[1] The same interview can produce a short profile of how you write and work. Keep only lines whose absence would cause mistakes, and skip personality-type sorting, which we found no documentation for.

The second is to sketch the decision flow before building. A marketer who wants an agent to turn a campaign brief into draft emails can draw five boxes on paper first. That follows Anthropic’s explore, plan, then build order, and its page adds a limit: if you could describe the change in one sentence, skip the plan.

Draw the flow first: five boxes before any building

1InstructionsWhat to do, and what done looks like
2Data sourcesWhat the agent may read, and nothing else
3DecisionsWhere it chooses, and where it stops and asks
4The checkHow it proves the job is done
5The humanWho signs off, and what they see

A blank box is the question to answer before building.

The third is a skill that builds skills. A skill is a folder with a SKILL.md file; Anthropic’s docs say only its short description sits in context, and the body loads when the skill is used.[4] Anthropic already ships a skill-creator plugin that writes test cases and compares versions, so you may not need your own. Whichever you use, run the new skill in a fresh session, because the session that built it already knows what you meant. Make a job a skill when it repeats and needs more than a few lines; if it’s three lines, leave it in the instructions file.

Hacks for adding power: parallel agents, a browser and a second pair of eyes

Three habits add power, and risk with it. The first is running several agents at once.

A common assumption is that ten agents finish ten times faster, and it holds only when the pieces are independent. A marketer who gives three competitor pages to three subagents gets three summaries back without cluttering the main conversation. The same marketer drafting messaging from those summaries is doing sequential work, which belongs in one session. Each subagent has its own context window and sends back a summary.[5] Our guide to agents and subagents goes deeper.

Agent teams, where teammates message each other, are the heavier option. Anthropic’s page says they’re experimental and disabled by default, that sequential and same-file work does better in one session or with subagents, and that three to five teammates is the place to start.[6] The costs page puts the overhead at approximately 7x the tokens of a standard session when teammates run in plan mode.[7] Run in parallel only when pieces don’t depend on each other.

Anthropic's illustration comparing subagents, which report results back to a main agent, with agent teams, where teammates share a task list and message each other directly.
Capture of Anthropic’s page, October 19, 2026: Orchestrate teams of Claude Code sessions.

The second habit is browser automation. Playwright’s docs say its MCP server works from the page’s accessibility tree, not pixels, that one tool is RCE-equivalent and should only be enabled for trusted clients, and that page-supplied tools and results are untrusted input.[8] The decision rule is to try an export, an API or a command-line tool first, and use the browser only when nothing else exists, with a check such as rows collected against rows on the page.

The third habit adds scrutiny, and I’d adopt it first. Ask the agent to show evidence before it says it’s done, then have a second agent review in a fresh context. Anthropic says a fresh reviewer isn’t biased toward code it just wrote, and to tell it to flag only gaps that affect correctness, because a reviewer asked to find problems will usually find some.

The Give Claude a way to verify its work section of the Claude Code best practices page, with a tip box about giving Claude a check it can run.
Capture of Anthropic’s page, October 19, 2026: Best practices for Claude Code.

Prompt to paste: ask for evidence before “done”

Before you tell me this is finished: list the checks you ran, show the evidence for each (the numbers and where they came from), and name anything you could not check. If a check failed, say so and stop. Do not call the work complete until the evidence is on the page.

For the reviewer, paste the draft and brief into a new conversation and ask for only the gaps that break a stated requirement.

Last are rules that run themselves. Instruction files are advisory, and for an action that must happen every time or be blocked, Anthropic points to a hook. Outside Claude Code, build an approval step so sending, paying or deleting waits for a named person. Our guide to human-in-the-loop guidelines covers how deep that review should go.

Hacks for keeping the bill down: output, model choice and context

Cost hacks get the loudest claims, so read them slowest. The most quoted is trimming output tokens. A community skill called Caveman does this by telling the agent to answer in clipped prose. Its page self-reports a 65% cut in output tokens on a ten-prompt benchmark, and says in the same place that input and reasoning tokens don’t change, that its rules add input tokens every turn, and that on work that was already terse you can lose money.[9] Output is the visible part of the bill, and in my reading Anthropic’s costs page puts bigger levers first: context size, model choice, thinking effort and moving specialist instructions out of the always-loaded file.

Model choice is the clearest lever. That page says Sonnet handles most coding tasks well and costs less than Opus, and suggests a haiku model for simple subagent tasks, which you set through each subagent’s model field. Names and prices change, so check the current model list and treat “cheapest capable” as a test you run, not a setting you assume.

Model and cost cheat sheet: pick by task, then test

Task typeWhat to useHow to check
Reformatting text into a fixed layout (an HR partner tidying job descriptions)A smaller modelRun five real inputs and compare with answers you’ve already checked
Summarizing long documents (a finance analyst reading contracts)A mid-sized modelCheck every figure and quoted clause against the source
Drafting for a client (a consultant’s proposal)A stronger model plus a human editA named person reads all of it before it leaves

No prices, because they change. Move a task to a cheaper model only after it passes your check.

The third lever is context hygiene. Anthropic calls the context window the most important resource to manage, since performance degrades as it fills. Clear between unrelated tasks, and after two failed corrections clear and write a better first prompt.[1] The costs page adds two more: keep the instructions file under about 200 lines, and remember thinking tokens are billed as output, so lower effort on simple tasks saves cost.

The Manage agent team costs passage on the Claude Code costs documentation page, saying agent teams use approximately 7x more tokens than standard sessions when teammates run in plan mode.
Capture of Anthropic’s page, October 19, 2026: Manage costs effectively.

In my view the cheapest habit is the dullest: start a fresh conversation when the job changes. Our explainer on what drives your AI costs shows why a long conversation costs more with every message.

The one-job rule, and why 3 to 5 is a rule of thumb rather than a law

A popular rule of thumb says to give each agent three to five responsibilities. We found no study behind that number. Anthropic’s engineers advise finding the simplest solution possible and adding complexity only when needed, and note that agentic systems often trade latency and cost for better task performance.[10] So the useful version is one job per agent, split when the job gets crowded, rather than a number.

Four signs show a job is crowded:

  • You can’t write one definition of done, because two parts need different ones.
  • The instructions file keeps growing and the agent starts ignoring parts of it.
  • One part needs data the others shouldn’t see.
  • When something goes wrong, nobody can tell which part failed.
The One Job Rule

One job per agent. Split it when it needs two definitions of done.

Agent job card, filled in: weekly pipeline update

FieldPipeline update agent
The one jobTurn the CRM export into the weekly pipeline update, using the done-and-bad definitions on its brief
InputsThe weekly export and last week’s approved update, nothing else
Tools allowedRead the export, write a draft. No email, no CRM edits, no browsing
The checkLists the rows behind each number; a second agent compares totals with last week
Stop and ask a human whenA column is missing, totals don’t reconcile, or a deal looks like a data error
Owner and reviewOperations lead, at the start of each quarter

The tools row and the stop row do the most protecting. Write them first.

What the agent does, what the person owns, how it gets checked

What the agent doesWhat the human still ownsHow it gets checked
Drafts the update and lists the rows behind each numberDecides which changes deserve attentionThe ops lead spot-checks a few rows before it goes out
Flags moved deals using the glossaryOwns the glossary and changes it as the business changesReviewed at the quarterly job-card review
Compares totals with last weekDecides whether a gap is real or a data errorAn unreconciled total stops the run and goes to the owner

Anything touching a named person or a customer decision keeps a human decision at the end.

This is where the persona habit falls apart. A job card replaces the backstory. A one-line role such as “you prepare the weekly pipeline update for the operations lead” is enough, and we found no evidence that a name and a history improve output, though they do spend tokens. If an agent talks to customers, say it’s an AI rather than inventing a human biography.

Decisions about people are the clearest job not to hand over. Our guide on when not to use AI at work gives a fit test, and for a first build see our practical guide to building an AI agent.

Before you paste anyone's install prompt

Some of the most casual advice in this genre is also among the riskiest: paste this prompt and it will install skills on your computer. A stranger’s prompt can contain instructions or scripts you haven’t read, and an agent that follows them runs with your access.

Anthropic’s Agent Skills documentation says to use skills only from trusted sources, meaning ones you created yourself or got from Anthropic, because a malicious skill can direct the agent to use tools or run code in ways that don’t match its stated purpose.[11] The Claude Code skills page adds that a skill can pre-approve tools and can grant itself broad access, so review that setting first.[4] We found no page on pasted install prompts specifically; this skills guidance is the closest primary source.

The Security considerations section of the Agent Skills documentation, advising readers to use skills only from trusted sources and to audit any skill from an unknown source before use.
Capture of Anthropic’s page, October 19, 2026: Agent Skills overview.

Before you install or paste anything: a five-check list

CheckWhat to look forIf it fails
Read every fileInstructions, scripts and anything it downloadsDon’t install it
Check what it may useTools it can run without asking, such as email, deletion or web accessRemove the permission or skip it
Look for network callsAnything fetched from a web address, which can change after you review itSkip it
Prefer reviewed sourcesYour own work, Anthropic’s, or something your IT team has reviewedAsk IT or security first
Test in a throwaway spaceA folder with no client, employee or financial dataKeep it out of real folders

Our working checklist, not a substitute for your security team’s review.

Treat web pages and tool output as input, not instructions, and check with IT, security and legal before any step touches customer data.

Pick three: a scored first-week plan

Fourteen habits is too many to adopt at once. Pick one from each job: one that defines, one that checks and one that controls cost. A good first three for most people are the done-and-bad brief, the evidence prompt and clearing between tasks. The right three shift by role:

  • Operations lead: done-and-bad brief, job card, second-agent reviewer, because the work repeats weekly.
  • Marketer: interview prompt, evidence prompt, cheapest capable model, because volume is high and tone needs a person.
  • HR partner: glossary, approval gate, job card listing what the agent must not touch, because the work involves people’s data.
  • Finance analyst: done-and-bad brief, evidence prompt, fresh-context reviewer, because every figure needs tracing.
  • Solo consultant: interview-built profile, context hygiene, cheapest capable model, because no one else will catch a miss.

To choose the first job, use the matrix habit. Score each candidate 0 to 2 on five questions: does it repeat, is the finish line clear, is it easy to check, is a miss low-harm, and does it have an owner. The scores are opinions, so the matrix makes them visible and arguable, not settled.

First-agent decision matrix, scored for an ops lead’s list

Candidate jobTotal of 10Read
Weekly pipeline update10Build first
Replies to supplier emails7Sharpen the finish line first
Shortlisting job candidates4Keep with people

Illustrative scores, not data. Bands: 8 to 10 build, 5 to 7 sharpen, 0 to 4 not ready.

A first-week plan, one habit per day

DayDo this
Day 1Choose one weekly job with the matrix and write its done-and-bad brief
Day 2Run the glossary prompt and paste the answers into your instructions
Day 3Add the evidence prompt and run the job on real work
Day 4Try a smaller model and compare it with your checked answer
Day 5Fill in a job card and score the use question below

Five short sessions.

Score the pilot on the lens we use for any AI rollout: use, persistence, then impact. I’d weight impact most heavily.

Pilot scorecard: use, persistence, impact

StageQuestion012
Use (day 7)Did you run each habit on a real job?NoneOne or twoAll three
Persistence (day 30)Still running them without a reminder?NoSomeAll three
Impact (day 30)Can you point to a miss caught or a rework avoided?NoVaguelyYes, with an example

Total 0 to 2: did not stick. 3 to 4: promising. 5 to 6: worth sharing. Not a validated scale.

Teams can start this internally. Expert-led training shortens the learning curve and spreads the setup across a team instead of one keen person, and our corporate workshops cover that. For what to do after week one, see agent pilots worth running this quarter.

Sana Mian
Sana Mian, Co-Founder of Future Factors AI

Sana is an AI educator and learning designer specialising in making complex ideas stick for non-technical professionals. She has trained 2,000+ learners across corporate teams, bootcamps, and keynote stages. Future Factors offers AI Bootcamps, Corporate Workshops, and Speaking & Consulting for businesses ready to adopt AI without the overwhelm.

More about Sana →

Frequently Asked Questions

Do AI agent hacks work in tools other than Claude Code?

The ideas travel and the features don’t. A finish line, a glossary, a check and a one-job card work in any chat or agent tool. Hooks, skills, subagents and agent teams are Claude Code features, where we verified them. We haven’t checked other tools’ versions.

Are agent teams worth the extra tokens?

Sometimes. Anthropic says the extra tokens are usually worthwhile for research, review and new feature work where teammates operate independently, and not for routine or sequential tasks. Since the feature is experimental, start small, with something like a draft review from three angles.

Does threatening or rewarding an AI agent make it perform better?

We found no evidence that it does. A prompt changes one request and doesn’t train the model, and the best-known paper tested encouragement on 2023-era models. To test a phrase on your own work, run the same five real inputs with and without it and compare with answers you’ve checked.

How many jobs should one AI agent have?

As few as keep one definition of done. Split an agent when its instructions keep growing, when parts need different data access, or when you can’t tell which part failed, and merge two only if they run together and share one check.

Is it safe to install skills or prompts someone else wrote?

Not by default. Anthropic advises using skills only from sources you trust and auditing any other before use. Read every file, check which tools it can use without asking, and try it in a throwaway folder with no work data. Ask IT or security before using it on company material.

About This Article

Sources were read on October 19, 2026: Anthropic’s Claude Code, Agent Skills and engineering pages, Playwright’s MCP page, the 2023 emotional-prompt paper and the Caveman project page. Documentation changes often and Caveman’s figures are self-reported, so weigh them as evidence. The verdict table, matrix, job card, cost cheat sheet, install checklist and scorecard are Future Factors working views, not validated models, and we haven’t run these habits through a controlled test. The topic came from a request to sort a popular list of agent tips; we checked each habit against the sources and did not reproduce that list. Features outside Claude Code were not checked. The scenes are illustrations, not client stories. We left out prices, model names and any claim we couldn’t confirm at a primary source.

Sources

  1. Anthropic, “Best practices for Claude Code,” Claude Code Docs. Read October 19, 2026. https://code.claude.com/docs/en/best-practices
  2. Li et al., “Large Language Models Understand and Can be Enhanced by Emotional Stimuli,” arXiv:2307.11760 (2023). Read October 19, 2026. https://arxiv.org/abs/2307.11760
  3. Anthropic, “How Claude remembers your project,” Claude Code Docs. Read October 19, 2026. https://code.claude.com/docs/en/memory
  4. Anthropic, “Extend Claude with skills,” Claude Code Docs. Read October 19, 2026. https://code.claude.com/docs/en/skills
  5. Anthropic, “Create custom subagents,” Claude Code Docs. Read October 19, 2026. https://code.claude.com/docs/en/sub-agents
  6. Anthropic, “Orchestrate teams of Claude Code sessions,” Claude Code Docs. Read October 19, 2026. https://code.claude.com/docs/en/agent-teams
  7. Anthropic, “Manage costs effectively,” Claude Code Docs. Source for the roughly 7x figure. Read October 19, 2026. https://code.claude.com/docs/en/costs
  8. Playwright, “Getting started with Playwright MCP.” Read October 19, 2026. https://playwright.dev/docs/getting-started-mcp
  9. Julius Brussee, Caveman project page, GitHub. Community project; figures self-reported by its author, who also promotes a paid product on the page. Read October 19, 2026. https://github.com/JuliusBrussee/caveman
  10. Anthropic (Erik S. and Barry Zhang), “Building effective agents,” December 19, 2024. Read October 19, 2026. https://www.anthropic.com/engineering/building-effective-agents
  11. Anthropic, “Agent Skills overview,” Claude Platform Docs. Read October 19, 2026. https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview

Psst, Hey You!

(Yeah, You!)

Want helpful AI tips flying Into your inbox?

Weekly tips. Real examples. Practical help for busy professionals.

We care about your data, check out our privacy policy.