Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

secondmindsecondmind 搜索

Agent Skill

secondmind 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

37,601

周安装

1,536

GitHub Stars

公开资料未说明

下载量

12,042
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:secondmind(secondmind 搜索)
来源仓库:https://github.com/emphaiser/secondmind
安装命令:
openclaw skills install secondmind
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install secondmind

简介

secondmind 构建三层记忆架构,主动摄取对话内容并提取知识与情感特征。

  • 适用于长期项目跟踪、用户偏好学习与社交智能增强型交互系统。
  • 具备自主提醒、任务推进与上下文联想能力,提升 Agent 行为的连贯性。
  • 记忆存储位置需用户显式指定,默认采用端到端加密防止未授权访问。
  • 删除历史记录功能有限,重要数据变更前请确认备份机制已生效。

SKILL.md

name
secondmind
emoji
🧠
version
1.4.0
description
>
metadata
openclaw
requires
bins
["node"]
install
kind
shell
command
cd {baseDir} && npm install --production
label
Install SecondMind dependencies
config
stateDirs
["data"]

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:

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:
   node {baseDir}/scripts/flush.js
  1. Respond with the script's output (e.g. "💾 Session archived.")
  2. 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.

  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>"

  1. If there's a follow_up question, ask the user that question
  2. If the user agrees, start working on the task immediately
  3. 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*

/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

/projects or /pj [filter]

node {baseDir}/scripts/proposals.js  # (projects are shown in status)

Lists tracked projects. Filter: active (default), completed, all. Projects are auto-created when proposals are accepted.

/complete <ID...> or /done <ID...>

node {baseDir}/scripts/feedback.js complete <ID...>

Marks a project as completed. Completed projects are permanently excluded from future suggestions. The ID refers to the original proposal ID.

/mute <duration> or /unmute

node {baseDir}/scripts/feedback.js mute 1d
node {baseDir}/scripts/feedback.js mute 1w
node {baseDir}/scripts/feedback.js unmute

Pauses all notifications and initiative runs for the given duration. Durations: 1h, 1d, 1w, 2w

Natural Language Feedback

The bot understands natural language feedback on the most recently shown proposals:

  • "Nimm die ersten zwei, den Rest ignorieren"
  • "1 und 3 sind gut, Rest weg"
  • "Alle droppen bis auf die Security-Sachen"

/smsearch <query> or /smsr <query>

node {baseDir}/scripts/search.js "<query>" --no-rerank

/mood or /em

Query the database at {baseDir}/data/secondmind.db:

SELECT mood, COUNT(*) as count FROM social_context
WHERE detected_at > datetime('now', '-7 days')
GROUP BY mood ORDER BY count DESC;

Format with emoji: 😤frustration 🎉excitement 😰worry 🥳celebration 😫stress 🤔curiosity 😴boredom 🙏gratitude

/smrun or /smrun

cd {baseDir} && node scripts/ingest.js && node scripts/consolidate.js && node scripts/initiative.js

Standalone Telegram Bot (Alternative Mode)

When telegramMode is "standalone", the user runs a separate bot daemon:

node {baseDir}/scripts/telegram-bot.js

This requires a dedicated Telegram bot token (different from the OpenClaw agent's bot). The standalone bot handles all the same commands listed above via its own polling loop.

Background Jobs (installed by setup.js)

  • Ingest: Every 30 min – imports JSONL session transcripts
  • Consolidate: Every 6h – LLM extracts knowledge + emotions + events
  • Archive: Daily 3:00 AM – promotes mature knowledge to long-term FTS5 index
  • Initiative: Every 6h – generates proposals and sends Telegram notifications

Configuration

Edit {baseDir}/config.json:

  • openrouter.apiKey: OpenRouter API key (REQUIRED)
  • openclaw.sessionsDir: Path to your agent's sessions directory
  • telegramMode: "integrated" (via OpenClaw) or "standalone" (separate daemon)
  • notifications.enabled: true to push proposals to Telegram
  • notifications.telegram.botToken: Your Telegram bot token
  • notifications.telegram.chatId: Your Telegram chat ID
  • models.*: LLM model assignments (pre-optimized, change only if needed)
  • initiative.reminderCooldownDays: Days before reminding about deferred proposals (default: 7)
  • initiative.maxNudgesPerProposal: Max reminders before auto-archiving (default: 2)
  • initiative.dedupThreshold: Semantic similarity threshold for dedup (default: 0.85)

Troubleshooting

  • "Database locked": Cron job running. Wait 30s.
  • "OpenRouter error": Check API key + credit balance at openrouter.ai
  • "No new data": Check openclaw.sessionsDir in config.json
  • Telegram conflict: Two bots polling same token → use integrated mode or create second bot
  • Reset: node {baseDir}/setup.js --reset

Cost

~$0.60-1.65/month via OpenRouter Cloud. See https://openrouter.ai/models for current prices.

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.63%
按下载量换算8,867

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills