---
title: "Agent resources"
description: "Machine-readable documentation, a read-only MCP server and the minirouter agent skill."
canonical_url: "https://minirouter.sh/docs/agent-resources"
markdown_url: "https://minirouter.sh/docs/agent-resources.md"
last_updated: "2026-09-26"
---

# Agent resources

Use minirouter documentation directly from a coding agent or AI assistant.
Every endpoint below is public and requires no account.

## Agent onboarding

https://minirouter.sh/agents.md contains the base URL, environment variable,
working request and recovery steps an agent needs to configure minirouter.

## One documentation page

Append .md to any documentation or integration URL:

    https://minirouter.sh/docs/models.md
    https://minirouter.sh/docs/free-inference.md
    https://minirouter.sh/docs/integrations/opencode.md

The original URL also returns Markdown when the request includes
Accept: text/markdown.

## Full documentation

https://minirouter.sh/llms-full.txt contains every documentation page and client
reference in one Markdown response.

https://minirouter.sh/llms.txt is the shorter index for tools that fetch pages
on demand.

## Agent skill

https://minirouter.sh/skills/minirouter/SKILL.md contains reusable setup and
request instructions. The discovery index is available at
https://minirouter.sh/.well-known/agent-skills/index.json.

- [minirouter-audit-spend](https://minirouter.sh/skills/minirouter-audit-spend/SKILL.md): Audits a local MiniRouter usage CSV or canonical JSON file and estimates model alternatives without uploading it. Use when reducing LLM spend, reviewing token costs or comparing a usage export without signup.
- [minirouter-choose-model](https://minirouter.sh/skills/minirouter-choose-model/SKILL.md): Chooses compatible MiniRouter model and effort candidates using public prices and exact benchmark evidence. Use when selecting an LLM, comparing model cost or choosing a model for a task without signup.
- [minirouter-evaluate-switch](https://minirouter.sh/skills/minirouter-evaluate-switch/SKILL.md): Plans and verifies a bounded local model comparison with explicit approval before paid requests. Use when testing a model switch against representative tasks, cost limits and deterministic scoring.
- [minirouter-optimize-usage](https://minirouter.sh/skills/minirouter-optimize-usage/SKILL.md): Finds cheaper, higher-scoring model configurations from scoped MiniRouter usage with exact reasoning settings. Use when optimizing an existing MiniRouter account over the last 7 or 30 days.

Download, verify and extract each skill's versioned archive before running it.
Model advice and local spend audits need no account. Connected usage analysis
uses an existing inference-capable key for reads; evaluations require explicit
spending approval. Local files are never uploaded by the audit.

## Public model advice

GET https://minirouter.sh/api/v1/model-advisor returns the public evidence
snapshot. POST the bounded task, capability and disjoint token-count schema
shown by recommend_models to obtain up to three model-and-effort candidates.
No prompts, credentials or inference are involved. Estimates use the same token
counts; benchmarks do not prove quality on your workload. Missing evidence and
unavailable sources are reported explicitly.

## Documentation MCP server

Connect a Streamable HTTP MCP client to https://minirouter.sh/mcp. The server
provides read-only search_docs, get_doc and recommend_models tools plus document resources.
Public server metadata is at
https://minirouter.sh/.well-known/mcp/server-card.json.

## Coding-agent setup

https://minirouter.sh/setup contains configuration references for Cline,
Kilo Code, OpenCode, Continue, LiteLLM and SillyTavern. Additional client
guides are at https://minirouter.sh/integrations.
