galleonlabs/crypto-defi-skills / packages/infra/skills/galleon-coinbase-agentkit-readiness
galleon-coinbase-agentkit-readiness
VerifiedInspect Coinbase CDP and AgentKit wallet configuration, verify an existing account with read-only tools, and inventory exposed actions before protocol use. Use when an agent cannot find its wallet, uses the wrong Base network, or needs a scoped Coinbase capability report without creating accounts or signing.
| File | Kind | Size |
|---|---|---|
| ATTRIBUTION.md | markdown | 958 B |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 3.9 KB |
| agents/openai.yaml | config | 274 B |
| references/inspection.md | markdown | 3.8 KB |
| references/sources.md | markdown | 1.5 KB |
references/inspection.md
View on GitHub# Inspect existing Coinbase integrations
Start inside the existing application. These local commands report versions and code locations without starting its wallet lifecycle:
```sh
npm ls @coinbase/agentkit @coinbase/cdp-sdk --depth=0
rg -n 'CdpEvmWalletProvider|configureWithWallet|actionProviders|networkId|getOrCreateAccount|createAccount' src
```
Inspect matching code locally; do not paste environment files or credential literals into reports. Read the installed package's provider implementation before calling initializers. AgentKit's `CdpEvmWalletProvider.configureWithWallet` can create an account when an address is absent; it is unsuitable as a generic readiness probe. Even `getOrCreateAccount` is a mutation if the account is missing.
For an already configured official CDP SDK client, the existing-account read is:
```ts
// Reuse the application's existing CdpClient; do not construct a signer here.
const account = await cdp.evm.getAccount({ address: expectedAddress });
// Compare account.address to expectedAddress. Do not log the account object.
```
Verify this method against the installed SDK types before running it. Limit the lookup to one known address, redact errors to authentication / missing account / transport / unsupported method, and never fall back to account creation. Use the application's HTTP timeout and cancellation controls. If no bounded control exists, report authenticated read untested and use a compatible existing read tool.
For an already instantiated AgentKit object, `agentkit.getActions()` inventories action objects. Inspect names, descriptions and schemas; do not call an action's invoke method to learn what it does. The action list depends on selected providers and network support. Framework tools should be selected from this list by an explicit allowlist, not by a substring such as `get`.
Public read recipe with an existing viem client:
```ts
const chainId = await publicClient.getChainId();
if (chainId !== expectedChainId) throw new Error("wrong_chain");
const block = await publicClient.getBlock();
const balance = await publicClient.getBalance({ address: expectedAddress, blockNumber: block.number });
```
Use a 10-second transport timeout, retryCount 0 and a user-appropriate maximum head age. Keep the integer balance in base units until formatting with the chain's native decimals. Do not log the RPC URL. A successful public RPC read proves neither CDP authentication nor transaction capability.
For Wallet MCP, inspect whether its tools are already exposed and read their schemas. If absent, name the connector gap and the official `https://wallet-mcp.coinbase.com` endpoint; stop before OAuth or wallet setup. If connected, request only a needed read for the expected account/chain; do not volunteer wallet inventories. Approval URLs and request IDs represent pending writes, not completed transactions, and are not readiness probes. See the [installation](https://docs.cdp.coinbase.com/coinbase-for-agents/wallet-mcp/references/install.md) and [approval](https://docs.cdp.coinbase.com/coinbase-for-agents/wallet-mcp/references/approval-mode.md) references.
For an existing legacy Agentic Wallet installation, inspect the installed `awal --version` and `awal --help` before selecting status/address/balance reads. Its old primary quickstart returned 404 on 2026-11-13, so current support and flags are unverified until checked locally. Do not run auth/login, send, trade, faucet, or x402 payment commands during diagnosis. Avoid `npx` downloading a different CLI version as a side effect of a status check.
CDP environment names in current AgentKit are `CDP_API_KEY_ID`, `CDP_API_KEY_SECRET`, `CDP_WALLET_SECRET`, and `NETWORK_ID`. Check only presence in the existing runtime; don't require all four for tasks that only use public RPC. A wallet secret is sensitive signing infrastructure, not a diagnostic output.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |