Claude can write complete Datasette plugins now

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Claude Sonnet 4.5 shipped a complete, tested, published open-source plugin end-to-end, showing single-prompt agentic coding can now deliver finished small software projects.

Read this as

Simon Willison used Anthropic's Claude Sonnet 4.5 AI, via the Claude Code tool, to write an entire software plugin called datasette-os-info. The plugin adds a web page that reports details about the computer's operating system, like the Linux version it runs on. Every line of code and test was written by the AI from a single instruction, and it even found and fixed its own bug. The finished plugin is free and published on the PyPI package site.

Willison reports the first Datasette plugin he has shipped where Claude Sonnet 4.5 wrote all code and tests with minimal prompting, using Claude Code in unrestricted 'YOLO' mode. The plugin is live on PyPI as datasette-os-info 0.1. This signals that agentic coding tools can now deliver complete, deployable small projects, not just snippets, a productivity gain for developer teams, though the AI itself flagged that the output endpoint exposes sensitive system information without authentication.

Willison scaffolded datasette-os-info from his cookiecutter template, then prompted Claude Code (claude --dangerously-skip-permissions) to implement a /-/os JSON route via Datasette's register_routes() hook. Claude wrote the implementation and tests unprompted, ran pytest, found and fixed its own invented Response(default_repr=) bug. Built with uv and python -m build, deployed via datasette publish, released on PyPI with GitHub Actions Trusted Publishing. The plugin reports platform, os-release, kernel, memory and environment data; Claude flagged hostname and PATH as sensitive.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Sonnet 4.5 Claude Code Datasette datasette-os-info PyPI GitHub Actions uv

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading