More in Build apps & tools.
Write and ship a complete Datasette plugin with Claude Code
Claude Code wrote every line of code and every test for the datasette-os-info plugin with minimal prompting, and the author shipped it.
Result: WorkedTool: Claude CodeLevel: Advanced
Outcome
Claude Code (Sonnet 4.5) wrote every line of code and every test for the datasette-os-info plugin with minimal prompting, and the author shipped it. The author started from a plugin template and told Claude how to run the tests; Claude then ran its new test, spotted a bug (it had guessed a parameter that doesn't exist), fixed it and declared itself done. A few more prompts had it write the README, list what in the page's output could be sensitive, such as the hostname, home directory and file paths, and add a short warning telling people to review what the page exposes.
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
These are the person's own words, as shared in the source.
This is a Datasette plugin which should add a new page /-/os which returns pretty-printed JSON about the current operating system - implement it. I want to pick up as many details as possible across as many OS as possible, including if possible figuring out the base image if it is in a docker container - otherwise the Debian OS release name and suchlike would be good
Try this in:
Sends the Original 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.
Goal: Implement a Datasette plugin that adds /-/os returning pretty-printed JSON about the operating system, with tests and docs. Inputs (fill in or confirm): - The plugin repo path - Target Python and Datasette versions - Which fields I most care about (distro, kernel, container base image) Rules: - Collect as much OS detail as possible using the standard library and safe file reads (/etc/os-release, platform, uname). - Detect Docker and, where possible, the base image; return null with a reason when unknown. - Never shell out to commands that need root or network. - Add tests that pass on Linux and macOS, and document the endpoint in the README. - Add a README section with an example of the output. Checkpoint: Ask before publishing a release to PyPI or pushing tags. If you get stuck: If a detail isn't available on one OS, skip it gracefully instead of failing the request. 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: Run the tests and hit /-/os locally; paste the JSON output. Output: Code changes, test results, sample output and README section. Done when: /-/os returns valid JSON on each OS you can test and the tests pass.
AI tool
Source
- Posted
- by Simon Willison
- Last checked
- Method:
- How we verify
https://simonwillison.net/2025/Oct/8/claude-datasette-plugins/
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 Build apps & tools
Build a site that grades HN predictions with Antigravity
A developer built HN Predictions with Antigravity in about 4 to 6 hours; the live site grades 5,807 matured forum predictions.
WorkedAntigravityAdvancedView CaseBuild an offline scam-warning app for a parent's phone with Gemma
A developer's offline Android app with Gemma caught all 10 test scams, after a first prompt flagged 9 of 10 normal messages too.
WorkedGemmaEvidence: Described by posterAdvancedView CaseBuild a scam-awareness app for older relatives with Cursor and ChatGPT
Matt Sanner used ChatGPT and a $20 Cursor plan to build ScamSkeptic, with lessons on 25 types of scams, for an aging family.
WorkedCursor +1Evidence: Article or interviewAdvancedView CaseBuild personal task, finance and plant care trackers with Base44
A self-described non-developer built task, finance, job and plant care trackers with Base44; they still have bugs but get daily use.
WorkedBase44Evidence: Described by posterAdvancedView CaseBuild a photo-verified chore checker for kids with Lovable
Brigid McDermott built ChoreCheck with Lovable: kids photo a finished chore and the app says if it's done. Not perfect, but easier.
WorkedLovableEvidence: Described by posterAdvancedView CaseBuild Urdu WhatsApp and voice-call medicine reminders for a father in Karachi with Gemini
Muhammad Ahsan Ayaz built Urdu WhatsApp and call reminders for a father's meds with Gemini; WhatsApp catches about 75–85% of tasks.
WorkedGeminiEvidence: Described by posterAdvancedView Case
Similar cases
Build a blog feature by voice with Codex while cooking
Talking to Codex in voice mode while cooking, the author got a Django newsletter archive with four importers and a pull request.
WorkedOpenAI Codex (ChatGPT desktop, voice mode)Evidence: Screenshots or logsAdvancedView CaseBuild a family chores, inventory and spending app with Claude
Andrew Grush built a household app with Claude for chores, inventory, spending and the calendar, and uses it nearly every day.
WorkedClaude +1AdvancedView CaseBuild a self-hosted family finance app in 9 days with Claude Code
Rodion used Codex and then Claude Code to build a self-hosted family finance app in nine days with 446 prompts.
WorkedClaude Code +1Evidence: Screenshots or logsAdvancedView CaseBuild a terminal-to-HTML sharing tool with Claude Code for web
Claude Code for web built a tool that turns pasted terminal output into a shareable link, recorded start to finish in 11 minutes.
WorkedClaude Code for webEvidence: Shown on videoAdvancedView CaseFix year-routing in a Gemini tax-invoice script with Claude Code
Waldo used read-only Claude Code to replace brittle year if/else routing in a Gemini invoice Apps Script with FOLDER_MAPPING.
WorkedClaude Code +1AdvancedView Case

