Skip to content

LeoYeAI/agent-master-skills / skills/alchemy-openapi-skill

alchemy-openapi-skill

Verified

Operate Alchemy Prices API reads through UXC with a curated OpenAPI schema, path-templated API-key auth, and read-first guardrails.

FileKindSize
.clawhub/origin.jsonconfig153 B
SKILL.mdskill md4.0 KB
_meta.jsonconfig140 B
agents/openai.yamlconfig305 B
references/alchemy-prices.openapi.jsonconfig5.1 KB
references/usage-patterns.mdmarkdown1.6 KB
scripts/validate.shscript2.7 KB

references/usage-patterns.md

View on GitHub
# Alchemy Prices API Skill - Usage Patterns

## Link Setup

```bash
command -v alchemy-openapi-cli
uxc link alchemy-openapi-cli https://api.g.alchemy.com \
  --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/alchemy-openapi-skill/references/alchemy-prices.openapi.json
alchemy-openapi-cli -h
```

## Auth Setup

```bash
uxc auth credential set alchemy-prices \
  --auth-type api_key \
  --secret-env ALCHEMY_API_KEY \
  --path-prefix-template "/prices/v1/{{secret}}"

uxc auth binding add \
  --id alchemy-prices \
  --host api.g.alchemy.com \
  --scheme https \
  --credential alchemy-prices \
  --priority 100
```

Validate the binding:

```bash
uxc auth binding match https://api.g.alchemy.com
```

## Read Examples

```bash
# Read token prices by symbol
alchemy-openapi-cli get:/tokens/by-symbol symbols=ETH currency=USD

# Read token prices by contract address
alchemy-openapi-cli post:/tokens/by-address '{"addresses":[{"network":"eth-mainnet","address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}],"currency":"USD"}'

# Read historical token prices
alchemy-openapi-cli post:/tokens/historical '{"symbol":"ETH","startTime":"2025-01-01T00:00:00Z","endTime":"2025-01-07T00:00:00Z","interval":"1d","currency":"USD"}'
```

## Fallback Equivalence

- `alchemy-openapi-cli <operation> ...` is equivalent to
  `uxc https://api.g.alchemy.com --schema-url <alchemy_openapi_schema> <operation> ...`.

## Notes

- The live API can accept repeated `symbols=` query parameters, but this curated v1 schema keeps `get:/tokens/by-symbol` to one symbol per call so it remains directly executable through `uxc`.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide 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).Stars: 198kUpdated Claude CodeCodexVerifiedInstall