plugins/cloudflare/skills/d1/SKILL.md
Use this skill when the user asks about Cloudflare D1, serverless SQL databases on Cloudflare, SQLite on the edge, or managing D1 databases with Pulumi.
npx skillsauth add nsheaps/ai-mktpl cloudflare-d1Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
D1 is Cloudflare's serverless SQLite database. It runs on Cloudflare's edge with automatic read replication, point-in-time recovery, and native Worker bindings.
cloudflare.D1Database (docs)export default {
async fetch(request: Request, env: Env): Promise<Response> {
const { results } = await env.DB.prepare("SELECT * FROM users WHERE id = ?").bind(1).all();
return Response.json(results);
},
};
[[d1_databases]]
binding = "DB"
database_name = "my-database"
database_id = "xxxx-xxxx-xxxx"
# Create a database
npx wrangler d1 create my-database
# Run SQL
npx wrangler d1 execute my-database --command "CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)"
# Run migrations
npx wrangler d1 migrations apply my-database
import * as cloudflare from "@pulumi/cloudflare";
const db = new cloudflare.D1Database("my-database", {
accountId,
name: "my-database",
});
export const databaseId = db.id;
| Resource | Free | Paid | | ------------ | -------- | -------------- | | Rows read | 5M/day | $0.001/M | | Rows written | 100K/day | $1.00/M | | Storage | 5 GB | $0.75/GB/month |
tools
Reference material for Claude Code internals — the on-disk layout under ~/.claude and project-scope .claude, the plugin cache, session-env propagation, and the full hook lifecycle. Auto-recall when working on Claude-Code-related tasks: writing or debugging hooks, authoring plugins, inspecting session state, troubleshooting why an env var is or isn't visible to a Bash tool call, or when paths under ~/.claude or ~/.claude/plugins/ come up.
development
Manage GitHub App installation tokens in Claude Code sessions. Use when tokens expire, auth errors occur in long-running sessions, or when setting up GitHub App credentials for agent teams. <example>my github token expired</example> <example>refresh the github app token</example> <example>check token status</example> <example>set up github app authentication for this session</example>
tools
Auto-detect project formatting tools and configure edit-utils settings
tools
Use this skill when the user asks about 1Password, secrets management, retrieving credentials, using op CLI, service accounts, secret references, vault operations, or any task involving the 1Password CLI (op). Also use when needing to inject secrets into environment variables, read passwords or API keys from 1Password, or manage 1Password items from the command line.