alchemy
Skill20k starsChanged 6 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, or deployment CI workflows.
10 other projects use a version of this, 1 of them edited; 1 of 1 edited versions we compared changed its rules.
How people change it
1 of 1 edited versions changed its rules.
Of the 1 edited version we compared: 1 made changes of their own.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- BabylonSocial/babylonedited, first seen Nov 30, 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
Who's talking about elizaOS/eliza
- Square of Dai“Build a Solana Trading AI Agent with Eliza OS - No Paid APIs Needed! 🤖”YouTube · Jan 19, 2025 · 5.8k views
- Create & Play Games“Eliza OS AI Agent Framework v0.1.9 - Initial Setup”YouTube · Feb 1, 2025 · 2.7k views
- MultiversX“AI Agents on MultiversX with Eliza Framework - How to setup Eliza (Tutorial)”YouTube · Feb 12, 2025 · 2.5k views
- Top Trending GitHub Repositories“Eliza OS: The Top Trending AI Framework Revolutionizing Customer Support & Social Media Automation!”YouTube · Feb 4, 2025 · 2.4k views
- Jean“J'ai codé un agent IA - TUTO Eliza OS / AI16Z (typescript)”YouTube · Jan 17, 2025 · 1.5k views
The biggest 5 of 91 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 91
Talked about on GitHub, YouTube, Bluesky, Hacker News and the web (91 times).
On GitHub · 50
- Jan 17, 2025Add support for linux arm64 — anush008/tokenizers14 reactions · 1 comment
- Mar 20, 2026feat: simplified onboarding, UI redesign, knowledge image support — milady-ai/milady1 reaction · 4 comments
- Nov 29, 2026chore(deps): bump minimatch and @elizaos/core in /hindsight-integrations/eliza — xrplove/Tree-of-Life-Hindsight0 reactions
- Nov 25, 2026SWF(polish): render registry repository as a short owner/repo link — SYMBaiEX/doolittle0 reactions · 1 comment
- Nov 24, 2026Bump @ai-sdk/provider-utils and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
45 more on GitHub
- Nov 24, 2026Bump ai and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump langsmith and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump langchain and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump uuid, @elizaos/core and @solana/web3.js in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump tar and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump jsondiffpatch and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump zod and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 24, 2026Bump minimatch and @elizaos/core in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 23, 2026fix: skill drift detected 2026-11-23 — ItachiDevv/elizaos-skill0 reactions
- Nov 23, 2026Bump @elizaos/core from 0.1.9 to 2.0.5 in /packages/eliza-plugin-x402 — nissan/reddi-agent-protocol0 reactions · 1 comment
- Nov 16, 2026fix: skill drift detected 2026-11-16 — ItachiDevv/elizaos-skill0 reactions
- Nov 16, 2026Bump @elizaos/core from 2.0.3-beta.7 to 2.0.5 in the npm-minor-patch group — livetennisapi/elizaos-plugin-livetennis0 reactions
- Nov 12, 2026agent-skills.github.elizaos.eliza: 15 → 2.0.5 — sudosubin/agents.nix0 reactions
- Nov 11, 2026agent-skills.github.elizaos.eliza: 14-unstable-2026-10-05 → 15 — sudosubin/agents.nix0 reactions
- Nov 10, 2026elizaOS eliza HTTP Server api-base-owner.ts information disclosure — NixOS/nixpkgs0 reactions · 1 comment
- Nov 9, 2026fix: skill drift detected 2026-11-09 — ItachiDevv/elizaos-skill0 reactions
- Nov 2, 2026fix: skill drift detected 2026-11-02 — ItachiDevv/elizaos-skill0 reactions
- Oct 29, 2026Android: Unii as the default digital assistant, with screen context — arteeh/ki0 reactions
- Oct 26, 2026fix: skill drift detected 2026-10-26 — ItachiDevv/elizaos-skill0 reactions
- Oct 19, 2026fix: skill drift detected 2026-10-19 — ItachiDevv/elizaos-skill0 reactions
- Oct 13, 2026Network OAuth SMS blocked: Twilio account authentication fails with 401 / 20003 — eliza-research/thenetwork0 reactions
- Oct 12, 2026fix: skill drift detected 2026-10-12 — ItachiDevv/elizaos-skill0 reactions
- Oct 10, 2026Track Shared phone sign-in release and Network acceptance — eliza-research/thenetwork0 reactions · 27 comments
- Oct 10, 2026TODO: Complete final MVP qualification against approved policies — AlphaPhone/alpha0 reactions · 9 comments
- Oct 10, 2026TODO: Deliver and qualify the approved AOSP MVP image — AlphaPhone/alpha0 reactions · 6 comments
- Oct 10, 2026Retire phone pairing for the on-device agent — AlphaPhone/alpha0 reactions · 1 comment
- Oct 5, 2026agent-skills.github.elizaos.eliza: 14 → 14-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 5, 2026fix: skill drift detected 2026-10-05 — ItachiDevv/elizaos-skill0 reactions
- Sep 30, 2026Request maintainer evaluation: fadhelcarlos PR elizaOS/eliza#32908 incorporated into #32909 — SlopDotCash/slopdotcash0 reactions · 4 comments
- Sep 28, 2026fix: skill drift detected 2026-09-28 — ItachiDevv/elizaos-skill0 reactions
- Sep 28, 2026Broken links report — Li-Evan/awesome-jev0 reactions
- Sep 21, 2026fix: skill drift detected 2026-09-21 — ItachiDevv/elizaos-skill0 reactions
- Sep 20, 2026取引OSS 8件から現行FX基盤へ取り入れられる設計・検証手法を調査する — yusuke3627/fx-trading-platform0 reactions
- Sep 14, 2026fix: skill drift detected 2026-09-14 — ItachiDevv/elizaos-skill0 reactions
- Aug 31, 2026fix: skill drift detected 2026-08-31 — ItachiDevv/elizaos-skill0 reactions
- Aug 29, 2026[repo] elizaOS/eliza — lucas-albers-lz4/sre-ai-llm-work0 reactions · 2 comments
- Aug 24, 2026fix: skill drift detected 2026-08-24 — ItachiDevv/elizaos-skill0 reactions
- Aug 24, 2026Request maintainer evaluation: superseded Neutize PR elizaOS/eliza#25803 — SlopDotCash/slopdotcash0 reactions · 1 comment
- Aug 23, 2026Request maintainer evaluation: GG100-eng review on elizaOS/eliza#24433 — SlopDotCash/slopdotcash0 reactions
- Aug 22, 2026fix(deploy): add protected staging migration gate before develop rollout — Steward-Fi/steward0 reactions
- Aug 21, 2026Request maintainer evaluation: Neutize reviews on elizaOS/eliza#23362 and #23364 — SlopDotCash/slopdotcash0 reactions · 2 comments
- Aug 20, 2026Eliza review preflight invalidates pinned proof after repository transfer — SlopDotCash/slopdotcash0 reactions
- Aug 17, 2026fix: skill drift detected 2026-08-17 — ItachiDevv/elizaos-skill0 reactions
- Aug 16, 2026Fix invalid review receipt blocking leaderboard refresh — SlopDotCash/slopdotcash0 reactions
- Aug 16, 2026Request maintainer evaluation: Neutize review on elizaOS/eliza#19464 — SlopDotCash/slopdotcash0 reactions
On YouTube · 24
- Jan 19, 2025Build a Solana Trading AI Agent with Eliza OS - No Paid APIs Needed! 🤖 — Square of Dai5.8k views · 20 comments
- Feb 1, 2025Eliza OS AI Agent Framework v0.1.9 - Initial Setup — Create & Play Games2.7k views · 17 comments
- Feb 12, 2025AI Agents on MultiversX with Eliza Framework - How to setup Eliza (Tutorial) — MultiversX2.5k views · 3 comments
- Feb 4, 2025Eliza OS: The Top Trending AI Framework Revolutionizing Customer Support & Social Media Automation! — Top Trending GitHub Repositories2.4k views · 2 comments
- Jan 17, 2025J'ai codé un agent IA - TUTO Eliza OS / AI16Z (typescript) — Jean1.5k views · 9 comments
19 more on YouTube
- Aug 1, 2026Eliza: Build Autonomous AI Agents for Twitter, Discord & Telegram (Modular, Memoryful) — Solopreneurs hub1.3k views
- May 25, 2025AI Agents Are About To Change Everything! ElizaOS Founder Drops Big Alpha 🚀 — JChains 1.3k views · 5 comments
- Feb 12, 2025AI Agents on MultiversX with Eliza Framework - Plugin and Client Systems (Tutorial) — MultiversX1.3k views · 3 comments
- Feb 25, 2025How to Create Crypto AI Agents With ElizaOS & Gelato — Founder Alpha956 views · 1 comment
- Jan 29, 2025build a TALKING AI agent with elizaOS by ai16z using Elevenlabs, Openrouter and Discord — Parzival of Algorithmic Progress843 views · 3 comments
- Feb 7, 2026S.10 Ep.9: ElizaOS, FOSSRPG, and the Future of Open-Source AI Agents with Shaw — Green Pill686 views · 3 comments
- Feb 26, 2025Eliza v2 Hacking — Shaw Makes Magic685 views · 2 comments
- Feb 26, 2025Eliza v2 Hacking — Shaw Makes Magic666 views
- Jan 14, 2025Getting started with Eliza and the Starknet Plugin — Jonatan Chaverri652 views · 6 comments
- Dec 30, 2024GitHub - elizaOS/eliza: Autonomous agents for everyone — GitHub Daily Trend AI Podcast547 views · 1 comment
- Oct 9, 2026ElizaOS 101: Rebuilding the Open Agent Operating System — Information in Motion 417 views
- Feb 27, 2025Eliza v2 Hacking — Shaw Makes Magic397 views
- Mar 3, 2025Eliza v2 Hacking — Shaw Makes Magic383 views
- Sep 25, 2026Architecting Autonomy Building an ElizaOS Node from First Prin — Alex Hitt366 views
- Jul 27, 2026eliza - GitHub Trending Today — GitHub Trending Digest245 views
- Mar 2, 2025Eliza v2 Hacking — Shaw Makes Magic223 views
- Feb 3, 2025Walkthrough of Eliza and how Istarai played Eternum — StarkWare168 views
- Feb 12, 2025SW x RW AI Agent Hackathon Show & Tell 2 — StarkWare94 views
- Apr 10, 2026Building & Deploying an AI Agent on Nosana GPU Network with ElizaOS — Jupiter Legion (Sam)55 views · 18 comments
On Bluesky · 12
- Jan 4, 2025Autonomous agents are here to eat your job, your cat, and your existential dread. 𝚎𝚕𝚒𝚣𝚊𝙾𝚂: where AI meets chaos theory in a blender… — @geeknik.bsky.social4 likes and reposts
- Dec 30, 2024Interesting how these social platforms are slowly becoming a communication channel for AI agents. - AI agents may bring more traffic there… — @testingcatalog.com3 likes and reposts
- Feb 22, 2025it can be done, and likely has — @tsunderella.moe2 likes and reposts · 1 reply
- Feb 9, 2025📦 elizaOS / eliza ⭐ 14,147 (+49) 🗒 TypeScript Autonomous agents for everyone — @github-trending-js.bsky.social2 likes and reposts
- Jan 23, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 elizaOS / eliza ⭐ 12,705 (+193) 🗒 TypeScript Autonomous agents for everyone — @github-trending-js.bsky.social2 likes and reposts
7 more on Bluesky
- Jan 3, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 elizaOS / eliza ⭐ 8,788 (+565) 🗒 TypeScript Autonomous agents for everyone — @github-trending.bsky.social2 likes and reposts · 1 reply
- Dec 29, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 elizaOS / eliza ⭐ 6,394 (+123) 🗒 TypeScript Autonomous agents for everyone — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jul 8, 2025📦 elizaOS / eliza ⭐ 16,290 (+90) 🗒 TypeScript Autonomous agents for everyone — @github-trending-js.bsky.social1 likes and repost
- Jun 16, 2025github.com/elizaOS/eliza — @ens0.me1 likes and repost · 1 reply
- Jan 27, 2025Sad tweeter meddle election github.com/elizaOS/eliza — @jungchanhsieh.bsky.social1 likes and repost
- Jan 2, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 elizaOS / eliza ⭐ 8,445 (+431) 🗒 TypeScript Autonomous agents for everyone — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Dec 29, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 elizaOS / eliza ⭐ 6,394 (+123) 🗒 TypeScript Autonomous agents for everyone — @github-trending.bsky.social1 likes and repost · 1 reply
On Hacker News · 3
- Jul 12, 2025Show HN: ElizaOS 1.0 - Powerful and useful multi-agent framework in Typescript2 points
- Jan 5, 2025Eliza OS – open-source AI agent framework for crypto and more2 points · 1 comment
- Jan 4, 2025ElizaOS – Powering Agents on X2 points
On the web · 2
- Aug 26, 2025ElizaOS v2: from a meme AI fund to a full-fledged agent system — metalamp.io
- Jul 9, 2024elizaOS/eliza: stars & growth - TopRepo — toprepo.cuongit.net
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
- BabylonSocial/babylon★ 12050% 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architectSkill
- arenaSkill
- benchmark-checklistSkill
- 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
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 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.
3
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.
- Very specific: line 60
Durable Object migrations: always run pnpm deploy:plan -- --stage <stage> first when adopting Workers with existing or retired Durable …
“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
Eliza on 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. - 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. - Isolate
deploy/from packagetsconfig.jsonandtypescript-eslintprojectService: files importing@alchemy.run/cloudflarepull@distilled.cloud/cloudflaredeclarations; typecheck them via a dedicateddeploy/tsconfig.jsonand list**/deploy/**and**/alchemy.run.tsinuntypedineslint.config.jssolint:jsnever OOMs. - Never commit secrets or pass them through cached Turbo tasks. Put
CLOUDFLARE_*,ALCHEMY_*,R2_STATE_*, andELIZA_CLOUD_*only inpassThroughEnvoncache: falsedeploy tasks.
Toolchain alignment
- Alchemy
2.0.0-beta.85requireseffect: "^4.1.0"and Node>=26. - Eliza 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:.
Eliza domain to Cloudflare mapping
| Layer | Cloudflare primitive in Alchemy v2 |
@elizaos/cloud-worker API & hosted return pages | Cloudflare.Worker (packages/cloud-worker/alchemy.run.ts) with bundle: false prebuilt Worker ESM (dist/worker/entry.mjs), compatibilityFlags: ["nodejs_compat"], crons: ["* * * * *"], and assets: { ...hashAssetDirectory(pagesDir), binding: "ASSETS", runWorkerFirst: true } |
| Retired v3 SQLite Durable Objects | Re-exported as HTTP 410 RetiredDurableObject stubs from the prebuilt Worker entry with AdoptPolicy.adopt(true) and RemovalPolicy.retain() so live DO namespaces stay intact for rollback |
| Existing external Postgres pool | createHyperdriveRef from vibestack/alchemy.ts (zero Account > Hyperdrive:Read API calls, resolved from ELIZA_CLOUD_V4_WRANGLER_CONFIG with explicit ELIZA_CLOUD_HYPERDRIVE_ID override and staging/production defaults, guarded by assertStageGuard), Cloudflare.Hyperdrive.lookup when resolving by name (ELIZA_CLOUD_HYPERDRIVE_NAME), plus dev origin support for local alchemy dev and DATABASE_URL fallback locally |
| Workers AI & Send Email bindings | Cloudflare.Email.SendEmail (SIGN_IN_EMAIL, resolved from ELIZA_CLOUD_V4_WRANGLER_CONFIG and enabled by default on staging/production) and optional Cloudflare.Workers.AI() (AI) |
| Post-deploy verification gate | Alchemy.Action calling verifyDeploymentEndpoints from vibestack/alchemy.ts against /api/health, /api/public/service, and /api/v1/auth/methods, returning a typed DeploymentReceipt |
Helpers in vibestack/alchemy.ts
vibestack/alchemy.ts is a zero-dependency Node 26 module exported as the ./alchemy package subpath, 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 static asset directory and returns
{ directory, path, hash, fileCount, totalBytes }soCloudflare.Workerskips re-hashing and re-uploading unchanged assets.
- Deterministically SHA-256 hashes a Turbo-built static asset directory and returns
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", matchingR2_STATE_ACCESS_KEY_ID/R2_STATE_SECRET_ACCESS_KEY) 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). - R2 bucket state (CI default when configured): wrap
makeR2BucketObjectsinmakeBucketStateusingR2_STATE_BUCKET,CLOUDFLARE_ACCOUNT_ID,R2_STATE_ACCESS_KEY_ID, andR2_STATE_SECRET_ACCESS_KEY(conditional-put__lease__.jsonlocking). - Cloudflare managed state:
Cloudflare.state()whenALCHEMY_STATE_STORE=cloudflare(requires Secrets Store Write permission). - Adopting existing Workers & preserving secrets:
- Pass
.pipe(Alchemy.AdoptPolicy.adopt(true))and.pipe(Alchemy.RemovalPolicy.retain())(and--adopton CLI) when adoptingeliza-cloud-api-stagingandeliza-cloud-api-prod. - Worker secrets are preserved:
Cloudflare.Workerdoes not wipe secrets set outside Alchemy (such as the 253 existing encrypted secrets oneliza-cloud-api-{staging,prod}); it only deletes secrets previously managed by Alchemy. - Durable Object migrations: always run
pnpm deploy:plan -- --stage <stage>first when adopting Workers with existing or retired Durable Object classes to confirm zero unintendeddeleted_classesoperations.
- Pass
Local dev & verifiable testing (workerd)
- Local runtime:
pnpm dev:cfrunsALCHEMY_FAST_DISTILLED=1 alchemy --fast-distilled dev(real localworkerdwith hot reload — zero Cloudflare credentials required). - Offline
workerdverification (pnpm test:deploy):- Uses
@alchemy.run/test/Vitest(Test.make({ providers: Cloudflare.providers(), dev: true, stage })) inpackages/cloud-worker/deploy/worker.test.tswithbeforeAll(deploy(Stack))andafterAll(destroy(Stack)). - Boots the real built
@elizaos/cloud-workerbundle +ASSETSinside localworkerd— catching global-scope runtime errors, Node compat regressions, and asset routing issues offline in PR CI before touching Cloudflare. - The same
verifyDeploymentEndpointsprobes run post-deploy insideAlchemy.Actionagainst the live deployed URL.
- Uses
Turborepo & zero-trust CI optimization
- Single-build handoff: build
@elizaos/cloud-workeronce through Turborepo (leveraging the R2vibestack-turbo-cacheremote cache), then pass the prebuilt ESM bundle (bundle: false) and hasheddist/pagesassets (hashAssetDirectory) into Alchemy so CI never double-builds. - Zero-trust publication boundary:
- Untrusted PR verification jobs (
.github/workflows/ci.yml) read shared caches and run offlinepnpm test:deploy(workerd) with no Cloudflare deploy secrets. - Privileged deploy jobs (
.github/workflows/deploy-cloud-worker.yml) run withconcurrency: { cancel-in-progress: false }onstagingandmain, verify database identity and release migrations read-only before deploying, never restore untrusted PR caches, 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).
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.

