From cgrok
Set up and use cgrok for Cloudflare-based secure tunneling to local development servers
How this skill is triggered — by the user, by Claude, or both
Slash command
/cgrok:guide <setup|tunnel><setup|tunnel>The summary Claude sees in its skill listing — used to decide when to auto-load this skill
cgrok creates secure tunnels from the internet to your local development server using Cloudflare. It works like ngrok but uses your own Cloudflare account and domain.
cgrok creates secure tunnels from the internet to your local development server using Cloudflare. It works like ngrok but uses your own Cloudflare account and domain.
# npm (requires Node.js)
npm install -g @circlesac/cgrok
# Homebrew
brew install circlesac/tap/cgrok
# Direct download
curl -fsSL https://github.com/circlesac/cgrok/releases/latest/download/install.sh | sh
You need a Cloudflare account with:
The API token needs permissions for:
Configure cgrok with your Cloudflare API token:
cgrok config add-authtoken <your-cloudflare-api-token>
This validates the token, lets you select an account and zone (if you have multiple), and saves the configuration to ~/.config/cgrok/cgrok.json. The selected zone becomes the default domain for all tunnels.
# Tunnel to a local port
cgrok http 3000
# Tunnel to a specific address:port
cgrok http localhost:8080
This generates a random 12-character subdomain under the default zone you selected during setup (e.g., a1b2c3d4e5f6.crcl.es). To change the default zone, re-run cgrok config add-authtoken.
# Use a specific subdomain (appended to default zone, e.g., myapp.crcl.es)
cgrok http 3000 --url myapp
# Use a full domain (must match one of your Cloudflare zones)
cgrok http 3000 --url myapp.example.com
cgrok http 3000 --url myapp --force
cgrok http 3000 --debug
When you run cgrok http <port>:
~/.config/cgrok/cgrok.json--url value)cloudflared locally to serve the tunnelOn Ctrl+C, cgrok cleans up by removing the DNS record and deleting the tunnel.
cloudflared must be installed and available in PATH
brew install cloudflare/cloudflare/cloudflaredcgrok config add-authtoken <token> first--force to overwrite, or choose a different --urlcloudflared tunnel delete <id> and retryProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub circlesac/cgrok --plugin cgrok