alchemy-hello-world
Provides quick-start code templates for the Alchemy SDK to query blockchain data.
Install
mkdir -p .claude/skills/alchemy-hello-world && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19406" && unzip -o skill.zip -d .claude/skills/alchemy-hello-world && rm skill.zipInstalls to .claude/skills/alchemy-hello-world
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create a minimal Alchemy Web3 example: get ETH balance, fetch NFTs,Key capabilities
- →Retrieve ETH wallet balances
- →Fetch NFT collections for specific addresses
- →Query ERC-20 token balances
- →Access latest blockchain block information
How it works
The skill provides TypeScript code snippets that utilize the Alchemy SDK to query blockchain data such as balances, NFT ownership, and block details.
Inputs & outputs
When to use alchemy-hello-world
- →Getting ETH wallet balance
- →Fetching NFTs for an address
- →Testing Alchemy API connectivity
- →Querying token balances
About this skill
Alchemy Read-Only Connectivity Proof
Overview
Build a minimal, reviewable Alchemy EVM read with viem and prove its network, authentication, and failure behavior. 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
The current Ethereum quickstart uses viem. A successful eth_blockNumber proves endpoint connectivity only; it does not prove Enhanced API, NFT API, Portfolio, Wallet API, or Admin entitlement. Chain identity must be checked from the response context rather than assumed from an endpoint string.
Authentication
Use a development application key through the repository's approved server-side secret boundary. Never print the URL when it contains a credential. A browser proof requires the allowlist or short-lived-JWT protections documented in the approved threat model.
Instructions
- Choose one supported EVM chain and verify its current endpoint and feature support in first-party documentation.
- Install a repository-approved, pinned
viemrelease and preserve the lockfile review; do not addalchemy-sdk. - Create a public client with the declared viem chain and an Alchemy HTTP transport supplied from the server secret boundary.
- Read the chain ID and latest block number, assert that the chain ID equals the configured chain, and record only redacted timing and block evidence.
- Exercise an invalid credential and a deliberately mismatched chain expectation so the proof demonstrates fail-closed behavior.
- Return the source, lockfile, test output, and rollback change without making a transaction or requesting a signing key.
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
Read-only development proof needs the application owner's scoped key. Installing a dependency follows repository review. Any transaction, wallet connection, browser credential, or production call is outside this skill and requires separate approval.
Error Handling
- Treat
401or403as a credential or policy failure, not as a reason to broaden access. - Treat a chain-ID mismatch as a hard configuration failure even if the block-number call succeeded.
- Honor
429and provider5xxwith a bounded retry budget; never loop until success.
Output
Return the chosen chain, current source links, dependency decision, minimal viem client, chain-ID assertion, redacted positive and negative test receipts, and rollback command. Mark assumptions, observations, source dates, environment-specific behavior, owners, and unresolved gaps explicitly.
Examples
- Prove an Ethereum Sepolia client returns the expected chain ID and a positive block number without logging its transport URL.
- Show that an Ethereum client pointed at another chain fails the chain-ID assertion instead of returning a misleading success banner.
Validation
Exercise and record expected and observed results for:
- valid development key
- invalid key
- wrong chain
- rate-limit response
- provider timeout
- credential canary absent from logs
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.
When not to use it
- →When performing complex smart contract interactions
- →When requiring real-time transaction monitoring beyond basic subscriptions
Prerequisites
Limitations
- →Requires checksummed 0x-prefixed addresses
- →Subject to API rate limits
How it compares
It provides pre-configured, minimal boilerplate code for common Web3 queries, avoiding the need to manually construct SDK initialization and error handling.
Compared to similar skills
alchemy-hello-world side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| alchemy-hello-world (this skill) | 0 | 3mo | Review | Beginner |
| mcp-builder | 136 | 6mo | Review | Advanced |
| telegram-mini-app | 62 | 9mo | Review | Advanced |
| stripe-integration | 48 | 5mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
telegram-mini-app
davila7
Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.
stripe-integration
wshobson
Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.
copilot-sdk
github
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
nodejs-backend-patterns
wshobson
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.
chatgpt-app-builder
mcp-use
Build ChatGPT apps with interactive widgets using mcp-use and OpenAI Apps SDK. Use when creating ChatGPT apps, building MCP servers with widgets, defining React widgets, working with Apps SDK, or when user mentions ChatGPT widgets, mcp-use widgets, or Apps SDK development.