01
Very little for most readers: it's a niche web utility for cleaning whitespace and the ❯ prompt from text copied out of Claude Code's terminal.
Simon Willison released a free web tool called Cleanup Claude Code Paste. It fixes text copied from the Claude Code terminal, where prompts pick up stray whitespace and the '❯' command-prompt symbol. Paste the text, and the tool strips the symbol and joins the lines into clean text. It is useful only to people who use Claude Code, a command-line AI coding assistant.
This is a tiny, free utility from developer Simon Willison with no business implications. It cleans up text copied from the Claude Code terminal by removing the ❯ prompt and fixing line wrapping. There is no pricing, competition or risk angle, and it matters only to individual developers who copy prompts from that terminal app.
Willison's tool at tools.simonwillison.net/cleanup-claude-code-paste handles three fixes for terminal-copied prompts: strips the leading ❯ prompt character, repairs whitespace introduced by line wrapping, and joins wrapped lines into a single clean block, with a copy-to-clipboard button. The article contains no implementation details, no source-code notes and no benchmarks. It is described as deliberately niche.
02
Developers using coding agents can directly apply Simon Willison's concrete prompting tactics to get higher-quality Python test suites with less manual cleanup.
Simon Willison, a well-known programmer and writer, shared tips on his blog for getting AI coding assistants like Claude to write good Python tests. His main advice: name specific tools such as pytest-httpx for mocking network calls, and work in a project that already has a clean test suite, because the AI copies existing patterns. He also recommends pointing the agent at an example repository, like his datasette-enrichments project on GitHub, so it can imitate the testing style.
Willison's post argues that AI-written test quality depends mostly on project hygiene rather than clever prompting: agents mirror the patterns already in your codebase. Teams adopting AI coding tools should invest in clean, well-patterned pytest suites before delegating test writing, since duplicated setup code is the main anti-pattern to police. No costs, benchmarks or timelines are given; the value is practical workflow guidance for engineering leads.
Willison works in Python because pytest is heavily represented in model training data, so Claude reliably knows commands like 'use pytest-httpx to mock the endpoints' or 'refactor to pytest.mark.parametrize' and 'extract common setup into a fixture'. The main anti-pattern he flags is duplicated test setup code, which he tolerates less in implementation than tests. His strongest tactic is pasting a prompt telling the agent to clone a reference repo, e.g. datasette/datasette-enrichments, to /tmp and imitate its testing patterns.