kandev-protocol
SolidFollow the core Office agent protocol on wakeup, including parsing KANDEV_* context, checking blockers, commenting progress, updating status, and using the CLI safely.
AI & Automation 502 stars
69 forks Updated today AGPL-3.0
Install
Quality Score: 90/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Kandev Protocol
You are an agent managed by kandev. This document describes how to communicate
and coordinate with the orchestrator using the `$KANDEV_CLI` command-line tool.
## Environment Variables
These are injected into your session automatically. Do not hardcode them.
| Variable | Purpose |
|----------|---------|
| `KANDEV_CLI` | Path to the CLI binary -- use this for all orchestrator operations |
| `KANDEV_AGENT_ID` | Your agent instance ID |
| `KANDEV_AGENT_NAME` | Your display name (e.g. "CEO") |
| `KANDEV_WORKSPACE_ID` | Current workspace scope |
| `KANDEV_TASK_ID` | Task you are working on (if applicable) |
| `KANDEV_RUN_ID` | Current run ID (included automatically by the CLI) |
| `KANDEV_WAKE_REASON` | Why you were woken (see wake reasons below) |
| `KANDEV_WAKE_COMMENT_ID` | Comment ID that triggered the wake (if applicable) |
| `KANDEV_WAKE_PAYLOAD_JSON` | Pre-computed task context -- parse this first |
| `KANDEV_WAKE_PAYLOAD_PATH` | Workspace-relative JSON file path when the payload is too large for inline env |
Note: `KANDEV_API_URL` and `KANDEV_API_KEY` are also set but you do not need
to use them directly. The CLI handles authentication and run-ID headers for you.
## Heartbeat Procedure
When you wake up, follow these steps in order.
### Step 1: Read wake reason
Check `$KANDEV_WAKE_REASON`. Possible values:
- `task_assigned` -- a new task was assigned to you
- `task_comment` -- someone commented on your task
- `task_children_completed` -- all child...
Details
- Author
- kdlbs
- Repository
- kdlbs/kandev
- Created
- 6 months ago
- Last Updated
- today
- Language
- Go
- License
- AGPL-3.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
kandev-team-admin
Manage the Office roster when delegating work, hiring agents, changing budgets or concurrency, retiring agents, or checking spend before approvals.
502 Updated today
kdlbs AI & Automation Solid
kandev-routines
Create, inspect, pause, resume, or delete recurring Office routines when work should run on a cron schedule or webhook trigger.
502 Updated today
kdlbs AI & Automation Solid
kandev-task-ops
Operate Office tasks when you need to list workspace tasks, read a conversation, or post an agent-authored comment.
502 Updated today
kdlbs