sky_start
Call at the start of every session. With a title or id it returns a compact state of the task; if no task matches the title, a new task is created. Without arguments it returns the most recently updated active task and lists the others. The compact state is meant to stay short: for exact files, commands, snippets or history, call sky_detail.
| Parameter | Type | Description |
|---|---|---|
| task | string, optional | Task title or id. |
| project | string, optional | Project or repository name, used when a task is created. |
| goal | string, optional | Goal, used when a task is created. |
| agent | string, optional | Which agent is calling: claude-code, cursor, opencode, gemini-cli… |
The compact state has the goal (or a short brief of it), the current step, the next three steps, the last three decisions, blockers, how many files, commands and snippets are stored, the version and the task id.
# Task: Billing webhook retries (shop-api) Task id: 3f6c… · version 7 · active · branch feat/webhook-idempotency Goal: Make Stripe webhook handling idempotent. Progress: 1 of 3 steps done Now: Unique index on event_id Next: Integration test Decisions: event_id is the idempotency key — Stripe guarantees uniqueness Blockers: Staging DB is read-only until Monday Stored: 2 files · 2 commands · 1 snippet Need exact code, commands or history? Call sky_detail.
sky_update
Call after each meaningful step: a step finished, a decision made, a file touched, a blocker found. Creates a new version and answers with one line: the version and the step progress, for example 3/7.
| Parameter | Type | Description |
|---|---|---|
| task | string, required | Task id from sky_start, or its title. |
| summary | string | Where the work stands now. |
| goal | string | Change the goal. |
| steps_add | string[] | New steps to append, as todo. |
| steps_done | string[] | Steps to mark done, by id (s1, s2…) or by exact text. |
| step_doing | string | The step being worked on now (id or text). Any other step that was doing goes back to todo. |
| decisions_add | (string | {text, why})[] | Decisions to append, each with an optional short reason. |
| blockers | string[] | Current blockers; replaces the list. Send [] when clear. |
| files_add | string[] | File paths to append (paths only, stored exactly). |
| commands_add | string[] | Exact commands worth remembering, e.g. a test or migration command. |
| snippets_add | {lang?, text}[] | Exact code you will need later. Stored byte for byte; secrets are still redacted. |
| branch | string | Git branch. |
| notes | string | Anything else the next agent must know. |
| agent | string | Which agent is calling. |
Older clients keep working: done_add (finished steps) and next (remaining steps, added when not already present) are still accepted as aliases, and decisions_add also takes plain strings.
{ "task": "Billing webhook retries",
"summary": "Dedupe works; tests next.",
"steps_done": ["Unique index on event_id"],
"step_doing": "Integration test for retries",
"decisions_add": [{ "text": "event_id is the idempotency key",
"why": "Stripe guarantees uniqueness" }],
"commands_add": ["npm test -- webhooks"],
"snippets_add": [{ "lang": "sql",
"text": "CREATE UNIQUE INDEX ux_events_event_id ON events(event_id);" }] }sky_checkpoint
Call before ending the session or handing over. Takes the same fields as sky_update; summary is required. The summary is also indexed for sky_search. Set finished to true when the whole task is complete — the task becomes done.
| Parameter | Type | Description |
|---|---|---|
| task | string, required | Task id or title. |
| summary | string, required | Where the work stands, in a few sentences. |
| finished | boolean | true marks the task done. |
| … | All other sky_update fields. |
sky_detail
Returns the exact, decompressed content that the compact state leaves out. Call it only when you need it: the exact steps, the files, the commands, a saved snippet, or the history. Read-only.
| Parameter | Type | Description |
|---|---|---|
| task | string, required | Task id or title. |
| section | string, optional | steps, decisions, files, commands, snippets, notes, history or all. |
| version | number, optional | Rebuild the state as it was at that version. |
The history section shows the last 20 events and verifies the signature chain; it reports tampered if the chain is broken.
sky_search
Finds earlier work by meaning, not by exact words. It searches the title, goal and summary of your tasks and every checkpoint summary, in English, Ukrainian and Russian, and returns the best matches with task, version, kind and score. Read-only.
| Parameter | Type | Description |
|---|---|---|
| query | string, required | What you are looking for, in plain words. |
| limit | number, optional | How many matches to return. |
sky_handoff
Returns a full paste-ready brief of the task for an agent that has no Sky connection, or for a colleague. Read-only.
| Parameter | Type | Description |
|---|---|---|
| task | string, optional | Task id or title; defaults to the latest active task. |
| to | string, optional | Who continues, if known. |
sky_list
Lists tasks, one line each, with status, version and last update. Read-only.
| Parameter | Type | Description |
|---|---|---|
| status | active | done | archived | all | Default: active. |
The agent rule
Agents decide when to call tools from their instructions. Without a rule most of them will not call Sky on their own. Put this text in the rules file your client reads:
## Skytropic (Sky) — task state across agents - At the START of every session call `sky_start` (pass the task title if you know it). It returns a compact state; call `sky_detail` only when you need exact files, commands, code snippets or history. Continue from the current step — do not redo done steps. - After each meaningful step call `sky_update`: mark steps done (`steps_done`), add new steps, decisions with a short why, files and exact commands. Put exact code you will need later in `snippets`. Never include secrets. - Before you END or hand over, call `sky_checkpoint` with a summary and the next steps. - To find earlier work, call `sky_search`. If you cannot call tools, ask the user to run `sky_handoff` and paste the result.
Something unclear? Write to altumptic@gmail.com
