Nutshelf – Saved AI Summaries for Posts and Pages

Description

Nutshelf is an AI summarizer for WordPress. It works as an article summarizer, text summarizer and content summarizer in one: it reads the text of a long post or page and turns it into a short summary with key takeaways, shown in a clean box at the top of the content. Readers get the main points in a few seconds and can decide whether to read on. Think of it as a quick TL;DR for your blog posts, news articles, tutorials, reviews and other long-form content.

You stay in control of every summary. Write your post, open the Page Summary panel in the block editor sidebar, choose an AI service and model, and click Generate summary. Read the result, edit it if you want to, and click Update. The summary is saved with the post, so every visitor sees the same text instantly.

Why one API call per post? Many AI summary tools contact the AI service every time someone opens a page. That means slower pages, repeated costs, and rate-limit errors on busy sites. Nutshelf generates the summary once, in the editor, and stores it. Visitors never trigger an API request, so your Gemini, OpenAI, Claude or Grok usage is spent once per summary instead of once per page view.

Supported AI services

Bring your own API key and use the AI model you prefer:

  • Google Gemini, including the Gemini Flash models
  • OpenAI GPT models, the technology behind ChatGPT
  • Anthropic Claude, including Haiku, Sonnet and Opus
  • xAI Grok

The model list is loaded from each service with your key, so new models appear without a plugin update. If a model is not listed, you can type its ID as a custom model.

Features

  • AI-generated article summary and key takeaways (bullet points) for any post or page.
  • Summary box added automatically at the top of the content.
  • Generate summary and Regenerate summary buttons in the block editor (Gutenberg) sidebar.
  • Choose the AI service and model separately for each post.
  • Edit the summary and key takeaways by hand before you publish.
  • Short, medium or detailed summaries.
  • Works with posts, pages and public custom post types.
  • Show or hide the summary on each post.
  • Saved in your database with the post, so there are no repeated API calls.
  • No JavaScript on the front end, only a small stylesheet on pages that have a summary.
  • Hidden automatically on password-protected posts.
  • A simple box that uses your theme’s text color.
  • Translation-ready.
  • No cookies, no tracking, no ads.

Who is it for?

  • Bloggers who want a TL;DR above long articles.
  • News sites and online magazines that publish long stories.
  • Publishers who summarise tutorials, guides and how-to posts.
  • Documentation, help center and knowledge base pages.
  • Review, affiliate and comparison sites with long pages.
  • Course creators and educators who want a quick overview of each lesson.
  • Agencies that need to add summaries to client sites.

How it works

  1. Add your API key for Google Gemini, OpenAI, Anthropic Claude or xAI Grok in Settings > Nutshelf.
  2. Open a post or page in the block editor.
  3. In the Page Summary panel, pick the AI service and model, then click Generate summary.
  4. Review and edit the summary and key takeaways.
  5. Click Update or Publish. Visitors now see the summary at the top of the page.

Good to know

  • You need an API key from at least one AI service. Usage counts against your account with that service.
  • This works in the block editor. The classic editor is not supported yet.
  • Summaries are not updated automatically when you edit a post. Click Regenerate summary after big changes.
  • AI-generated summaries can miss details or get things wrong, so review and edit the text before publishing.

External Services

This plugin connects to AI services to write summaries. It only contacts a service if you have saved an API key for it, and only the service an editor chooses for a post is used. The services are:

  • Google Gemini (Google). Terms: https://ai.google.dev/gemini-api/terms. Privacy policy: https://policies.google.com/privacy
  • OpenAI. Terms: https://openai.com/policies/terms-of-use. Privacy policy: https://openai.com/policies/privacy-policy
  • Anthropic Claude (Anthropic). Terms: https://www.anthropic.com/legal/commercial-terms. Privacy policy: https://www.anthropic.com/legal/privacy
  • xAI Grok (xAI). Terms: https://x.ai/legal/terms-of-service-enterprise. Privacy policy: https://x.ai/legal/privacy-policy

Nutshelf is an independent plugin. It is not affiliated with, endorsed by, or sponsored by Google, OpenAI, Anthropic or xAI. Their product names are trademarks of their respective owners and are used only to say which services the plugin can connect to.

Writing summaries. When an editor clicks Generate summary, your server sends the text and title of that post (up to 30,000 characters), an instruction for how to summarize it, and your API key to the chosen service. This happens only when an editor clicks the button. Visitors never cause a request to any service, and no visitor data is sent.

Loading the model list. When an editor opens a post, the plugin asks the AI service selected in the Page Summary panel which models are available. Only your API key is sent. No post text is included. The list is kept for a day for each service, so this happens about once a day, and again after the settings are saved.

Privacy

  • Post text is sent to the AI service an editor chooses when they generate a summary. Add a note about this to your privacy policy.
  • Visitors send nothing to any AI service and nothing is collected from them.
  • Each summary is saved with its post as custom fields, and removed when you delete the plugin. The post also remembers which AI service and model wrote it.
  • The plugin remembers each editor’s last chosen AI service and model, as a user setting, so it can pre-select them next time. It is removed when you delete the plugin.
  • The list of available models for each service is kept in a temporary transient for one day.
  • Your API keys are saved in the plugin’s settings option and removed when you delete the plugin.
  • The plugin sets no cookies and uses no tracking.

Screenshots

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Go to Settings > Nutshelf, paste in the API key for each AI service you want to use, and save.
  4. Open a post in the editor, find the Page Summary panel in the sidebar, choose an AI service and model, and click Generate summary.
  5. Click Update or Publish. The summary now shows at the top of the post.

FAQ

How do I add an AI summary to my WordPress posts?

Install and activate the plugin, add an API key in Settings > Nutshelf, then open a post. In the Page Summary panel in the sidebar, click Generate summary, review the text, and click Update. The summary appears at the top of the post.

Which AI services does it support?

Google Gemini, OpenAI, Anthropic Claude, and xAI Grok. You only need a key for the ones you want to use. The Page Summary panel lists the services you have added a key for.

Can I use my ChatGPT or Claude subscription?

No. Nutshelf connects to each service’s API with your own API key. It does not use the ChatGPT or Claude websites, and a chat subscription is not the same as API access, so you need an API key from the service’s developer console.

Do visitors use my API quota?

No. The summary is generated only when an editor clicks the button, and it is saved with the post. Visitors just see the saved text. That is why this plugin makes one API call per summary instead of one per page view.

Is it a free AI summarizer?

The plugin is free. What each AI service costs, and what its free tier allows, is up to that service and changes over time, so check their pricing before using it on a busy site. Because each summary is generated once, the cost is small.

Which model should I choose?

Smaller, faster models, such as the Flash-Lite, mini and Haiku families, are usually cheap and work well for summaries. Larger models can do better with complicated or technical writing. You can set a different model on every post and compare the results.

Do I need an API key?

Yes. The plugin doesn’t include one. You create a key with the AI service and paste it into the settings page.

Does it work with the block editor (Gutenberg)?

Yes. The Page Summary panel is in the block editor sidebar. The classic editor is not supported yet.

Does it work with custom post types?

Yes. In Settings > Nutshelf, tick the public post types you want under “Enable On”. Posts and pages are on by default.

Where does the summary appear?

At the top of the post content, added through the standard the_content filter, so it shows wherever your theme prints the post content.

Can I edit the summary the AI writes?

Yes. The summary and key takeaways are plain text boxes in the sidebar. Edit them before you publish. You can also turn the summary off for a single post.

Does it summarize in other languages?

The AI models can read and write many languages, though the quality varies by language and by model. Test it on a few of your own posts first.

Will it slow down my site?

No. Visitors never trigger an API request, and the plugin loads no JavaScript on the front end. It loads one small stylesheet, and only on pages that show a summary.

Is my content sent to a third party?

Yes, but only when an editor clicks Generate summary. The post text goes to the AI service chosen for that post. See the External Services section below for details and links.

Where do I choose the model?

In the Page Summary panel in the editor sidebar. Pick the AI service first, then the model. If your model is not listed, choose “Custom model ID…” at the bottom of the model list and type it in.

The summary isn’t showing on my page.

Check that you generated a summary, clicked Update or Publish after that, and left “Show at the top of the page” switched on. If you use a caching plugin, clear the cache.

Existing posts have no summary.

That’s expected. Open each post you want a summary for, generate it, and update the post.

Summaries stopped working.

AI services retire older models from time to time. Open the post, pick a current model in the Page Summary panel, and try again. You can also type a model ID from the service’s documentation into the Custom model ID field. If the error mentions your key or quota, check your account with that service.

The model list only shows a few models.

That short list is built in. It appears when the plugin couldn’t reach the AI service or the key was rejected. Check your key in Settings > Nutshelf and reopen the post.

Where are summaries stored?

In your database, as custom fields on each post. They are removed when you delete the plugin.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Nutshelf – Saved AI Summaries for Posts and Pages” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.9

  • Added support for OpenAI, Anthropic Claude, and xAI Grok, alongside Google Gemini.
  • Added an AI service choice to the editor sidebar.
  • Added an API key field for each AI service, with a Remove saved key option.
  • Added a custom model ID option to the editor sidebar.
  • Added the editor’s last used AI service and model as the starting choice.
  • Added error details from the AI service to the editor messages.
  • Changed where you pick the model: the dropdown moved from the settings page to the editor sidebar.
  • Fixed the summary box not filling the full content width on some themes.

1.8

  • Added a Page Summary panel to the editor sidebar, with an editable summary and key takeaways.
  • Added saving of the summary with each post, so every visitor sees the same text.
  • Added the saved summary at the top of the page for visitors.
  • Added a model choice for each post in the editor.
  • Added a switch to show or hide the summary on each post.
  • Added a retry when Google reports a model is overloaded.
  • Removed the floating button, the popup, and the button color and position options.
  • Removed the visitor rate limit, since visitors no longer call Gemini.

1.7

  • Added a custom model ID field.
  • Added a daily refresh of the model list from Google.
  • Added a short built-in model list for when Google can’t be reached.
  • Changed the model field into a dropdown.

1.6

  • Added a Gemini model field to the settings page.
  • Added a FAQ entry for when summaries stop working.
  • Changed the default model to gemini-3.5-flash-lite.
  • Fixed the summary list spacing on some themes.
  • Fixed summaries sometimes failing with an “invalid response” error.

1.5

  • Added translation support for all text.
  • Added an uninstall routine that removes the plugin’s settings.
  • Added an External Services section to the readme.
  • Added labels to the settings fields and screen reader support for the popup status.
  • Changed internal names to meet WordPress.org guidelines.
  • Fixed the “Copied!” message staying on the copy button.

1.4

  • Added an option to choose which post types show the button.
  • Added a security token check to the summary request.
  • Fixed the button loading on pages when no API key is saved.

1.3

  • Added a limit of 5 summaries per visitor every 10 minutes.
  • Added a 30,000 character limit on the text sent to the AI.
  • Fixed summaries failing on pages with non-English text.

1.2

  • Added a summary length option (short, medium, or detailed).
  • Added a copy button for the summary.
  • Added the Escape key to close the popup.

1.1

  • Added a settings page for the Gemini API key.
  • Added button background and text color options.
  • Added a button position option (bottom left or bottom right).

1.0

  • Initial release.