360 Secure SkillHub
360 安全技能中心

machine-payment-endpoint-preflight

该工作流先收集并验证一个公开 HTTPS 端点,再做一次无凭据、无付款的受限 GET 请求,解析 HTTP 402 响应中的 x402 或 MPP 支付报价,报告协议、价格、币种、网络、收款方、过期时间、冲突及安全下一步;不签名、不支付、不广播交易。

agentpmt
热度 7.64
最近更新 2026-08-11 19:29:10
分类:安全依赖:MCP 服务 / 第三方 API应用场景:API 集成 / 数据处理 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add machine-payment-endpoint-preflight
Metadata
name
machine-payment-endpoint-preflight
description
Machine Payment Endpoint Preflight: Inspect one public HTTPS endpoint without credentials or payment. Validate the URL, make one bounded GET request, and report whether its HTTP 402 x402 or MPP payment offers are parseable and internally consistent. Return protocols, prices, currencies, networks, recipients, expiries, conflicts, and a safe next action. Never sign, pay, or broadcast a transaction. Use when an agent needs to run this published AgentPMT workflow with 2 linked tool skills, workflow.
version
1.0.0
homepage
https://www.agentpmt.com/agent-workflow-skills/machine-payment-endpoint-preflight
compatibility
Agent instructions for AgentPMT-hosted remote tool calls. Follow this skill body for supported account, wallet, and setup routes. No local command runtime is declared.
metadata
{"author":"agentpmt","openclaw":{"homepage":"https://www.agentpmt.com/agent-workflow-skills/machine-payment-endpoint-preflight"}}

Machine Payment Endpoint Preflight

Freshness

Last updated: 2026-08-11.

If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.

What This Workflow Does

Inspect one public HTTPS endpoint without credentials or payment. Validate the URL, make one bounded GET request, and report whether its HTTP 402 x402 or MPP payment offers are parseable and internally consistent. Return protocols, prices, currencies, networks, recipients, expiries, conflicts, and a safe next action. Never sign, pay, or broadcast a transaction.

Required Setup

  • AgentPMT overview: ../what-is-agentpmt.
  • Account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup.

Core AgentPMT setup skills:

  • What AgentPMT is: ../what-is-agentpmt
  • AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup

skills.sh install script:

npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup

Workflow Session Management

Call AgentPMT-Workflow-Skills with start_workflow before the first step and end_workflow after the final step.

{"action":"start_workflow","skill_id":"machine-payment-endpoint-preflight"}
{"action":"end_workflow","skill_id":"machine-payment-endpoint-preflight","rating":5,"comment":"completed"}

Workflow Process

  1. Collect Payment Endpoint
    • Prompt: Collect and normalize exactly one public HTTPS endpoint to inspect without credentials or payment.
  2. Validate Public URL
    • Tool product: Data Format Validation.
    • Tool skill: ../data-format-validation.
    • ClawHub page: https://clawhub.ai/agentpmt/data-format-validation.
    • skills.sh install: npx skills add AgentPMT/agent-skills --skill data-format-validation.
    • Marketplace: https://www.agentpmt.com/marketplace/data-format-validation.
    • Tool instructions: Validate the normalized URL from the prior step. Stop if it is invalid, not HTTPS, includes credentials, or cannot be inspected safely. Pass the validated URL to the next step.
    • Default parameters are configured on this workflow node; use the linked tool skill for schema details.
  3. Fetch Unpaid Payment Contract
    • Tool product: Webhook - HTTP Request.
    • Tool skill: ../webhook-http-request.
    • ClawHub page: https://clawhub.ai/agentpmt/webhook-http-request.
    • skills.sh install: npx skills add AgentPMT/agent-skills --skill webhook-http-request.
    • Marketplace: https://www.agentpmt.com/marketplace/webhook-http-request.
    • Tool instructions: Fetch the validated public URL exactly once with GET, no credentials, no cookies, no signing, and no payment. Keep the 128 KiB and 15-second caps. Preserve status, final URL, response headers, and bounded body for the report. Treat redirects or a non-402 response as evidence, not success.
    • Default parameters are configured on this workflow node; use the linked tool skill for schema details.
  4. Report Payment Offer Safety
    • Prompt: Produce a compact, machine-readable preflight of the unpaid endpoint response and its x402 or MPP payment offers.

Tool Skill Links

AgentPMT Reference