AI Prompt
A Gutenberg block that renders interactive AI prompts inline. No iframe required.
by fka · github.com/f/ai-prompt · website
★ 12stars
32release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/f/ai-prompt/releases/download/v0.3.0/ai-prompt.zipDeclares an update source (https://github.com/f/ai-prompt), so updates arrive through the plugin's own updater.
From the readme
AI Prompt — A Gutenberg block for showing AI prompts properly
A native WordPress block that displays AI prompts the way they're meant to be seen — with the model, mode, context chips, and composer UI your readers already recognize from their AI tools.
No iframe. No third-party service required. Just clean, themed HTML with a tiny frontend script only for copying prompts to the clipboard.
Try the live demo in WordPress Playground.
The problem this solves
If you write tutorials, documentation, or blog posts about AI, you eventually need to show a prompt. Today, the options are bad:
- Code blocks turn the prompt into something that looks like code, when it isn't. They strip the context (which model? what mode? was thinking on?). They invite copy-and-execute confusion.
- Blockquotes look like quoted prose. They lose the "this is meant for an AI" framing entirely.
- Screenshots go stale the moment Cursor or Claude refresh their UI. They're not crawlable, not copyable, not accessible.
- Iframes are the closest thing today, but they pull in a third-party origin, can't match your theme, often break on RSS / AMP / email clients, and break entirely if the host goes down.
Prompts deser
Read the full README on GitHub →