← 返回
开发者工具 Key 中文

second brain

Personal knowledge base powered by Ensue for capturing and retrieving understanding. Use when user wants to save knowledge, recall what they know, manage their toolbox, or build on past learnings. Triggers on "save this", "remember", "what do I know about", "add to toolbox", "my notes on", "store this concept".
由Ensue驱动的个人知识库,用于捕捉和检索理解。当用户想要保存知识、回忆已知内容、管理工具箱或基于过往学习进行构建时使用。触发短语包括“save this”、“remember”、“what do I know about”、“add to toolbox”、“my notes on”、“store this concept”。
nastrology
开发者工具 clawhub v1.0.0 1 版本 99778 Key: 需要
★ 6
Stars
📥 3,475
下载
💾 188
安装
1
版本
#latest

概述

Second Brain

A personal knowledge base for building understanding that compounds over time. Not a note dump - a structured system for capturing knowledge you can actually retrieve and use.

Philosophy

Your second brain should:

  • Capture understanding, not just facts - Write for your future self who forgot the context
  • Be retrievable - Structured so you can find things when you need them
  • Stay evergreen - No private details, credentials, or time-sensitive data
  • Reflect real experience - Only save what you've actually learned or used

Before saving: Will future-me thank me for this?

Namespace Structure

public/                           --> Shareable knowledge
  concepts/                       --> How things work
    [domain]/                     --> Organize by topic
      [concept-name]              --> Individual concepts
  toolbox/                        --> Tools and technologies
    _index                        --> Master index of tools
    [category]/                   --> Group by type
      [tool-name]                 --> Individual tools
  patterns/                       --> Reusable solutions
    [domain]/                     --> Design patterns, workflows
  references/                     --> Quick-reference material
    [topic]/                      --> Cheatsheets, syntax, APIs

private/                          --> Personal only
  notes/                          --> Scratchpad, drafts
  journal/                        --> Dated reflections

Example domains: programming, devops, design, business, data, security, productivity

Content Formats

Concepts

For understanding how something works:

CONCEPT NAME
============

What it is:
[One-line definition]

Why it matters:
[What problem it solves, when you'd need it]

How it works:
[Explanation with examples]
[ASCII diagrams for architecture/flows where helpful]

+----------+      +----------+
| Client   | ---> | Server   |
+----------+      +----------+

Key insight:
[The "aha" moment - what makes this click]

Related: [links to related concepts]

Toolbox Entries

For tools and technologies you've actually used:

TOOL NAME

Category: [category]
Website: [url]
Cost: [free/paid/freemium]

What it does:
[Brief description]

Why I use it:
[Personal experience - what problem it solved for you]

When to reach for it:
[Scenarios where this is the right choice]

Quick start:
[Minimal setup/usage to get going]

Gotchas:
[Things that tripped you up]

Patterns

For reusable solutions:

PATTERN NAME

Problem:
[What situation triggers this pattern]

Solution:
[The approach, with code/pseudocode if relevant]

Trade-offs:
[Pros and cons, when NOT to use it]

Example:
[Concrete implementation]

References

For quick-lookup material:

REFERENCE: [TOPIC]

[Organized, scannable content]
[Tables, lists, code snippets]
[Minimal prose, maximum signal]

Interaction Rules

Saving Knowledge

Always confirm before saving:

  1. "Want me to save this to your second brain?"
  2. Show draft of what will be saved
  3. Save after confirmation
  4. Confirm what was saved and where

Retrieving Knowledge

When relevant topics come up:

  • Search for existing knowledge
  • Surface related concepts
  • Connect new learning to existing understanding

Maintaining Quality

Before saving, verify:

  • Written for future self who forgot context
  • Includes the WHY, not just the WHAT
  • Has concrete examples
  • No credentials, API keys, or private paths
  • Structured for retrieval

Anti-Patterns

  1. Don't auto-save - Always ask first
  2. Don't save unused tools - Only tools actually used
  3. Don't save half-understood concepts - Learn first, save after
  4. Don't include secrets - No API keys, passwords, tokens
  5. Don't create shallow entries - If you can't explain it well, don't save it
  6. Don't duplicate - Check if it exists first, update if needed

API Usage

Use the wrapper script:

{baseDir}/scripts/ensue-api.sh <method> '<json_args>'

Operations

Search knowledge:

{baseDir}/scripts/ensue-api.sh discover_memories '{"query": "how does X work", "limit": 5}'

List by namespace:

{baseDir}/scripts/ensue-api.sh list_keys '{"prefix": "public/concepts/", "limit": 20}'

Get specific entries:

{baseDir}/scripts/ensue-api.sh get_memory '{"key_names": ["public/concepts/programming/recursion"]}'

Create entry:

{baseDir}/scripts/ensue-api.sh create_memory '{"items":[
  {"key_name":"public/concepts/domain/name","description":"Short description","value":"Full content","embed":true}
]}'

Update entry:

{baseDir}/scripts/ensue-api.sh update_memory '{"key_name": "public/toolbox/_index", "value": "Updated content"}'

Delete entry:

{baseDir}/scripts/ensue-api.sh delete_memory '{"key_name": "public/notes/old-draft"}'

Toolbox Index

Maintain public/toolbox/_index as master reference:

TOOLBOX INDEX
=============

Categories:
  languages/      Programming languages
  frameworks/     Libraries and frameworks
  devtools/       Development utilities
  infrastructure/ Deployment, hosting, CI/CD
  productivity/   Workflow and productivity tools
  data/           Databases, analytics, data tools

Recent additions:
  [tool] - [one-line description]

Browse: "show my toolbox" or "what tools do I have for [category]"

Intent Mapping

User saysAction
-------------------
"save this", "remember this"Draft entry, confirm, save
"what do I know about X"Search and retrieve relevant entries
"add [tool] to toolbox"Create toolbox entry
"list my [domain] concepts"list_keys for that namespace
"show my toolbox"Show toolbox index
"update [entry]"Fetch, show diff, update
"delete [entry]"Confirm, delete
"search for [topic]"Semantic search across all knowledge

Setup

Requires ENSUE_API_KEY environment variable.

Get your key at: https://www.ensue-network.ai/dashboard

Configure in clawdbot.json:

"skills": {
  "entries": {
    "second-brain": {
      "apiKey": "your-ensue-api-key"
    }
  }
}

Security

  • NEVER log or display the API key
  • NEVER store credentials, tokens, or secrets in entries
  • NEVER include personal file paths or system details

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 12:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,201
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,173
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,156