agentleFS
bolna-aibolna-ai/skills/setup-api-key/SKILL.md

setup-api-key

Skill4 starsChanged 34 days agoMITView on GitHub

Generate, store, and verify a Bolna API key for BOLNA_API_KEY. Use when starting a Bolna project, configuring authentication, seeing 401 or 403 errors, or checking wallet and concurrency with the user API.

  • Reads credentials

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use azure-speech-to-text, dashscope and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GopyrSkill

    azure-speech-to-text

    Also in 3 projects that use this

  • GopyrSkill

    dashscope

    Also in 3 projects that use this

  • RobStrayerSkill

    voice-isolator

    Remove background noise and isolate vocals/speech from audio using ElevenLabs Voice Isolator (audio isolation) API. Use when cleaning up noisy recordings, removing music or background ambience from dialogue, isolating speech from field recordings, preparing audio for transcription, extracting vocals, or any "denoise / clean up / isolate voice" task.

    Also in 3 projects that use this

  • wlzhSkill

    voice-changer

    音频变声处理工具 - 使用 RVC AI 模型进行真实的声音转换,支持视频直接输入

    Also in 3 projects that use this

  • StandedSkill

    seedance-2-5

    Seedance2.5 skill for AI video production. Use whenever a user mentions Seedance2.5, Seedance 2.5, AI video, short videos, marketing videos, product demos, talking-head videos, video prompts, storyboards, scene cards, B-roll, video repair, or continuity QA. Turn supplied scripts, briefs, assets, footage notes, or approved storyboards into grounded Seedance-ready plans, prompts, and checks; do not invent product claims, fabricate people, or claim platform controls without checking the active Seedance interface.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask whether the user already has a Bolna API key.

    line 27
  2. Very specific:

    If not, guide them to https://platform.bolna.ai, open Developers, and create a key.

    line 28
  3. Very specific:

    Verify it with GET /user/me.

    line 30
  4. Distinctive:

    If verification fails, distinguish missing env var, invalid key, expired/deleted key, and insufficient account access.

    line 31
  5. Very specific:

    Make sure .env is in .gitignore.

    line 45
  6. Distinctive:

    Run the included smoke test:

    line 79

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup Bolna API Key

Core facts

  • Base URL: https://api.bolna.ai
  • Auth header: Authorization: Bearer $BOLNA_API_KEY
  • Smoke test endpoint: GET /user/me
  • API keys are created in the Bolna dashboard under Developers.
  • The key is shown only once. If it is lost, delete it and generate a new one.
  • Sub-account keys start with sa-.

Workflow

  1. Ask whether the user already has a Bolna API key.
  2. If not, guide them to https://platform.bolna.ai, open Developers, and create a key.
  3. Store it locally as an environment variable, never inside committed files.
  4. Verify it with GET /user/me.
  5. If verification fails, distinguish missing env var, invalid key, expired/deleted key, and insufficient account access.

Shell setup

export BOLNA_API_KEY="paste-key-here"

For a project-local .env:

BOLNA_API_KEY=paste-key-here

Make sure .env is in .gitignore.

cURL smoke test

curl --request GET \
  --url https://api.bolna.ai/user/me \
  --header "Authorization: Bearer $BOLNA_API_KEY"

Expected shape:

{
  "id": "user-uuid",
  "name": "Account name",
  "email": "user@example.com",
  "wallet": 42.42,
  "concurrency": {
    "max": 10,
    "current": 0
  }
}

Troubleshooting

  • 401: missing, malformed, deleted, or wrong API key.
  • 403: key exists but the account or sub-account cannot access the requested resource.
  • 429: rate limited; retry with exponential backoff.
  • Empty $BOLNA_API_KEY: tell the user to export it in the shell session that will run scripts.

Script

Run the included smoke test:

python3 setup-api-key/scripts/verify_key.py

See also

  • https://raw.githubusercontent.com/bolna-ai/skills/main/references/bolna-core.md — base URL, headers, pagination, rate limits in one place.
  • manage-subaccounts — the sa- prefix and the difference between parent vs sub-account keys.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.