More in Research tools & tests.
Make a UK tax research agent from a folder of HMRC manuals with Claude Code
Claude Code answered a UK tax exam question from scraped HMRC manuals in about 5 minutes, scoring about 2.5 of 3 by the author's grading.
Result: WorkedTool: Claude CodeLevel: Advanced
Outcome
Using scraped HMRC manuals and legislation plus a CLAUDE.md that launches parallel subagents, Claude Code answered an ATT exam question in about 5 minutes, earning roughly 2.5 of 3 marks by the author's grading. Claude Code first wrote a scraper in a few minutes that downloaded the tax legislation and HMRC's Corporation Tax and Personal Tax manuals, and the CLAUDE.md was refined over a few rounds of chatting with Claude Code itself. The lost half mark came from missing the "UK or EEA state" part of a company residency rule; by comparison, the author says, even Opus used on its own got the first question completely wrong.
Evidence: Screenshots or logsThe source shows screenshots, a transcript or the AI's output.
WorkedEvidence: Screenshots or logsPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
Recreated prompt
The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.
The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.
Here's a task I'd like your help with. Read it all the way through before you start. Goal: Answer this UK tax question using the tax laws and HMRC manuals in this folder. Check with me first: What's the question, and do I want a short answer or a full working? What I'll give you: - The question - A folder with the UK tax legislation and HMRC manuals - Instructions for how you should work (for example a CLAUDE.md file) Rules: - Search the documents in the folder and base the answer on them. - Split the research across parallel helpers, for example corporate, personal tax, current rates and anti-avoidance. - If something is missing or unclear, ask me instead of guessing. - Cite the sections you rely on. This is research, not professional advice. Output: A structured answer with calculations and references to the sources. You'll know it worked when: the answer is backed by specific sections I can check.
Try this in:
Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Here's a task I'd like your help with. Read it all the way through before you start. Goal: Answer a UK tax question using only the legislation and HMRC manuals in this folder, with citations a professional could check. Quick check first: tell me if anything below is missing or unclear. Inputs (fill in or confirm): - The question, with the facts (dates, amounts, residency) - The folder of legislation and HMRC manuals - Short answer or full working - Tax year(s) involved Rules: - Search the folder first; cite the exact Act section or manual reference (e.g. a BIM or CG paragraph) for every step. - Separate what the law says from HMRC's interpretation in the manuals. - State assumptions about missing facts and how the answer changes if they're wrong. - Don't rely on memory for rates or thresholds; take them from the folder for the right tax year. - Flag areas where professional advice is needed. If you get stuck: If the folder doesn't cover the point, say so plainly instead of filling the gap from general knowledge. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords. Verify before you finish: Re-open each cited paragraph and confirm it says what you quote. Output: Answer first (2–3 sentences), then the working with citations, then assumptions and open questions. Done when: every conclusion traces to a cited paragraph in the folder.
AI tool
Source
- Posted
- by Martin Alderson
- Last checked
- Method:
- How we verify
https://martinalderson.com/posts/building-a-tax-agent-with-claude-code/
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Research tools & tests
Spend a week asking Copilot Vision for help on a Windows 11 PC
Over a week of tests, Copilot Vision named the wrong mic, gave a dead link, couldn't turn on dark mode and misread a spreadsheet.
FailureCopilotEvidence: Article or interviewEverydayView CaseTest ChatGPT, Claude and Gemini on Georgia school discipline questions and find risky advice
The chatbots explained federal law clearly, but five of the 12 answers were flagged as potentially harmful and none consistently referred parents to a lawyer.
PartialChatGPT +2Evidence: Described by posterEverydayView CaseTry to fill out a SNAP application with ChatGPT agent and Claude Cowork
Propel had ChatGPT agent and Claude Cowork fill SNAP forms; both found the sites but guessed answers and couldn't finish alone.
FailureChatGPT agent +1Evidence: Screenshots or logsAdvancedView CaseCheck which sources Perplexity cites when shopping for a cat water fountain
Shopping for a cat fountain, a Reddit user ran 15 Perplexity queries; 11 of 16 advice-style sources cited had affiliate disclosures.
WorkedPerplexity +1EverydayView CaseTest 65 AI vision models on a rescue puppy's breed mix against a DNA test with OpenRouter
Justin Poehnelt tested 65 models on OpenRouter against a puppy's DNA test; Gemini won, but most picks missed the actual breeds.
PartialOpenRouter +1Evidence: Screenshots or logsEverydayView CaseCompare ChatGPT, Claude and Gemini on three risky PC problems
Gemini gave the safest PC advice in all three tests, while ChatGPT and Claude each got a safety answer wrong.
PartialChatGPT +2Evidence: Screenshots or logsEverydayView Case
Similar cases
Find links to content with Project Mariner (no links returned)
Project Mariner found the requested content but didn't return the links, which the poster said made it not very helpful.
FailureProject MarinerEvidence: Described by posterAdvancedView CaseCreate an interactive elevator-pitch course with Manus
Manus researched elevator pitching and built a complete multi-module course website; a second prompt added quizzes and videos.
WorkedManusEvidence: Article or interviewAdvancedView CaseTest five web tasks with Project Mariner
In a test of 5 tasks, Project Mariner found YouTube view counts but failed the other four, including sending email.
PartialProject MarinerEvidence: Shown on videoAdvancedView CaseRun async code-research benchmarks with a coding agent
Claude Code found six more Python Markdown libraries on its own, benchmarked all seven and wrote a report with charts.
WorkedClaude CodeAdvancedView Case

