banrepco_mcp: Skill for Claude Code

.agents/skills/workers-best-practices/SKILL.md

workers-best-practices is a skill for Claude Code, Codex from kevyder/banrepco_mcp. It costs 72 tokens per session (1,585 once invoked), scanned A, a copy of workers-best-practices, MPL-2.0.

A review guide for Cloudflare Workers, small programs that run on Cloudflare’s network, covering code and deployment configuration.

In plain words
What is it for?
Writing or reviewing Workers code, checking Wrangler configuration, and verifying current Cloudflare APIs and recommended practices.
Why use it?
It helps catch common production problems involving streaming, unfinished asynchronous work, shared state, secrets, service connections, and monitoring.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is kevyder/banrepco_mcp's own configuration. It tells Claude Code and Codex how to work on banrepco_mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything banrepco_mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kevyder/banrepco_mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kevyder/banrepco_mcp/master/.agents/skills/workers-best-practices/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kevyder/banrepco_mcp

Made for: Claude Code, Codex.

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 workers-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevyder/banrepco_mcp/workers-best-practices/github.svg)](https://agentmods.dev/skills/kevyder/banrepco_mcp/workers-best-practices)
Your own site
<a href="https://agentmods.dev/skills/kevyder/banrepco_mcp/workers-best-practices"><img src="https://agentmods.dev/badge/skills/kevyder/banrepco_mcp/workers-best-practices/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 workers-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevyder/banrepco_mcp/workers-best-practices"><img src="https://agentmods.dev/badge/skills/kevyder/banrepco_mcp/workers-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,585 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00072 $0.01585
Opus 5 $0.00036 $0.00792
Sonnet 5 $0.00014 $0.00317
Haiku 4.5 $0.00007 $0.00159

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

Security

Grade A, and why

workers-best-practices 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 10d 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.

Origin

This is a copy

100% identical to workers-best-practices — 135 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/workers-best-practices/SKILL.md · 128 lines

How it starts

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

Your knowledge of Cloudflare Workers APIs, types, and configuration may be outdated. Prefer retrieval over pre-training for any Workers code task — writing or reviewing.

Retrieval Sources

Fetch the latest versions before writing or reviewing Workers code. Do not rely on baked-in knowledge for API signatures, config fields, or binding shapes.

Source How to retrieve Use for
Workers best practices Fetch https://developers.cloudflare.com/workers/best-practices/workers-best-practices/ Canonical rules, patterns, anti-patterns
Workers types See references/review.md for retrieval steps API signatures, handler types, binding types
Wrangler config schema node_modules/wrangler/config-schema.json Config fields, binding shapes, allowed values
Cloudflare docs Search tool or https://developers.cloudflare.com/workers/ API reference, compatibility dates/flags

FIRST: Fetch Latest References

Before reviewing or writing Workers code, retrieve the current best practices page and relevant type definitions. If the project's node_modules has an older version, prefer the latest published version.

# Fetch latest workers types
mkdir -p /tmp/workers-types-latest && \
  npm pack @cloudflare/workers-types --pack-destination /tmp/workers-types-latest && \
  tar -xzf /tmp/workers-types-latest/cloudflare-workers-types-*.tgz -C /tmp/workers-types-latest
# Types at /tmp/workers-types-latest/package/index.d.ts

Reference Documentation

  • references/rules.md — all best practice rules with code examples and anti-patterns
  • references/review.md — type validation, config validation, binding access patterns, review process

Rules Quick Reference

Configuration

Rule Summary
Compatibility date Set compatibility_date to today on new projects; update periodically on existing ones
nodejs_compat Enable the nodejs_compat flag — many libraries depend on Node.js built-ins
wrangler types Run wrangler types to generate Env — never hand-write binding interfaces
Secrets Use wrangler secret put, never hardcode secrets in config or source
wrangler.jsonc Use JSONC config for non-secret settings — newer features are JSON-only

Read the full file on GitHub · 128 lines

Files

What ships with it

2 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. 10d ago First seen · 128 lines · 72 tokens per session scan A 099432ff265f

Subscribe to this mod's changes

workers-best-practices is a skill published in the GitHub repository kevyder/banrepco_mcp (9 stars, last pushed 29d ago), licensed MPL-2.0. It adds 72 tokens to every session and 1,585 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to workers-best-practices, differing in 135 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-workers

Cloudflare Workers deployment using createWorkerHandler from @cyanheads/mcp-ts-core/worker. Covers the full handler signature, binding types, CloudflareBindings extensibility, runtime compatibility guards, and wrangler.toml requirements.

cyanheads/mcp-ts-core · 51 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

frontmcp-deployment

Use when deploying, building for production, packaging, or shipping a FrontMCP server. Covers build targets (node, cli SEA binary, browser, embeddable SDK, mcpb archive for Claude Desktop, serverless) and deploying to Vercel (with Vercel KV), AWS Lambda (API Gateway, SAM, CDK), Cloudflare Workers (KV, D1, Durable…

agentfront/frontmcp · 210 tokens

orchardcore-amazon-s3-media

Skill for configuring Amazon S3 media storage in Orchard Core. Covers bucket setup, AWS credentials, security policies, tenant templating, local S3 emulators, ImageSharp resized-image caches, and CDN use. Use this skill for OrchardCore.Media.AmazonS3, OrchardCore.Media.AmazonS3.ImageSharpImageCache, Amazon S3 Media…

CrestApps/CrestApps.AgentSkills · 139 tokens

cloudflare-workers-mcp

Software Development MCP server by Cloudflare.

Friz-zy/ai-capability-registry · 14 tokens

cloudml-eval-ops

Run frozen Roboclaws Eval Harness rows on CloudML with bounded parallelism, official cml lifecycle commands, executor-backed JuiceFS transfer, durable task receipts, verified collection, and explicit retry/preemption evidence. Use when a user asks to run, refresh, resume, monitor, collect, or debug a Roboclaws…

MiaoDX/roboclaws · 99 tokens