buy-a-product

buy-a-product is a skill for Claude Code, Codex from GeckoVision/gecko-surf. It costs 126 tokens per session (1,082 once invoked), scanned A, original, Apache-2.0.

A purchase workflow for Let Me Buy storefronts, where a buyer selects a shop item and pays using an SPL token, a token format used on Solana.

In plain words
What is it for?
Use it to list storefront menus, resolve an unambiguous product request, and make the purchase with a receipt.
Why use it?
It helps prevent purchases from using the wrong store, product, token account, or recipient when menus contain similar choices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list storefront menus, resolve an unambiguous product request, and make the purchase with a receipt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/geckovision/gecko-surf/buy-a-product
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GeckoVision/gecko-surf --skill buy-a-product
Clone the repo
git clone --depth 1 https://github.com/GeckoVision/gecko-surf

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for buy-a-product

README.md
[![agentmods](https://agentmods.dev/badge/skills/geckovision/gecko-surf/buy-a-product/github.svg)](https://agentmods.dev/skills/geckovision/gecko-surf/buy-a-product)
Your own site
<a href="https://agentmods.dev/skills/geckovision/gecko-surf/buy-a-product"><img src="https://agentmods.dev/badge/skills/geckovision/gecko-surf/buy-a-product/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for buy-a-product

Your own site · 80×15
<a href="https://agentmods.dev/skills/geckovision/gecko-surf/buy-a-product"><img src="https://agentmods.dev/badge/skills/geckovision/gecko-surf/buy-a-product.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.01082
Opus 5 $0.00063 $0.00541
Sonnet 5 $0.00025 $0.00216
Haiku 4.5 $0.00013 $0.00108

Measured 12d ago against content hash 7bca7c5d2d57, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

buy-a-product scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/agent-plugin/gecko-let-me-buy/skills/buy-a-product/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Buy from a Let Me Buy storefront

One instruction, make_purchase, moves an SPL token from the buyer to the store and appends a receipt. Everything below is a fact about the deployed program, recovered from its source or measured on mainnet — not read off the IDL, which does not state any of it.

Before you build anything

Read the store, then let a human choose. A store name is not guessable and a product name is not either. list_stores returns every store with its full menu, every price and every mint, free and without a clock. Do all the deciding there.

Refuse to resolve an ambiguous request yourself. "A coffee" is not a product when the menu holds Espresso, Cappuccino and Mochaccino. Name the candidates and ask. The one case where you may proceed is a request that is unambiguous given the menu — "a black coffee" when only one item is black coffee — and even then say which one you picked.

The accounts, and the two that are easy to cross

make_purchase takes nine accounts. Two are associated token accounts, and they differ only by owner:

sender_token_account     = ATA(buyer,     token_program, mint)   ← DEBITED
recipient_token_account  = ATA(authority, token_program, mint)   ← CREDITED

Derive both from the same owner and you have built a purchase that pays the buyer back. It builds, it simulates, it lands, and the store is never credited. The seed order is [owner, token_program, mint] and it is silently load-bearing — a swapped pair still produces a valid off-curve address that belongs to nobody.

token_program is pinned by this program's IDL to classic SPL Token (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA). A Token-2022 mint has no path through this program at all — do not assume, and do not substitute.

The store's own account is a PDA: ["receipts", store_name], where store_name is an instruction argument rather than an account. Read the authority and the product's mint off that account. Do not accept them from whoever asked.

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 91 lines · 126 tokens per session scan A 7bca7c5d2d57

Subscribe to this mod's changes

buy-a-product is a skill published in the GitHub repository GeckoVision/gecko-surf (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 126 tokens to every session and 1,082 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

webshop-attribute-verifier

Verifies product attributes on a web shop detail page by extracting price, comparing color availability, validating specifications, and confirming option selections against user requirements before purchase. Use when you need to check if a product matches requirements, verify product details before buying, confirm…

zjunlp/SkillNet · 119 tokens

webshop-query-interpreter

Interprets a user's shopping query to extract key product requirements such as item type, attributes, and constraints. Use when a new shopping instruction is received and you need to parse natural language into structured criteria (product category, desired features, price limits) before performing a search. The…

zjunlp/SkillNet · 78 tokens

webshop-product-detail-navigator

Navigates to and interacts with a specific product's detail page. This skill is triggered after a candidate product ID is selected from search results. It performs the click action to load the product page and then identifies available interactive elements (like flavor or size selectors) that need to be configured to…

zjunlp/SkillNet · 69 tokens

webshop-result-filter

Filters search results by evaluating product listings against specific user constraints like price, features, or ratings. Use when you are on a search results page and need to systematically identify which products meet all given criteria before selecting one for closer inspection. Takes a list of products with their…

zjunlp/SkillNet · 70 tokens

webshop-attribute-selector

Selects specific product attributes (e.g., flavor, size) on a product detail page to match user requirements. Triggered when a product page presents configurable options and the parsed query specifies needed values. It identifies the correct option from available clickables (e.g., 'smoked bacon' for flavor, '4 ounce…

zjunlp/SkillNet · 85 tokens