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 commands/mentilead/shopify-app-skill/add-entitygit clone --depth 1 https://github.com/mentilead/shopify-app-skillWrote 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/commands/mentilead/shopify-app-skill/add-entity)<a href="https://agentmods.dev/commands/mentilead/shopify-app-skill/add-entity"><img src="https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/add-entity.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 | $0.00000 | $0.00512 |
| Opus 5 | $0.00000 | $0.00256 |
| Sonnet 5 | $0.00000 | $0.00102 |
| Haiku 4.5 | $0.00000 | $0.00051 |
Grade A, and why
add-entity 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 4d 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 — 34 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Entity
Design and scaffold a new DynamoDB entity with single-table key design, service functions, and tenant scoping.
Arguments
$ARGUMENTS = entity name and optional description (e.g., "Notification user notifications for form events", "ExportJob")
Instructions
- Parse the entity name from
$ARGUMENTS. If empty, ask the user what entity to create and its purpose. - Read
.claude/skills/shopify-app/references/dynamodb-patterns.mdfor key structure, the keys module pattern, and mapper conventions. - Read
.claude/skills/shopify-app/references/security-patterns.mdfor multi-tenancy scoping requirements. - Design the key structure following existing patterns:
- PK must start with
SHOP#<domain>for tenant isolation (unless it's a cross-shop entity like Session) - SK must use the
ENTITY#<id>pattern - Add GSI1PK/GSI1SK only if cross-partition queries are needed
- If the entity has a time-based sort need, include a timestamp in the SK or GSI1SK
- PK must start with
- Add key builder functions to
app/services/dynamodb/keys.ts:entityName(domain, id)— returns PK, SK, and optional GSI keysentityNameByShop(domain)— returns PK and SKPrefix for queries
- Create a mapper in
app/services/dynamodb/mappers.ts(or a new mapper file):toEntityName(item: Record<string, any>): EntityType— DynamoDB item to typed objectfromEntityName(entity: EntityType): Record<string, any>— typed object to DynamoDB item
- Create service functions in
app/services/<entity-name>.server.ts:create<Entity>(shopDomain, data)— PutItem with condition to prevent overwritesget<Entity>(shopDomain, id)— GetItemquery<Entities>ByShop(shopDomain)— Query with SKPrefixupdate<Entity>(shopDomain, id, updates)— UpdateItemdelete<Entity>(shopDomain, id)— DeleteItem- Every function takes
shopDomainas the first parameter
- Create unit tests for the key builders and service functions.
- Show the user the key design table and ask them to confirm before generating the code.
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.
- 4d ago First seen · 34 lines · 0 tokens per session scan A c547339f3a55
add-entity is a command published in the GitHub repository mentilead/shopify-app-skill (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 512 tokens. 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-31.
Other commands, from other repositories
cloudflare-d1:create-migration
Guided migration creation for Cloudflare D1 with schema change validation, SQL generation, and testing workflow. Use when user wants to create migration, modify schema, add tables/indexes, or change database structure.
cloudflare-d1:setup
Interactive wizard to set up Cloudflare D1 database with database creation, Worker binding configuration, schema generation, and first migration. Use when user wants to create first D1 database or add D1 to existing Worker.
cloudflare-kv:optimize
Analyze KV usage patterns and suggest optimizations - identifies missing TTLs, cacheTtl opportunities, bulk operations, and cost savings.
better-auth:setup
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
cloudflare-kv:test
Test KV namespace connection and operations - validates configuration, performs CRUD tests, and reports diagnostics.
cloudflare-kv:setup
Interactive KV namespace setup wizard - creates namespaces, configures bindings, and generates Worker code.