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 agentmods add commands/secondsky/claude-skills/workers-migrategit clone --depth 1 https://github.com/secondsky/claude-skillsWrote 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/commands/secondsky/claude-skills/workers-migrate)<a href="https://agentmods.dev/commands/secondsky/claude-skills/workers-migrate"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/workers-migrate.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00032 | $0.03611 |
| Opus 5 | $0.00016 | $0.01806 |
| Sonnet 5 | $0.00006 | $0.00722 |
| Haiku 4.5 | $0.00003 | $0.00361 |
Grade A, and why
cloudflare-workers:migrate 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 yesterday.
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.
async fetch(request: Request, env: Env): Promise<Response> { How it starts
The opening of the file, as written. The whole thing — 622 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Workers Migrate Command
Guided migration assistant for moving applications to Cloudflare Workers from other platforms.
Execution Workflow
Phase 1: Source Platform Detection
If --from argument provided:
- Use specified platform (lambda, vercel, netlify, pages)
- Skip detection step
If no --from argument: Use AskUserQuestion:
Question: "Which platform are you migrating from?"
- Options:
- AWS Lambda (serverless functions)
- Vercel (Edge Functions, Serverless Functions)
- Netlify (Functions, Edge Functions)
- Cloudflare Pages (Functions)
- Other (custom platform)
Phase 2: Project Analysis
Scan the project to understand its structure:
For AWS Lambda:
- Look for
serverless.ymlortemplate.yaml(SAM) - Find Lambda handler files (usually
index.jsorhandler.js) - Check for AWS SDK usage:
grep -r "aws-sdk" . grep -r "@aws-sdk" . - Identify runtime (Node.js, Python, etc.)
- Check for environment variables in config
- Identify triggers (API Gateway, S3, etc.)
For Vercel:
- Look for
vercel.jsonconfiguration - Find Edge Functions (
middleware.ts) and Serverless Functions (api/) - Check framework (Next.js, SvelteKit, etc.)
- Identify environment variables in
.envor dashboard - Check for Vercel-specific features (ISR, Edge Config)
For Netlify:
- Look for
netlify.toml - Find Functions in
netlify/functions/orfunctions/ - Check for Edge Functions in
netlify/edge-functions/ - Identify redirects and rewrites
- Check for Netlify-specific features (Forms, Identity)
For Cloudflare Pages:
- Look for
_worker.jsorfunctions/directory - Check
wrangler.tomlfor Pages configuration - Identify framework (if any)
- Note bindings already configured
Phase 3: Compatibility Analysis
Analyze what can be migrated automatically vs. manually:
Compatible Features (auto-migrate):
- HTTP request/response handling
- Environment variables → Workers env
- Basic routing
- JSON APIs
- Static file serving → Workers Static Assets
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.
- yesterday First seen · 622 lines · 32 tokens per session scan A 9eba140de473
cloudflare-workers:migrate is a command published in the GitHub repository secondsky/claude-skills (214 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 3,611 once invoked, about $0.0002 per session on Opus 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-09-03.
Other commands, from other repositories
correlate
Find related failures through pattern matching.
diff
Compare two command outputs with intelligent diff.
open
Open/retrieve an offloaded output by ID or shortcut.
search
Search through offloaded outputs with hard caps.
stats
Show FewWord session statistics with rich output and token savings.
timeline
Visual timeline of command outputs in current session.