360 Secure SkillHub
360 安全技能中心

agent-storefront-lint

运行零依赖 Python CLI,对目标站点执行未付费的只读 HTTPS GET 探测:比对 auth.md 与 AUTH.md、billing.md 与 BILLING.md 的大小写一致性,检查免费 GET 是否缺 PAYMENT-REQUIRED、llms.txt、A2A agent card 与 x402 well-known 文档,并以退出码报告结果。

分类:开发
epistemedeus
epistemedeus
热度 36.29
最近更新 2026-12-04 22:52:33

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add epistemedeus/agent-storefront-lint
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
agent-storefront-lint
description
Run an unpaid read-only lint of a machine-readable agent storefront. Checks AUTH.md against auth.md, BILLING.md against billing.md, llms.txt redirect loops, a free GET that returns HTTP 402 without PAYMENT-REQUIRED, the A2A agent card, and the x402 well-known document. Use before publishing the storefront.
license
MIT
compatibility
Requires Python 3. Probes are unpaid HTTPS GET only. No wallet, payment header, or telemetry.
metadata
{"author":"neomorphic","version":"0.1.0"}

Lint an agent storefront

Lint one origin with the zero-dependency CLI in this public repository. Do not pay, sign, attach a wallet, or send a payment header. 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/agent-storefront-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/agent-storefront-lint/agent_storefront_lint.py --url https://example.com --json

https://example.com is a placeholder. Pass the storefront origin. The program GETs /auth.md, /AUTH.md, /billing.md, /BILLING.md, /llms.txt, /.well-known/agent-card.json, and /.well-known/x402. It then GETs same-host URLs that auth.md advertises as free, up to 40 probes.

Add --units-file units.json to resolve a matching commons record without a network fetch. The default units URL is https://neomorphic.io/commons/units.json. The catalog URL, the lab index, and the handoff documents below are printed only on an error. A unit id is printed only when a loaded record matches. Do not invent a unit id, a price, or a payee.

A skill-only install copies this directory and does not copy actions/. Clone the repository, or use a git tree that contains actions/agent-storefront-lint, before running the command.

Rules

  1. Case. Fail when one of /auth.md and /AUTH.md is HTTP 200 and the other is HTTP 404. Do the same for /billing.md and /BILLING.md. HTTP paths are case-sensitive: https://www.rfc-editor.org/rfc/rfc9110
  2. Free GET. From a free, unpaid, or no-auth heading in auth.md, GET the same-host URLs. Fail when the response is HTTP 402 and PAYMENT-REQUIRED is absent. If the header is present, fail with a different code and do not copy the header value. Spec: https://raw.githubusercontent.com/x402-foundation/x402/main/specs/transports-v2/http.md
  3. llms.txt. Fail a non-200 response, an empty body, HTML, or a redirect loop. The format requires an H1: https://llmstxt.org/
  4. Agent card and /.well-known/x402. Require JSON on HTTP 200. Do not fetch resource URLs listed in the x402 document. Spec: https://a2a-protocol.org/latest/specification/ and https://datatracker.ietf.org/doc/html/draft-hawkins-x402-dns-discovery-03

Install

Default-branch install, after this skill is on the default branch:

npx skills add epistemedeus/x402-data-gateway-skills --skill agent-storefront-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 set a price, a payee, or a payment URL. These documents are cited on errors only, and this command does not modify them: