diff --git a/products/router/agent-autonomy.mdx b/products/router/agent-autonomy.mdx index fb8466f3..6b585e23 100644 --- a/products/router/agent-autonomy.mdx +++ b/products/router/agent-autonomy.mdx @@ -240,6 +240,15 @@ Before a first run, check the things that most often turn into a "Router bug" th - **Confirm the merchant still answers `402`** on the rail you expect. A service that stops charging is relayed with `paid: false`, and a run can otherwise "succeed" having bought nothing. - **Check the catalog is loaded**, not serving placeholder rows — compare `total` and look at the `targetUrl`s. +If you'd rather have *your* agent do the run than drive it yourself, give it the public **`nevermined-router` skill** — the same six steps plus the guardrails, written for an assistant to act on: + +```bash +/plugin marketplace add nevermined-io/docs # Claude Code +/plugin install nevermined-router@nevermined +``` + +Other tools are covered in [AI Coding Skill](/development-guide/build-using-nvm-skill). The skill teaches the loop; it does not lift the cap, and an agent following it will stop on a refusal exactly as described above. + **Nevermined staff:** a scripted version of exactly this run — the six steps plus a preflight covering every point above — lives in the internal `nvm-monorepo` repository at `.claude/skills/nvm-router-demo/`. It adds `--dry-run` (spends nothing) and `--selfcheck` (offline). It is not public, and nothing on this page depends on it. diff --git a/products/router/overview.mdx b/products/router/overview.mdx index 83c5eb19..1ea91201 100644 --- a/products/router/overview.mdx +++ b/products/router/overview.mdx @@ -75,6 +75,29 @@ Both rails settle **real value on public networks**. The Router is a payment sys +## Let your coding assistant drive it + +Everything on this page is also packaged as an **AI coding skill** — the machine-readable twin of this section, carrying the same facts and the same error codes. Install it once and your assistant knows how to discover a service, create a Delegation, make the paid call, and — just as importantly — when to stop rather than route around a refusal. + + + +```bash Claude Code +/plugin marketplace add nevermined-io/docs +/plugin install nevermined-router@nevermined +``` + +```bash ClawHub +npx clawhub install nevermined-router +``` + + + +Cursor, Windsurf, Cline, Amazon Q, Codex and Copilot are covered too — see [AI Coding Skill](/development-guide/build-using-nvm-skill) for the per-tool instructions, or read [the skill itself](https://github.com/nevermined-io/docs/tree/main/skills/nevermined-router). + + +Install `nevermined-router` when your agent is **spending** at external services. Its sibling, `nevermined-payments`, is for the opposite direction — **receiving** payments and buying Nevermined plans. Installing both is fine; they don't overlap. + + ## Next diff --git a/products/router/quickstart.mdx b/products/router/quickstart.mdx index f1cda200..22f3358e 100644 --- a/products/router/quickstart.mdx +++ b/products/router/quickstart.mdx @@ -8,6 +8,10 @@ By the end of this page your agent will have paid a service that has never heard Everything here is plain HTTP. The Nevermined SDKs don't expose the Router yet, so the examples use `curl` and `fetch` — which is also the point: any agent, in any language, can drive it. + +**Prefer to have your coding assistant do this?** These five steps ship as an AI coding skill. In Claude Code, `/plugin marketplace add nevermined-io/docs` then `/plugin install nevermined-router@nevermined`; elsewhere, see [AI Coding Skill](/development-guide/build-using-nvm-skill). It also carries the guardrails an autonomous buyer must respect, which matter more than the calls themselves. + + Set your environment once: