Skip to main content

Agent Skills

Agent Skills are packages of instructions, references and scripts in the open Agent Skills format. Add them once to your own AI assistant, and it knows how to create streams, write player pages, read your numbers and diagnose problems, using your own credentials. Which skill does what is on Build with AI.

Before you start​

You needDetails
An AI assistantClaude Code, Cursor, Copilot, Codex, ChatGPT, Windsurf or another assistant that reads Agent Skills
A nanocosmos loginThe skills run in your assistant with your own credentials, so to use them on your own streams you need a free account or your existing login

Set it up​

Pick how you add the skills:

Who can use it: anyone with Cursor, Copilot, Codex, Windsurf, Claude Code or another assistant that reads Agent Skills.

  1. Run this and pick your assistant:

    npx skills add nanocosmos/nanocosmos-skills -g

    Or with the GitHub CLI:

    gh skill install nanocosmos/nanocosmos-skills
  2. Give the skills your credentials as described in Give the skills your credentials safely.

  3. Ask in plain words, for example Is my stream really live, and why does it take five seconds to start?

By hand: copy a skill's folder into your assistant's skills or rules folder, or point your assistant at the skill's SKILL.md.

Every route and the full instructions are in the repository README.

note

The Builder Hub shows the same instructions: open builder.nanocosmos.net and click AI Tools › AI Skills at the bottom of the menu. Each skill card shows what the skill covers, a question to Try asking, who it's Made for, and View on GitHub ↗. How to add the skills lists the same commands as the tabs above, and All skills on GitHub ↗ opens the repository. The page only shows instructions; the skills run in your own assistant, not in the hub. Anyone can open it: as a guest, with a free account or as an existing customer.

Give the skills your credentials safely​

The skills read credentials from environment variables or an environment file, never from the chat:

VariableUsed byWhat it is
BINTU_API_KEYnanoStream Development, nanoStream Diagnostics, nanoStudio (in its examples)Your organisation's API key (nanoAdmin only). See APIs & SDKs overview.
NANO_API_TOKENnanoStream Analytics, nanoStream Diagnostics, nanoStream DevelopmentAn expiring access token (recommended). For Analytics it needs metrics in its aud claim.
ANALYTICS_EMAIL, ANALYTICS_PASSWORDnanoStream AnalyticsYour Analytics login, as an alternative to the token
NANOSTREAM_EMAIL, NANOSTREAM_PASSWORDnanoStream Diagnostics (optional)Your Dashboard login

All skills share one file, ~/.config/nanocosmos/.env. The init_env.sh script creates it; the repository README describes the first steps. You can create an expiring access token in the Builder Hub under Build › Security › Manage tokens (Create an access token), or mint one yourself: see Access tokens.

warning

Never paste an API key, password or token into the chat with your assistant. Put it in the environment file the skill's instructions describe. Prefer an expiring access token over the API key where the skill supports one.

Example prompts​

Once the skills are added, ask in plain words:

  • "Create a stream with Adaptive Bitrate Streaming and give me the OBS settings."
  • "Send a test stream to XXXXX-YYYYY with ffmpeg for five minutes."
  • "Is my stream XXXXX-YYYYY live, and is its keyframe interval right?"
  • "Which countries had the highest buffering ratio this week?"
  • "Embed my stream on a page with a secure playback token."

What can go wrong​

ProblemWhat to do
The assistant can't reach your streamsCheck the credentials in its environment file and that the API key belongs to your organisation.
The assistant doesn't use the skillsCheck that you installed them for the assistant you're using, or point it at the skill's SKILL.md. See the repository README.
tip

Try it in the Builder Hub: open AI Tools › AI Skills for the same instructions, or create an access token under Manage tokens. Start for Free

Next steps​