cloudflared

cloudflared is a skill for Claude Code from mifunedev/openharness. It costs 95 tokens per session (1,711 once invoked), scanned A, original, Apache-2.0.

A tool for creating a temporary public web address that forwards to an app running on your computer. Cloudflared is the command-line program that creates this connection through Cloudflare.

In plain words
What is it for?
Use it to share a sandbox or development app publicly, with an optional stable hostname or access policy when needed.
Why use it?
It lets other people open a local preview without deploying the app to a server. It also helps avoid exposing the wrong local service by checking which port should be shared.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to share a sandbox or development app publicly, with an optional stable hostname or access policy when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mifunedev/openharness/cloudflared
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mifunedev/openharness --skill cloudflared
Clone the repo
git clone --depth 1 https://github.com/mifunedev/openharness

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloudflared

README.md
[![agentmods](https://agentmods.dev/badge/skills/mifunedev/openharness/cloudflared/github.svg)](https://agentmods.dev/skills/mifunedev/openharness/cloudflared)
Your own site
<a href="https://agentmods.dev/skills/mifunedev/openharness/cloudflared"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/cloudflared/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloudflared

Your own site · 80×15
<a href="https://agentmods.dev/skills/mifunedev/openharness/cloudflared"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/cloudflared.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,711 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 104
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01711
Opus 5.5 $0.00038 $0.00684
Sonnet 5.5 $0.00019 $0.00342
Haiku 4.5 $0.00010 $0.00171

Measured 3mo ago against content hash 9ec1afc1cacd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloudflared scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

script's local `curl` precheck is necessary but NOT sufficient: an origin can
.oh/skills/cloudflared/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloudflared

Use Cloudflared as the default public tunnel for sandbox app previews. Prefer a Cloudflare quick tunnel for temporary sharing; use a named tunnel only when the operator explicitly needs a stable hostname or Cloudflare Access policy.

Arguments

Arguments received: $ARGUMENTS

  • PORT: first positional argument; required (example: 3000)
  • --host: local upstream host; default 127.0.0.1
  • --name: optional slug for the tmux/log suffix; default is the port
  • --session: optional tmux session name override; default cloudflared-<slug>

If PORT is missing, ask which local port to tunnel.

Pre-flight — confirm the public surface (do NOT assume)

A dev stack usually listens on several ports where only ONE is the intended public surface (e.g. a web UI on :3005, a browser-editor gateway on :8788, a metrics port, a DB). Picking the wrong one wastes a tunnel and can expose the wrong service.

Before starting a tunnel:

  1. If the caller did not name the service explicitly, list the listening ports and ask which service is meant to be public — never default to "the web port". ss -ltnp or the project's dev docs disambiguate.
  2. A quick-tunnel URL is a public bearer URL — anyone with it reaches the origin. If the target is not a throwaway static preview (it has auth, webhooks, an admin surface, or real data), get an explicit go-ahead before exposing it.

Quick tunnel flow

Run inside the sandbox, after the app is already listening locally:

bash "$CLAUDE_SKILL_DIR/scripts/run.sh" $ARGUMENTS

The script verifies cloudflared, tmux, and the local upstream, starts a Cloudflare quick tunnel in tmux, waits for the generated URL, and prints inspect/log/stop commands.

Always verify through the PUBLIC url, not just the local upstream. The script's local curl precheck is necessary but NOT sufficient: an origin can answer 127.0.0.1 fine yet return 404/421 through the tunnel because it routes on (or rejects) the Host header the tunnel sends (see Troubleshooting). After the URL appears:

Read the full file on GitHub · 157 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 157 lines · 95 tokens per session scan A 9ec1afc1cacd

Subscribe to this mod's changes

cloudflared is a skill published in the GitHub repository mifunedev/openharness (37 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 95 tokens to every session and 1,711 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cloudflared compared with skills from other repositories

cloudflared next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloudflaredmifunedev/openharnessSkill372mo agoApache-2.0A95Claude Code
tao-setup-nvidia-gpu-hostNVIDIA/skillsSkill4.2k2d agoApache-2.0B177Claude Code
data-visualizationlangchain-ai/deepagentsSkill32ktodayMITA40Claude Code, Codex
cuml-machine-learninglangchain-ai/deepagentsSkill32ktodayMITA43Claude Code, Codex
blog-postlangchain-ai/deepagentsSkill32ktodayMITA58Claude Code, Codex
rememberlangchain-ai/deepagentsSkill32ktodayMITA71Claude Code, Codex
cudf-analyticslangchain-ai/deepagentsSkill32ktodayMITA51Claude Code, Codex