secondmind
Autonomous three-tier memory with proactive initiative, project tracking, and social intelligence. Ingests OpenClaw conversations, extracts knowledge + emotions, and proactively suggests automations, fixes, and project ideas. v1.4.0: Project tracking, semantic dedup, bulk feedback, archive retrieval, gentle reminders. All models via OpenRouter Cloud. Cross-platform: Linux + Windows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/emphaiser/secondmindSecondMind – Autonomous AI Memory, Initiative & Social Intelligence
When To Use
Activate this skill when the user:
- Asks to set up, configure, or check SecondMind status
- Wants to search their knowledge base or recall past conversations
- Asks for proactive suggestions or project ideas
- Mentions memory, remembering, or context from past sessions
- Sends /new or /reset (trigger pre-reset flush!)
- Asks about their mood/emotional patterns or upcoming events
- Sends any SecondMind Telegram command (see below)
First-Run Setup
If the database does not exist at {baseDir}/data/secondmind.db:
node {baseDir}/setup.js
Then guide the user through editing {baseDir}/config.json:
- Set
openrouter.apiKey(required – get one at https://openrouter.ai/keys) - Check
openclaw.sessionsDirmatches their agent's session path - Optional: Enable Telegram notifications
CRITICAL: Pre-Reset Memory Capture
When the user sends /new or /reset:
- BEFORE the reset takes effect, run:
node {baseDir}/scripts/flush.js - Respond with the script's output (e.g. "💾 Session archived.")
- THEN allow the reset to proceed normally
Telegram Commands (Integrated Mode)
When telegramMode is "integrated" in config.json, the OpenClaw agent handles
these commands directly. Execute the corresponding script and format the response.
/smstatus or /es
node {baseDir}/scripts/status.js
/proposals or /ep [filter]
node {baseDir}/scripts/proposals.js [proposed|accepted|rejected|all]
/accept <ID...> [comment] or /ea <ID...> [comment]
node {baseDir}/scripts/feedback.js accept <ID...> [comment]
Supports multiple IDs: /accept 1 3 5 or /accept all
After accepting, a project is automatically created to track progress.
- Read the proposal's
follow_upfield from the database:sqlite3 {baseDir}/data/secondmind.db "SELECT follow_up, description FROM proposals WHERE id=<ID>" - If there's a follow_up question, ask the user that question
- If the user agrees, start working on the task immediately
- Example flow:
- User:
/accept 5 - Agent: "✅ #5 akzeptiert. Soll ich dir die Guide-Liste direkt zusammenstellen?"
- User: "Ja mach"
- Agent: starts working on the task
- User:
/reject <ID...> [comment] or /er <ID...> [comment]
node {baseDir}/scripts/feedback.js reject <ID...> [comment]
Supports multiple IDs: /reject 2 4 or /reject all
Acknowledge briefly. Don't make a big deal out of it.
/defer <ID...> [comment] or /ed <ID...> [comment]
node {baseDir}/scripts/feedback.js defer <ID...> [comment]
/drop <ID...> or /drop all older_than <duration>
node {baseDir}/scripts/feedback.js drop <ID...>
node {baseDir}/scripts/feedback.js drop all older_than 14d
Permanently kills proposals – they will never be suggested again, not even reformulated.
Supports: /drop 2 4, /drop all, /drop all older_than 14d
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-emphaiser-secondmind": {
"enabled": true,
"auto_update": true
}
}
}