diegofornalha/skills-grok/ip-com-subdominio-https
Claude Code and agent skill by diegofornalha/skills-grok
- community
Checking that the SKILL.md file is still in the repository.
Use this when exposing an app via IP, localhost, or a raw port — always pair it with an HTTPS subdomain (Cloudflare tunnel + DNS) as the default public URL.
Install
npx vskill@latest install diegofornalha/skills-grok/ip-com-subdominio-httpsSKILL.md
The same SKILL.md was published earlier as diegofornalha/skills-grok/ip-com-subdominio-https.
IP / localhost always with HTTPS subdomain
When to apply
Whenever an app, preview, or server is exposed by IP, localhost, or a raw port (e.g. http://127.0.0.1:8765), treat the local address as internal origin only. The default public URL must be an HTTPS subdomain on the user's domain (Cloudflare tunnel + DNS), same pattern as crud.example.com → local app.
Goals
- User opens HTTPS on their domain, not IP/port.
- Apex/main site stays intact (use a subdomain; never replace the root domain without explicit ask).
- When deleting a published app, also ask whether to remove DNS / tunnel / subdomain.
Steps
- Confirm the local app
- Service healthy on origin (e.g.
http://127.0.0.1:<port>). - Note project folder, port, and process.
- Pick the hostname
- Ask or propose a short descriptive subdomain (e.g.
crud.,app.,preview.). - Confirm the base domain (user's Cloudflare zone).
- Do not use the apex for the app without explicit confirmation.
- Authenticate Cloudflare (if tunnel cert missing)
- Prefer
cloudflared tunnel loginon the assistant computer (user signs in via browser). - Alternative: API token with DNS + tunnel permissions, if the user prefers.
- Create named tunnel + DNS
- Create a stably named tunnel (e.g.
items-crud). - Route DNS:
tunnel route dns <tunnel> <sub.domain>(CNAME to the tunnel). - Ingress config: hostname →
http://127.0.0.1:<port>; fallbackhttp_status:404. - Run the tunnel; verify
Registered tunnel connection.
- Validate public HTTPS
GET https://<subdomain>returns 200 (or expected app response).- Confirm Cloudflare / TLS headers.
- Deliver the HTTPS link as the primary URL; localhost is internal detail only.
- Persist and clean up safely
- Remember public URL, tunnel name, port, and folder.
- If the user deletes the app folder, ask whether to also remove subdomain / DNS / tunnel (never assume).
Anti-patterns
- Shipping only
http://IP:portorhttp://127.0.0.1as the official link. - Using
*.trycloudflare.comas a permanent stand-in for the user's subdomain (ok only as a temporary quick test). - Deleting DNS/tunnel without explicit hostname confirmation.
- Taking down the apex site to publish an app.
Done when
User has working https://<sub>.<domain>, stable tunnel, and delete/cleanup confirmation covers both app and domain resources.
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 repositoryCheckingcustom/ip-com-subdominio-https/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/diegofornalha/skills-grok/ip-com-subdominio-https)