# Api Docs Portal

> Generate premium API documentation portals from OpenAPI specs, route lists, or examples.

- **Type:** Skill
- **Install:** `agentstack add skill-hasna-skills-api-docs-portal`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hasna](https://agentstack.voostack.com/s/hasna)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [hasna](https://github.com/hasna)
- **Source:** https://github.com/hasna/skills/tree/main/skills/api-docs-portal

## Install

```sh
agentstack add skill-hasna-skills-api-docs-portal
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# API Docs Portal

Generate a polished API documentation portal from OpenAPI specs, route files, or endpoint examples.

## Requirements

- Authenticate with `skills auth login`.
- This premium skill runs through the hosted Skills runtime; local installs expose only metadata and instructions.

## Usage

```bash
skills run api-docs-portal --spec "GET /v1/projects, POST /v1/projects" --title "Acme API"
skills run api-docs-portal --spec-file ./openapi.json --base-url "https://api.example.com" --auth bearer
```

## Options

| Option | Description | Default |
|--------|-------------|---------|
| `--spec ` | OpenAPI JSON, route list, or endpoint examples. Positional text also works. | required |
| `--spec-file ` | Read the API spec or route list from a file. | none |
| `--title ` | Portal and API title. | API Documentation |
| `--base-url ` | Base URL used in examples. | https://api.example.com |
| `--auth ` | Auth mode: `bearer`, `api-key`, `oauth`, `session`, or `none`. | bearer |
| `--theme ` | Portal theme: `light` or `slate`. | light |
| `--output ` | Output directory for direct local execution. Hosted runs use the run export directory. | run export dir |

## Outputs

- `site/index.html`
- `site/styles.css`
- `site/endpoints.json`
- `openapi.json`
- `endpoint-reference.md`
- `auth-guide.md`
- `examples.md`
- `README.md`
- `manifest.json`

After submitting a hosted run, poll with `skills runs status ` and download outputs with `skills exports download `.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hasna](https://github.com/hasna)
- **Source:** [hasna/skills](https://github.com/hasna/skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hasna-skills-api-docs-portal
- Seller: https://agentstack.voostack.com/s/hasna
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
