Saltar al contenido
Skillpedia
APIs y servidores (backend)7,0 mil · #13603

altllm-portal-auth

Qué hace

Esta skill cubre el inicio de sesión en AltLLM Portal con una cartera de criptomonedas desde la línea de comandos. Explica los pasos para iniciar sesión, incluida la firma con una app de cartera externa, y cómo comprobar o terminar la sesión guardada.

Cuándo usarla

  • ✓Cuando necesitas iniciar sesión en AltLLM Portal desde la línea de comandos por primera vez.
  • ✓Cuando tu cartera está en otra app, como Privy, y debe firmar un mensaje de inicio de sesión.
  • ✓Cuando quieres comprobar si tu sesión de AltLLM sigue activa o cerrarla.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-auth/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Quiero iniciar sesión en AltLLM Portal con mi cartera y comprobar que la sesión funciona.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente obtiene un mensaje de inicio de sesión, pide a tu cartera que lo firme y guarda la sesión firmada en tu equipo. La comprobación de estado no muestra el token de inicio de sesión guardado. La clave de la cartera puede venir de una variable de entorno, de un archivo o de un firmante externo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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 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

  • 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.

Preguntas frecuentes

¿El agente siempre necesita la clave privada de mi cartera?

No. Si tu app de cartera puede firmar el mensaje, el agente puede usar esa firma en su lugar.

¿Qué pasa cuando cierro sesión?

La skill elimina de tu equipo el archivo de la sesión guardada.

¿Puedo escribir mi clave privada directamente en el comando?

La skill lo permite solo si aceptas explícitamente el riesgo, porque una clave escrita en un comando puede quedar expuesta a otras personas o procesos del equipo.

Detalles

Descripción original del autor

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.

repo: internet-court/internet-court-skill

Popularidad

Estrellas en GitHub
7,0 mil
Posición en el ranking
#13603
Licencia
—
Actualizada
26/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas