# Starlight Page Actions

> A Starlight plugin that adds page action buttons to your documentation

Source: https://talira.ai/catalog/starlight-page-actions-2001sjzs
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin, Library
- Categories: [ai / agents / docs for agents](https://talira.ai/categories/ai/agents/docs-for-agents), [developer tools / documentation / docs sites](https://talira.ai/categories/developer-tools/documentation/docs-sites), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes
- Creator: Daniel Castillo (dlcastillop)

Starlight Page Actions adds buttons to every page of a [Starlight](https://talira.ai/catalog/starlight-2s72hvac.md) docs site: Copy Markdown, View in Markdown, and an Open menu that sends the page to [ChatGPT](https://talira.ai/catalog/chatgpt-9yedgr0z.md), [Claude](https://talira.ai/catalog/claude-w14d0j2d.md), [Cursor](https://talira.ai/catalog/cursor-x8ypqq22.md), GitHub Copilot, Perplexity, T3 Chat or v0 with a prompt you can customise, plus an optional Share menu for social networks, email and messaging apps. It publishes the pages' original `.md` and `.mdx` source files next to the site and builds an [llms.txt](https://talira.ai/catalog/llms-txt-7hp5kn2g.md) index of every page when you give it a base URL. You can add your own actions, place the buttons under the title or in the table of contents, translate prompts per locale and turn the buttons off on single pages. Daniel Castillo maintains it under the MIT licence.

## Links

- Website: https://starlight-page-actions.dlcastillop.com/
- GitHub: https://github.com/dlcastillop/starlight-page-actions
- Docs: https://starlight-page-actions.dlcastillop.com/docs/reference/configuration

## Problems it solves

- add a copy page as Markdown button to every page of our docs
- let readers open a docs page in ChatGPT or Claude with one click to ask questions about it
- readers paste our docs into AI chats and lose the formatting; give them the clean Markdown source
- put Open in Cursor and Open in Copilot links on our developer documentation
- add share buttons for LinkedIn, X, Bluesky and email to documentation pages
- serve a .md version of each docs page that agents can fetch directly
- customise the prompt that gets sent to the AI when someone opens a docs page in a chatbot
- hide the AI buttons on changelog and legal pages but keep them everywhere else
- generate an llms.txt list of all our documentation URLs when the docs site builds

## Features

- Copy Markdown button that copies the page's Markdown
- View in Markdown link to the page's source
- Open menu for ChatGPT, Claude, Cursor, GitHub Copilot, Perplexity, T3 Chat and v0
- custom prompt with the page URL placed where you want it
- custom actions of your own
- optional Share menu: LinkedIn, X, Threads, Bluesky, Facebook, Reddit, Hacker News, email, WhatsApp and Telegram
- buttons below the page title or in the table of contents on desktop
- per-locale prompts and actions
- turn the actions off per page in frontmatter
- copies the original .md and .mdx files into the build
- llms.txt index of all documentation URLs when baseUrl is set

## Limitations

- Doesn't create llms.txt without a base URL: the file is generated only when baseUrl is configured[^1]

## Trust

Overall: 0.23 out of 1.
Signals: backing 0.20, extensibility 0.00.

- created by Daniel Castillo (dlcastillop)

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Starlight](https://talira.ai/catalog/starlight-2s72hvac.md)

## Alternatives

- [starlight-llm-actions](https://talira.ai/catalog/starlight-llm-actions-gph9vs34.md): Starlight plugin: Page Actions dropdown with Copy/View/PDF and Open-in-LLM buttons
- [starlight-llms-txt](https://talira.ai/catalog/starlight-llms-txt-8783ys9y.md): Generate llms.txt files to train large language models on your Starlight documentation website

## Sources

[^1]: https://starlight-page-actions.dlcastillop.com/docs/reference/configuration (checked 20 Nov 2026)
[^2]: https://github.com/dlcastillop/starlight-page-actions/blob/main/LICENSE (checked 20 Nov 2026)
