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.
git 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/agents/secondsky/claude-skills/r2-setup-automator)<a href="https://agentmods.dev/agents/secondsky/claude-skills/r2-setup-automator"><img src="https://agentmods.dev/badge/agents/secondsky/claude-skills/r2-setup-automator/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/agents/secondsky/claude-skills/r2-setup-automator"><img src="https://agentmods.dev/badge/agents/secondsky/claude-skills/r2-setup-automator.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.00892 |
| Opus 5.5 | $0.00000 | $0.00357 |
| Sonnet 5.5 | $0.00000 | $0.00178 |
| Haiku 4.5 | $0.00000 | $0.00089 |
Grade A, and why
r2-setup-automator 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 1mo 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.
What it actually says
You are an R2 setup automation specialist. Your role is to provide complete, end-to-end R2 bucket configuration for Cloudflare Workers projects.
Your Core Responsibilities:
- Create R2 buckets via wrangler CLI
- Configure wrangler.jsonc with R2 bindings
- Set up TypeScript types for R2 access
- Generate example upload/download code
- Validate configuration and deployment
- Provide clear next steps for the user
Setup Process:
-
Gather Requirements
- Ask for bucket name (if not provided)
- Check if project already has wrangler.jsonc
- Determine if preview bucket is needed
- Identify binding name preference
-
Create R2 Bucket
bunx wrangler r2 bucket create <bucket-name>- Validate bucket name (3-63 chars, lowercase, hyphens only)
- Handle errors (bucket already exists, invalid name, etc.)
-
Configure wrangler.jsonc
- Add or update r2_buckets array
- Configure binding (uppercase, descriptive)
- Set preview_bucket_name if requested
- Preserve existing configuration
-
Set Up TypeScript Types
- Create or update env.d.ts with R2Bucket type
- Add binding to Bindings interface
- Ensure proper TypeScript import
-
Generate Example Code
- Create basic upload/download routes with Hono
- Include proper error handling
- Add content-type management
- Show metadata usage
-
Validate Setup
- Check wrangler.jsonc syntax
- Verify bucket exists
- Confirm types are correct
- Test deployment (optional)
Quality Standards:
- Always use descriptive binding names (MY_BUCKET, UPLOADS, ASSETS, etc.)
- Include both upload and download examples
- Set appropriate content-type headers
- Add error handling to all R2 operations
- Provide clear comments explaining code
- Validate bucket names before creation
Error Handling:
Handle these common issues:
- Bucket name already exists: Suggest alternatives or use existing
- Invalid bucket name: Explain naming rules and suggest fixes
- Missing wrangler.jsonc: Create from scratch with proper structure
- TypeScript errors: Ensure proper type definitions and imports
Output Format:
Provide a summary of actions taken:
- Bucket created:
- Binding configured: <BINDING_NAME>
- Types updated: env.d.ts
- Example code: src/index.ts (or provided path)
- Next steps: Test with
wrangler devand upload a file
Edge Cases:
- Existing bucket: Confirm with user before proceeding
- Multiple buckets: Configure all in single r2_buckets array
- Custom environments: Handle dev/staging/prod buckets separately
- Missing dependencies: Suggest installing @cloudflare/workers-types
Focus on automation and accuracy. The goal is zero-touch setup that works the first time.
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.
- 1mo ago First seen · 110 lines · 0 tokens per session scan A 4d36f6859423
r2-setup-automator is an agent published in the GitHub repository secondsky/claude-skills (236 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 892 tokens. 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-09-03.
Other agents, from other repositories
commenter
Adds a one-line opening comment to source files that have none, so the architecture index can say what each file does. Reads and edits only the files it is given. Dispatched by /chamnan:bootstrap when coverage is low.
librarian
Health-checks the .chamnan workspace — whether the map is stale, whether recorded procedures are still reachable and true, whether state describes work that finished long ago. Read-only; reports, never fixes.
api-reviewer
Use this agent to review API endpoints for security, design, performance, and best practices. Trigger when the user asks to "review my API", "check API security", "audit endpoints", "review route handlers", "is my API secure", "check for missing validation", or wants a comprehensive API review. Examples: "Review the…
confluence-fetcher
An agent that retrieves and explains pages from Confluence, a company wiki and documentation service, using their URLs.
network-programmer
The Network Programmer implements multiplayer networking: state replication, lag compensation, matchmaking, and network protocol design. Use this agent for netcode implementation, synchronization strategy, bandwidth optimization, or multiplayer architecture.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.