PG1 Preflight: check it before your agent acts
Use this skill right before your agent does something it can't take back:
| About to… | action |
target |
|---|---|---|
| open a link or website | open |
the URL or hostname |
| install a package | install |
name or name@version (also send ecosystem: npm or pypi) |
| pay a wallet or an x402 endpoint | pay |
the wallet address or the https x402 URL |
| apply a patch for a CVE | patch |
the CVE id, or "vendor product version" |
| trust another agent | trust_agent |
the agent's URL or domain |
Call it
curl -s "https://pg1-ai-agent.vercel.app/api/preflight?action=open&target=unlswap.to"
curl -s "https://pg1-ai-agent.vercel.app/api/preflight?action=install&target=crossenv&ecosystem=npm"
Read the answer
flagged: stop. Show the user thereasons(for exampleHOSTNAME_PHISHING_LISTED,PACKAGE_LOOKALIKE,WALLET_SANCTIONED) and don't go ahead unless they say so.unknown: a check didn't finish. Treat it as not checked; ask the user before you act.no_flags: no flags in the checks that ran. That is not a guarantee, so keep your normal care.
What leaves the user's machine
Only the action and target you send (a URL, package name or address). PG1 keeps the tool name, the result status, the timing, a hashed caller ID and the caller's country. It never keeps the target.
Free and paid
- Free: 5 checks a day per caller, shared across PG1's paid tools. No sign-up.
- After that: 0.01 USD a check via x402 (USDC on Base), or a licence key in
X-API-KEY. An unpaid call over the limit gets HTTP 402 with the payment request. - Results are signed. Check them with
verify_result.
Plans and pricing: https://pg1-ai-agent.vercel.app/pricing · Try it: https://pg1-ai-agent.vercel.app/playground
Built by Project-Gifted1™
