page-actions

Adds Copy Markdown and Open in LLM buttons to docs pages.

52|7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/farming-labs/docs --skill page-actions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: page-actions
Source: https://github.com/farming-labs/docs/tree/main/examples/astro/.agents/skills/page-actions
Command: npx skills add https://github.com/farming-labs/docs --skill page-actions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Page authors need a quick way to let readers copy content as Markdown and to open pages in an AI tool, reducing back-and-forth and manual steps when reviewing or sharing docs.

Core Features & Use Cases

  • Copy Markdown button to copy the current page content as Markdown for easy sharing or editing.
  • Open in LLM dropdown to send the current page to supported AI providers, with URL and GitHub edit links as context.
  • Supports URL placeholders like {url}, {mdxUrl}, and {githubUrl} in provider templates.
  • Configurable placement relative to the page title (above-title or below-title) and provider customization to fit your docs layout.

Quick Start

Enable pageActions with copyMarkdown and openDocs to activate the buttons on docs pages.

Frequently Asked Questions about page-actions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a Copy Markdown button to my docs pages?

To add an Open in LLM dropdown to your documentation, enable pageActions with the openDocs setting. This sends the current page to supported AI providers, including URL and GitHub edit links as context through configurable provider templates.

How do I send my documentation page content to an AI provider?

To send documentation page content to an AI provider, enable the pageActions configuration with the openDocs setting. This provides an Open in LLM dropdown that sends the current page to supported AI providers using configurable provider templates.

What URL placeholders can I use when configuring provider templates for Open in LLM?

When configuring provider templates for the Open in LLM action, you can use the URL placeholders {url}, {mdxUrl}, and {githubUrl}. The {githubUrl} placeholder is specifically supported when GitHub edits are used on your docs site.

Can I change where the Copy Markdown and Open in LLM buttons appear on the page?

Yes, you can change where the Copy Markdown and Open in LLM buttons appear by using the position option. This configurable placement allows you to position the page actions either above the title or below the title to fit your docs layout.

Does the page-actions configuration work with any documentation site?

The page-actions configuration is designed for use with @farming-labs/docs-powered docs sites. It requires support for pageActions configuration, the position option, and placeholder substitution to function correctly across your documentation.