mkfast-deploy

mkfast-deploy is a skill for Claude Code from iamzhihuix/happy-claude-skills. It costs 305 tokens per session (4,008 once invoked), scanned C, original, MIT.

A deployment workflow for mkfast-template and TanStarter projects running on Cloudflare Workers, Cloudflare’s platform for deploying server-side code and websites.

In plain words
What is it for?
Use it to prepare and deploy supported projects, configure production secrets, handle database and storage steps, and account for custom-domain settings.
Why use it?
It checks which services the project actually uses before deployment, helping avoid commands for missing databases, storage, payments, or other components.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to prepare and deploy supported projects, configure production secrets, handle database and storage steps, and account for custom-domain settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iamzhihuix/happy-claude-skills/mkfast-deploy
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 iamzhihuix/happy-claude-skills --skill mkfast-deploy
Clone the repo
git clone --depth 1 https://github.com/iamzhihuix/happy-claude-skills

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 mkfast-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/iamzhihuix/happy-claude-skills/mkfast-deploy/github.svg)](https://agentmods.dev/skills/iamzhihuix/happy-claude-skills/mkfast-deploy)
Your own site
<a href="https://agentmods.dev/skills/iamzhihuix/happy-claude-skills/mkfast-deploy"><img src="https://agentmods.dev/badge/skills/iamzhihuix/happy-claude-skills/mkfast-deploy/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 mkfast-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/iamzhihuix/happy-claude-skills/mkfast-deploy"><img src="https://agentmods.dev/badge/skills/iamzhihuix/happy-claude-skills/mkfast-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 305 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00305 $0.04008
Opus 5 $0.00152 $0.02004
Sonnet 5 $0.00061 $0.00802
Haiku 4.5 $0.00030 $0.00401

Measured 12d ago against content hash dbfcae21f438, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

mkfast-deploy scanned grade C with 2 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 12d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf dist .vite node_modules/.vite

Makes network callslowCapability

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

curl -s -o /dev/null -w "HTTP %{http_code} | size %{size_download}B | time %{time_total}s\n" https://<domain>
skills/mkfast-deploy/SKILL.md · 221 lines

How it starts

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

Mkfast Deploy

mkfast-template(TanStarter 系)项目部署到 Cloudflare Workers。核心价值:根据项目实际启用的组件动态裁剪部署步骤,避免照搬完整版文档导致裁剪版项目跑空命令甚至报错。

适用范围

:基于 mkfast-template 模板派生的项目,包括完整 SaaS 形态、裁剪版博客、或任意中间形态。

不是:任意 Cloudflare Workers 项目(这种情况用 wrangler skill 就够)。

判断标志(满足任一即可):

  • 根目录有 wrangler.jsonc + package.json
  • package.jsonwrangler + @cloudflare/vite-plugin + @tanstack/react-start 中任一
  • 目录里有 mkfast 特征文件:drizzle.config.ts / src/server.ts / src/db/auth.schema.ts

重要原则

  1. 先评估再执行 — 任何 deploy 命令前必须完成 Phase 1,生成裁剪后的步骤清单。直接 pnpm run deploy 不算工作完成
  2. 不要照搬官方文档 — mkfast 完整版文档假设了 D1 + R2 + secret bulk,裁剪版项目跑这些步骤会报错或浪费(例如无 drizzle 配置时跑 db:migrate:remote 会找不到 migrations 目录)
  3. secret bulk 是 gating step — 项目有服务端 secret(.env.production 含非 VITE_* 变量)必须在 deploy 前推到 Cloudflare,否则运行时崩溃
  4. 生产部署需明确确认 — Phase 3 执行 pnpm run deploy 前必须用 AskUserQuestion 让用户最终确认(影响生产域名)
  5. 域名状态决定 routes 策略 — 域名未托管 Cloudflare 时不能直接 deploy 含 routes 的配置,需先去掉 routes、deploy 拿默认域名、再到 Dashboard 绑定(详见 references/tailoring.md Routes 配置策略表)
  6. 安全优先.env* 必须进 .gitignore对话 / 截图 / Slack / commit message 中出现过的 secret 一律视为已泄漏,立即 rotate(见 Phase 1.5 安全 baseline + Phase 4 Secret rotation 提醒)
  7. 模板占位符必查 — mkfast-template 派生项目的 wrangler.jsonc4 处模板默认值必改name / routes.pattern / database_id / bucket_name)+ 1 处必关(logpush: true 在 Free/Pro plan 必报 code 10023)。见 references/components.md §0 占位符识别表;不查就 deploy 会写到模板原作者的 D1 或 deploy 失败

工作流(4 阶段)

Phase 1 — 自动评估(只读)

Step 1.0(必做,block 后续进度):对照 references/components.md §0 模板默认占位符识别表做 wrangler.jsonc + package.json diff。任何未替换的模板默认值——name="mkfast-template" / routes[0].pattern="demo.tanstarter.dev" / database_id="dc34f04a-3445-4b5c-bf61-c4ec2328e239" / r2.bucket_name="mkfast-template" / logpush: true——都直接 block 进 Phase 2

这是本 skill 最重要的前置关:不查就 deploy 会(a)写到模板原作者的 D1 数据库;(b)deploy 失败报 code 10023(logpush 企业功能);(c)routes 冲突。所有这些都是 mkfast-template 派生项目首次部署几乎必踩的坑。

Read the full file on GitHub · 221 lines

Files

What ships with it

6 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.

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. 12d ago First seen · 221 lines · 305 tokens per session scan C dbfcae21f438

Subscribe to this mod's changes

mkfast-deploy is a skill published in the GitHub repository iamzhihuix/happy-claude-skills (306 stars, last pushed 4mo ago), licensed MIT. It adds 305 tokens to every session and 4,008 once invoked, about $0.0015 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens