uselink-api-docs

uselink-api-docs is a skill for Claude Code from compilet-dev/agent-skill-uselink. It costs 50 tokens per session (1,406 once invoked), scanned A, original, MIT.

A tool that scans backend code for API endpoints, the URLs and operations software uses to communicate, and creates web-based API documentation.

In plain words
What is it for?
Use it to document endpoints in Micronaut, Express, FastAPI, Spring, and similar backend projects, then publish the documentation to Uselink.
Why use it?
It gives frontend developers, mobile developers, partners, and other readers a shared reference for how the backend can be used.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to document endpoints in Micronaut, Express, FastAPI, Spring, and similar backend projects, then publish the documentation to Uselink.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/compilet-dev/agent-skill-uselink/uselink-api-docs
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 compilet-dev/agent-skill-uselink --skill uselink-api-docs
Clone the repo
git clone --depth 1 https://github.com/compilet-dev/agent-skill-uselink

Made for: Claude Code.

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 uselink-api-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/compilet-dev/agent-skill-uselink/uselink-api-docs/github.svg)](https://agentmods.dev/skills/compilet-dev/agent-skill-uselink/uselink-api-docs)
Your own site
<a href="https://agentmods.dev/skills/compilet-dev/agent-skill-uselink/uselink-api-docs"><img src="https://agentmods.dev/badge/skills/compilet-dev/agent-skill-uselink/uselink-api-docs/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 uselink-api-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/compilet-dev/agent-skill-uselink/uselink-api-docs"><img src="https://agentmods.dev/badge/skills/compilet-dev/agent-skill-uselink/uselink-api-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,406 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.00050 $0.01406
Opus 5.5 $0.00020 $0.00562
Sonnet 5.5 $0.00010 $0.00281
Haiku 4.5 $0.00005 $0.00141

Measured 1mo ago against content hash f11013cb4712, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uselink-api-docs 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 1mo 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.

skills/uselink-api-docs/SKILL.md · 147 lines

How it starts

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

Scan a codebase for API endpoints, generate clean API documentation as HTML, and publish to uselink.

When to Use

  • "Generate API docs and share them"
  • "Document our endpoints for the frontend team"
  • "Share the API contract with the mobile dev"
  • "What endpoints do we have? Publish a reference."

Prerequisites

which uselink || echo "MISSING"
test -f ~/.uselink/config.json && echo "OK" || echo "NO_CONFIG"

Workflow

1. Detect framework and find endpoints

Micronaut/Kotlin:

grep -rn "@Controller\|@Get\|@Post\|@Put\|@Delete" \
  --include="*.kt" -l | grep -v build | grep -v test

Express/Node:

grep -rn "router\.\(get\|post\|put\|delete\)\|app\.\(get\|post\|put\|delete\)" \
  --include="*.ts" --include="*.js" -l | grep -v node_modules | grep -v test

FastAPI/Python:

grep -rn "@app\.\(get\|post\|put\|delete\)\|@router\.\(get\|post\|put\|delete\)" \
  --include="*.py" -l | grep -v __pycache__ | grep -v test

Spring/Java:

grep -rn "@RestController\|@GetMapping\|@PostMapping\|@RequestMapping" \
  --include="*.java" --include="*.kt" -l | grep -v build | grep -v test

2. Read each controller

For each controller file:

  • Extract the base path (e.g., @Controller("/api/v1/documents"))
  • Extract each endpoint: method, path, query params, body type, return type
  • Extract auth requirements (e.g., @Secured, middleware)
  • Read the request/response DTOs to get field names and types

3. Group endpoints

Group by resource/domain:

  • /api/v1/documents/* → Documents
  • /api/v1/auth/* → Authentication
  • /api/v1/comments/* → Comments

4. Generate HTML

Write to /tmp/uselink-api-docs-<project>-<timestamp>.html.

<!-- API header -->
<div class="card">
  <h3>{{PROJECT}} API Reference</h3>
  <p class="muted">{{ENDPOINT_COUNT}} endpoints · Generated {{DATE}}</p>
  <p>Base URL: <code>{{BASE_URL}}</code></p>
</div>

<!-- Table of contents -->
<h2>Endpoints</h2>
<table>
  <thead><tr><th>Method</th><th>Path</th><th>Description</th><th>Auth</th></tr></thead>
  <tbody>
    <tr>
      <td><span class="tag tag-done">POST</span></td>
      <td><code>{{PATH}}</code></td>
      <td>{{SHORT_DESC}}</td>
      <td>{{AUTH_REQUIREMENT}}</td>
    </tr>
  </tbody>
</table>

<!-- Per-resource sections -->
<h2>{{RESOURCE_NAME}}</h2>

<!-- Per-endpoint detail -->
<h3><span class="tag tag-done">POST</span> <code>{{PATH}}</code></h3>
<div class="card">
  <p>{{DESCRIPTION}}</p>

  <h4>Query Parameters</h4>
  <table>
    <thead><tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>
    <tbody>
      <tr><td><code>{{PARAM}}</code></td><td>{{TYPE}}</td><td>{{REQ}}</td><td>{{DESC}}</td></tr>
    </tbody>
  </table>

  <h4>Request Body</h4>
  <pre><code>{{REQUEST_JSON_EXAMPLE}}</code></pre>

  <h4>Response</h4>
  <pre><code>{{RESPONSE_JSON_EXAMPLE}}</code></pre>
</div>

Read the full file on GitHub · 147 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. 1mo ago First seen · 147 lines · 50 tokens per session scan A f11013cb4712

Subscribe to this mod's changes

uselink-api-docs is a skill published in the GitHub repository compilet-dev/agent-skill-uselink (2 stars, last pushed 5mo ago), licensed MIT. It adds 50 tokens to every session and 1,406 once invoked, about $0.0002 per session on Opus 5.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

openapi-expert

Expert-level OpenAPI/Swagger specification for API design, documentation, and code generation. Use when the user mentions swagger, API specs, REST, API design, or documentation, or when the task involves OpenAPI Specification, Webhooks, or Polymorphism.

personamanagmentlayer/pcl · 57 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

thevibeworks/claude-code-docs · 61 tokens

email-notifications

Design reliable email systems. Transactional and marketing emails, deliverability, bounce handling, templates, queue processing, testing strategies.

medy-gribkov/arcana · 29 tokens

game-servers

Game server architecture, scalability, matchmaking, and backend systems for online games. Build robust, scalable multiplayer infrastructure.

medy-gribkov/arcana · 26 tokens

api-design

REST API and GraphQL design best practices including resource naming, HTTP methods, status codes, pagination (cursor vs offset), filtering, error responses (RFC 7807), versioning strategies, OpenAPI specs, authentication (JWT, API keys, OAuth2), rate limiting, HATEOAS, GraphQL schema design, resolvers, N+1 problem…

medy-gribkov/arcana · 89 tokens

s4hana-create-business-partner

Create business partners (BPs) in SAP S/4HANA Cloud Public or on-prem private edition via OData V2 ABusinessPartner deep-insert at APIBUSINESSPARTNER. Supports suppliers (vendors with FLVN00/FLVN01 roles), customers (FLCU00/FLCU01 roles), AND combined customer+supplier BPs (sells AND buys) in a single POST. Use…

ilia-inovaflow/s4hana-create-record-skills · 281 tokens