altllm-portal-auth
What it does
This skill covers signing in to AltLLM Portal with a crypto wallet from the command line. It explains the sign-in steps, including signing with an outside wallet app, and how to check or end the saved session.
When to use it
- ✓When you need to sign in to AltLLM Portal from the command line for the first time.
- ✓When your wallet is in another app, such as Privy, and must sign a sign-in message.
- ✓When you want to check whether your AltLLM session is still active or log out.
Skill link
https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-auth/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 want to log in to AltLLM Portal with my wallet and check that the session works.”
5 new skills a week. 1 minute to read.
How it works
The agent gets a sign-in message, has your wallet sign it, and saves the signed session on your computer. The status check does not show the saved login token. The wallet key can come from an environment variable, a file, or an outside signer.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
AltLLM Portal Auth
Wallet login and session bootstrap for the local altllm CLI, including external signers such as Privy.
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 |
|---|---|
login-wallet --private-key-env <name> |
Sign in with a locally available private key from an environment variable |
login-wallet --private-key-file <path> |
Sign in with a locally available private key from a file |
login-wallet --private-key <hex> --allow-unsafe-private-key-argv |
Sign in with an inline private key when argv exposure is explicitly accepted |
login-wallet --prepare |
Fetch a challenge for external signing |
login-wallet --nonce <nonce> --signature <sig> |
Verify an externally signed challenge and save the session |
status |
Show saved Portal session user and target URL status without exposing the token |
logout |
Remove the local saved Portal session file |
Rules
- Do not assume the CLI must control the wallet private key.
- If the wallet can sign the challenge message, use the prepare + verify flow.
- External signers such as Privy are valid as long as they return a standard wallet signature for the challenge.
- If neither a local private key nor
--signatureis available, return the challenge payload and stop. - Before local auto-signing, validate that the returned challenge matches the requested wallet, chain, and expected AltLLM login challenge structure.
- For non-default, non-loopback API hosts, prefer
--prepareand external signing instead of local auto-signing. - Current backend support is still limited to EVM addresses and Ethereum-style signatures.
- Save the resulting session to
~/.altllm/portal-cli-session.jsonunless overridden. - Use
statusor itswhoamialias to confirm the saved user and target URL before running live commands. logoutonly removes the local session file. It does not revoke API keys.
Reference
See references/cli-reference.md for commands, payloads, and troubleshooting notes.
FAQ
Does the agent always need my wallet's private key?
No. If your wallet app can sign the message, the agent can use that signature instead.
What happens when I log out?
The skill removes the saved session file from your computer.
Can I type my private key directly into the command?
The skill allows it only when you explicitly accept the risk, because a key typed into a command can be exposed to others on the computer.
Details
Original description by the author
Use this skill when the user asks to log in or out with a wallet session, fetch a wallet sign-in challenge, verify an externally signed challenge, or troubleshoot AltLLM Portal wallet login for the local altllm CLI. Do NOT use for API key management, billing history, or payment links.
Popularity
- GitHub stars
- 7.0k
- Ranking position
- #13603
- 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.