Skip to content
Back to skills

Api Usage

ASecurity

How to use the OpenAI-compatible API server

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspythonbashtestingapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill api-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Usage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-api-usage/badge)](https://www.skillsdirectory.com/skills/david-li0406-api-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-usage
description: How to use the OpenAI-compatible API server
tags: [api, rest, openai, integration]
---

# OpenAI API Usage Skill

The `kor-plugin-openai-api` exposes KOR agents via an OpenAI-compatible REST API.

## Starting the Server

```bash
kor serve --port 8080
```

## API Endpoints

### Chat Completions

```
POST /v1/chat/completions
```

Request body:

```json
{
  "model": "kor-supervisor",
  "messages": [
    {"role": "user", "content": "Hello, KOR!"}
  ]
}
```

### List Models

```
GET /v1/models
```

Lists available agents as "models".

## Integration

Works with any OpenAI SDK:

```python
from openai import OpenAI

client = OpenAI(base_url="http://localhost:8080/v1")
response = client.chat.completions.create(
    model="kor-supervisor",
    messages=[{"role": "user", "content": "Hello!"}]
)
```

## Use Cases

- IDE integrations (Cursor, Continue, etc.)
- Custom applications via REST
- Testing and development

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…