Skip to content
Back to skills

Connector Skill

ASecurity

CONNECTOR_DESCRIPTION — API reference, CLI commands, entity model, and usage patterns. Use when an agent needs to read or write data from CONNECTOR_NAME, or when asked how to query, filter, paginate, or mutate its resources. Prefer this skill over generic provider knowledge.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentsbashnodegitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add HaikeiLabs/skills --skill connector-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Connector Skill?

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

Security grade badge for Connector Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/haikeilabs-connector-skill/badge)](https://www.skillsdirectory.com/skills/haikeilabs-connector-skill)

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: CONNECTOR_NAME
description: CONNECTOR_DESCRIPTION — API reference, CLI commands, entity model, and usage patterns. Use when an agent needs to read or write data from CONNECTOR_NAME, or when asked how to query, filter, paginate, or mutate its resources. Prefer this skill over generic provider knowledge.
---

# PROVIDER_NAME connector — agent usage guide

Use this skill when an agent needs to interact with PROVIDER_NAME through its
API or CLI. It covers the Lexicon (commands and endpoints), Pragmatics (how
agents use them), and Semantics (data returned and entity relationships).

## Install

Agents load this skill automatically when the harness has the Haikei Skills
plugin installed. See the repo README for per-harness setup.

## Connect and credentials

Kei checks every connector call. The agent never holds, asks for, or prints a
raw credential.

- **OAuth:** An owner runs `kei connectors create --provider <PROVIDER_ID>
  --workspace W`. This returns a connect URL they open in a browser to
  authorize the OAuth app. Check status with `kei connectors get <id>` and
  re-authorize with `kei connectors reconnect <id>`.
- **Service account / API key (shared secret):** The owner runs `kei connectors
  create --provider <PROVIDER_ID>` (reads the secret without echo) or passes
  `--credential-ref <secret-manager-ref>` if the secret already exists in the
  connected secret manager.
- **At runtime:** Kei authorizes each call and releases the credential. The
  harness calls the provider API directly. The agent never sees the raw
  credential.

## Lexicon — commands and endpoints

### CLI (if a maintained CLI exists)

| Command | What it does | Agent notes |
| --- | --- | --- |
| `CLI_COMMAND` | SHORT_DESCRIPTION | USAGE_NOTES |
| `CLI_COMMAND` | SHORT_DESCRIPTION | USAGE_NOTES |

### REST / GraphQL API

| Method | Endpoint | What it does | Agent notes |
| --- | --- | --- | --- |
| `GET` | `/PATH` | SHORT_DESCRIPTION | USAGE_NOTES |
| `POST` | `/PATH` | SHORT_DESCRIPTION | USAGE_NOTES |

### Credential pass-through

This connector does **not** manage credentials. Kei authorizes each call and
releases the credential at run time. The harness calls the provider API
directly. The agent never reads or stores a token, secret, or API key.

### Denied command surface

These actions are not available through the connector Kei checks:

| Operation | Reason |
| --- | --- |
| `OPERATION` | REASON |
| `OPERATION` | REASON |

## Pragmatics — how agents use this connector

### Common use cases

1. **USE_CASE**: WHAT_AND_HOW
2. **USE_CASE**: WHAT_AND_HOW
3. **USE_CASE**: WHAT_AND_HOW

### Agent patterns

- PATTERN_ONE
- PATTERN_TWO
- PATTERN_THREE

### Pagination

PAGINATION_NOTES

### Rate limits / quotas

RATE_LIMIT_NOTES

## Semantics — data model and entity relationships

### Entity hierarchy

```
PARENT
├── CHILD_ENTITY          # IDENTIFIER
│   ├── NESTED_ENTITY     # IDENTIFIER
│   └── NESTED_ENTITY     # IDENTIFIER
└── CHILD_ENTITY          # IDENTIFIER
```

### Resource types (for Kei policy)

Per [ADR-028](https://github.com/HaikeiLabs/kei/blob/main/docs/adr/028-policy-field-contract.md) §4, every connector
declares its resource types:

| Resource type | Parent type | Canonical id example |
| --- | --- | --- |
| `RESOURCE_TYPE` | `PARENT_TYPE` | `EXAMPLE_ID` |
| `RESOURCE_TYPE` | `PARENT_TYPE` | `EXAMPLE_ID` |

Describe the provider's actual entity relationships and stable identifiers.
Keep resource semantics separate from permissions: resource types explain what
an entity is and its parent, while policy decides which actions are allowed.

### Key fields

| Entity | Field | Type | Meaning |
| --- | --- | --- | --- |
| `ENTITY` | `FIELD` | TYPE | MEANING |
| `ENTITY` | `FIELD` | TYPE | MEANING |

### Relationships

RELATIONSHIP_DESCRIPTION

## Policy entries (examples)

```yaml
# EXAMPLE_PERMISSION
- effect: permit
  principal: group:developers
  action: github_read
  resource: RESOURCE_TYPE
```

## Validation commands

```bash
# Verify this skill loads correctly
node scripts/verify-skills.mjs

# Run the connector's eval suite
node scripts/run-evals.mjs --skill CONNECTOR_NAME --harness opencode \
  --model PROVIDER_MODEL --out evals-out/CONNECTOR_NAME-$(date +%F) --jobs 2
```

## Realistic usage boundaries

- **Do not** manage credentials — Kei handles authentication.
- **Do not** use provider-specific SDKs when the CLI or REST API suffices.
- **Do not** expose write operations that are not explicitly listed above.
- BOUNDARY_THREE

Files in this skill

  • README.md2.3 KB
  • SKILL.md4.4 KB
  • TUTORIAL.md20 KB
  • evals/README.md748 B
  • evals/evals.json3.8 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.