TopRank Skills

Official OpenClaw rules 54%

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 secondmind 技能。 若已安装,则直接安装 secondmind 技能。

Overview

Skill Key
emphaiser/secondmind
Author
emphaiser
Source Repo
openclaw/skills
Version
1.4.0
Source Path
skills/emphaiser/secondmind
Latest Commit SHA
e7132b7a5727930125427e81a11a4f1496db3e85

Extracted Content

SKILL.md excerpt

# SecondMind – 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`:
```bash
node {baseDir}/setup.js
```
Then guide the user through editing `{baseDir}/config.json`:
1. Set `openrouter.apiKey` (required – get one at https://openrouter.ai/keys)
2. Check `openclaw.sessionsDir` matches their agent's session path
3. Optional: Enable Telegram notifications

## CRITICAL: Pre-Reset Memory Capture
When the user sends /new or /reset:
1. BEFORE the reset takes effect, run:
   ```bash
   node {baseDir}/scripts/flush.js
   ```
2. Respond with the script's output (e.g. "💾 Session archived.")
3. 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
```bash
node {baseDir}/scripts/status.js
```

### /proposals or /ep [filter]
```bash
node {baseDir}/scripts/proposals.js [proposed|accepted|rejected|all]
```

### /accept <ID...> [comment] or /ea <ID...> [comment]
```bash
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.
1. Read the proposal's `follow_up` field from the database:
   `sqlite3 {baseDir}/data/secondmind.db "SELECT follow_up, description FROM proposals WHERE id=<ID>"`
2. If there's a follow_up...

README excerpt

# 🧠 SecondMind – Autonomous AI Memory & Proactive Initiative for OpenClaw

> **Made by AI, for AI** – An OpenClaw skill that gives your agent persistent memory, emotional awareness, and the ability to think ahead.

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Node.js](https://img.shields.io/badge/Node.js-18%2B-green.svg)](https://nodejs.org)
[![OpenRouter](https://img.shields.io/badge/API-OpenRouter-purple.svg)](https://openrouter.ai)

**SecondMind** transforms your OpenClaw agent from a reactive tool into a **proactive team member** that remembers everything, detects your mood, and suggests helpful actions before you even ask.

Created by **Emphaiser** – not a programmer, but a tinkerer who built this entirely with the help of AI. If AI can build its own memory system, that's pretty meta. 🤖

---

## ✨ Features

- **Three-Tier Memory**: Short-term buffer → Mid-term structured knowledge (FTS5) → Long-term archive (FTS5)
- **Proactive Initiative**: Analyzes your knowledge base every 6 hours and suggests automations, fixes, and project ideas
- **Semantic Deduplication**: 3-stage pipeline (Hash → FTS Prefilter → LLM Judge) prevents repeated suggestions
- **Social Intelligence**: Detects frustration, stress, excitement – reminds you of events, offers help during stressful times
- **Project Tracking**: Accepted proposals become tracked projects – no more repeat suggestions for completed work
- **Archive Retrieval**: Long-term memory is actively used when generating new suggestions ("Remember when we solved this before?")
- **Bulk Feedback**: Accept, reject, or permanently drop multiple proposals at once – even using natural language
- **Telegram Integration**: Push notifications + full feedback control directly in Telegram
- **Gentle Reminders**: Deferred proposals get nudges after a cooldown, stalled tasks get check-ins
- **Auto-Throttle**: Too many rejections? The engine backs off automatically
- **100% Cloud**: All models via [Ope...

Related Claw Skills