alchemy-sdk-patterns
Route Alchemy work to viem, direct Data APIs, Wallet APIs v5, or Solana Web3.js without reviving the archived SDK
Install / Use
npx skills add jeremylongshore/tons-of-skills-marketplace --skill alchemy-sdk-patternsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of alchemy-sdk-patterns
alchemy-sdk-patterns scores 80/100 on our quality scale, 2361st of 3,845 Development & Engineering skills we index.
Its SKILL.md is 4.8 KB long, well organised into 13 sections and no code examples: a solid amount of guidance for an agent.
With 2,785 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 6 days ago, so alchemy-sdk-patterns is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
alchemy-sdk-patterns compared with similar skills
All 4 of these similar skills score higher than alchemy-sdk-patterns; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| alchemy-sdk-patterns (this skill)by jeremylongshore | 80 | 2.8k | 6d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.3k | 14d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.1k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 44.5k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.7k | 4d ago | CLAUDE.md |
Frequently asked questions
- How do I install alchemy-sdk-patterns?
- Run
npx skills add jeremylongshore/tons-of-skills-marketplace --skill alchemy-sdk-patterns. The install tabs above show the steps for each supported agent. - Which AI agents does alchemy-sdk-patterns work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is alchemy-sdk-patterns safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is alchemy-sdk-patterns still maintained?
- The repository was last updated 6 days ago, so alchemy-sdk-patterns is actively maintained.
Skill content
View source on GitHubname: alchemy-sdk-patterns description: >- Route Alchemy work to viem, direct Data APIs, Wallet APIs v5, or Solana Web3.js without reviving the archived SDK. Use when designing shared clients and adapters. Trigger with "Alchemy SDK pattern", "replace alchemy-sdk", or "choose an Alchemy client". allowed-tools: Read,Glob,Grep,Write,Edit argument-hint: "<capability> <runtime> <chain-set>" version: 2.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags: [saas, alchemy, architecture, viem] model: inherit effort: high compatibility: "Designed for Claude Code; live Alchemy access requires network access, an appropriate credential, account capacity, and explicit approval"
Alchemy Client and API Routing Patterns
Overview
Route Alchemy work to viem, direct Data APIs, Wallet APIs v5, or Solana Web3.js without reviving the archived SDK. This workflow produces a reviewable artifact and negative-path evidence before any live side effect.
Prerequisites
- Current first-party Alchemy documentation for the selected product, chain, feature, client, authentication method, limit, and lifecycle.
- Named product, application, security, data/privacy, budget, release, and operations owners appropriate to the requested scope.
- Synthetic or approved non-production fixtures, a credential canary, explicit success criteria, and a tested rollback boundary.
Current Contract
There is no single current JavaScript Alchemy SDK for every product. EVM Node reads belong behind a viem transport adapter, Data APIs behind response-contract adapters, transacting applications behind Wallet APIs v5, and Solana behind Solana Web3.js. The archived alchemy-sdk is migration input, not a new architecture choice.
Authentication
Each adapter declares the credential it accepts and rejects other credential classes. Keep application keys, Admin access keys, Notify tokens, webhook signing keys, and wallet signing authority in separate types and secret paths.
Instructions
- Inventory each existing call by capability, chain, runtime, side effect, data owner, and credential class.
- Assign Node RPC calls to a typed viem public client and keep the configured chain adjacent to the transport.
- Assign NFT, Transfers, Prices, Simulation, or Portfolio calls to a narrow HTTP adapter that validates the documented response and pagination contract.
- Assign smart-wallet creation and transaction flows to the current Wallet APIs v5 surface; isolate signing policy from data reads.
- Represent partial success, pagination, retryability, and unsupported-chain outcomes explicitly instead of returning
nullor an untyped provider exception. - Add contract fixtures for success and every documented failure class, then ban new
alchemy-sdkimports with a focused repository test.
Tool Discipline
Use Read, Glob, and Grep to inspect current documentation, configuration, code, fixtures, and evidence. Use Write and Edit only for approved repository artifacts. Skill invocation alone does not authorize network access, credentials, wallet addresses, customer data, plan changes, spend, key creation or rotation, webhook changes, deployment, replay, transaction construction, signing, broadcast, or deletion.
Approval Boundaries
Architecture owns capability routing and adapter boundaries. Security owns credential types and signing policy. Replacing a production provider or transaction path requires a canary and rollback approval.
Error Handling
- Do not wrap every Alchemy product in a generic client that erases pagination, partial errors, or credential distinctions.
- Do not convert a partial Portfolio response into complete success.
- Do not let a read adapter gain wallet signing authority for convenience.
Output
Return the call inventory, capability routing table, typed adapter contracts, credential separation, error algebra, fixture matrix, deprecated-import gate, migration order, and rollback boundaries. Mark assumptions, observations, source dates, environment-specific behavior, owners, and unresolved gaps explicitly.
Examples
- Route
eth_getBalancethrough a viem public client while routing multi-chain holdings through a Portfolio adapter that surfacespartialErrors. - Keep Wallet APIs transaction construction behind a separately approved signer boundary rather than extending a generic read client.
Validation
Exercise and record expected and observed results for:
- unsupported chain
- partial Portfolio success
- pagination continuation
- rate limit
- wrong credential class
- archived import reintroduced
Resources
- Current first-party evidence map — recheck dated Alchemy sources before execution.
- Treat observed account, application, network, indexer, chain, or provider behavior as environment-specific evidence, never a universal guarantee.
Related Skills
Agent-Reach
86.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
44.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.7kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
