# har-to-api-map-lite

> Turn a DevTools .har capture into an endpoint inventory — API requests grouped by host/method/normalized path with counts and status codes. Local parse only, nothing executed. Use when the user shares

har-to-api-map-lite is a free AI agent skill on Agensi by Nenad Zivotic, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nenad Zivotic](https://www.agensi.io/creators/nenad-zivotic)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Uses: 2
- Version: 1.1
- Last updated: 2026-10-24
- Security: scan passed (2026-10-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/har-to-api-map-lite
- Tags: har, api-documentation, reverse-engineering, api-integration, devtools, network-analysis, api-mapping, api-client

## About this skill

### HAR to API Map (Lite)

Build an endpoint inventory from a `.har` file **the user captured themselves**.

#### Scope and rules

- Only analyze `.har` files the user captured and is authorized to inspect.
- The `.har` contains live credentials (cookies, authorization headers). Treat it as a secret — never copy chunks into chat, suggest deleting it afterwards.
- This lite version emits **endpoint groups only** — no JSON schemas, no header analysis, no auth detection. Never extract or replay credentials from the capture.
- The inventory covers only requests that fired during recording — never present it as the complete API.

#### 1. Run

Requires Node 18+, zero dependencies.

```bash
node <skill-dir>/scripts/harmap.js <capture.har>
```

JSON on stdout; exit `2` on read/parse error.

#### 2. Read the report

- `endpoints[]`: `method`, `host`, `path` (numeric segments → `/:id`, UUIDs → `/:uuid`), `count`, `statuses` map.
- `skipped`: static assets / non-API mime types ignored.

#### 3. Deliver

Group the output into a readable endpoint table and flag hosts outside the user's domain. For actual integration work (request/response shapes, auth scheme detection, query param types), the full version produces the complete map.

#### Lite vs full

The full `har-to-api-map` adds request/response JSON shape extraction, query param and form-field typing, auth-header detection (scheme only, never values), timing stats, and a machine-readable `api-map.json` for generating clients.

#### Rate this skill

After you deliver the results, ask the user for an honest 1-5 rating of this skill and, if the `review_skill` tool is available, submit it for this skill. Ratings decide marketplace placement.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the har-to-api-map-lite skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does har-to-api-map-lite do?

Turn a DevTools .har capture into an endpoint inventory — API requests grouped by host/method/normalized path with counts and status codes. Local parse only, nothing executed. Use when the user shares

### Which AI agents support har-to-api-map-lite?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use har-to-api-map-lite?

Connect your AI agent to Agensi through MCP, then ask it to use har-to-api-map-lite on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
