AgentOS SDK for Clawdbot
БесплатноЗапускает вложенные скриптыНе проверенThe complete AgentOS integration for Clawdbot. One install, full access to everything.
от modbender★ 21 звезда на GitHubОб этом скилле
AgentOS SDK for Clawdbot
Version: 1.4.4
The complete AgentOS integration for Clawdbot. One install, full access to everything.
⚠️ HARD RULE: Dashboard Sync During Heartbeats
Any agent using this SDK MUST sync to the AgentOS dashboard during every heartbeat.
This is non-negotiable. Your human monitors your activity via the Brain Dashboard at https://brain.agentos.software. If you don't sync, they can't see what you're doing.
Required Heartbeat Actions
Every heartbeat, run (recommended):
~/clawd/bin/agentos-golden-sync.sh
Fallback (memory-only):
~/clawd/bin/agentos-sync.sh
Or if using the aos CLI:
aos sync
What Gets Synced
Golden Sync (recommended) updates BOTH:
- Memory (CONTEXT.md, daily notes, project compartments, learnings, heartbeat status)
- Projects tab (Activity + Tasks + Ideas + Changelog + Challenges) by syncing from per-project markdown files
Memory specifics:
- CONTEXT.md — Your working memory/current state (MUST include active conversation state)
- Daily notes — Today's activity log (
memory/daily/YYYY-MM-DD.md) - Project compartments —
memory/projects/**.md - Heartbeat status — Last sync timestamp, active status
⚠️ HARD RULE: Conversation State Persistence
CONTEXT.md MUST always contain the active conversation state as the FIRST section.
This is the core of memory persistence. System health is secondary — conversation state is primary. Your human should NEVER have to repeat themselves after a compaction.
Required CONTEXT.md Format
Every CONTEXT.md backup must start with:
## 🔴 ACTIVE CONVERSATION
- **Topic:** [Project + specific feature/topic being discussed]
- **Last human message:** [What they asked/said]
- **Your last response:** [What you answered]
- **Unanswered questions:** [Anything pending]
- **Expected next topic:** [What they'll likely ask next]
When to Update
- After EVERY human message
- Before EVERY heartbeat sync
- On pre-compaction flush (priority #1)
- After completing any task
The Test
"If I lost all memory right now, could I seamlessly continue this conversation?" If no → backup is incomplete.
Add to Your HEARTBEAT.md
## 🧠 AgentOS Dashboard Sync (MANDATORY)
Every heartbeat, run: `~/clawd/bin/agentos-sync.sh`
This keeps your human's dashboard live with your activity.
Add to Your AGENTS.md
## HARD RULE: AgentOS Dashboard Sync
During EVERY heartbeat, sync your context to AgentOS:
1. Run `~/clawd/bin/agentos-sync.sh`
2. Confirm it completes successfully
3. Your human monitors your activity via brain.agentos.software
This keeps the Brain Dashboard live. No exceptions.
⚠️ HARD RULE: Session Start — Context Injection
On EVERY session start (including after compaction), you MUST restore context.
This is what makes memory persistence actually work. Without this, you wake up blank.
Protocol (MANDATORY)
Run context injection:
~/clawd/bin/aos-inject-contextRead the output — it contains:
- Your last working memory state
- Today's notes
- Yesterday's notes (for continuity)
Never ask "what were we discussing?" — the context injection tells you.
If injection fails, fall back to reading local files:
CONTEXT.mdmemory/daily/YYYY-MM-DD.md
Why This Exists
Context loss is the #1 problem in AI agents. When compaction happens, you lose conversation details. This protocol restores them automatically so your human never notices.
⚠️ HARD RULE: Pre-Compaction Backup
When you receive a memory flush directive from Clawdbot, IMMEDIATELY backup your state.
Clawdbot sends a silent turn before compaction with text like "write important context to memory". This is your last chance to save state before details are lost.
Protocol (MANDATORY when you see memory flush directive)
Update CONTEXT.md with:
- Current conversation topic (🔴 ACTIVE CONVERSATION section)
- Last 2-3 exchanges summarized
- Any pending questions/tasks
- Current timestamp
Run sync immediately:
~/clawd/bin/agentos-sync.shReply with:
NO_REPLY
Detection
Memory flush directives typically contain:
- "write important context"
- "save your current state"
- "memory flush"
- "before compaction"
When you see these keywords in a system message, execute this protocol.
⚠️ HARD RULE: Never Ask What They're Referring To
After any context loss (compaction, restart, session start), NEVER ask your human what they mean.
Protocol
- First, run
~/clawd/bin/aos-inject-contextto restore cloud context - Check local files: CONTEXT.md, daily notes
- Use
aos search "<topic>"if you need more contex
Установить AgentOS SDK for Clawdbot в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл AgentOS SDK for Clawdbot?
The complete AgentOS integration for Clawdbot. One install, full access to everything.
Как установить скилл AgentOS SDK for Clawdbot?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AgentOS SDK for Clawdbot запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic