๐Ÿค– Skill Integration

Search and browse session history without leaving your kiro-cli conversation.

How It Works

When triggered as a skill inside kiro-cli, commands output structured JSON. The LLM in your active conversation parses it and responds in natural language.

๐Ÿ’ฌ You ask in chat
โ†’
๐Ÿค– Skill runs --json
โ†’
๐Ÿ“‹ JSON result
โ†’
๐Ÿ’ฌ Kiro answers naturally

In-Chat Experience

Inside a kiro-cli conversation
You: Find my sessions about Docker networking from this week
โš™ kiro-session search "docker network" --recent 7d --json
Kiro: Found 2 sessions:
โ€ข API Gateway Migration (4d ago, /home/user/docs, 58 turns)
Configured nginx reverse proxy for Docker containers on bridge network.
โ€ข Docker Compose Setup (5d ago, /home/user/infra, 34 turns)
Set up Docker network for multi-container app with custom subnets.
To resume one, run in your terminal:
kiro-session โ†’ select session โ†’ [r] Resume
Listing with filters
You: What sessions touched Dockerfile recently?
โš™ kiro-session list --file Dockerfile --recent 7d --json
Kiro: 3 sessions touched Dockerfile in the last 7 days:
โ€ข Docker Compose Setup (5d ago, infra, 34 turns)
โ€ข CI Pipeline Fix (2d ago, project-x, 22 turns)
โ€ข Production Deploy (6h ago, ops, 15 turns)

Under the Hood: --json

All non-interactive commands support --json for clean structured output โ€” no ANSI codes, no progress bars.

Raw JSON output
$
{
"results": [
{
"id": "612381ac",
"name": "API Gateway Migration",
"dir": "docs",
"updated": "4d ago",
"turns": 58,
"snippet": "...nginx reverse proxy for docker..."
}
]
}

What Works in Skill Mode

โœ…

Available

search, list with all filters (--file, --cmd, --dir, --recent). All via --json.

๐Ÿ”€

Guided to Terminal

Interactive operations โ€” browse, split, tag, resume, cleanup โ€” require a terminal. The skill tells you exactly what to run.