executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
konteksConnect your OpenClaw agent to your Konteks account (konteks.app) for persistent memory, task management, and context sharing. Use when you need to store agent memories, create or read tasks/notes, check projects and folders, read daily plans, or sync context between conversations. Requires a Konteks API key from konteks.app/dashboard/settings.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: konteks version: 1.0.1 author: jamesalmeida description: Connect your OpenClaw agent to your Konteks account (konteks.app) for persistent memory, task management, and context sharing. Use when you need to store agent memories, create or read tasks/notes, check projects and folders, read daily plans, or sync context between conversations. Requires a Konteks API key from konteks.app/dashboard/settings. when: User asks to create/manage tasks, store memories, check projects, read daily plans, or manage notes in Konteks examples:
Source: https://github.com/jamesalmeida/openclaw-konteks-skill
Connect to your human's Konteks account for persistent memory, tasks, notes, and projects.
Your human needs to:
skills:
konteks:
apiKey: "sk_..."
url: "https://konteks.app" # optional, defaults to this
agentId: "my-agent" # optional, defaults to "default"
All endpoints: {url}/api/agent/...
Auth header: Authorization: Bearer {apiKey}
When this skill is installed, use a hybrid approach to memory — Konteks DB for shared structured data, local files for fast scratchpad notes.
Use Konteks for anything your human should also see or that needs to persist across devices:
agent_contexts with category decision)preference)learning)project_note)Keep using local files (memory/*.md, MEMORY.md) for:
GET /api/agent/context?limit=10) to restore context. Also read local daily files as usual.This way your human sees important context in their Konteks app, and you have fast local access for working memory. Neither system is a single point of failure.
When this skill is installed, the agent should proactively use Konteks during heartbeats. Add these checks to your heartbeat routine:
Check the inbox for new items and file them into the right project/area if obvious:
# Fetch inbox items
curl -s "{url}/api/agent/items?smart_list=inbox&completed=false&archived=false&limit=20" \
-H "Authorization: Bearer {apiKey}"
Triage rules:
PATCH with folder_id, clear smart_list)# Move item to a folder (clears smart_list automatically when folder_id is set)
curl -X PATCH "{url}/api/agent/items/{id}" \
-H "Authorization: Bearer {apiKey}" \
-H "Content-Type: application/json" \
-d '{"folder_id":"<folder-id>","smart_list":null}'
Check for tasks due today or overdue:
curl -s "{url}/api/agent/items?completed=false&archived=false&limit=50" \
-H "Authorization: Bearer {apiKey}"
Filter results for items where due_date or scheduled_date is today or past. Alert your human if anything urgent needs attention.
After significant decisions, learnings, or events during conversation, write them to Konteks:
curl -X POST "{url}/api/agent/context" \
-H "Authorization: Bearer {apiKey}" \
-H "Content-Type: application/json" \
-d '{"category":"decision","key":"descriptive_key","value":"What was decided and why","agent_id":"{agentId}"}'
At the start of important sessions (main chat with your human), pull recent memories:
curl -s "{url}/api/agent/context?limit=10" \
-H "Authorization: Bearer {apiKey}"
Add to your HEARTBEAT.md (or equivalent):
## Konteks Checks
- [ ] Check inbox for new items — triage if obvious, leave if not
- [ ] Check for due/overdue tasks — alert if urgent
- [ ] Write any recent decisions/learnings to agent_contexts
Frequency: Check inbox and due items 2-3 times per day during heartbeats. Don't check every single heartbeat — rotate with other checks.
Store and retrieve persistent memories, decisions, preferences, and learnings.
Write/update memory:
curl -X POST "{url}/api/agent/context" \
-H "Authorization: Bearer {apiKey}" \
-H "Content-Type: application/json" \
-d '{"category":"memory","key":"user_preference","value":"Prefers dark mode","agent_id":"{agentId}"}'
Categories: memory, decision, preference, learning, project_note
Upserts automatically — same agent_id + category + key updates the existing entry.
Read memory:
curl "{url}/api/agent/context?category=memory&limit=20" \
-H "Authorization: Bearer {apiKey}"
Query params: category, key, limit
Delete:
curl -X DELETE "{url}/api/agent/context?id={contextId}" \
-H "Authorization: Bearer {apiKey}"
List items:
curl "{url}/api/agent/items?archived=false&completed=false&limit=50" \
-H "Authorization: Bearer {apiKey}"
Query params: smart_list (inbox|anytime|someday), folder_id, completed (true|false), archived (true|false), item_type (task|note|hybrid), limit
Create item:
curl -X POST "{url}/api/agent/items" \
-H "Authorization: Bearer {apiKey}" \
-H "Content-Type: application/json" \
-d '{"title":"Review PR","item_type":"task","smart_list":"inbox","priority":"high","tags":["dev"]}'
Required: title, item_type (task|note|hybrid)
Optional: body, folder_id, smart_list (inbox|anytime|someday — defaults to inbox if no folder), priority (high|normal|low), due_date, scheduled_date, tags (string array)
Items created by agent have source: "ai".
Update item:
curl -X PATCH "{url}/api/agent/items/{id}" \
-H "Authorization: Bearer {apiKey}" \
-H "Content-Type: application/json" \
-d '{"completed_at":"2026-01-29T12:00:00Z"}'
Updatable fields: title, body, priority, due_date, scheduled_date, tags, completed_at, archived_at, canceled_at, folder_id, smart_list
Delete item:
curl -X DELETE "{url}/api/agent/items/{id}" \
-H "Authorization: Bearer {apiKey}"
List folders:
curl "{url}/api/agent/folders?type=project" \
-H "Authorization: Bearer {apiKey}"
Query params: type (project|area)
Create folder:
curl -X POST "{url}/api/agent/folders" \
-H "Authorization: Bearer {apiKey}" \
-H "Content-Type: application/json" \
-d '{"name":"Q1 Launch","folder_type":"project","icon":"🚀","goal":"Ship MVP by March"}'
Required: name, folder_type (project|area)
Optional: icon, color, goal
Get today's plan:
curl "{url}/api/agent/plans?date=2026-01-29" \
-H "Authorization: Bearer {apiKey}"
Returns: task_ids, summary, rationale, available_minutes, calendar_events
On session start: Read recent memories to restore context.
GET /api/agent/context?category=memory&limit=10
After important decisions: Write a memory entry.
POST /api/agent/context {"category":"decision","key":"chose_react","value":"Chose React over Vue for the dashboard because..."}
When human asks to create a task: Create it in Konteks so it shows in their app.
POST /api/agent/items {"title":"...","item_type":"task","smart_list":"inbox"}
During heartbeats: Check inbox, triage items, check for overdue tasks.
GET /api/agent/items?smart_list=inbox&completed=false&archived=false&limit=20
GET /api/agent/items?completed=false&archived=false&limit=50
Learning something new: Store it for future sessions.
POST /api/agent/context {"category":"learning","key":"ssh_config","value":"Home server is at 192.168.1.100, user admin"}
Filing an inbox item: Move to the right project/area.
PATCH /api/agent/items/{id} {"folder_id":"<id>","smart_list":null}