Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)7.0k · #13602

altllm-portal-api-keys

Skill này làm gì

Skill này cho phép agent quản lý API key của AltLLM Portal qua công cụ dòng lệnh. Nội dung gồm liệt kê key, tạo key mới, và thay đổi hoặc thu hồi chúng. Skill dành cho người chạy ứng dụng hoặc agent dùng AltLLM.

Khi nào nên dùng

  • ✓Khi bạn cần tạo một API key mới cho một ứng dụng hoặc một agent bên ngoài.
  • ✓Khi bạn muốn xem những key AltLLM nào đang hoạt động hoặc đã bị vô hiệu hóa.
  • ✓Khi bạn muốn tắt một key mà không xóa, hoặc thu hồi vĩnh viễn.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/internet-court/internet-court-skill/blob/main/vendored/altlayer/altllm-portal-api-keys/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần một API key AltLLM mới cho bot hỗ trợ khách hàng và muốn xem nó có thể dùng những mô hình nào.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy công cụ dòng lệnh AltLLM cho mỗi thao tác với key. Khi tạo key, toàn bộ key chỉ hiện một lần, nên agent nhắc bạn lưu lại. Vô hiệu hóa key có thể hoàn tác, còn thu hồi key thì không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

AltLLM Portal API Keys

Portal API key lifecycle management for the local altllm CLI.

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
list-api-keys List active and disabled keys
create-api-key Create a new key, optionally with a model allowlist
get-api-key Inspect one key
update-api-key Rename a key, change status, or replace the model allowlist
revoke-api-key Permanently revoke a key

Rules

  • create-api-key returns the full key only once.
  • If no model allowlist is passed, the Portal API applies its default AltLLM model set.
  • Key permissions narrow accessible models, but gateway balance and tier checks still apply.
  • Flex users can allowlist normal AltLLM models and Flex-only altllm-flex-* models; backend access checks remain authoritative.
  • update-api-key --status disabled is reversible.
  • revoke-api-key is permanent.
  • keys is an alias for list-api-keys.

Known Production Limitation

  • The single-key Portal API routes are currently broken in production.
  • Affected commands:
    • get-api-key
    • update-api-key
    • revoke-api-key
  • Commands that still work:
    • list-api-keys
    • create-api-key
  • Do not create temporary production smoke keys unless revoke-api-key is healthy or an approved cleanup path exists.

Reference

See references/cli-reference.md for command examples and representative responses.

Câu hỏi thường gặp

Tôi có thể xem lại toàn bộ key sau khi tạo không?

Không. Toàn bộ key chỉ hiện một lần khi được tạo, nên hãy lưu ngay.

Khác biệt giữa vô hiệu hóa và thu hồi key là gì?

Vô hiệu hóa có thể đảo ngược. Thu hồi là vĩnh viễn.

Vì sao kiểm tra hoặc thu hồi một key đơn lẻ có thể bị lỗi?

Skill lưu ý các thao tác với một key đơn lẻ hiện đang lỗi trên môi trường production. Liệt kê và tạo key vẫn hoạt động.

Chi tiết

Mô tả gốc của tác giả

Use this skill when the user asks to list, create, inspect, update, disable, re-enable, or revoke AltLLM Portal API keys for external agents or applications. Do NOT use for wallet login, billing history, or payment links.

repo: internet-court/internet-court-skill

Độ phổ biến

Sao GitHub
7.0k
Vị trí xếp hạng
#13602
Giấy phép
—
Cập nhật
26/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự