Configure Github Pages
Automates GitHub Pages setup, including repository configuration, branch selection, and theme deployment.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add configure-github-pages npx -- -y @trustedskills/configure-github-pages
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"configure-github-pages": {
"command": "npx",
"args": [
"-y",
"@trustedskills/configure-github-pages"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to automatically configure GitHub Pages for static website hosting directly from a repository. It handles the necessary settings adjustments to ensure your site is live and accessible via a custom domain or default URL.
When to use it
- You have built a static site (HTML, CSS, JS) in a GitHub repository and need immediate deployment without manual CLI access.
- Your team requires automated CI/CD workflows that trigger page updates whenever code is pushed to the main branch.
- You want to quickly switch a project from local development to a live URL for client demos or testing.
Key capabilities
- Activates GitHub Pages source settings within a repository.
- Configures custom domains and CNAME files automatically.
- Sets build contexts (e.g.,
gh-pagesbranch) for proper routing. - Manages privacy settings to ensure public access.
Example prompts
- "Configure GitHub Pages for my 'portfolio-2024' repository using the main branch as the source."
- "Set up GitHub Pages for this repo and add 'myname.com' as the custom domain."
- "Enable GitHub Pages hosting on the
docsbranch for our documentation site."
Tips & gotchas
Ensure your repository contains valid static files before configuring, or the agent may fail to generate a preview. If you use a custom domain, verify that DNS records are correctly pointed to GitHub's nameservers after configuration completes.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.