# OpenCLI Agent Pack: khard

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

## What this CLI is for
Contacts, address book, and carddav from the terminal. Built by lucc. Runs entirely on your machine.

Best for: contacts, address book, and carddav 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 khard
```

## Verify before real work
```sh
khard --version
```
Expected signal: khard responds locally and is ready for the first real command.

## Safe starting commands
```sh
khard --version
```

```sh
khard list
```

## 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 khard (`khard`) for contacts, address book, and carddav 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
