alchemy
Skill120 starsChanged 5 days agoMITView on GitHub
Configure, test locally in workerd, and deploy Vibestack applications to Cloudflare with Alchemy v2 (alchemy.run): read before writing or editing alchemy.run.ts, Cloudflare Worker/DO/Static Assets stacks, deploy CLI commands, or deployment CI workflows.
10 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- elizaOS/elizaedited, first seen Nov 29, 2026
- l-gevity/l-gevity-skillstheir own version, first seen Nov 22, 2026
- darjss/alchemy-skilltheir own version, first seen Nov 16, 2026
- cill-i-am/skillstheir own version, first seen Oct 20, 2026
- 0xvikram/backboard-skillstheir own version, first seen Oct 20, 2026
- Eskyee/agentbot-opensourcetheir own version, first seen Oct 13, 2026
Used with
Projects with it also use quicknode, neynar and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
BankrBotSkillquicknode
Blockchain RPC and data access via Quicknode. Use when an agent needs to read onchain data (balances, token prices, transaction status, gas estimates, block data) across Base, Ethereum, Polygon, Solana, or Unichain. Supports both API key access and x402 wallet-based pay-per-request access with no account needed. Triggers on mentions of RPC, blockchain data, onchain queries, token balances, gas estimation, block number, transaction receipt, Quicknode, or x402.
Also in 4 projects that use this
basezhSkillneynar
Interact with Farcaster via Neynar API. Use when the user wants to read Farcaster feeds, look up users, post casts, search content, or interact with the Farcaster social protocol. Requires NEYNAR_API_KEY.
Also in 4 projects that use this
BankrBotSkillaeon-autoresearch
Evolve any installed skill by generating four variations along separate theses (better inputs / sharper output / more robust / rethink), scoring them on a weighted rubric, and applying the winner. Never downgrades a working skill — aborts cleanly if no variation improves the original. Use when an installed skill is producing low-signal output, hitting deprecated APIs, or feels stale. Triggers: "improve this skill", "evolve $skill", "auto-research my X", "regenerate variations".
Also in 3 projects that use this
- +9 more from BankrBot
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- elizaOS/eliza★ 20k54% same
Wrote their own version · 9
- BankrBot/openclaw-skills★ 1.2ksame name
- BankrBot/skills★ 1.2ksame name
- l-gevity/l-gevity-skills★ 93same name
- Eskyee/agentbot-opensource★ 17same name
- wyattjoh/skills★ 3same name
- 0xvikram/backboard-skills★ 1same name
- lesliewangwyc-dev/prompt-alchemy★ 1same name
- cill-i-am/skills★ 0same name
- darjss/alchemy-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectSkill
- arenaSkill
- benchmark-checklistSkill
- bug-reviewSkill
- designSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- proveSkill
- shellSkill
- syncSkill
- typescript-best-practicesSkill
- whySkill
- feedSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 0 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Keep
pnpm checkoffline and fast: Never run live cloud deploys inside pnpm check or default pnpm test. - Very specific: line 17
Ignore local state directories: keep .alchemy/ and .wrangler/ out of Git, ESLint, Stylelint, and Turborepo task inputs (vibestack init and …
- Very specific: line 63
Durable Object migrations: always run pnpm exec alchemy --fast-distilled plan --adopt --stage <stage> first when adopting Workers with …
- Very specific: line 64
Use Alchemy.RemovalPolicy.retain() on stateful resources (D1, R2, Durable Object namespaces, Zones) so destroy never drops production data.
- Very specific: line 70
Use @alchemy.run/test/Vitest (Test.make({ providers: Cloudflare.providers(), dev: true, stage })) with beforeAll(deploy(Stack)) and …
- Very specific: line 76
Single-build handoff: run pnpm exec turbo run build typecheck (or pnpm all build typecheck) once (leveraging Turborepo + R2 remote cache), …
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Alchemy deployment, local runtime, and verification
Vibestack uses Alchemy v2 (alchemy@2.0.0-beta.85 + @alchemy.run/cloudflare@2.0.0-beta.85 + @alchemy.run/test@2.0.0-beta.85), Effect 4 native, running directly on Node 26+.
Hard rules
- Use Alchemy v2 only (
alchemy+@alchemy.run/cloudflareat2.0.0-beta.85). Never install legacy v1 (alchemy-async/0.x) or obsolete placeholders (alchemy-effect,@alchemy.run/core,alchemy.run). - Never install
@cloudflare/vite-pluginalongside Alchemy:Cloudflare.Website.Viteinjects@alchemy.run/cloudflare-runtime/viteautomatically and conflicts with@cloudflare/vite-plugin. - Keep
pnpm checkoffline and fast. Never run live cloud deploys insidepnpm checkor defaultpnpm test. Run offlineworkerdboot/integration verification inpnpm test:deploy(using@alchemy.run/test/Vitestwithdev: true) and live post-deploy checks insideAlchemy.Action+pnpm cli deploy --verify. - Always set
ALCHEMY_FAST_DISTILLED=1(or--fast-distilled) on Node 26 CLI invocations to lazy-load distilled cloud operations and cut startup time and heap usage. - Allow
workerdbuild scripts inpnpm-workspace.yaml(allowBuilds: { workerd: true }). - Ignore local state directories: keep
.alchemy/and.wrangler/out of Git, ESLint, Stylelint, and Turborepo task inputs (vibestack initandvibestack upgradeadd them automatically). - Never commit secrets or pass them through cached Turbo tasks. Put
CLOUDFLARE_*andALCHEMY_*only inpassThroughEnvoncache: falsedeploy tasks. - Isolate Alchemy TypeScript projects from ESLint
projectService. Never includedeploy/oralchemy.run.ts(which import@alchemy.run/cloudflare->@distilled.cloud/cloudflare) in an app's maintsconfig.json; keep them in a dedicateddeploy/tsconfig.jsonchecked bytypecheck(tsc --noEmit -p deploy/tsconfig.json) and in ESLint'suntypedlist (vibestackConfigadds"**/alchemy.run.ts"and"**/deploy/**"by default) sopnpm lint:jsstays fast and never OOMs.
Toolchain alignment
- Alchemy
2.0.0-beta.85requireseffect: "^4.1.0"and Node>=26. - Vibestack pins
effect: 4.1.1,@effect/platform-node: 4.1.1,@effect/vitest: 4.1.1, andvibelang/vibelang-runtime/vibelang-viteat0.0.13, matchingalchemy@2.0.0-beta.85with zero peer conflicts. - Pin exact
alchemy,@alchemy.run/cloudflare, and@alchemy.run/testversions inpnpm-workspace.yamlundercatalog:.
Vibestack domain to Cloudflare mapping
| Vibestack layer | Cloudflare primitive in Alchemy v2 |
Single-writer spec-backed Machine | SQLite Durable Object (Cloudflare.Workers.DurableObject / Worker export): serialize transitions in DO storage, validate stored state with decodeState on wake, persist before answering |
| React + Vite 8 + VibeLang SPA (local dev) | Cloudflare.Website.Vite("App", { rootDir, assets: { notFoundHandling: "single-page-application" } }) — composes with vibelang-vite, @vitejs/plugin-react, and @tailwindcss/vite |
| Prebuilt Turbo SPA / Worker (CI, zero double-build) | Cloudflare.Worker with bundle: false (prebuilt ESM) and assets: { ...hashAssetDirectory(distDir), notFoundHandling: "single-page-application", runWorkerFirst: ["/api/*"] } |
| Existing external Postgres pool | Cloudflare.Hyperdrive.lookup (read-only data source in 2.0.0-beta.85) or Cloudflare.Hyperdrive.Connection with .pipe(Alchemy.AdoptPolicy.adopt(true)), supplying dev origin for local alchemy dev since Cloudflare never returns origin passwords |
| Post-deploy verification gate | Alchemy.Action calling verifyDeploymentEndpoints from vibestack/alchemy, returning a typed DeploymentReceipt |
| Operational deploy lever | pnpm cli deploy [--stage <name>] [--dry-run] [--verify] [--destroy] [--json] (packages/cli/src/commands/deploy.ts) |
Helpers in vibestack/alchemy
packages/vibestack/src/alchemy.ts (imported as vibestack/alchemy) is a zero-dependency Node 26 module providing four composable primitives:
resolveStage&assertStageGuard:- Discriminated
StageTarget(dev,test,preview,staging,production). - Scopes local dev/test stages by user and git worktree (
dev_<user>_<worktree>,test_<user>_<worktree>) so parallel worktrees and agents never collide. Never hardcode a fixeddev.port. assertStageGuard(target, { resourceIds, domains, productionIds, productionDomains })fails statically before deploy if any non-production stage references a production resource ID or domain.
- Discriminated
hashAssetDirectory(dir):- Deterministically SHA-256 hashes a Turbo-built
dist/directory and returns{ directory, path, hash, fileCount, totalBytes }soCloudflare.Workerskips re-hashing and re-uploading unchanged assets.
- Deterministically SHA-256 hashes a Turbo-built
verifyDeploymentEndpoints(baseUrl, endpoints, options):- Bounded exponential-retry HTTP verifier handling Cloudflare edge propagation (
404/5xx cold-start windows), checking status codes, headers, body substrings, JSON predicates, and optional commit SHA headers/fields, returning a typedDeploymentReceipt.
- Bounded exponential-retry HTTP verifier handling Cloudflare edge propagation (
makeR2BucketObjects(config, adapter)&createR2BucketClient(config):- Zero-dep Node 26 R2 object client supporting both S3-compatible SigV4 (
kind: "s3", ideal for existingR2_STATE_ACCESS_KEY_ID/R2_STATE_SECRET_ACCESS_KEYcredentials) and Cloudflare R2 REST API (kind: "api"). Plugs directly intoalchemy/State/BucketState'smakeBucketStatewhen CI tokens lackSecrets Store Write.
- Zero-dep Node 26 R2 object client supporting both S3-compatible SigV4 (
State stores & safe adoption
- Local dev & offline tests:
Alchemy.localState()(stored in.alchemy/state/, gitignored). - Cloudflare managed state:
Cloudflare.state()(one account-level Worker + SQLite DO + Secrets Store). Pre-provision once before CI viapnpm exec alchemy state bootstrap --backend cloudflare. Note: CI tokens usingCloudflare.state()require Secrets Store Write permission. - R2 bucket state (when Secrets Store Write is unavailable): wrap
makeR2BucketObjectsinmakeBucketState(conditional-put__lease__.jsonlocking; noteStateEncryption/passphraseEncryptionisbeta.86+). - Adopting existing Workers & preserving secrets:
- Pass
.pipe(Alchemy.AdoptPolicy.adopt(true))(or--adopt) when adopting existing Cloudflare resources. - Worker secrets are preserved:
Cloudflare.Workerdoes not wipe secrets set outside Alchemy (wrangler secret putor dashboard); it only deletes secrets previously managed by Alchemy. Cloudflare.Pages.Projectcaveat:Pages.ProjectreconcilesenvVarskey-by-key and deletes omitted keys ifenvVarsis specified. OmitenvVarsto leave unmanaged Pages secrets intact.Cloudflare.Pages.Deploymentlimitation:Pages.Deploymentcannot upload static assets,_worker.js, or_routes.json. PreferCloudflare.Workerwith Workers Static Assets (assets: { ... }); where Classic Pages is strictly required, adoptPages.Projectand upload via a memoizedAlchemy.Action.- Durable Object migrations: always run
pnpm exec alchemy --fast-distilled plan --adopt --stage <stage>first when adopting Workers with existing or retired Durable Object classes to confirm zero unintendeddeleted_classesoperations. - Use
Alchemy.RemovalPolicy.retain()on stateful resources (D1, R2, Durable Object namespaces, Zones) sodestroynever drops production data.
- Pass
Local dev & verifiable testing (workerd)
- Local runtime:
pnpm dev:cfrunsALCHEMY_FAST_DISTILLED=1 alchemy dev(real localworkerdwith hot reload for Workers, SQLite DOs, KV, R2, D1, Queues, Email, RateLimit, and Vite HMR for Websites — zero Cloudflare credentials required). - Offline
workerdverification (pnpm test:deploy):- Use
@alchemy.run/test/Vitest(Test.make({ providers: Cloudflare.providers(), dev: true, stage })) withbeforeAll(deploy(Stack))andafterAll(destroy(Stack)). - Boots the real built Worker / Static Assets / SQLite DO inside
workerdlocally — catching global-scope runtime errors, asset routing regressions, and DO serialization bugs offline in PR CI before touching Cloudflare. - The same stack and
verifyDeploymentEndpointsprobes run post-deploy insideAlchemy.Actionagainst the live deployed URL.
- Use
Turborepo & zero-trust CI optimization
- Single-build handoff: run
pnpm exec turbo run build typecheck(orpnpm all build typecheck) once (leveraging Turborepo + R2 remote cache), then pass prebuilt outputs (bundle: false+hashAssetDirectory) into Alchemy so CI never double-builds Vite or VibeLang bundles. - Zero-trust publication boundary:
- Untrusted PR verification jobs (
ci.yml) read shared remote caches and run offlinepnpm test:deploy(workerd) with no Cloudflare deploy secrets. - Privileged deploy jobs (
deploy-site.yml,deploy-examples.yml) run withconcurrency: { cancel-in-progress: false }onmain, never restore untrusted PR caches, preflight auth viapnpm exec alchemy provider check-env, and fail atomically if post-deployAlchemy.Actionverification fails.
- Untrusted PR verification jobs (
- Credentials: Alchemy reads
~/.alchemy/profiles.json(alchemy profile edit --add Cloudflare) orCLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_ID(it does not read Wrangler's OAuth token). Runpnpm exec vibestack doctorto verify readiness.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

