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.
npx skills add jcottam/agent-resources --skill hostgit clone --depth 1 https://github.com/jcottam/agent-resourcesWrote 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.
[](https://agentmods.dev/skills/jcottam/agent-resources/host)<a href="https://agentmods.dev/skills/jcottam/agent-resources/host"><img src="https://agentmods.dev/badge/skills/jcottam/agent-resources/host/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.
<a href="https://agentmods.dev/skills/jcottam/agent-resources/host"><img src="https://agentmods.dev/badge/skills/jcottam/agent-resources/host.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
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 89 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.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.01282 |
| Opus 5.5 | $0.00045 | $0.00513 |
| Sonnet 5.5 | $0.00023 | $0.00256 |
| Haiku 4.5 | $0.00011 | $0.00128 |
Grade A, and why
host scanned grade A with 0 findings 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.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Host
Upload any file to Cloudflare R2 and get back a shareable public URL.
SCRIPTS below refers to the scripts/ directory next to this file.
Prerequisites
- Wrangler CLI — the Cloudflare developer CLI used for all R2 operations
- Cloudflare account with an R2 bucket that has public access enabled (r2.dev subdomain or custom domain)
- Wrangler authenticated via one of:
wrangler login(interactive OAuth — run once, token persists in~/.wrangler)CLOUDFLARE_API_TOKENenvironment variable
Step 1 — Check prerequisites
Wrangler installation
Check if wrangler is available:
wrangler --version
If not installed, install it globally:
npm install -g wrangler
Wrangler authentication
Verify auth status:
wrangler whoami
If not authenticated, the user must run wrangler login interactively (opens a browser for OAuth). This is a one-time step.
Host configuration
Look for ~/.publish.json. If it doesn't exist, run $SCRIPTS/setup.sh and walk the user through the prompts. The setup script creates the config file with:
{
"bucket": "my-bucket-name",
"publicBaseUrl": "https://pub-xxx.r2.dev"
}
If the file exists, read it and parse the bucket and publicBaseUrl values. Both are required.
Step 2 — Identify the asset
Determine what file to host from context:
- If the user specified a file path, use that.
- If the user said "host this" without a path, check for:
- A file the user is currently viewing or recently created
- A
.canvas.tsxoutput or generated HTML file from the current session
- Verify the file exists before proceeding. If ambiguous, ask the user to clarify.
Step 3 — Generate the key
Decide the R2 object key (the path within the bucket):
- Default: derive a readable slug from the filename.
- Strip extension, lowercase, replace spaces and special characters with hyphens
- Append today's date:
my-report-2026-05-15 - Re-attach the original file extension
- Example:
Sales Report Q1.htmlbecomessales-report-q1-2026-05-15.html
- User override: if the user provided a custom name, use it instead (sanitized).
- Collision check: scan
~/.publish-history.jsonfor the key. If it exists, ask the user whether to overwrite or append a suffix (-2,-3, etc.).
What ships with it
4 files 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.
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.
- 3mo ago First seen · 147 lines · 113 tokens per session scan A 823449344f76
host is a skill published in the GitHub repository jcottam/agent-resources (21 stars, last pushed 10d ago), licensed MIT. It adds 113 tokens to every session and 1,282 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
host compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hostjcottam/agent-resources | Skill | 21 | 10d ago | MIT | A | 113 | Claude Code |
| cloudflare-onecloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 63 | Claude Code |
| agents-sdkcloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 19 | Claude Code |
| cloudflare-one-migrationscloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 36 | Claude Code |
| sandbox-migrate-to-nextcloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 45 | Claude Code |
| sandbox-stablecloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 39 | Claude Code |
| cf-clicloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 78 | Claude Code |