altllm-portal-api-keys
What it does
This skill lets the agent manage API keys for the AltLLM Portal through its command-line tool. It covers listing keys, creating new ones, and changing or revoking them. It is for people who run apps or agents that use AltLLM.
When to use it
- ✓When you need to create a new API key for an app or an outside agent.
- ✓When you want to see which AltLLM keys are active or disabled.
- ✓When you want to turn off a key without deleting it, or revoke it permanently.
Skill link
https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-api-keys/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I need a new AltLLM API key for my support bot and want to see which models it can use.”
5 new skills a week. 1 minute to read.
How it works
The agent runs the AltLLM command-line tool for each key action. Creating a key shows the full key only once, so the agent reminds you to save it. Disabling a key can be undone, but revoking a key cannot.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
AltLLM Portal API Keys
Portal API key lifecycle management for the local altllm CLI.
Shared Setup
Before the first
altllmcommand in a fresh checkout, read and follow:
../_shared/preflight.md../_shared/session-and-target.md
Command Index
| Command | Purpose |
|---|---|
list-api-keys |
List active and disabled keys |
create-api-key |
Create a new key, optionally with a model allowlist |
get-api-key |
Inspect one key |
update-api-key |
Rename a key, change status, or replace the model allowlist |
revoke-api-key |
Permanently revoke a key |
Rules
create-api-keyreturns the full key only once.- If no model allowlist is passed, the Portal API applies its default AltLLM model set.
- Key permissions narrow accessible models, but gateway balance and tier checks still apply.
- Flex users can allowlist normal AltLLM models and Flex-only
altllm-flex-*models; backend access checks remain authoritative. update-api-key --status disabledis reversible.revoke-api-keyis permanent.keysis an alias forlist-api-keys.
Known Production Limitation
- The single-key Portal API routes are currently broken in production.
- Affected commands:
get-api-keyupdate-api-keyrevoke-api-key
- Commands that still work:
list-api-keyscreate-api-key
- Do not create temporary production smoke keys unless
revoke-api-keyis healthy or an approved cleanup path exists.
Reference
See references/cli-reference.md for command examples and representative responses.
FAQ
Can I see the full key again after creating it?
No. The full key appears only once, when it is created, so save it right away.
What is the difference between disabling and revoking a key?
Disabling can be reversed. Revoking is permanent.
Why might inspecting or revoking a single key fail?
The skill notes that single-key actions are currently broken in production. Listing and creating keys still work.
Details
Original description by the author
Use this skill when the user asks to list, create, inspect, update, disable, re-enable, or revoke AltLLM Portal API keys for external agents or applications. Do NOT use for wallet login, billing history, or payment links.
Popularity
- GitHub stars
- 7.0k
- Ranking position
- #13602
- License
- —
- Updated
- 10/26/2026
Comments
- …
More skills from this repository
internet-court
7.0kHelps your agent pay, hire, or deal safely with another AI agent or paid service, and points it to the right specialized guide.
genlayer-erc7710-connector
7.0kHelps your agent connect an AI review result to a permission system, so a bad review can limit or cancel an agent's permissions.
genlayer-intelligent-contracts
7.0kHelps your agent define the rules, evidence and outputs of an AI judge that checks whether another agent followed its mandate.
x402-erc7710
7.0kHelps your agent pay for web services one request at a time, and set up ongoing spending that stays within a permission budget.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.