Use Claude to fill HMRC forms from local calculations
Giuseppe Santoro had already used Claude Code to write Python calculations for income and capital gains. The remaining difficulty was working through HMRC's questions and entering values. His records covered stocks, mentoring, newsletter revenue and savings interest.
Original prompt
Shared by the source author. See source notes for context.
Claude, why does this field matter? What does this mean?
Reach people exploring AI agents
See placements →What happened
HMRC fields filled from local data, interactive explanations and a reusable skill for a future return; no separate unattended submission described.
Reported by Giuseppe SantoroHow the agent did it
- Prepare local income calculations and supporting records.
- Connect Claude Code to the browser through Playwright MCP.
- Read and fill HMRC fields while discussing unclear questions.
Where a person stepped in
Santoro stayed involved, asking spoken questions about fields and their applicability.
Giuseppe Santoro had already used Claude Code to write Python calculations for income and capital gains. The remaining difficulty was working through HMRC's questions and entering values. His records covered stocks, mentoring, newsletter revenue and savings interest.
He connected Playwright MCP to Claude Code so the agent could navigate the browser while retaining access to local files. Earlier browser approaches lacked access to his calculations and supporting data, leaving him to copy information between environments. With the bridge in place, he asked Claude to open the HMRC form, read its questions and fill answers from local income data.
Santoro describes completing the form work in a few hours spread across several days. He remained involved through conversation, including spoken questions about what individual fields meant and whether they applied to his situation. The published prompt excerpt records that explanation step, rather than a complete instruction to submit a return.
He converted what he learned into a reusable Claude Code skill for the next financial year. The demonstrated result is browser form filling with local context and interactive explanations. The article does not describe a separate unattended submission or payment checkpoint.
Prompt
Original prompt
Source: cloudnativeengineer.substack.com · Giuseppe Santoro
Frequently asked questions
Why connect the browser to Claude Code?
Santoro wanted browser control and local calculations together, avoiding repeated copy-pasting.
What had already been calculated?
Python computed income and capital gains; interpreting and filling the form remained the bottleneck.
Was the voice quote the entire task?
No. It asks about a field while Playwright fills forms in the background.
More details
About this account
Claude read browser questions and filled fields using local calculations and records.
Firsthand source opened and read. Prompt is a verbatim excerpt of the published original instruction.
Credit: Giuseppe Santoro
Source published 1 Feb 2026
Source checked 14 Oct 2026
Tools and topics
Claude Code · Playwright MCP · Python · Voice input
HMRC forms · Local income data · Voice questions
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.