# Good Prompts > Good one-shot prompts for Claude Code, Codex and other coding agents, from viral X.com posts and ranked by likes. For when you got tokens to burn. 45 prompts, last updated 25 November 2026. Each prompt has its own page with the prompt text, when to use it, its author and the original post. Most sources have not been independently verified. Paste a prompt into Claude Code, Codex or another coding agent. "Runs in a repo" prompts act on the current project; "runs on your machine" prompts act on the computer more broadly. ## Data - [prompts.json](https://good-prompts.vercel.app/prompts.json): every prompt with id, title, category, tags, use_when, scope, added_on, prompt text and source - [RSS feed](https://good-prompts.vercel.app/feed.xml) and [JSON Feed](https://good-prompts.vercel.app/feed.json): new prompts as they are added - [Full text for LLMs](https://good-prompts.vercel.app/llms-full.txt): this file with every prompt inlined - [GitHub repository](https://github.com/tomquirk/good-prompts): source of truth; add prompts by pull request ## Design and experience - [Audit your app's buttons for icons, chevrons and ellipses](https://good-prompts.vercel.app/prompts/audit-app-buttons): You want consistent button treatment: a trailing chevron for navigation or options, a leading icon only when it helps, an ellipsis when more input is needed, and plain text otherwise. (runs in a repo, posted by @tomquirkdev) - [Make popovers and menus animate from their trigger](https://good-prompts.vercel.app/prompts/origin-aware-animations): Dropdowns, popovers or menus in your app scale from their center instead of from the element that opened them. (runs in a repo, posted by @emilkowalski) - [Find and fix happy-path debt in your app](https://good-prompts.vercel.app/prompts/fix-happy-path-debt): An app works in the demo but breaks on slow loads, failures, empty lists, long text, or narrow screens. (runs in a repo, posted by @Voxyz_ai) - [Simplicity across UX, DX, and AX](https://good-prompts.vercel.app/prompts/simple-ux-dx-ax): An interface or implementation feels cluttered or unnecessarily complex. (runs in a repo, posted by @Voxyz_ai) - [Product experience coverage audit (summary)](https://good-prompts.vercel.app/prompts/product-experience-coverage-audit): You need a product-wide UX review with an actionable handoff for product, design, and engineering. (runs in a repo, posted by @tommymarshall) ## Security and system cleanup - [Diagnose and fix Wi-Fi and home network bottlenecks](https://good-prompts.vercel.app/prompts/diagnose-wifi-home-network): Your Wi-Fi feels slow or flaky and you want the agent to measure it, find the real bottlenecks, and walk you through router fixes with a before/after comparison. (runs on your machine, posted by @brunovolpato) - [Audit your repo and dev setup for agent-harm risks](https://good-prompts.vercel.app/prompts/ai-codebase-safety-audit): Before giving an agent broad access to a repo or dev environment; audits first, changes nothing until you approve. (runs in a repo, posted by @jdpruettt) - [Find what is eating your disk space (list first, delete nothing)](https://good-prompts.vercel.app/prompts/find-storage-hogs): Your disk is full and you do not know why. (runs on your machine, posted by @Ananth7e) - [Audit your accounts and installed software after security news](https://good-prompts.vercel.app/prompts/audit-accounts-and-installed-software): There has been security news and you want an agent with computer use to check your accounts and installed software and list the actions to take. (runs on your machine, posted by @emollick) - [Review the apps linked to your Google account and suggest which to remove](https://good-prompts.vercel.app/prompts/review-google-linked-apps): You have connected many apps to your Google account over the years and want an agent to suggest which to remove. Open the linked apps page in Chrome first and tell the agent the tab is open. (runs on your machine, posted by @petergyang) - [Check whether you load third-party JS that could be compromised](https://good-prompts.vercel.app/prompts/third-party-js-supply-chain-check): A third-party script provider has been compromised and you want to know if your site is exposed to a similar attack. (runs in a repo, posted by @beyang) - [Security audit, remediation, and dashboard](https://good-prompts.vercel.app/prompts/security-audit-dashboard): A project needs a security audit and evidence of remediation; the prompt references an external Cloudflare skill. (runs in a repo, posted by @thejoegardiner) - [Remove unused macOS software and permissions](https://good-prompts.vercel.app/prompts/macos-cleanup): The user explicitly wants to review and remove unused macOS software and permissions. (runs on your machine, posted by @sqs) - [Audit and prune old AI agent transcripts on macOS](https://good-prompts.vercel.app/prompts/prune-old-agent-transcripts): The user wants to review and remove old coding-agent transcripts, session logs, and leftover editor folders on a Mac. (runs on your machine, posted by @illyism) ## Performance - [Hillclimb app latency, bytes transferred and lag](https://good-prompts.vercel.app/prompts/hillclimb-app-latency-bytes-lag): You want an agent to autonomously drive the app's latency, payload size and lag as low as possible, even redesigning infrastructure. (runs in a repo, posted by @PatrickToulme) - [Get CI under 2 minutes without hiding failures](https://good-prompts.vercel.app/prompts/ci-under-two-minutes): Your PR checks take too long and you want an agent to audit and cut CI time with measured, reversible changes. (runs in a repo, posted by @pontusab) - [Measure, then make the app measurably faster](https://good-prompts.vercel.app/prompts/make-app-measurably-faster): You want performance work driven by before/after measurements of one core flow, not guesses. (runs in a repo, posted by @Voxyz_ai) - [Select only the database fields you need](https://good-prompts.vercel.app/prompts/select-database-fields): Database queries fetch whole rows while using only a few fields. (runs in a repo, posted by @_dylanga) - [Remove unnecessary URL parsing](https://good-prompts.vercel.app/prompts/unnecessary-url-parsing): Repeated or redundant URL parsing may add unnecessary work. (runs in a repo, posted by @_dylanga) - [Compute regexes at module level](https://good-prompts.vercel.app/prompts/module-level-regexes): Regexes are repeatedly constructed in functions or loops. (runs in a repo, posted by @_dylanga) - [Promote hot JSONB keys to columns](https://good-prompts.vercel.app/prompts/jsonb-key-to-column): A hot path repeatedly reads a single key from a large JSONB value. (runs in a repo, posted by @_dylanga) - [Remove unnecessary sequential async calls](https://good-prompts.vercel.app/prompts/parallel-async-calls): Independent async operations appear to run sequentially on hot paths. (runs in a repo, posted by @_dylanga) ## Product - [What have customers told me? What should I fix next?](https://good-prompts.vercel.app/prompts/customer-feedback-what-to-fix-next): You have customer feedback in connected tools (support, email, chat, CRM) and want the agent to surface what to fix next. (runs on your machine, posted by @bentlegen) ## Testing and verification - [Launch QA with five first-time-user subagents, then fix and re-verify](https://good-prompts.vercel.app/prompts/first-time-user-qa): You are about to launch a web app and want realistic first-run friction found, fixed and proven fixed. (runs in a repo, posted by @LimestoneHQ) - [Stress-test a UI component in every state it will meet](https://good-prompts.vercel.app/prompts/component-state-stress-test): A key component only ever saw sample data and you want it checked against empty, long, failing and narrow-screen cases. (runs in a repo, posted by @Voxyz_ai) - [Browser testing across widths, touch, and slow networks](https://good-prompts.vercel.app/prompts/browser-testing): A web interface needs verification across screen sizes, touch input, and slow connections. (runs in a repo, posted by @emilkowalski) - [End-to-end proof](https://good-prompts.vercel.app/prompts/e2e-proof): A completed feature needs end-to-end evidence that it works. (runs in a repo, posted by @thorstenball) ## Codebase audits and simplification - [Find and remove obsolete legacy code and bloated tests](https://good-prompts.vercel.app/prompts/delete-dead-code-and-bloated-tests): A repo has accumulated unused legacy code and low-value tests, and you want proof-backed removal. (runs in a repo, posted by @emanueledpt) - [Fresh-eyes due-diligence audit of a live domain](https://good-prompts.vercel.app/prompts/fresh-eyes-domain-audit): The user wants an outside-in check of a live site or product, run from an empty folder with no repo access, to catch broken links, stale subdomains, and sloppy public pages. (runs in a repo, posted by @illyism) - [Single source of truth audit](https://good-prompts.vercel.app/prompts/single-source-of-truth): The same fact or configuration may be maintained in multiple places. (runs in a repo, posted by @kitlangton) - [Full project audit](https://good-prompts.vercel.app/prompts/full-project-audit): A project needs a broad review of correctness, consistency, and unnecessary work. (runs in a repo, posted by @chenchengpro) - [Delete, simplify, optimize, automate](https://good-prompts.vercel.app/prompts/delete-and-simplify): Complexity or weak assumptions make a codebase harder to maintain. (runs in a repo, posted by @anthonyriera) - [Read-only codebase simplification audit (summary)](https://good-prompts.vercel.app/prompts/read-only-codebase-simplification-audit): You want evidence-backed simplification recommendations before authorizing code changes. (runs in a repo, posted by @aarondfrancis) - [Map the codebase into ARCHITECTURE.md](https://good-prompts.vercel.app/prompts/map-codebase-architecture): A project has grown messy and you want a written map of its structure, data flow, and riskiest files. (runs in a repo, posted by @mdjunaidap) ## Agent workflows and retrospectives - [List every assumption as verified or guessed before fixing](https://good-prompts.vercel.app/prompts/list-verified-vs-guessed-assumptions): An agent is about to change code in a codebase it may not fully understand, and you want its guesses surfaced first. (runs in a repo, posted by @kloss_xyz) - [Audit your agent history for wasted tool calls and tokens](https://good-prompts.vercel.app/prompts/audit-wasted-tool-calls): You want to see which paths in a repo cost your agents the most searching and backtracking. (runs in a repo, posted by @JJEnglert) - [Audit what wastes tokens in your Claude Code setup](https://good-prompts.vercel.app/prompts/claude-code-token-waste-audit): Your Claude Code setup burns tokens every turn and you want a measured, approve-first cleanup plan. (runs on your machine, posted by @Voxyz_ai) - [Plan logging that can replay what the user experienced](https://good-prompts.vercel.app/prompts/plan-replayable-logging): You want a program to produce logs good enough to later analyze for broken behavior and user friction. (runs in a repo, posted by @kunchenguid) - [Review your agent setup for guardrail gaps](https://good-prompts.vercel.app/prompts/review-agent-setup): You want a one-off review of your AGENTS.md, skills, hooks, permissions and MCP setup. (runs on your machine, posted by @chenchengpro) - [Estimate what your Claude Code usage would cost on the API](https://good-prompts.vercel.app/prompts/claude-code-api-cost-estimate): The user wants a local, offline-safe report of what their Claude Code sessions over a time frame would have cost at Anthropic's API list prices, with an HTML summary card. (runs on your machine, posted by @ZazaGDev) - [Review last week's sessions and suggest improvements](https://good-prompts.vercel.app/prompts/weekly-session-review): Recent coding sessions are available and the user wants to identify ways to improve their workflow. (runs in a repo, posted by @nateberkopec) ## State machines and semantics - [Find implicit state machines](https://good-prompts.vercel.app/prompts/find-state-machines): An app has behavior that depends on changing state and events. (runs in a repo, posted by @steveruizok) - [Make useful state machines explicit](https://good-prompts.vercel.app/prompts/make-state-machines-explicit): Implicit state transitions may benefit from explicit modeling; the prompt references lavish-axi. (runs in a repo, posted by @kunchenguid) - [Recover the minimal semantic model](https://good-prompts.vercel.app/prompts/minimal-semantic-model): Async behavior, duplicated state, or refactors need semantic analysis. (runs in a repo, posted by @infinterenders) - [Document state machines and fix reachable bugs](https://good-prompts.vercel.app/prompts/document-state-machines): Reachable invalid states need evidence, documentation, and regression-tested fixes. (runs in a repo, posted by @trevin)