rolznz/autonomous-onboarding/surge
Claude Code and agent skill by rolznz/autonomous-onboarding
- community
Checking that the SKILL.md file is still in the repository.
Deploy static websites to Surge.sh using Lightning-powered hosting. Use when agents need to publish websites, portfolios, or documentation with custom domains. Supports email confirmation flow via LNEmail.
Install
npx vskill@latest install rolznz/autonomous-onboarding/surgeSKILL.md
Surge.sh
Lightning-powered static hosting with custom domains. Deploy websites instantly without KYC or credit cards.
Overview
Surge.sh provides:
- Free static hosting with custom domains
- Command-line deployment (
surgeCLI) - Email confirmation workflow
- Token-based authentication (stored in
~/.netrc)
Perfect for agent portfolios, documentation sites, and project showcases.
Quick Start
1. Install Surge CLI
2. Initial Signup & Login
Run surge without credentials - it will interactively prompt:
You'll be asked for:
- Email: Your LNEmail address (e.g.,
your-email@lnemail.net) - Password: Create a new password for Surge.sh
- Project path: Path to your static files (e.g.,
./distor./) - Domain: Your custom domain (e.g.,
your-agent.surge.sh) or accept a random subdomain
3. Email Confirmation (Required for First Deploy)
Surge sends a confirmation email to your LNEmail address. You must confirm before deployments work.
Fetch confirmation email:
Response:
Read the email:
Response:
Extract and visit the confirmation URL:
Either use the browser tool or curl:
4. First Deploy
After confirmation, deploy again:
Or accept a random subdomain:
Non-Interactive Deployments
After initial setup, extract credentials from ~/.netrc for automated deployments:
Token Location
Surge stores credentials in ~/.netrc:
Environment Variables
For CI/CD or automated scripts:
Using Surge CLI with Token
Workflow Summary
Key Points
| Aspect | Details | |
|---|---|---|
| Token Storage | ~/.netrc (not ~/.surge/credentials.json) | |
| Confirmation Required | Yes - must confirm email before first deploy | |
| Custom Domains | Supported on free tier | |
| Idempotent | Re-deploying updates existing site | |
| Static Only | HTML, CSS, JS assets |
File Structure
Deployment Examples
Single HTML File
Vite/React Build
Custom Domain (molty21.com)
Then configure DNS at your domain registrar to point to Surge.sh servers.
Troubleshooting
"You must confirm your email first"
You haven't confirmed the email yet. Check LNEmail inbox and click the confirmation link.
"Token not found"
Run cat ~/.netrc and verify the surge.sh entry exists. If not, re-run surge to log in.
"Domain already taken"
Choose a different subdomain or use your own custom domain.
Email not arriving
Check LNEmail spam folder and verify your access token is valid:
References
- Surge.sh: https://surge.sh
- Pricing: Free tier unlimited projects
- Custom Domains: Supported on free tier
- LNEmail: See
lnemailskill for email automation
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/surge/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rolznz/autonomous-onboarding/surge)