Skip to content

docs(router): link the agent skill from the Router section - #290

Merged
r-marques merged 5 commits into
mainfrom
docs/router-docs-link-skill
Aug 12, 2026
Merged

docs(router): link the agent skill from the Router section#290
r-marques merged 5 commits into
mainfrom
docs/router-docs-link-skill

Conversation

@r-marques

Copy link
Copy Markdown
Member

Closes the discovery half of nvm-monorepo#2595. Part of epic #2268.

Stacked on #289 — merge that first. This page cites /plugin install nevermined-router@nevermined, and the marketplace that command resolves against is created there. Base will retarget to main automatically once #289 merges.

Why

The Router documentation never mentioned the skill. Grepping products/router/ for "skill" returned one hit — a note pointing at the internal nvm-router-demo, not the public one. So the skill linked out to these pages, and the pages never linked back: a reader landing on the Router section had no idea a machine-readable twin existed, and #2595's "stays in sync with the docs section" criterion held in one direction only.

What changed

Three pages, three placements chosen by what the reader is doing at that point:

  • overview.mdx — a "Let your coding assistant drive it" section with the Claude Code and ClawHub one-liners, and a note on which of the two skills goes with which direction of payment.
  • quickstart.mdx — a tip at the top. The five steps on that page are exactly what the skill automates, so it's the highest-value moment to offer it.
  • agent-autonomy.mdx — for readers who'd rather have their agent do the run than drive it by hand, next to the existing Nevermined-staff note about the internal demo skill. Says plainly that the skill teaches the loop but does not lift the cap.

Verification

  • /development-guide/build-using-nvm-skill is present in docs.json and the file exists.
  • The GitHub skill-tree link returns 200.
  • JSX tag balance checked on all three pages.

⚠️ mintlify broken-links can't run — a bare <token> in the generated development-guide/api-errors/codes.mdx aborts the parse for the whole site before it checks anything. Pre-existing on main, untouched here, source fix is nvm-monorepo#2805. Links verified directly instead, as above.

r-marques and others added 4 commits August 11, 2026 16:37
Adds .claude-plugin/marketplace.json so the two published skills install with
'/plugin marketplace add nevermined-io/docs' plus one '/plugin install' each,
and auto-update thereafter — replacing a six-line sparse-checkout incantation.

The marketplace is named 'nevermined', so users see and type '@nevermined'
rather than the repository name. Entries use source './skills' with an explicit
per-plugin skills array (the shape Anthropic's own amd-skills entry uses):
'source: "./"' also works but copies the entire 33 MB docs repo into the
plugin cache for a 64 KB skill.

Verified with 'claude plugin validate', then by adding the marketplace and
installing both plugins locally.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…files (#2595)

.github/copilot-instructions.md and AGENTS.md are single files with no per-skill
segment, so until now they carried the payments half only — an assistant reading
either could help you charge for an agent but not buy from one.

Each now gains a Nevermined Router section: the buy loop, the two money traps
(requestId is an idempotency key not a counter; targetUrl is a complete URL not
a base), whole-cent rounding, and the full BCK.ROUTER.* guardrail table with
'never widen a Delegation to get past a refusal'. Condensed rather than complete
— these files are always-on context, so every line competes with the payments
content.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ent ClawHub (#2595)

The install page told Claude Code users to sparse-checkout git, and never
mentioned ClawHub at all — despite a CI job publishing both skills there on
every push to skills/**. The registry we pay to publish to was invisible to
readers.

- Claude Code tab now leads with the plugin; the file copy stays as the
  pin-a-version fallback.
- New ClawHub tab. Notes that --dir is a global flag (it must precede the
  subcommand) and that the payments skill's slug is 'nevermined', not
  'nevermined-payments'.
- 'Supported Tools at a Glance' no longer says Router is unavailable on Copilot
  and Codex, and gains a ClawHub row.
- CLAUDE.md records both distribution channels and why source must stay
  './skills'.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The Router docs never mentioned the skill. Grepping products/router/ for
'skill' returned exactly one hit — a note pointing at the *internal* demo
skill — so the skill linked out to these pages and the pages never linked
back. #2595's 'stays in sync with the docs section' criterion was one-way.

- overview.mdx: a section with the plugin and ClawHub one-liners, plus which
  of the two skills to install for which direction.
- quickstart.mdx: a tip up top, since the five steps here are exactly what
  the skill automates.
- agent-autonomy.mdx: points at the public skill for readers who want their
  own agent to do the run, next to the existing internal-demo note.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
# Conflicts:
#	.claude-plugin/marketplace.json
#	.github/copilot-instructions.md
#	AGENTS.md
#	CLAUDE.md
#	development-guide/build-using-nvm-skill.mdx
@mintlify

mintlify Bot commented Aug 12, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Nevermined 🟢 Ready View Preview Aug 12, 2026, 11:03 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@aaitor aaitor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, fully additive docs change that closes the discovery half of nvm-monorepo#2595 the right way: three Router pages now link out to the nevermined-router skill, each placed where the reader is about to do by hand exactly what the skill automates. Every command string, link, and cross-skill claim in the diff verifies against the merged marketplace manifest and the canonical skill page. No blocking issues — approving.

Verification I ran

  • Read all three changed files in post-PR state (head docs/router-docs-link-skill, HEAD 7162123); confirmed the stacked parent #289 is MERGED (11:01 UTC) and the base correctly retargeted to main.
  • Cross-checked every plugin / ClawHub command against the merged .claude-plugin/marketplace.json (marketplace name: nevermined; plugins nevermined-router + nevermined-payments) and against the canonical development-guide/build-using-nvm-skill.mdx — all copies identical (/plugin marketplace add nevermined-io/docs, /plugin install nevermined-router@nevermined, npx clawhub install nevermined-router).
  • Resolved the internal link /development-guide/build-using-nvm-skill (file exists on head, present in docs.json) and the external link github.com/nevermined-io/docs/tree/main/skills/nevermined-router (dir exists on main → 200).
  • Validated the diff's two substantive claims against skills/nevermined-router/SKILL.md: it is a six-step buy loop (L55) and carries BCK.ROUTER.00010011 (a superset of the codes on these pages) with a full Guardrails section — so "the same six steps," "the same error codes," and "the guardrails an autonomous buyer must respect" all hold. Sibling split (nevermined-router = spending / nevermined-payments = receiving) matches the manifest.
  • MDX tag balance (<CodeGroup>, <Note>, <Tip>) checked on all three pages. Environment naming compliant — only sandbox/live appear, no staging_* leak. Step counts match each page's own content (quickstart "five", agent-autonomy "six").
  • Over-engineering / leanness pass (/ponytail-review): lean already, ship. Net removable lines: 0. The install snippet repeats across the three pages by design — point-of-need placement so a reader never has to navigate away to act — and each copy links back to the canonical skill page as the single source of truth. That is correct docs practice, not debt.
  • CI: 2/2 checks passing.

Out of scope (already noted by the author): mintlify broken-links can't run site-wide because of a pre-existing bare <token> in generated api-errors/codes.mdx (source fix nvm-monorepo#2805) — unrelated to this PR; links verified directly instead.

Comment thread products/router/overview.mdx
@r-marques
r-marques merged commit 07d9f6d into main Aug 12, 2026
3 checks passed
@r-marques
r-marques deleted the docs/router-docs-link-skill branch August 12, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants