# Altllm Portal Auth

Use this skill when the user asks to log in or out with a wallet session, fetch a...

- Repository: https://github.com/internet-court/internet-court-skill (7050 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add internet-court/internet-court-skill --skill altllm-portal-auth -g -a claude-code -y`
Codex: `npx skills add internet-court/internet-court-skill --skill altllm-portal-auth -g -a codex -y`
Cursor: `npx skills add internet-court/internet-court-skill --skill altllm-portal-auth -g -a cursor -y`
Gemini CLI: `npx skills add internet-court/internet-court-skill --skill altllm-portal-auth -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add internet-court/internet-court-skill`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AltLLM Portal Auth

Wallet login and session bootstrap for the local `altllm` CLI, including external signers such as Privy.

## Shared Setup

> Before the first `altllm` command 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

The rest: https://github.com/internet-court/internet-court-skill/blob/HEAD/vendored/altlayer/altllm-portal-auth/SKILL.md
