- Home
- Skills
- APIs & Backend
- Shopify Approved Write Passes (Read-Only Until Authorized)
Shopify Approved Write Passes (Read-Only Until Authorized)
This kit makes the live store read-only in code and defines the one way it can be opened.
$39
Works with the AI Agents you already use
Shopify Approved Write Passes (Read-Only Until Authorized)
Example session with this skill installed
We fixed 340 product titles and meta descriptions on our development store. Carry them to the merchant's live store safely: they approved by email, and they have edited some products since we copied the catalogue.
- Read your context and instructions
- Compiled the shopify approved write
- Generated the data export
Summary
Planned one pass, got it approved against its hash, wrote 5 products as a canary, then the rest; 12 products the merchant had edited since the copy were held and listed, not overwritten. Every write read back as planned.
Plan
pass-cli.mjs plan --pass title-fixes ... from base, live and preview snapshots:
- 328 products with changes, 402 field changes carried (title, seo.description)
- 12 held: 9 titles the merchant changed since the copy, 3 meta descriptions they wrote themselves
- Plan hash
6f1c…9a2e;changes.csvandheld.csvsent to the merchant with the summary
Authorization
Approval email saved as text; pass-cli.mjs authorization --hours 24 drafted the file naming store, pass, plan hash, approval SHA-256 and productUpdate only. Installed by hand at /etc/store-passes/authorization.json.
Apply
- Canary
--limit 5: 5 written, each read back, checked on the storefront - Full run: 323 written, 0 faults, 12 skipped (listed in
apply-skipped.jsonlwith the current value) verify: 328 done, 0 drift, exit 0- Authorization file deleted; the store is read-only again
Proof the kit never touches stock
scan-inventory-writes.mjs src scripts: no stock-count mutation, exit 0 (now a CI step).
Tests
node --test scripts/passes.test.mjs: 16 passed.
changes.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Bulk edits to a live store are where catalogue tools do real damage: a title fixer overwrites what the merchant typed yesterday, a batch slips an extra mutation past review, a dry-run flag is left off. This kit makes the live store read-only in code and defines the one way it can be opened.
Gate (write-gate.mjs): a write passes only when an operator-installed authorization names the store, the pass, the reviewed plan's hash, the merchant's approval text and its SHA-256, who enabled it, an expiry (24 h default) and the allowed mutations. Mutation names are read from the document with aliases resolved; a second mutation riding behind an allowed one, or a document the reader cannot take apart, is refused. Every refusal is named.
Client (store-client.mjs): pinned to one myshopify domain, read-only by default, export jobs only by opt-in and only alone in the document, identity check, throttle back-off.
Plan (pass-plan.mjs): per field, base vs live vs preview decides skip / carry / done / hold; unknown products and variants are held, never created; canonical hash over the content; changes.csv and held.csv for the reviewer.
Run (pass-run.mjs): every product read just before its write and read back after; the merchant's later edits are skipped and listed, never overwritten; the run stops at the first write that does not read back; --limit canary; resume from the done file; rollback swaps before and after and leaves edits made after ours; a guard admits only this program's documents with the plan's values.
CLI (pass-cli.mjs): plan, authorization (drafts, never installs), apply, verify, rollback, status; plan.json re-hashed on every load. Scanner: scan-inventory-writes.mjs fails CI when any runnable file names a quantity-changing mutation.
16 offline tests against an in-memory store. Node 20+, no packages; network is the Admin API endpoint only, token from a file.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Supports product and variant price fields only. No support for media, tags, or collections. Requires Node 20+. Authorization file security depends on filesystem permissions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 19 days ago
- Accounts
- Shopify Admin API access token
- Software
Node.js 20+Shopify store
Store the access token in a file.
Permissions
Shell to run the node scripts and tests; read files for snapshots, the token file and the authorization file; write files for the run folder (plan, CSVs, done/skipped/fault logs). Network access is the Shopify Admin GraphQL endpoint for the pinned store only. No environment variables.