Skip to content
FunCoding

Search

Search docs, Skills and MCP

altllm-portal-auth

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.

AI 与智能体6.4kvendored/altlayer/altllm-portal-auth/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/internet-court/internet-court-skill/altllm-portal-auth/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

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

CommandPurpose
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-argvSign in with an inline private key when argv exposure is explicitly accepted
login-wallet --prepareFetch a challenge for external signing
login-wallet --nonce <nonce> --signature <sig>Verify an externally signed challenge and save the session
statusShow saved Portal session user and target URL status without exposing the token
logoutRemove 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 --signature is 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 --prepare and 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.json unless overridden.
  • Use status or its whoami alias to confirm the saved user and target URL before running live commands.
  • logout only removes the local session file. It does not revoke API keys.

Reference

See references/cli-reference.md for commands, payloads, and troubleshooting notes.

Similar Skills

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI & agents

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI & agents

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI & agents

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI & agents

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI & agents

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI & agents