본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)7.0k · #13603

altllm-portal-auth

하는 일

이 스킬은 명령줄에서 암호화폐 지갑으로 AltLLM Portal에 로그인하는 방법을 다룹니다. 외부 지갑 앱으로 서명하는 것을 포함한 로그인 단계와, 저장된 세션을 확인하거나 끝내는 방법을 설명합니다.

사용하는 경우

  • ✓명령줄에서 AltLLM Portal에 처음 로그인해야 할 때.
  • ✓Privy 같은 다른 앱에 지갑이 있어서 로그인 메시지에 서명해야 할 때.
  • ✓AltLLM 세션이 아직 활성 상태인지 확인하거나 로그아웃하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-auth/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“지갑으로 AltLLM Portal에 로그인하고, 세션이 제대로 작동하는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 로그인 메시지를 받고, 지갑으로 그 메시지에 서명하게 하며, 서명된 세션을 컴퓨터에 저장합니다. 상태 확인에서는 저장된 로그인 토큰이 표시되지 않습니다. 지갑 키는 환경 변수, 파일, 또는 외부 서명기에서 가져올 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

자주 묻는 질문

에이전트에게 항상 지갑의 개인 키가 필요한가요?

아니요. 지갑 앱이 메시지에 서명할 수 있다면, 에이전트는 그 서명을 대신 사용할 수 있습니다.

로그아웃하면 무슨 일이 일어나나요?

스킬은 컴퓨터에 저장된 세션 파일을 삭제합니다.

명령에 개인 키를 직접 입력할 수 있나요?

사용자가 위험을 명시적으로 수락한 경우에만 허용됩니다. 명령에 입력한 키는 같은 컴퓨터의 다른 사람에게 노출될 수 있기 때문입니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
7.0k
순위
#13603
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬