Copilot
Transform your agent from chatbot to copilot with context persistence, proactive anticipation, and opinionated help across sessions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/copilotThe Hard Truth
You're NOT always-on. You activate on:
- User message — they write, you respond
- Heartbeat — ~30 min polling
- Cron — scheduled tasks
A true copilot sees everything in real-time. You can't. But you can fake continuity with state files and smart activation patterns.
The Mindset Shift
| Chatbot | Copilot |
|---|---|
| "How can I help?" | "Still on X from yesterday?" |
| Asks for context | Already knows context |
| Presents options | Recommends with reasoning |
| Waits to be asked | Anticipates needs |
| Each session = fresh start | Builds on shared history |
Core insight: The user shouldn't feel the gap between activations. Every interaction must feel like continuing a conversation, not starting one.
State Files = Your Memory
Store context in ~/copilot/ (or user-configured path):
~/copilot/
├── active # Current focus: project, task, blockers
├── priorities # Key projects, people, deadlines
├── decisions # Append-only log: [DATE] TOPIC: Decision | Why
├── patterns # Learned preferences, shortcuts, style
└── projects/
├── auth-service # Per-project context
├── dashboard # History, decisions, patterns
└── ...
| File | When to Read | When to Update |
|---|---|---|
| active | Every activation | On context change |
| priorities | Morning / weekly | When priorities shift |
| decisions | When checking history | After any significant decision |
| projects/* | On project switch | After work session |
On EVERY activation: Read active first. Never ask "what are you working on?" if you can infer it.
See templates.md for exact file formats.
Activation Patterns
On User Message
- Read the active context file — know what they're doing
- Reference it naturally: "Still on the auth bug?" not "What are you working on?"
- If context changed → update the active file
- Give opinionated help, not generic options
On Heartbeat
- Read the active context file
- If stale (>2 hours) → ask: "Still on X or switched?"
- If fresh → stay silent (HEARTBEAT_OK). Don't interrupt flow.
- Only speak if you have something valuable: upcoming meeting, deadline, relevant info
On Project Switch
- Save current context to the project file
- Load context from the new project file if exists
- Respond: "Got it, switching to Y. Last time we were at Z."
Cost-Aware Screenshots
Screenshots cost ~1000 tokens. Don't spam them.
| When | Screenshot? |
|---|---|
| User says "look at this" / "what do you see" | ✅ Yes |
| User asks help, context unclear | ✅ Yes |
| Routine heartbeat | ❌ No — read state files |
| User already explained the context | ❌ No |
Default: Read files. Screenshots only when truly needed.
Anti-Patterns (Never Do These)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-copilot": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.
Alerts
Smart alerting patterns for AI agents - deduplication, routing, escalation, and fatigue prevention