Skip to content
Back to skills

Durindoor Embeddings

BSecurity

Generate vector embeddings through DurinDoor using a model discovered from /v1/models/embedding.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsbashgitapi

Works with

  • api

Security analysis

B88/100
  • criticalSends environment variables or credentials to an external URL

Pro shows the line behind each finding and how to fix it

Scanned September 25, 2026

npx -y skills add bloodf/durindoor --skill durindoor-embeddings --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Durindoor Embeddings?

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

Security grade badge for Durindoor Embeddings
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/bloodf-durindoor-embeddings/badge)](https://www.skillsdirectory.com/skills/bloodf-durindoor-embeddings)

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: durindoor-embeddings
description: Generate vector embeddings through DurinDoor using a model discovered from /v1/models/embedding.
---

# DurinDoor Embeddings

## Discover

```bash
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/embedding" | jq -r '.data[].id'
MODEL_ID="$(curl -s -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/embedding" | jq -r '.data[0].id')"
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/info?id=$MODEL_ID"
```

## Embed text

```bash
curl -X POST "$DURINDOOR_URL/v1/embeddings" \
  -H "Authorization: Bearer $DURINDOOR_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"$MODEL_ID\",\"input\":[\"hello\",\"world\"]}"
```

`input` accepts a string or array. Optional dimensions, encoding format, and batch limits depend on the selected model. The response uses OpenAI-compatible `data[].embedding` arrays.

## Use the default route

Leave out `model` and DurinDoor uses the first available model in the embeddings route (**Dashboard → Media Routes**). Embeddings never switch to a second model, because vectors from different models are not comparable. Pin `model` when you store vectors, so later calls use the same model.

```bash
curl -X POST "$DURINDOOR_URL/v1/embeddings" \
  -H "Authorization: Bearer $DURINDOOR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"hello"}'
```

If no connected provider serves this endpoint, the response is HTTP 400 with `error.code` set to `no_provider_for_kind`. Connect a provider, or pass `model`.

Reference: https://github.com/bloodf/durindoor/blob/main/docs/reference/api.mdx

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…

Newsletter

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