AGENT SKILL

setup

Check whether kiro-cli is installed and authenticated

License 许可
Apache-2.0
最近更新
2026-04-19
Stars
★ 1
Forks
0

01 前言 Front Matter

name
setup
description
Check whether kiro-cli is installed and authenticated
allowed-tools
Bash(node:*), Bash(curl:*), AskUserQuestion

03 SKILL.md 正文

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/kiro-companion.mjs" setup --json $ARGUMENTS

If the result says kiro-cli is unavailable:

  • Use AskUserQuestion exactly once to ask whether Claude should install kiro-cli now.
  • Put the install option first and suffix it with (Recommended).
  • Use these two options:
    • Install kiro-cli (Recommended)
    • Skip for now
  • If the user chooses install, run:
curl -fsSL https://cli.kiro.dev/install | bash
  • Then rerun:
node "${CLAUDE_PLUGIN_ROOT}/scripts/kiro-companion.mjs" setup --json $ARGUMENTS

If kiro-cli is already installed:

  • Do not ask about installation.

Output rules:

  • Present the final setup output to the user.
  • If installation was skipped, present the original setup output.
  • If kiro-cli is installed but not authenticated, preserve the guidance to run !kiro-cli login.

04 同仓库更多 Skills