Official agent skill

Publish To Pages

by github in github/awesome-copilot

Publish presentations and web content to GitHub Pages. An agent skill from github/awesome-copilot.

OfficialMITAuto-check passedDocuments & Office

Install Publish To Pages

skills CLI
$ npx skills add github/awesome-copilot --skill publish-to-pages -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install github/awesome-copilot publish-to-pages --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/publish-to-pages .claude/skills/publish-to-pages && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
publish-to-pages
GitHub stars
40k
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
453 words
Files
4 (incl. scripts)
Skills in repo
417
Repo updated
First seen
Licence
MIT

At a glance

Publish presentations and web content to GitHub Pages. An agent skill from github/awesome-copilot.

  • Works in 5 steps: Prerequisites Check → Input Detection → Conversion → …
  • The user wants to publish
  • SKILL.md covers 1. Prerequisites Check, 2. Input Detection, 3. Conversion and 4. Publishing, plus 2 more sections
  • Runs Python and Shell scripts from its folder; calls python3, pip and apt; reaches github.com and username.github.io

What it does

Publish To Pages is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Publish presentations and web content to GitHub Pages. Converts PPTX, PDF, HTML, or Google Slides to a live GitHub Pages URL. Handles repo creation, file conversion, Pages enablement, and returns the live URL. Use when the user wants to publish, deploy, or share a presentation or HTML file via GitHub Pages.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/convert-pdf.py`, `scripts/convert-pptx.py` and `scripts/publish.sh`).

It sits in Documents & Office, covering PowerPoint presentations, Cloud office suites and PDF. It works with GitHub, Microsoft PowerPoint and Google Slides. The repository describes itself as: Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot. The licence is MIT.

When your agent uses it

  • The user wants to publish
  • Share a presentation
  • HTML file via GitHub Pages

Example prompts

  • “/publish-to-pages”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Prerequisites Check
  2. Input Detection
  3. Conversion
  4. Publishing
  5. Output

What it can do on your machine

Read from SKILL.md and the folder at commit 7cce7cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip
    • apt
    • brew
    • gh
    • curl
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • username.github.io
    • cli.github.com
    • docs.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Publish To Pages loads about 1.1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 453 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from github/awesome-copilot at commit 7cce7cf, republished under its MIT licence (© github). 453 words, ~1,133 tokens.

Download SKILL.mdSave it as .claude/skills/publish-to-pages/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
publish-to-pages
description
Publish presentations and web content to GitHub Pages. Converts PPTX, PDF, HTML, or Google Slides to a live GitHub Pages URL. Handles repo creation, file conversion, Pages enablement, and returns the live URL. Use when the user wants to publish, deploy, or share a presentation or HTML file via GitHub Pages.

publish-to-pages

Publish any presentation or web content to GitHub Pages in one shot.

1. Prerequisites Check

Run these silently. Only surface errors:

bash
command -v gh >/dev/null || echo "MISSING: gh CLI — install from https://cli.github.com"
gh auth status &>/dev/null || echo "MISSING: gh not authenticated — run 'gh auth login'"
command -v python3 >/dev/null || echo "MISSING: python3 (needed for PPTX conversion)"

poppler-utils is optional (PDF conversion via pdftoppm). Don't block on it.

2. Input Detection

Determine input type from what the user provides:

InputDetection
HTML fileExtension .html or .htm
PPTX fileExtension .pptx
PDF fileExtension .pdf
Google Slides URLURL contains docs.google.com/presentation

Ask the user for a repo name if not provided. Default: filename without extension.

3. Conversion

Large File Handling

Both conversion scripts automatically detect large files and switch to external assets mode:

  • PPTX: Files >20MB or with >50 images → images saved as separate files in assets/
  • PDF: Files >20MB or with >50 pages → page PNGs saved in assets/
  • Files >150MB print a warning (PPTX suggests PDF path instead)

This keeps individual files well under GitHub's 100MB limit. Small files still produce a single self-contained HTML.

You can force the behavior with --external-assets or --no-external-assets.

HTML

No conversion needed. Use the file directly as index.html.

PPTX

Run the conversion script:

bash
python3 SKILL_DIR/scripts/convert-pptx.py INPUT_FILE /tmp/output.html
# For large files, force external assets:
python3 SKILL_DIR/scripts/convert-pptx.py INPUT_FILE /tmp/output.html --external-assets

If python-pptx is missing, tell the user: pip install python-pptx

PDF

Convert with the included script (requires poppler-utils for pdftoppm):

bash
python3 SKILL_DIR/scripts/convert-pdf.py INPUT_FILE /tmp/output.html
# For large files, force external assets:
python3 SKILL_DIR/scripts/convert-pdf.py INPUT_FILE /tmp/output.html --external-assets

Each page is rendered as a PNG and embedded into HTML with slide navigation. If pdftoppm is missing, tell the user: apt install poppler-utils (or brew install poppler on macOS).

Google Slides
  1. Extract the presentation ID from the URL (the long string between /d/ and /)
  2. Download as PPTX:
bash
curl -L "https://docs.google.com/presentation/d/PRESENTATION_ID/export/pptx" -o /tmp/slides.pptx
  1. Then convert the PPTX using the convert script above.

4. Publishing

Show full SKILL.md (196 more words)Show less
Visibility

Repos are created public by default. If the user specifies private (or wants a private repo), use --private — but note that GitHub Pages on private repos requires a Pro, Team, or Enterprise plan.

Publish
bash
bash SKILL_DIR/scripts/publish.sh /path/to/index.html REPO_NAME public "Description"

Pass private instead of public if the user requests it.

The script creates the repo, pushes index.html (plus assets/ if present), and enables GitHub Pages.

Note: When external assets mode is used, the output HTML references files in assets/. The publish script automatically detects and copies the assets/ directory alongside the HTML file. Make sure the HTML file and its assets/ directory are in the same parent directory.

5. Output

Tell the user:

  • Repository: https://github.com/USERNAME/REPO_NAME
  • Live URL: https://USERNAME.github.io/REPO_NAME/
  • Note: Pages takes 1-2 minutes to go live.

Error Handling

  • Repo already exists: Suggest appending a number (my-slides-2) or a date (my-slides-2026).
  • Pages enablement fails: Still return the repo URL. User can enable Pages manually in repo Settings.
  • PPTX conversion fails: Tell user to run pip install python-pptx.
  • PDF conversion fails: Suggest installing poppler-utils (apt install poppler-utils or brew install poppler).
  • Google Slides download fails: The presentation may not be publicly accessible. Ask user to make it viewable or download the PPTX manually.

© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/publish-to-pages of github/awesome-copilot.

  • SKILL.md
  • scripts/convert-pdf.py
  • scripts/convert-pptx.py
  • scripts/publish.sh

Open the folder on GitHubat commit 7cce7cf

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in github/awesome-copilot, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Publish To Pages next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Publish To Pages compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Publish To Pages this skillgithub/awesome-copilot40k1 repos~1.1kAutomated safety check: PassMIT
Learniurykrieger/claude-bedrock105—~6.5kAutomated safety check: NotesMIT
Gamma Migration Deep Divejeremylongshore/tons-of-skills-marketplace2.8k—~2.3kAutomated safety check: PassMIT
Anydocmagnus919/agent-skills113—~3.8kAutomated safety check: NotesMIT
Teachccplugins/awesome-claude-code-plugins968—~5.9kAutomated safety check: NotesApache-2.0
Slidev Presentationsnicepkg/ai-workflow285—~2.3kAutomated safety check: PassMIT

Similar skills

  • Learn

    iurykrieger/claude-bedrock

    Ingests an external data source into the Second Brain. An agent skill from iurykrieger/claude-bedrock.

    105 GitHub stars~6.5k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check: notes
  • Gamma Migration Deep Dive

    jeremylongshore/tons-of-skills-marketplace

    Deep dive into migrating to Gamma from other presentation platforms.

    2.8k GitHub stars~2.3k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Anydoc

    magnus919/agent-skills

    Convert Word (.doc/.docx/.docm), PowerPoint (.ppt/.pps/.pot/.pptx/.pptm/.ppsx/.ppsm), Excel (.xls/.xlsx/.xlsm/.xlsb), OpenDocument (.odt/.ods/.odp), RTF, EPUB, CSV, and PDF documents to clean…

    113 GitHub stars~3.8k tokensUpdated 2 days ago
    Documents & OfficeAuto-check: notes
  • Teach

    ccplugins/awesome-claude-code-plugins

    Teaches the Second Brain to recognize a new external data source.

    968 GitHub stars~5.9k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes
  • Slidev Presentations

    nicepkg/ai-workflow

    Creates Slidev markdown presentations for developers. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~2.3k tokensUpdated 8 mo ago
    Documents & OfficeAuto-check passed
  • Pullmd

    AeternaLabsHQ/pullmd

    Read any web page, document, or YouTube video as clean Markdown using PullMD.

    486 GitHub stars~2.6k tokensUpdated 17 days ago
    Documents & OfficeAuto-check passed

More from github/awesome-copilot

All 417 skills in this repo
  • Acquire Codebase Knowledge

    github/awesome-copilot

    Official

    Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Draw.io Diagram Generator

    github/awesome-copilot

    Official

    Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.

    40k GitHub starsUsed in 1 repo~4.9k tokens
    Auto-check passed
  • Credit Risk Data Cleaning

    github/awesome-copilot

    Official

    Cleans raw credit data and screens variables before loan modeling, dropping unstable, noisy or redundant features and writing an Excel report of every step.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Daily Focus Board

    github/awesome-copilot

    Official

    Builds a warm, browser-based daily focus board the user updates by talking to their agent, with Eisenhower priorities, a brain-dump box and kind not-today carryover.

    40k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Python Pypi Package Builder

    github/awesome-copilot

    Official

    End-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI.

    40k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about Publish To Pages

What does Publish To Pages do?

Publish presentations and web content to GitHub Pages. An agent skill from github/awesome-copilot. Publish To Pages is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Publish presentations and web content to GitHub Pages.

When should I use Publish To Pages?

Publish To Pages fits situations like: the user wants to publish; share a presentation; HTML file via GitHub Pages.

How do I install Publish To Pages in Claude Code?

Run `npx skills add github/awesome-copilot --skill publish-to-pages -a claude-code`. Or copy the skill folder (skills/publish-to-pages in github/awesome-copilot) into .claude/skills/publish-to-pages in your project. Claude Code loads it when a task matches its description.

How do I install Publish To Pages in Codex?

Run `npx skills add github/awesome-copilot --skill publish-to-pages -a codex`. Or copy the skill folder (skills/publish-to-pages in github/awesome-copilot) into .agents/skills/publish-to-pages in your project. Codex loads it when a task matches its description.

Can I use Publish To Pages in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/awesome-copilot --skill publish-to-pages -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/publish-to-pages, .gemini/skills/publish-to-pages, .github/skills/publish-to-pages and .opencode/skills/publish-to-pages in your project.

What does Publish To Pages need to run?

Going by SKILL.md and its folder, Publish To Pages needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python3, pip, apt, brew, gh and curl). Our summary lists: Python 3; A Bash shell.

Does Publish To Pages access the network?

SKILL.md names 4 domains. In commands or code: github.com, username.github.io, cli.github.com and docs.google.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Publish To Pages safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Publish To Pages use?

Publish To Pages is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Publish To Pages use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Publish To Pages?

Skills that share tags, products or a category with Publish To Pages: Learn (iurykrieger/claude-bedrock, 105 stars), Gamma Migration Deep Dive (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Anydoc (magnus919/agent-skills, 113 stars) and Teach (ccplugins/awesome-claude-code-plugins, 968 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Publish To Pages?

github (a GitHub organization, an official publisher) maintains it in github/awesome-copilot, which has 39,792 GitHub stars. The repository holds 417 skills in this directory. The repository was last updated on October 8, 2026.

Source: github/awesome-copilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.