원클릭으로
kadai
kadai is a script runner for this project. Discover available actions with kadai list --json, and run them with kadai run <action-id>.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
kadai is a script runner for this project. Discover available actions with kadai list --json, and run them with kadai run <action-id>.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | kadai |
| description | kadai is a script runner for this project. Discover available actions with kadai list --json, and run them with kadai run <action-id>. |
| user-invocable | false |
kadai manages and runs project-specific shell scripts stored in .kadai/actions/.
kadai list --json
Returns a JSON array of available actions:
[
{
"id": "database/reset",
"name": "Reset Database",
"emoji": "🗑️",
"description": "Drop and recreate the dev database",
"category": ["database"],
"runtime": "bash",
"confirm": true
}
]
Use --all to include hidden actions: kadai list --json --all
Always use kadai list --json for the current set of actions — do not hardcode action lists.
kadai run <action-id>
Runs the action and streams stdout/stderr directly. The process exits with the action's exit code. Confirmation prompts are automatically skipped in non-TTY environments.
kadai run hello
kadai run database/reset
Create a script file in .kadai/actions/. Supported extensions: .sh, .bash, .ts, .js, .mjs, .py, .tsx.
Add metadata as comments in the first 20 lines using # kadai:<key> <value> (for shell/python) or // kadai:<key> <value> (for JS/TS):
#!/bin/bash
# kadai:name Deploy Staging
# kadai:emoji 🚀
# kadai:description Deploy the app to the staging environment
# kadai:confirm true
echo "Deploying..."
Available metadata keys:
| Key | Description |
|---|---|
name | Display name in menus |
emoji | Emoji prefix |
description | Short description |
confirm | Require confirmation before running (true/false) |
hidden | Hide from default listing (true/false) |
fullscreen | Use alternate screen buffer for ink actions (true/false) |
If name is omitted, it is inferred from the filename (e.g. deploy-staging.sh → "Deploy Staging").
Organize actions into categories using subdirectories:
.kadai/actions/
hello.sh → id: "hello"
database/
migrate.sh → id: "database/migrate"
reset.ts → id: "database/reset"