Gh attach vs Publish to pages
Gh attach is an open-source agent skill for files and documents. Publish to pages is an open-source agent skill for files and documents.
- Gh attach is best for attach a before and after screenshot to a pull request.
- Publish to pages is best for publish a pptx deck as a shareable web presentation.
- What it is
- Gh attach is an open-source agent skill for files and documents.Publish to pages is an open-source agent skill for files and documents.
- Best for
- Attach a before and after screenshot to a pull requestPublish a PPTX deck as a shareable web presentation
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, GooseClaude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- GitHub stars
- 41.3K41.3K
- Last commit
- Nov 2026Nov 2026
- License
- MITMIT
- Open source
- Good for
- Attach a before and after screenshot to a pull request; Add an image or log file to a GitHub issue; Download a file someone attached to a GitHub commentPublish a PPTX deck as a shareable web presentation; Host a standalone HTML page on GitHub Pages; Turn a PDF into a slide-style website with a live link
What Gh attach does
Upload local files
Sends screenshots, images, PDFs, zips and videos to GitHub and returns a renderable URL.
Embed in comments
Places uploaded URLs into PR or issue comments and bodies using gh with stdin input.
Download attachments
Fetches existing user-attachment files to a chosen local path, using the gh token or browser cookies.
Browser session setup
Explains selecting the correct browser account or supplying a session token for headless runs.
Private repo handling
Notes that uploads inherit repository visibility and that anonymous fetches of private files fail.
GHES support
Shows how to target GitHub Enterprise Server repositories using a host-qualified repo name.
What Publish to pages does
Multiple input formats
Accepts HTML, PPTX, PDF and Google Slides links as the source for a published page.
Slide conversion scripts
Bundled Python scripts turn PPTX and PDF files into a navigable HTML presentation.
Automatic repository setup
Creates a GitHub repository and pushes the generated site files with a publish script.
Pages enablement
Turns on GitHub Pages for the new repository and reports the resulting live URL.
Large file handling
Switches to external assets for big files so individual uploads stay within size limits.
Error guidance
Gives recovery steps for name conflicts, missing tools, and Pages setup failures.
Gh attach vs Publish to pages: questions
Is Gh attach or Publish to pages cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Gh attach and Publish to pages?
Gh attach is an open-source agent skill for files and documents. Publish to pages is an open-source agent skill for files and documents.
