nexflow-smf-simulate-charge-v1

nexflow-smf-simulate-charge-v1 is a skill for Claude Code, Codex from NexFlow-SMF/nexflow-smf-public. It costs 40 tokens per session (586 once invoked), scanned A, original, MIT.

A way to preview the price and payment requirements for a NexFlow SMF API operation without making a payment. NexFlow is a service whose API can require payment before completing some operations.

In plain words
What is it for?
Simulating prices for operations such as route-matrix and route-quote, inspecting payment-required responses, and validating payment flows without settling a charge.
Why use it?
It lets a program show or check the expected charge before committing funds.

Skill for Claude CodeCodex

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

Good fit Simulating prices for operations such as route-matrix and route-quote, inspecting payment-required responses, and validating payment flows without settling a charge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge
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 NexFlow-SMF/nexflow-smf-public --skill smf-simulate-charge
Clone the repo
git clone --depth 1 https://github.com/NexFlow-SMF/nexflow-smf-public

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 nexflow-smf-simulate-charge-v1

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge/github.svg)](https://agentmods.dev/skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge)
Your own site
<a href="https://agentmods.dev/skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge"><img src="https://agentmods.dev/badge/skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge/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 nexflow-smf-simulate-charge-v1

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge"><img src="https://agentmods.dev/badge/skills/nexflow-smf/nexflow-smf-public/smf-simulate-charge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 586 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.
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.00040 $0.00586
Opus 5 $0.00020 $0.00293
Sonnet 5 $0.00008 $0.00117
Haiku 4.5 $0.00004 $0.00059

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

Security

Grade A, and why

nexflow-smf-simulate-charge-v1 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 10d 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.

nexflow-smf-skills/smf-simulate-charge/SKILL.md · 76 lines

How it starts

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

When to use this skill

Use this skill when:

  • You need to know the exact price (e.g. in USDC) for a paid SMF call before paying.
  • You are building flows that display "this call will cost X" to the user.
  • You want to validate 402 headers and payment flow without settling.

Do not use for actual settlement; this endpoint only returns pricing metadata and does not charge.

HTTP API

  • Method: POST
  • URL: https://api.nexflow.xyz/api/smf/v1/simulate-charge
  • Auth: none for simulation; no payment is taken.

Request body

Send JSON indicating which operation you would simulate (same shape as the real call):

{
  "operation": "route-matrix",
  "params": {
    "asset": "USDC",
    "network": "eip155:8453",
    "amount": "10.0"
  }
}

Fields:

  • operation (string, required): One of "route-matrix", "route-quote", or another paid SMF operation ID.
  • params (object, optional): Parameters that would be sent to that operation, for accurate pricing.

Response shape

On success (2xx) you receive the same HTTP status and headers that the real paid endpoint would return for an unpaid request (e.g. 402 Payment Required), plus a body that describes the charge without executing it:

{
  "operation": "route-matrix",
  "http_status": 402,
  "headers": {
    "X-Price": "0.03",
    "X-Price-Asset": "USDC",
    "X-Price-Network": "eip155:8453"
  },
  "message": "Simulated 402; no payment was taken."
}

Use the headers to show the user the cost or to prepare the correct payment for the real call.

Pricing

This endpoint is free. No x402 payment is required; it only returns what the paid endpoint would advertise.

Test usage

  • Add header: X-Nexflow-Test: 1 for test mode.
  • Expect deterministic pricing in test (e.g. fixed 0.01 USDC) for automated checks.

Usage examples for agents

  • "Show the user how much a route-matrix call for 10 USDC on Base would cost before they confirm."
  • "Inspect 402 headers for route-quote without paying."
  • "Validate that the SMF returns correct price headers for a given operation."

Read the full file on GitHub · 76 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. 10d ago First seen · 76 lines · 40 tokens per session scan A d202ed6c6c44

Subscribe to this mod's changes

nexflow-smf-simulate-charge-v1 is a skill published in the GitHub repository NexFlow-SMF/nexflow-smf-public (0 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 586 once invoked, about $0.0002 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.