Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/rushikeshmore/shopify-partner-agent/claude-mdgit clone --depth 1 https://github.com/rushikeshmore/shopify-partner-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/rushikeshmore/shopify-partner-agent/claude-md)<a href="https://agentmods.dev/instructions/rushikeshmore/shopify-partner-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/rushikeshmore/shopify-partner-agent/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00738 | $0.00738 |
| Opus 5 | $0.00369 | $0.00369 |
| Sonnet 5 | $0.00148 | $0.00148 |
| Haiku 4.5 | $0.00074 | $0.00074 |
Grade A, and why
shopify-partner-agent CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shopify Partner Agent -- MCP Server
What This Is
MCP server that connects Claude to the Shopify Partner GraphQL API. Gives Claude access to app analytics, revenue metrics, churn data, and merchant info via natural language.
Architecture
server.py -- FastMCP, 25 @mcp.tool() definitions
shopify_partner.py -- ShopifyPartnerClient (async GraphQL + pagination + rate limiting)
queries.py -- GraphQL query string constants
analytics.py -- Pure computation functions (MRR, churn, ARPU, cohorts, anomalies)
25 MCP Tools
Core Data (5): discover_apps, get_app_details, get_app_events, get_transactions, get_merchants
Revenue Analytics (4): get_revenue_summary, get_mrr_movement, get_payout_report, get_plan_performance
Customer Analytics (4): get_churn_analysis, get_retention_cohorts, get_customer_ltv, get_churned_merchants
Growth & Forecasting (6): get_trial_funnel, get_growth_velocity, get_install_patterns, get_revenue_forecast, get_referral_revenue, get_credits_adjustments
Merchant Intelligence (4): get_churn_risk, get_merchant_health, get_merchant_lookup, get_business_digest
Multi-App (2): get_revenue_anomalies, get_app_comparison
API Details
- Endpoint:
POST https://partners.shopify.com/{org_id}/api/2026-01/graphql.json - Auth: Static token via
X-Shopify-Access-Tokenheader - Rate limit: 4 req/sec (0.3s sleep between requests)
- Read-only -- no mutations
Key Constraints
- No
appsquery -- discover from transactions or configure in.env - App IDs must be GID format:
gid://partners/App/1234 - Financial amounts are string decimals -- use
Decimalfor math billingIntervalcan beEVERY_30_DAYSorANNUAL-- divide annual by 12 for MRR- GraphQL can return HTTP 200 with
errorsin body -- check both - MRR is event-aware when app_id is provided: uses install/uninstall/freeze events to determine active merchants, then sums their latest subscription amounts. Falls back to charge-based when events=None.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 62 lines · 738 tokens per session scan A 0a95ee3a34eb
shopify-partner-agent CLAUDE.md is an instructions file published in the GitHub repository rushikeshmore/shopify-partner-agent (13 stars, last pushed 4mo ago), licensed MIT. It adds 738 tokens to every session, about $0.0037 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
ebay-mcp AGENTS.md
Instructions for YosefHayim/ebay-mcp, covering agents.md, what this is, instruction sources, validation commands and module map (src/).
mcp-server-amazon CLAUDE.md
Instructions for rigwild/mcp-server-amazon, covering claude.md, development commands, install dependencies (use -d flag for puppeteer), build typescript to javascript and clean mock html files.
mcp-shopline CLAUDE.md
Instructions for asgard-ai-platform/mcp-shopline, covering claude.md, project overview, setup & running, run the mcp server directly (stdio json-rpc 2.0) and or auto-detected via .mcp.json when opened in claude code.
kona-theme CLAUDE.md
Instructions for jonathanmoore/kona-theme, covering claude.md, what this is, commands, architecture and project layout.
rakuten-pantry-mcp AGENTS.md
AGENTS.md instructions for yukincom/rakuten-pantry-mcp, covering agents.md — rakuten-pantry-mcp, コマンド, 改造の中心ファイル, compareichibavalue and upstream.
mcp-server-woocommerce CLAUDE.md
Instructions for AmitGurbani/mcp-server-woocommerce, covering woocommerce mcp server, build & test, architecture, adding new tools and key patterns.