Skills for Real Engineers. Straight from my .agents directory.
pinme-r2
Agent skill fromglitternetwork/pinme
Use when a PinMe Cloudflare Worker needs R2 object storage, including secure file or image upload, streaming download, metadata lookup, deletion, listing, Range requests, or R2+D1 coordination. Guides AI to use PinMe's automatically injected env.R2 binding without R2 credentials or manual Wrangler configuration.
How to install pinme-r2
npx skills add glitternetwork/pinme# or add only this skill to Claude Code: copy the folder
skills/pinme-r2/
# into
~/.claude/skills/pinme-r2/ (all projects)
.claude/skills/pinme-r2/ (one project)
1# PinMe Worker R2 Storage23Use the project-scoped R2 bucket that PinMe binds to every deployed Worker as `env.R2`. Do not create credentials, choose a bucket name, or edit generated Wrangler configuration.45## Runtime Contract67PinMe rebuilds trusted Worker metadata on create, save, and update. Client metadata cannot replace the R2 binding.89| Binding | TypeScript type | Availability |10| --- | --- | --- |11| `DB` | `D1Database` | Always injected |12| `R2` | `R2Bucket` | Always injected; current project's bucket |13| `API_KEY` | `string` | Always injected |14| `LLM_API_KEY` | `string` | Always injected |15| `BASE_URL` | `string` | Always injected |16| `WORKER_URL` | `string` | Always injected |17| `PROJECT_NAME` | `string` | Always injected |1819Payment-specific bindings such as `UNIWEB_SECRET` are conditional and unrelated to R2 access.2021Declare only the bindings used by the Worker module. R2 code normally starts with:2223```typescript24export interface Env {25 R2: R2Bucket;26 PROJECT_NAME: string;27 WORKER_URL: string;28}29```3031When the same module coordinates file metadata in D1, also declare `DB: D1Database` as a required field.3233## Choose R2 or D13435- Use R2 for file bodies, images, attachments, media, exports, and other objects addressed by key.36- Use D1 for searchable business metadata, ownership, relations, status, and audit fields.37- For managed files, store the body in R2 and store only its key and business metadata in D1.38…
Excerpt shown under the repository's MIT license.
More skills in pinme
Similar skill repositories
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
