Lint a product feed
Check one feed with the zero-dependency CLI in this public repository. Do not pay, sign, or attach a wallet. The command exit code is the result: 0 has no error, 1 has a failed check, and 2 means the arguments are not usable.
This skill is skills/acp-feed-lint in epistemedeus/x402-data-gateway-skills. npx skills add discovers skills/<name>/SKILL.md. It is not marked metadata.internal.
Run the checker
From a checkout of this repository:
python3 actions/acp-feed-lint/acp_feed_lint.py --file feed.jsonl --json
Pass --url https://example.com/feed.jsonl instead of --file to GET one HTTPS feed. https://example.com/feed.jsonl is a placeholder. The program does not fetch the product pages inside the feed.
A skill-only install copies this directory and does not copy actions/. Clone the repository, or use a git tree that contains actions/acp-feed-lint, before running the command.
Rules
The schema is https://developers.openai.com/commerce/specs/file-upload/products
- Require
item_id,title,description,url,brand,seller_name,image_url,availability, andprice.idandskumay stand in foritem_id. - Require
target_countriesas an array of uppercase ISO 3166-1 alpha-2 codes, andstore_countryas one such code. enable_searchandenable_checkoutare booleans. Aliases areis_eligible_searchandis_eligible_checkout. Send one name. Search set to false overrides checkout.- Require absolute HTTPS URLs. Require ISO 4217 money text: a positive decimal, a space, and an uppercase code. USD uses two decimal places.
Do not invent a price, a checkout, or a payee. An amount in the feed is data to validate, not an offer from this checker.
On an error, the report links to https://neomorphic.io/lab/ and https://samedaydesk.com/start.md. This checker does not read https://neomorphic.io/commons/units.json and does not attach a unit id.
Install
Default-branch install, after this skill is on the default branch:
npx skills add epistemedeus/x402-data-gateway-skills --skill acp-feed-lint --yes
This file can also be installed from a git tree URL for the branch that contains it. Do not claim a skills.sh directory page lists this skill until a fetch of that page shows it.
Boundaries
Contact is contact@neomorphic.io. The checker is free. It does not modify https://neomorphic.io/lab/ or https://samedaydesk.com/start.md.
