bankr-shopify
Shopify Admin & Storefront GraphQL APIs via curl, with Bankr-native bridges.
Skill by Eskyee
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/eskyee-bankr-shopify
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bankr-shopify
What's inside
- Skill name
bankr-shopify- Description
- Shopify Admin & Storefront GraphQL APIs via curl, with Bankr-native bridges. Manage products, orders, customers, inventory, metafields, webhooks, and bulk ops, then wire merchant data to onchain primitives — store a Bankr-resolvable handle (ENS, Twitter, Farcaster, wallet) on each customer as a metafield, expose Shopify draft orders behind x402 endpoints Bankr settles in USDC, and turn ORDERS_PAID webhooks into Bankr agent jobs for loyalty drops or royalty splits. Triggers: "Shopify products", "Shopify orders", "create draft order", "loyalty drop on order", "x402 checkout", "tokengate Shopify". Core Shopify content adapted with attribution from NousResearch/hermes-agent (MIT).
- License
- MIT
- Instructions
- 507 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: 507 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Shopify — Admin & Storefront GraphQL APIs (Bankr Edition)
> The core Shopify sections of this skill are adapted from the upstream [`NousResearch/hermes-agent`](https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/shopify/SKILL.md) skill (MIT, `author: community`). The four "Bankr Bridges" sections at the end are new and specific to the Bankr ecosystem.
Work with Shopify stores directly through `curl`: list products, manage inventory, pull orders, update customers, read metafields. No SDK, no app framework — just the GraphQL endpoint and a custom-app access token. Then bridge the merchant data to onchain primitives via Bankr.
The REST Admin API is legacy since 2024-04 and only receives security fixes. **Use GraphQL Admin** for all admin work. Use **Storefront GraphQL** for read-only customer-facing queries (products, collections, cart).
## Prerequisites
1. In Shopify admin: **Settings → Apps and sales channels → Develop apps → Create an app**.
2. Click **Configure Admin API scopes**, select what you need (examples below), save.
3. **Install app** → the Admin API access token appears ONCE. Copy it immediately — Shopify will never show it again. Tokens start with `shpat_`.
4. Set these in your Bankr settings (gear icon → Env Vars):
- `SHOPIFY_ACCESS_TOKEN` — admin token (starts with `shpat_`)
- `SHOPIFY_STORE_DOMAIN` — `my-store.myshopify.com` (the permanent myshopify domain, not your custom one)
- `SHOPIFY_API_VERSION` — default `2026-01`
- `BANKR_API_KEY` — for the Bankr bridge sections; generate at https://bankr.bot/api
> **Heads up:** As of January 1, 2026, new "legacy custom apps" created in the Shopify admin are gone. New setups should use the **Dev Dashboard** (`shopify.dev/docs/apps/build/dev-dashboard`). Existing admin-created apps keep working. If the user's shop has no existing custom app and it's after 2026-01-01, direct them to Dev Dashboard instead of the admin flow.
Common scopes by task:
- Products / collections: `read_products`, `write_products`
- Inventory: `read_inventory`, `write_inventory`, `read_locations`
- Orders: `read_orders`, `write_orders` (30 most recent without `read_all_orders`)
- Customers: `read_customers`, `write_customers`
- Draft orders: `read_draft_orders`, `write_draft_orders`
- Fulfillments: `read_fulfillments`, `write_fulfillments`
- Metafields / metaobjects: covered by the matching resource scopes
## API Basics
- **Endpoint:** `https://$SHOPIFY_STORE_DOMAIN/admin/api/$SHOPIFY_API_VERSION/graphql.json`
- **Auth header:** `X-Shopify-Access-Token: $SHOPIFY_ACCESS_TOKEN` (NOT `Authorization: Bearer`)
- **Method:** always `POST`, always `Content-Type: application/json`, body is `{"query": "...", "variables": {...}}`
- **HTTP 200 does not mean success.** GraphQL returns errors in a top-level `errors` array and per-field `userErrors`. Always check both.
- **IDs are GID strings:** `gid://shopify/Product/10079467700516`, `gid://shopify/Variant/...`, `gid://shopify/Order/...`. Pass these verbatim — don't strip the prefix.
- **Rate limit:** calculated via query cost (leaky bucket). Each response has `extensions.cost` with `requestedQueryCost`, `actualQueryCost`, `throttleStatus.{currentlyAvailable, maximumAvailable, restoreRate}`. Back off when `currentlyAvailable` drops below your next query's cost. Standard shops = 100 points bucket, 50/s restore; Plus = 1000/100.
Base curl pattern (reusable):
```bash
shop_gql() {
local query="$1"
local variables="${2:-{}}"
curl -sS -X POST \
"https://${SHOPIFY_STORE_DOMAIN}/admin/api/${SHOPIFY_API_VERSION:-2026-01}/graphql.json" \
-H "Content-Type: application/json" \
-H "X-Shopify-Access-Token: ${SHOPIFY_ACCESS_TOKEN}" \
--data "$(jq -nc --arg q "$query" --argjson v "$variables" '{query: $q, variables: $v}')"
}
```
Pipe through `jq` for readable output. `-sS` keeps errors visible but hides the progress bar.
## Discovery
### Shop info + current API version
```bash
shop_gql '{ shop { name myshopifyDomain primaryDomain { url } currencyCode plan { displayName } } }' | jq
```
### List all supported API versions
```bash
shop_gql '{ publicApiVersions { handle supported } }' | jq '.data.publicApiVersions[] | select(.supported)'
```
## Products
### Search products (first 20 matching query)
```bash
shop_gql '
query($q: String!) {
products(first: 20, query: $q) {
edges { node { id title handle status totalInventory variants(first: 5) { edges { node { id sku price inventoryQuantity } } } } }
pageInfo { hasNextPage endCursor }
}
}' '{"q":"hoodie status:active"}' | jq
```
Query syntax supports `title:`, `sku:`, `vendor:`, `product_type:`, `status:active`, `tag:`, `created_at:>2025-01-01`. Full grammar: https://shopify.dev/docs/api/usage/search-syntax
### Paginate products (cursor)
```bash
shop_gql '
query($cursor: String) {
products(first: 100, after: $cursor) {
edges { cursor node { id handle } }
pageInfo { hasNextPage endCursor }
}
}' '{"cursor":null}'
# subsequent calls: pass the previous endCursor
```
### Get a product with variants + metafields
```bash
shop_gql '
query($id: ID!) {
product(id: $id) {
id title handle descriptionHtml tags status
variants(first: 20) { edges { node { id sku price compareAtPrice inventoryQuantity selectedOptions { name value } } } }
metafields(first: 20) { edges { node { namespace key type value } } }
}
}' '{"id":"gid://shopify/Product/10079467700516"}' | jq
```
### Create a product with one variant
```bash
shop_gql '
mutation($input: ProductCreateInput!) {
productCreate(product: $input) {
product { id handle }
userErrors { field message }
}
}' '{"input":{"title":"Test Hoodie","status":"DRAFT","vendor":"Bankr","productType":"Apparel","tags":["test"]}}'
```
Variants now have their own mutations in recent versions:From Eskyee/agentbot-opensource, MIT.
More from Eskyee/agentbot-opensource
- 0.555score
endaoment
Eskyee
Donate to charities onchain via Endaoment.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
0xwork
Eskyee
Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow).
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
capacitr
Eskyee
Paste a URL or free text and get matched Polymarket / Hyperliquid / Deribit markets with Quotient edge scores.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
codegrid
Eskyee
CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a…
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
ens-primary-name
Eskyee
Set your primary ENS name on Base and other L2s.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
erc-8004
Eskyee
Register AI agents on Ethereum mainnet using ERC-8004 (Trustless Agents).
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
agenticbets
Eskyee
Place prediction bets on token prices on Base via AgenticBets.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
alchemy
alchemyplatform
Blockchain API access via Alchemy.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
checkr
Eskyee
Access real-time X/Twitter attention intelligence for Base chain tokens via the checkr API.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
clanker
Eskyee
Deploy ERC20 tokens on Base, Ethereum, Arbitrum, and other EVM chains using the Clanker SDK.
SkillCFreshness: C★ 16Claude Code +9 - 0.550score
aeon-defi-monitor
Eskyee
Watchlist monitor for DeFi pools, lending markets, and vaults.
SkillCFreshness: C★ 16Claude Code +9 - 0.550score
aeon-monitor-kalshi
Eskyee
Watchlist-driven Kalshi prediction-market monitor with cross-venue arb detection vs paired Polymarket markets (fee + slippage adjusted).
SkillCFreshness: C★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Jun 15, 2026 (4 months ago)
- Last release
- Jun 5, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Eskyee/agentbot-opensource
- Website
- agentbot.sh
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Eskyee
- 0.555score
checkr
Eskyee
Access real-time X/Twitter attention intelligence for Base chain tokens via the checkr API.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
clanker
Eskyee
Deploy ERC20 tokens on Base, Ethereum, Arbitrum, and other EVM chains using the Clanker SDK.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
agenticbets
Eskyee
Place prediction bets on token prices on Base via AgenticBets.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
capacitr
Eskyee
Paste a URL or free text and get matched Polymarket / Hyperliquid / Deribit markets with Quotient edge scores.
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
0xwork
Eskyee
Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow).
SkillCFreshness: C★ 16Claude Code +9 - 0.555score
codegrid
Eskyee
CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a…
SkillCFreshness: C★ 16Claude Code +9
Cite this page
bankr-shopify skill. Agent Mart. https://agentmart.dev/skills/eskyee-bankr-shopify (last updated 2026-10-24)