[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M781T6G9VTYEVDS10H4SVS0R":3,"skill-same:01M781T6G9VTYEVDS10H4SVS0R":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M781T6G9VTYEVDS10H4SVS0R","alchemy-cli",null,"Use the Alchemy CLI (`@alchemy\u002Fcli`) for live blockchain data, transaction lookups, NFT\u002Ftoken\u002Fportfolio queries, simulation, tracing\u002Fdebugging, account abstraction (bundler + gas manager), webhook management, Solana RPC\u002FDAS, and Alchemy app administration. Preferred runtime path for live agent work (querying, admin, local automation) when the CLI is installed locally — or when both CLI and MCP are available. If neither is installed, install the CLI with `npm i -g @alchemy\u002Fcli`. Use for live agent work in this session, not for building application code that ships to production. For application code, use the `alchemy-api` skill (with API key) or `agentic-gateway` skill (without).","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_alchemyplatform_skills_alchemy-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: alchemy-cli\ndescription: Use the Alchemy CLI (`@alchemy\u002Fcli`) for live blockchain data, transaction lookups, NFT\u002Ftoken\u002Fportfolio queries, simulation, tracing\u002Fdebugging, account abstraction (bundler + gas manager), webhook management, Solana RPC\u002FDAS, and Alchemy app administration. Preferred runtime path for live agent work (querying, admin, local automation) when the CLI is installed locally — or when both CLI and MCP are available. If neither is installed, install the CLI with `npm i -g @alchemy\u002Fcli`. Use for live agent work in this session, not for building application code that ships to production. For application code, use the `alchemy-api` skill (with API key) or `agentic-gateway` skill (without).\nlicense: MIT\ncompatibility: Requires `@alchemy\u002Fcli` (`npm i -g @alchemy\u002Fcli`) and shell access. Verified against `@alchemy\u002Fcli` 0.6.x. Works across Claude Code, Cursor, Codex, and any agent with shell access.\nmetadata:\n  author: alchemyplatform\n  version: \"2.0\"\n---\n# Alchemy CLI\n\nUse the [Alchemy CLI](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@alchemy\u002Fcli) (`@alchemy\u002Fcli`) for live blockchain queries, admin work, and local automation from the terminal. The CLI maps every Alchemy product (Node JSON-RPC, Token, NFT, Transfers, Prices, Portfolio, Simulation, Solana, Webhooks, Apps) to `alchemy \u003Ccommand>` invocations with structured JSON output.\n\n## When to use this skill\n\nUse `alchemy-cli` when **all** of the following are true:\n\n- The user wants **live agent work** — live querying, analysis, admin work, or local automation that the agent runs now in this session\n- `@alchemy\u002Fcli` is installed locally, **or** both the CLI and an MCP server are available, **or** neither is available (in which case install the CLI — see [Install](#install))\n\nThe CLI is the **preferred local fallback runtime path** for live agent work. When in doubt about CLI vs MCP, prefer the CLI.\n\n## When to use a different skill\n\n| Situation | Use this skill instead |\n| --- | --- |\n| MCP is already wired into your client and the CLI is **not** installed locally | `alchemy-mcp` |\n| Building application code that runs outside this agent session, with an Alchemy API key | `alchemy-api` |\n| Building application code without an API key, or as an autonomous agent that needs to pay for itself, or you explicitly want x402\u002FMPP | `agentic-gateway` |\n\nDo **not** use this skill to write production application code — CLI commands are for live agent work, not for embedding into shipped software.\n\n## Install\n\n```bash\nnpm i -g @alchemy\u002Fcli\n```\n\nIf the CLI is not installed and the user wants live agent work, install it. Do not fall back to raw curl\u002FHTTP calls — those are the API-key path covered by `alchemy-api`.\n\n## Bootstrap\n\nRun this at the start of any session to get the full command contract (every command, flag, auth method, error code, and example):\n\n```bash\nalchemy --json --no-interactive agent-prompt\n```\n\n## Execution rules\n\n- ALWAYS pass `--json --no-interactive` on every command\n- Parse stdout as JSON on exit code 0\n- Parse stderr as JSON on nonzero exit code\n- NEVER run bare `alchemy` without `--json --no-interactive`\n- NEVER use curl or raw HTTP when an `alchemy` CLI command exists for the task — that's the `alchemy-api` (API-key) path, not this skill\n- NEVER use the CLI to generate production application code; hand off to `alchemy-api` or `agentic-gateway` for shipped code\n\n## Preflight\n\nBefore the first command, run **both** of these checks:\n\n```bash\nalchemy --json --no-interactive setup status\nalchemy --json --no-interactive gas\n```\n\n`setup status` returns `{\"complete\": true, \"satisfiedBy\": \"\u003Csource>\"}` if any auth is configured. **Do not rely on `complete: true` alone** — there is a known false positive where `setup status` reports `complete: true` with `satisfiedBy: \"auth_token\"`, but RPC commands still fail with `AUTH_REQUIRED` because no API key has been derived from the auth token.\n\n`gas` is a lightweight RPC smoke test that catches this. If it returns `{\"gasPrice\": \"0x...\", ...}`, RPC is wired up correctly. If it returns `{\"error\": {\"code\": \"AUTH_REQUIRED\", ...}}`, run `alchemy auth login` (which fetches and saves the API key) or `alchemy config set api-key \u003Ckey>`, then re-run `gas` to confirm.\n\nIf `setup status` reports `complete: false`, follow the `nextCommands` in the response first, then run `gas` to verify.\n\n## Auth setup\n\nThe fastest way to authenticate is via browser login:\n\n```bash\nalchemy auth login\n```\n\nThis opens a browser to authenticate with your Alchemy account and automatically configures the CLI with your credentials.\n\nTo check auth status: `alchemy auth status`\nTo log out: `alchemy auth logout`\n\n### Alternative auth methods\n\n| Method | Config command | Env var | Used by |\n|--------|---------------|---------|---------|\n| Browser login | `alchemy auth login` | -- | All commands (derives API key + access key from your account) |\n| API key | `alchemy config set api-key \u003Ckey>` | `ALCHEMY_API_KEY` | `balance`, `tx`, `receipt`, `block`, `gas`, `logs`, `rpc`, `trace`, `debug`, `tokens`, `nfts`, `transfers`, `prices`, `portfolio`, `simulate`, `bundler`, `gas-manager`, `solana` |\n| Access key | `alchemy config set access-key \u003Ckey>` | `ALCHEMY_ACCESS_KEY` | `apps` (all subcommands incl. `configured-networks`) |\n| Webhook key | `alchemy config set webhook-api-key \u003Ckey>` | `ALCHEMY_WEBHOOK_API_KEY` | `webhooks` |\n| x402 wallet | `alchemy wallet generate` then `alchemy config set x402 true` | `ALCHEMY_WALLET_KEY` | `balance`, `tx`, `block`, `rpc`, `trace`, `debug`, `tokens`, `nfts`, `transfers` |\n\n`alchemy network list` and `alchemy version` \u002F `update-check` need no auth.\n\n### Selecting a default app\n\nMany `apps` subcommands (and the access-key gated flows) operate on a \"default app.\" If you see `APP_REQUIRED` in an error response, set one:\n\n```bash\nalchemy --json --no-interactive apps select \u003Cid>\n# or equivalently\nalchemy --json --no-interactive config set app \u003Cid>\n```\n\nGet API\u002Faccess keys at [dashboard.alchemy.com](https:\u002F\u002Fdashboard.alchemy.com\u002F).\n\n## Task-to-command map\n\n### Node (EVM)\n\n| Task | Command |\n|------|---------|\n| ETH balance | `alchemy balance \u003Caddress>` |\n| Transaction details | `alchemy tx \u003Chash>` |\n| Transaction receipt | `alchemy receipt \u003Chash>` |\n| Block details | `alchemy block \u003Cnumber\\|latest>` |\n| Gas prices | `alchemy gas` |\n| Event logs | `alchemy logs --address \u003Caddr> --from-block \u003Cn> --to-block \u003Cn>` |\n| Raw JSON-RPC | `alchemy rpc \u003Cmethod> [params...]` |\n| Trace methods | `alchemy trace \u003Cmethod> [params...]` |\n| Debug methods | `alchemy debug \u003Cmethod> [params...]` |\n\n### Data\n\n| Task | Command |\n|------|---------|\n| ERC-20 balances | `alchemy tokens balances \u003Caddress>` |\n| ERC-20 balances (formatted) | `alchemy tokens balances \u003Caddress> --metadata` |\n| Token metadata | `alchemy tokens metadata \u003Ccontract>` |\n| Token allowance | `alchemy tokens allowance --owner \u003Caddr> --spender \u003Caddr> --contract \u003Caddr>` |\n| List owned NFTs | `alchemy nfts \u003Caddress> [--limit \u003Cn>] [--page-key \u003Ckey>]` |\n| NFT metadata | `alchemy nfts metadata --contract \u003Caddr> --token-id \u003Cid>` |\n| NFT contract metadata | `alchemy nfts contract \u003Caddress>` |\n| Transfer history | `alchemy transfers \u003Caddress> --category erc20,erc721,erc1155,external,internal,specialnft [--from-block \u003Cn>] [--to-block \u003Cn>] [--max-count \u003Cn>] [--page-key \u003Ckey>]` |\n| Spot prices by symbol | `alchemy prices symbol ETH,USDC` |\n| Spot prices by address | `alchemy prices address --addresses '\u003Cjson>'` |\n| Historical prices | `alchemy prices historical --body '\u003Cjson>'` |\n| Cross-network token portfolio | `alchemy portfolio tokens --body '\u003Cjson>'` |\n| Token balances by address\u002Fnetwork pairs | `alchemy portfolio token-balances --body '\u003Cjson>'` |\n| Cross-network NFT portfolio | `alchemy portfolio nfts --body '\u003Cjson>'` |\n| NFT contracts by address\u002Fnetwork pairs | `alchemy portfolio nft-contracts --body '\u003Cjson>'` |\n| Simulate single tx (asset deltas) | `alchemy simulate asset-changes --tx '\u003Cjson>' [--block-tag \u003Ctag>]` |\n| Simulate single tx (execution trace) | `alchemy simulate execution --tx '\u003Cjson>' [--block-tag \u003Ctag>]` |\n| Simulate bundle (asset deltas) | `alchemy simulate asset-changes-bundle --txs '\u003Cjson-array>' [--block-tag \u003Ctag>]` |\n| Simulate bundle (execution trace) | `alchemy simulate execution-bundle --txs '\u003Cjson-array>' [--block-tag \u003Ctag>]` |\n\n### Solana\n\n| Task | Command |\n|------|---------|\n| Solana JSON-RPC | `alchemy solana rpc \u003Cmethod> [params...]` |\n| Solana DAS (NFTs\u002Fassets) | `alchemy solana das \u003Cmethod> '\u003Cjson>'` |\n\n### Webhooks\n\n| Task | Command |\n|------|---------|\n| List webhooks | `alchemy webhooks list` |\n| Create webhook | `alchemy webhooks create --body '\u003Cjson>' [--dry-run]` |\n| Update webhook | `alchemy webhooks update --body '\u003Cjson>' [--dry-run]` |\n| Delete webhook | `alchemy webhooks delete \u003Cid> [--yes] [--dry-run]` |\n| Get address-activity webhook addresses | `alchemy webhooks addresses \u003Cid>` |\n| Get NFT-activity webhook filters | `alchemy webhooks nft-filters \u003Cid>` |\n\n### Account abstraction (ERC-4337)\n\n| Task | Command |\n|------|---------|\n| Send a UserOperation | `alchemy bundler send-user-operation --user-op '\u003Cjson>' --entry-point \u003Caddr>` |\n| Estimate UserOperation gas | `alchemy bundler estimate-user-operation-gas --user-op '\u003Cjson>' --entry-point \u003Caddr> [--state-override '\u003Cjson>']` |\n| Get UserOperation receipt | `alchemy bundler get-user-operation-receipt --user-op-hash \u003Chash>` |\n| Request gas + paymaster data | `alchemy gas-manager request-gas-and-paymaster --body '\u003Cjson>'` |\n| Request paymaster token quote | `alchemy gas-manager request-paymaster-token-quote --body '\u003Cjson>'` |\n\n### Wallet (x402)\n\n| Task | Command |\n|------|---------|\n| Generate a new wallet | `alchemy wallet generate` |\n| Import a wallet from a key file | `alchemy wallet import \u003Cpath>` |\n| Show the locally configured wallet address | `alchemy wallet address` |\n\n### App management\n\n| Task | Command |\n|------|---------|\n| List apps | `alchemy apps list [--cursor \u003Cc>] [--limit \u003Cn>] [--all] [--search \u003Cq>] [--id \u003CappId>]` |\n| Get app details | `alchemy apps get \u003Cid>` |\n| Create app | `alchemy apps create --name \"My App\" --networks eth-mainnet [--description \u003Cdesc>] [--products \u003Cids>] [--dry-run]` |\n| Update app metadata | `alchemy apps update \u003Cid> --name \"New Name\" [--description \u003Cdesc>] [--dry-run]` |\n| Update app network allowlist | `alchemy apps networks \u003Cid> --networks eth-mainnet,base-mainnet [--dry-run]` |\n| Update app address allowlist | `alchemy apps address-allowlist \u003Cid> --addresses 0xAA,0xBB [--dry-run]` |\n| Update app origin allowlist | `alchemy apps origin-allowlist \u003Cid> --origins https:\u002F\u002Fa.com,https:\u002F\u002Fb.com [--dry-run]` |\n| Update app IP allowlist | `alchemy apps ip-allowlist \u003Cid> --ips 1.2.3.4,5.6.7.8 [--dry-run]` |\n| Delete app | `alchemy apps delete \u003Cid> [--yes] [--dry-run]` |\n| Select default app | `alchemy apps select \u003Cid>` (equivalent to `alchemy config set app \u003Cid>`) |\n| List networks configured for an app | `alchemy apps configured-networks [--app-id \u003Cid>]` |\n| List Admin API chain identifiers (for `apps create`\u002F`update`) | `alchemy apps chains` |\n| List all RPC network slugs (for `--network`) | `alchemy network list [--mainnet-only] [--testnet-only] [--search \u003Cterm>]` |\n\n### CLI admin\n\n| Task | Command |\n|------|---------|\n| Check for CLI updates | `alchemy update-check` |\n| View config | `alchemy config list` |\n| Reset config | `alchemy config reset --yes` |\n| CLI version | `alchemy version` |\n\n## Global flags\n\n| Flag | Description |\n|------|-------------|\n| `--json` | Force JSON output (auto-enabled when piped) |\n| `--no-interactive` | Disable prompts and REPL |\n| `-n, --network \u003Cnetwork>` | Target network (default: `eth-mainnet`, env: `ALCHEMY_NETWORK`) |\n| `--api-key \u003Ckey>` | Override API key per command (env: `ALCHEMY_API_KEY`) |\n| `--access-key \u003Ckey>` | Override access key per command (env: `ALCHEMY_ACCESS_KEY`) |\n| `--x402` | Use x402 wallet-based gateway auth for this command |\n| `--wallet-key-file \u003Cpath>` | Path to wallet private key file (for x402) |\n| `--timeout \u003Cms>` | Request timeout in milliseconds |\n| `-q, --quiet` | Suppress non-essential output |\n| `--verbose` | Log request\u002Fresponse details to stderr |\n| `--debug` | Enable debug diagnostics |\n| `--no-color` | Disable color output |\n| `--reveal` | Show secrets in plain text (use with care; intended for explicit reveal flows) |\n\n## Error handling\n\nErrors return structured JSON on stderr. Each error has a `code`, an `exitCode` (1–9), a `retryable` boolean, and a `recovery` hint. Key codes (from `agent-prompt`):\n\n| Code | Exit | Retryable | Recovery |\n|------|------|-----------|----------|\n| `AUTH_REQUIRED` | 3 | No | Run `alchemy auth login`, or set `ALCHEMY_API_KEY` \u002F `alchemy config set api-key \u003Ckey>` |\n| `INVALID_API_KEY` | 3 | No | Check the API key; set a valid one with `alchemy config set api-key \u003Ckey>` |\n| `ACCESS_KEY_REQUIRED` | 3 | No | Set `ALCHEMY_ACCESS_KEY` or run `alchemy config set access-key \u003Ckey>` |\n| `INVALID_ACCESS_KEY` | 3 | No | Check the access key at [dashboard.alchemy.com](https:\u002F\u002Fdashboard.alchemy.com\u002F) |\n| `APP_REQUIRED` | 3 | No | Select a default app: `alchemy apps select \u003Cid>` (or `alchemy config set app \u003Cid>`) |\n| `NETWORK_NOT_ENABLED` | 3 | No | Enable the target network for your app at dashboard.alchemy.com |\n| `SETUP_REQUIRED` | 3 | No | Run `alchemy --json setup status` and follow `nextCommands` |\n| `PAYMENT_REQUIRED` | 9 | No | Fund x402 wallet or switch to API key auth |\n| `RATE_LIMITED` | 5 | Yes | Wait and retry with backoff; consider upgrading your plan |\n| `NETWORK_ERROR` | 6 | Yes | Check connection and retry |\n| `RPC_ERROR` | 7 | No | Check method, params, and network; verify API key has access |\n| `ADMIN_API_ERROR` | 8 | No | Check error message; verify access key permissions |\n| `NOT_FOUND` | 4 | No | Verify the resource identifier (address, hash, id) is correct |\n| `INVALID_ARGS` | 2 | No | Check command usage via `alchemy --json help \u003Ccommand>` |\n| `INTERNAL_ERROR` | 1 | No | Unexpected error; retry or report a bug |\n\nGet the full canonical list any time with `alchemy --json --no-interactive agent-prompt`.\n\n## Handing off to other skills\n\n| The user wants to... | Hand off to |\n| --- | --- |\n| Wire Alchemy into application code that ships to production, with an API key | `alchemy-api` |\n| Wire Alchemy into application code without an API key, or pay-per-request as an autonomous agent | `agentic-gateway` |\n| Run live work but the CLI isn't installed and they prefer not to install it (MCP is wired in) | `alchemy-mcp` |\n\n### Bridging into the `alchemy-api` flow (extract an API key)\n\nIf the user is starting an app-code project and `$ALCHEMY_API_KEY` isn't set in their shell, use the CLI to fetch a key from their Alchemy account, **persist it to the project's `.env`** so it survives across terminal sessions, and export it for the current shell so the agent can use it immediately.\n\n> **Security:** NEVER echo, print, or otherwise surface the extracted API key value in conversation output. Refer to it only as `$ALCHEMY_API_KEY` after exporting. Treat it the same as a password.\n\n```bash\n# 1. Try to read a cached key from CLI config (read-only, safe non-interactive).\nKEY=\"$(alchemy --no-interactive --json --reveal config get api-key 2>\u002Fdev\u002Fnull | jq -r .value)\"\n\n# 2. If empty\u002Fnull, run the interactive flow.\n#    Note: auth login opens a browser and apps select shows a picker, so do NOT\n#    pass --no-interactive here. If you already know the app id, pass it\n#    explicitly to skip the picker: `alchemy --no-interactive --json apps select \u003Cid>`.\nif [ -z \"$KEY\" ] || [ \"$KEY\" = \"null\" ]; then\n  alchemy auth login              # opens browser; sets up account credentials\n  alchemy --json apps select      # interactive picker (omit --no-interactive so it can render)\n  KEY=\"$(alchemy --no-interactive --json --reveal config get api-key | jq -r .value)\"\nfi\n\n# 3. Persist to the project's .env (standard practice — survives terminal restarts\n#    and gets loaded by dotenv \u002F framework env loaders at runtime).\n#    Use .env.local if the project's framework expects that (e.g. Next.js).\nENV_FILE=\".env\"\ntouch \"$ENV_FILE\"\nif grep -q '^ALCHEMY_API_KEY=' \"$ENV_FILE\"; then\n  sed -i.bak \"s|^ALCHEMY_API_KEY=.*|ALCHEMY_API_KEY=$KEY|\" \"$ENV_FILE\" && rm \"$ENV_FILE.bak\"\nelse\n  echo \"ALCHEMY_API_KEY=$KEY\" >> \"$ENV_FILE\"\nfi\ngrep -qxF \"$ENV_FILE\" .gitignore 2>\u002Fdev\u002Fnull || echo \"$ENV_FILE\" >> .gitignore\n\n# 4. Export to the current shell so the agent can call the API immediately.\nexport ALCHEMY_API_KEY=\"$KEY\"\n```\n\nHand off to the `alchemy-api` skill once `.env` has the key and `ALCHEMY_API_KEY` is exported.\n\n## Official links\n\n- [CLI on npm](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@alchemy\u002Fcli)\n- [Alchemy docs](https:\u002F\u002Fwww.alchemy.com\u002Fdocs)\n- [Get API key](https:\u002F\u002Fdashboard.alchemy.com\u002F)\n","# Alchemy CLI\n\nUse the [Alchemy CLI](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@alchemy\u002Fcli) (`@alchemy\u002Fcli`) for live blockchain queries, admin work, and local automation from the terminal. The CLI maps every Alchemy product (Node JSON-RPC, Token, NFT, Transfers, Prices, Portfolio, Simulation, Solana, Webhooks, Apps) to `alchemy \u003Ccommand>` invocations with structured JSON output.\n\n## When to use this skill\n\nUse `alchemy-cli` when **all** of the following are true:\n\n- The user wants **live agent work** — live querying, analysis, admin work, or local automation that the agent runs now in this session\n- `@alchemy\u002Fcli` is installed locally, **or** both the CLI and an MCP server are available, **or** neither is available (in which case install the CLI — see [Install](#install))\n\nThe CLI is the **preferred local fallback runtime path** for live agent work. When in doubt about CLI vs MCP, prefer the CLI.\n\n## When to use a different skill\n\n| Situation | Use this skill instead |\n| --- | --- |\n| MCP is already wired into your client and the CLI is **not** installed locally | `alchemy-mcp` |\n| Building application code that runs outside this agent session, with an Alchemy API key | `alchemy-api` |\n| Building application code without an API key, or as an autonomous agent that needs to pay for itself, or you explicitly want x402\u002FMPP | `agentic-gateway` |\n\nDo **not** use this skill to write production application code — CLI commands are for live agent work, not for embedding into shipped software.\n\n## Install\n\n```bash\nnpm i -g @alchemy\u002Fcli\n```\n\nIf the CLI is not installed and the user wants live agent work, install it. Do not fall back to raw curl\u002FHTTP calls — those are the API-key path covered by `alchemy-api`.\n\n## Bootstrap\n\nRun this at the start of any session to get the full command contract (every command, flag, auth method, error code, and example):\n\n```bash\nalchemy --json --no-interactive agent-prompt\n```\n\n## Execution rules\n\n- ALWAYS pass `--json --no-interactive` on every command\n- Parse stdout as JSON on exit code 0\n- Parse stderr as JSON on nonzero exit code\n- NEVER run bare `alchemy` without `--json --no-interactive`\n- NEVER use curl or raw HTTP when an `alchemy` CLI command exists for the task — that's the `alchemy-api` (API-key) path, not this skill\n- NEVER use the CLI to generate production application code; hand off to `alchemy-api` or `agentic-gateway` for shipped code\n\n## Preflight\n\nBefore the first command, run **both** of these checks:\n\n```bash\nalchemy --json --no-interactive setup status\nalchemy --json --no-interactive gas\n```\n\n`setup status` returns `{\"complete\": true, \"satisfiedBy\": \"\u003Csource>\"}` if any auth is configured. **Do not rely on `complete: true` alone** — there is a known false positive where `setup status` reports `complete: true` with `satisfiedBy: \"auth_token\"`, but RPC commands still fail with `AUTH_REQUIRED` because no API key has been derived from the auth token.\n\n`gas` is a lightweight RPC smoke test that catches this. If it returns `{\"gasPrice\": \"0x...\", ...}`, RPC is wired up correctly. If it returns `{\"error\": {\"code\": \"AUTH_REQUIRED\", ...}}`, run `alchemy auth login` (which fetches and saves the API key) or `alchemy config set api-key \u003Ckey>`, then re-run `gas` to confirm.\n\nIf `setup status` reports `complete: false`, follow the `nextCommands` in the response first, then run `gas` to verify.\n\n## Auth setup\n\nThe fastest way to authenticate is via browser login:\n\n```bash\nalchemy auth login\n```\n\nThis opens a browser to authenticate with your Alchemy account and automatically configures the CLI with your credentials.\n\nTo check auth status: `alchemy auth status`\nTo log out: `alchemy auth logout`\n\n### Alternative auth methods\n\n| Method | Config command | Env var | Used by |\n|--------|---------------|---------|---------|\n| Browser login | `alchemy auth login` | -- | All commands (derives API key + access key from your account) |\n| API key | `alchemy config set api-key \u003Ckey>` | `ALCHEMY_API_KEY` | `balance`, `tx`, `receipt`, `block`, `gas`, `logs`, `rpc`, `trace`, `debug`, `tokens`, `nfts`, `transfers`, `prices`, `portfolio`, `simulate`, `bundler`, `gas-manager`, `solana` |\n| Access key | `alchemy config set access-key \u003Ckey>` | `ALCHEMY_ACCESS_KEY` | `apps` (all subcommands incl. `configured-networks`) |\n| Webhook key | `alchemy config set webhook-api-key \u003Ckey>` | `ALCHEMY_WEBHOOK_API_KEY` | `webhooks` |\n| x402 wallet | `alchemy wallet generate` then `alchemy config set x402 true` | `ALCHEMY_WALLET_KEY` | `balance`, `tx`, `block`, `rpc`, `trace`, `debug`, `tokens`, `nfts`, `transfers` |\n\n`alchemy network list` and `alchemy version` \u002F `update-check` need no auth.\n\n### Selecting a default app\n\nMany `apps` subcommands (and the access-key gated flows) operate on a \"default app.\" If you see `APP_REQUIRED` in an error response, set one:\n\n```bash\nalchemy --json --no-interactive apps select \u003Cid>\n# or equivalently\nalchemy --json --no-interactive config set app \u003Cid>\n```\n\nGet API\u002Faccess keys at [dashboard.alchemy.com](https:\u002F\u002Fdashboard.alchemy.com\u002F).\n\n## Task-to-command map\n\n### Node (EVM)\n\n| Task | Command |\n|------|---------|\n| ETH balance | `alchemy balance \u003Caddress>` |\n| Transaction details | `alchemy tx \u003Chash>` |\n| Transaction receipt | `alchemy receipt \u003Chash>` |\n| Block details | `alchemy block \u003Cnumber\\|latest>` |\n| Gas prices | `alchemy gas` |\n| Event logs | `alchemy logs --address \u003Caddr> --from-block \u003Cn> --to-block \u003Cn>` |\n| Raw JSON-RPC | `alchemy rpc \u003Cmethod> [params...]` |\n| Trace methods | `alchemy trace \u003Cmethod> [params...]` |\n| Debug methods | `alchemy debug \u003Cmethod> [params...]` |\n\n### Data\n\n| Task | Command |\n|------|---------|\n| ERC-20 balances | `alchemy tokens balances \u003Caddress>` |\n| ERC-20 balances (formatted) | `alchemy tokens balances \u003Caddress> --metadata` |\n| Token metadata | `alchemy tokens metadata \u003Ccontract>` |\n| Token allowance | `alchemy tokens allowance --owner \u003Caddr> --spender \u003Caddr> --contract \u003Caddr>` |\n| List owned NFTs | `alchemy nfts \u003Caddress> [--limit \u003Cn>] [--page-key \u003Ckey>]` |\n| NFT metadata | `alchemy nfts metadata --contract \u003Caddr> --token-id \u003Cid>` |\n| NFT contract metadata | `alchemy nfts contract \u003Caddress>` |\n| Transfer history | `alchemy transfers \u003Caddress> --category erc20,erc721,erc1155,external,internal,specialnft [--from-block \u003Cn>] [--to-block \u003Cn>] [--max-count \u003Cn>] [--page-key \u003Ckey>]` |\n| Spot prices by symbol | `alchemy prices symbol ETH,USDC` |\n| Spot prices by address | `alchemy prices address --addresses '\u003Cjson>'` |\n| Historical prices | `alchemy prices historical --body '\u003Cjson>'` |\n| Cross-network token portfolio | `alchemy portfolio tokens --body '\u003Cjson>'` |\n| Token balances by address\u002Fnetwork pairs | `alchemy portfolio token-balances --body '\u003Cjson>'` |\n| Cross-network NFT portfolio | `alchemy portfolio nfts --body '\u003Cjson>'` |\n| NFT contracts by address\u002Fnetwork pairs | `alchemy portfolio nft-contracts --body '\u003Cjson>'` |\n| Simulate single tx (asset deltas) | `alchemy simulate asset-changes --tx '\u003Cjson>' [--block-tag \u003Ctag>]` |\n| Simulate single tx (execution trace) | `alchemy simulate execution --tx '\u003Cjson>' [--block-tag \u003Ctag>]` |\n| Simulate bundle (asset deltas) | `alchemy simulate asset-changes-bundle --txs '\u003Cjson-array>' [--block-tag \u003Ctag>]` |\n| Simulate bundle (execution trace) | `alchemy simulate execution-bundle --txs '\u003Cjson-array>' [--block-tag \u003Ctag>]` |\n\n### Solana\n\n| Task | Command |\n|------|---------|\n| Solana JSON-RPC | `alchemy solana rpc \u003Cmethod> [params...]` |\n| Solana DAS (NFTs\u002Fassets) | `alchemy solana das \u003Cmethod> '\u003Cjson>'` |\n\n### Webhooks\n\n| Task | Command |\n|------|---------|\n| List webhooks | `alchemy webhooks list` |\n| Create webhook | `alchemy webhooks create --body '\u003Cjson>' [--dry-run]` |\n| Update webhook | `alchemy webhooks update --body '\u003Cjson>' [--dry-run]` |\n| Delete webhook | `alchemy webhooks delete \u003Cid> [--yes] [--dry-run]` |\n| Get address-activity webhook addresses | `alchemy webhooks addresses \u003Cid>` |\n| Get NFT-activity webhook filters | `alchemy webhooks nft-filters \u003Cid>` |\n\n### Account abstraction (ERC-4337)\n\n| Task | Command |\n|------|---------|\n| Send a UserOperation | `alchemy bundler send-user-operation --user-op '\u003Cjson>' --entry-point \u003Caddr>` |\n| Estimate UserOperation gas | `alchemy bundler estimate-user-operation-gas --user-op '\u003Cjson>' --entry-point \u003Caddr> [--state-override '\u003Cjson>']` |\n| Get UserOperation receipt | `alchemy bundler get-user-operation-receipt --user-op-hash \u003Chash>` |\n| Request gas + paymaster data | `alchemy gas-manager request-gas-and-paymaster --body '\u003Cjson>'` |\n| Request paymaster token quote | `alchemy gas-manager request-paymaster-token-quote --body '\u003Cjson>'` |\n\n### Wallet (x402)\n\n| Task | Command |\n|------|---------|\n| Generate a new wallet | `alchemy wallet generate` |\n| Import a wallet from a key file | `alchemy wallet import \u003Cpath>` |\n| Show the locally configured wallet address | `alchemy wallet address` |\n\n### App management\n\n| Task | Command |\n|------|---------|\n| List apps | `alchemy apps list [--cursor \u003Cc>] [--limit \u003Cn>] [--all] [--search \u003Cq>] [--id \u003CappId>]` |\n| Get app details | `alchemy apps get \u003Cid>` |\n| Create app | `alchemy apps create --name \"My App\" --networks eth-mainnet [--description \u003Cdesc>] [--products \u003Cids>] [--dry-run]` |\n| Update app metadata | `alchemy apps update \u003Cid> --name \"New Name\" [--description \u003Cdesc>] [--dry-run]` |\n| Update app network allowlist | `alchemy apps networks \u003Cid> --networks eth-mainnet,base-mainnet [--dry-run]` |\n| Update app address allowlist | `alchemy apps address-allowlist \u003Cid> --addresses 0xAA,0xBB [--dry-run]` |\n| Update app origin allowlist | `alchemy apps origin-allowlist \u003Cid> --origins https:\u002F\u002Fa.com,https:\u002F\u002Fb.com [--dry-run]` |\n| Update app IP allowlist | `alchemy apps ip-allowlist \u003Cid> --ips 1.2.3.4,5.6.7.8 [--dry-run]` |\n| Delete app | `alchemy apps delete \u003Cid> [--yes] [--dry-run]` |\n| Select default app | `alchemy apps select \u003Cid>` (equivalent to `alchemy config set app \u003Cid>`) |\n| List networks configured for an app | `alchemy apps configured-networks [--app-id \u003Cid>]` |\n| List Admin API chain identifiers (for `apps create`\u002F`update`) | `alchemy apps chains` |\n| List all RPC network slugs (for `--network`) | `alchemy network list [--mainnet-only] [--testnet-only] [--search \u003Cterm>]` |\n\n### CLI admin\n\n| Task | Command |\n|------|---------|\n| Check for CLI updates | `alchemy update-check` |\n| View config | `alchemy config list` |\n| Reset config | `alchemy config reset --yes` |\n| CLI version | `alchemy version` |\n\n## Global flags\n\n| Flag | Description |\n|------|-------------|\n| `--json` | Force JSON output (auto-enabled when piped) |\n| `--no-interactive` | Disable prompts and REPL |\n| `-n, --network \u003Cnetwork>` | Target network (default: `eth-mainnet`, env: `ALCHEMY_NETWORK`) |\n| `--api-key \u003Ckey>` | Override API key per command (env: `ALCHEMY_API_KEY`) |\n| `--access-key \u003Ckey>` | Override access key per command (env: `ALCHEMY_ACCESS_KEY`) |\n| `--x402` | Use x402 wallet-based gateway auth for this command |\n| `--wallet-key-file \u003Cpath>` | Path to wallet private key file (for x402) |\n| `--timeout \u003Cms>` | Request timeout in milliseconds |\n| `-q, --quiet` | Suppress non-essential output |\n| `--verbose` | Log request\u002Fresponse details to stderr |\n| `--debug` | Enable debug diagnostics |\n| `--no-color` | Disable color output |\n| `--reveal` | Show secrets in plain text (use with care; intended for explicit reveal flows) |\n\n## Error handling\n\nErrors return structured JSON on stderr. Each error has a `code`, an `exitCode` (1–9), a `retryable` boolean, and a `recovery` hint. Key codes (from `agent-prompt`):\n\n| Code | Exit | Retryable | Recovery |\n|------|------|-----------|----------|\n| `AUTH_REQUIRED` | 3 | No | Run `alchemy auth login`, or set `ALCHEMY_API_KEY` \u002F `alchemy config set api-key \u003Ckey>` |\n| `INVALID_API_KEY` | 3 | No | Check the API key; set a valid one with `alchemy config set api-key \u003Ckey>` |\n| `ACCESS_KEY_REQUIRED` | 3 | No | Set `ALCHEMY_ACCESS_KEY` or run `alchemy config set access-key \u003Ckey>` |\n| `INVALID_ACCESS_KEY` | 3 | No | Check the access key at [dashboard.alchemy.com](https:\u002F\u002Fdashboard.alchemy.com\u002F) |\n| `APP_REQUIRED` | 3 | No | Select a default app: `alchemy apps select \u003Cid>` (or `alchemy config set app \u003Cid>`) |\n| `NETWORK_NOT_ENABLED` | 3 | No | Enable the target network for your app at dashboard.alchemy.com |\n| `SETUP_REQUIRED` | 3 | No | Run `alchemy --json setup status` and follow `nextCommands` |\n| `PAYMENT_REQUIRED` | 9 | No | Fund x402 wallet or switch to API key auth |\n| `RATE_LIMITED` | 5 | Yes | Wait and retry with backoff; consider upgrading your plan |\n| `NETWORK_ERROR` | 6 | Yes | Check connection and retry |\n| `RPC_ERROR` | 7 | No | Check method, params, and network; verify API key has access |\n| `ADMIN_API_ERROR` | 8 | No | Check error message; verify access key permissions |\n| `NOT_FOUND` | 4 | No | Verify the resource identifier (address, hash, id) is correct |\n| `INVALID_ARGS` | 2 | No | Check command usage via `alchemy --json help \u003Ccommand>` |\n| `INTERNAL_ERROR` | 1 | No | Unexpected error; retry or report a bug |\n\nGet the full canonical list any time with `alchemy --json --no-interactive agent-prompt`.\n\n## Handing off to other skills\n\n| The user wants to... | Hand off to |\n| --- | --- |\n| Wire Alchemy into application code that ships to production, with an API key | `alchemy-api` |\n| Wire Alchemy into application code without an API key, or pay-per-request as an autonomous agent | `agentic-gateway` |\n| Run live work but the CLI isn't installed and they prefer not to install it (MCP is wired in) | `alchemy-mcp` |\n\n### Bridging into the `alchemy-api` flow (extract an API key)\n\nIf the user is starting an app-code project and `$ALCHEMY_API_KEY` isn't set in their shell, use the CLI to fetch a key from their Alchemy account, **persist it to the project's `.env`** so it survives across terminal sessions, and export it for the current shell so the agent can use it immediately.\n\n> **Security:** NEVER echo, print, or otherwise surface the extracted API key value in conversation output. Refer to it only as `$ALCHEMY_API_KEY` after exporting. Treat it the same as a password.\n\n```bash\n# 1. Try to read a cached key from CLI config (read-only, safe non-interactive).\nKEY=\"$(alchemy --no-interactive --json --reveal config get api-key 2>\u002Fdev\u002Fnull | jq -r .value)\"\n\n# 2. If empty\u002Fnull, run the interactive flow.\n#    Note: auth login opens a browser and apps select shows a picker, so do NOT\n#    pass --no-interactive here. If you already know the app id, pass it\n#    explicitly to skip the picker: `alchemy --no-interactive --json apps select \u003Cid>`.\nif [ -z \"$KEY\" ] || [ \"$KEY\" = \"null\" ]; then\n  alchemy auth login              # opens browser; sets up account credentials\n  alchemy --json apps select      # interactive picker (omit --no-interactive so it can render)\n  KEY=\"$(alchemy --no-interactive --json --reveal config get api-key | jq -r .value)\"\nfi\n\n# 3. Persist to the project's .env (standard practice — survives terminal restarts\n#    and gets loaded by dotenv \u002F framework env loaders at runtime).\n#    Use .env.local if the project's framework expects that (e.g. Next.js).\nENV_FILE=\".env\"\ntouch \"$ENV_FILE\"\nif grep -q '^ALCHEMY_API_KEY=' \"$ENV_FILE\"; then\n  sed -i.bak \"s|^ALCHEMY_API_KEY=.*|ALCHEMY_API_KEY=$KEY|\" \"$ENV_FILE\" && rm \"$ENV_FILE.bak\"\nelse\n  echo \"ALCHEMY_API_KEY=$KEY\" >> \"$ENV_FILE\"\nfi\ngrep -qxF \"$ENV_FILE\" .gitignore 2>\u002Fdev\u002Fnull || echo \"$ENV_FILE\" >> .gitignore\n\n# 4. Export to the current shell so the agent can call the API immediately.\nexport ALCHEMY_API_KEY=\"$KEY\"\n```\n\nHand off to the `alchemy-api` skill once `.env` has the key and `ALCHEMY_API_KEY` is exported.\n\n## Official links\n\n- [CLI on npm](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@alchemy\u002Fcli)\n- [Alchemy docs](https:\u002F\u002Fwww.alchemy.com\u002Fdocs)\n- [Get API key](https:\u002F\u002Fdashboard.alchemy.com\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":27},{"author":25,"version":26},"alchemyplatform","2.0","Requires `@alchemy\u002Fcli` (`npm i -g @alchemy\u002Fcli`) and shell access. Verified against `@alchemy\u002Fcli` 0.6.x. Works across Claude Code, Cursor, Codex, and any agent with shell access.","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_alchemyplatform_skills_alchemy-cli",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill alchemy-cli",{"tool":43,"command":44},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill alchemy-cli",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill alchemy-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_alchemyplatform_skills_alchemy-cli\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]