setup-agent
Installation
SKILL.md
Setup Karma Agent
Configure your environment to use Karma agent skills. Run this once before using any action skill.
See Agent API Reference for base URL and error handling.
Flow
Check if KARMA_API_KEY is already set:
- If set → skip to Verify Configuration
- If not set → use the
AskUserQuestiontool with these options:-
Question: "You need a Karma API key to continue. How would you like to set it up?"
-
Options: ["Quick start — Generate instantly (no account needed)", "Email login — Link to existing Karma account", "I already have a key"]
-
Quick start → go to Quick Start — No Account Needed
-
Email login → go to Create API Key via Email
-
I already have a key → ask for the key, skip to Save Your API Key
-