3.2.0-beta.10). Tính năng có thể thay đổi trước bản stable tiếp theo.Chuyển sang stable →link
ak skills link
Liên kết SkillX với tài khoản agentkit.best của bạn.
Liên kết SkillX với tài khoản agentkit.best của bạn.
Dùng ak skills link với đối số và tùy chọn dưới đây. Phần help nguyên bản giữ nguyên thuật ngữ, cú pháp, tác động và điều kiện thực thi của CLI để đối chiếu chính xác.
Quản lý với tư cách chủ sở hữu là ngoại lệ của quy tắc ưu tiên link bên dưới. ak skills visibility, ak skills unpublish, ak skills restore, ak skills kit unpublish và ak skills kit restore gửi SKILLX_TOKEN đã lưu ngay cả khi đang có link, vì SkillX từ chối credential đã liên kết trên các route này. Hãy giữ một SKILLX_TOKEN không giới hạn scope trong secrets store nếu bạn quản lý package hoặc Kit mình đã publish.
Contract và help của lệnh
Link SkillX to your agentkit.best account
Synopsis
Signs in to agentkit.best with OAuth (authorization code with PKCE) and stores a SkillX credential scoped to https://skillx.sh/api. While a link exists every SkillX request to skillx.sh uses it and refreshes it; SKILLX_TOKEN is used only when no link exists. A revoked link fails with a re-link message instead of falling back. SkillX must also be linked to the same agentkit.best account (skillx.sh: Link with AgentKit). AGENTKIT_OAUTH_ISSUER selects another agentkit.best deployment.
Effects:
Opens the agentkit.best sign-in page in the default browser (the URL is also printed on stderr) and waits on a 127.0.0.1 loopback port for the approval. Stores the linked credential as SKILLX_LINK in the ak secrets store and the non-secret record AGENTKIT_HOME/state/skillx-link.json. Replaces an existing or revoked link and revokes the replaced one. SKILLX_TOKEN is kept and used again after ak skills unlink. Never prompts beyond the browser approval.
Exit status: 0 linked 1 command failure: approval declined or timed out, agentkit.best unreachable or refused, or the secrets store unavailable 2 invalid flags or AGENTKIT_OAUTH_ISSUER
ak skills link [--no-browser] [--timeout <duration>] [flags]Examples
ak skills link
ak skills link --no-browser
ak skills link status --json
ak skills unlinkOptions
-h, --help help for link
--json Emit machine-readable JSON (implies --no-interactive)
--no-browser print the sign-in URL without opening a browser
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
--timeout duration how long to wait for the approval (default 5m0s)
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak skills - Browse and install kit skills
- ak skills link status - Show whether SkillX is linked to an agentkit.best account