# OpenCLI Agent Pack: zk

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

## What this CLI is for
Notes search, zettelkasten, and knowledge base from the terminal. Built by zk. Supports structured output — good for scripts and agents. Runs entirely on your machine.

Best for: notes search, zettelkasten, and knowledge base from the terminal.

## Agent readiness
Great for agents (70/100)
- Structured output is available for parsing.
- Supports non-interactive/scripted use.
- Can run locally with less credential exposure.

## Install
```sh
brew install zk
```

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

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

```sh
zk list --format json
```

## Guardrails for agents
- Network access is required; avoid leaking secrets in logs.
- Start read-only, then ask before mutations.

## Suggested agent instruction
You may use zk (`zk`) for notes search, zettelkasten, and knowledge base 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
