# OpenCLI Agent Pack: khal

Use this when an AI agent needs to work with `khal`.

## What this CLI is for
Calendar review, agenda planning, and scheduling from the terminal. Built by khal. Runs entirely on your machine.

Best for: calendar review, agenda planning, and scheduling from the terminal.

## Agent readiness
Usable with guardrails (45/100)
- Supports non-interactive/scripted use.
- Can run locally with less credential exposure.

## Install
```sh
pipx install khal
```

## Verify before real work
```sh
khal list today 7d
```
Expected signal: Shows calendar events for the next week.

## Safe starting commands
```sh
khal list today 7d
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Network access is required; avoid leaking secrets in logs.
- Start read-only, then ask before mutations.

## Suggested agent instruction
You may use khal (`khal`) for calendar review, agenda planning, and scheduling from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
