Token导航 LogoToken导航

Agent Skill · 研究检索

second-brain(第二大脑)

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

second-brain 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 30,652。

总安装 2,840周安装 122GitHub Stars 134下载 996核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:second-brain(第二大脑)
来源仓库:https://github.com/absolutelyskilled/absolutelyskilled
仓库路径:skills/second-brain
安装命令:
npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill second-brain
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill second-brain

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

second-brain 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。适用于跨项目知识管理,将 ~/.memory/ 作为持久化层级知识库,存储个人偏好、学习成果和工作流程。

支持标签索引快速匹配、维基链接图遍历,每文件限制100行以确保上下文窗口效率。安装方式:github;命令:npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill second-brain。

建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写后再使用。

来源仓库内路径:skills/second-brain

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill se…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

second-brain 怎么安装?

在终端执行 npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill second-brain。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

second-brain 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

second-brain 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

second-brain 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

second-brain 用的人多吗?

公开数据是累计安装 2,840 次,近一周安装 122 次,下载 996 次,GitHub 134 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

second-brain 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
second-brain

第二大脑 · 本页

2,840134需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

When this skill is activated, always start your first response with the 🧢 emoji.

Second Brain for AI Agents

Second Brain turns ~/.memory/ into a persistent, hierarchical knowledge store that works across projects and tools. Unlike project-level context files (CLAUDE.md,.cursorrules), Second Brain holds personal, cross-project knowledge - your preferences, learnings, workflows, and domain expertise. It is designed for AI agents: tag-indexed for fast relevance matching, wiki-linked for graph traversal, and capped at 100 lines per file for context-window efficiency.


When to use this skill

Trigger this skill when the user:

  • Starts a new conversation (auto-load relevant memories based on context)
  • Says "remember this", "save this for later", or "update my memory"
  • Asks "what do you know about X" or "what are my preferences for Y"
  • Completes a complex or multi-step task (auto-propose saving learnings)
  • Needs to set up ~/.memory for the first time (onboarding)
  • Wants to search, organize, or clean up their memories
  • Asks about their past learnings, workflows, or preferences

Do NOT trigger this skill for:

  • Project-specific context (that belongs in CLAUDE.md or similar project files)
  • Storing sensitive data like passwords, API keys, or tokens

Key principles

  1. Ask before saving - Never write to ~/.memory without user consent. After complex tasks, propose what to remember and let the user approve before writing. The user owns their memory.
  2. Relevance over completeness - At conversation start, read index.yaml, match tags against the current context, and load only the top 3-5 matching files. Never load all memory files - most won't be relevant and they waste context.
  3. 100-line ceiling - Each memory topic file stays under 100 lines (including frontmatter). When a file grows beyond this, split it into sub-files in a subdirectory. This keeps individual loads cheap and forces concise writing.
  4. Cross-project, not project-specific - ~/.memory stores personal knowledge, preferences, and universal learnings. Project-specific rules, configs, and context belong in project-level files like CLAUDE.md.
  5. Tags + wiki-links for navigation - Every memory file has YAML frontmatter with tags for index lookup. Cross-references use [[path/to/file.md]] wiki-links. The root index.yaml maps tags to files for fast retrieval.

Core concepts

Directory structure - ~/.memory/ uses a hierarchical layout: index.yaml at root as the master registry, profile.md for user identity from onboarding, and category directories (e.g., coding/, marketing/) each containing an index.md overview and topic-specific .md files.

Memory file format - Each .md file has YAML frontmatter with tags, created, updated, and links (wiki-links to related files), followed by a concise markdown body. This is a knowledge dump, not documentation - keep entries terse and scannable.

index.yaml - The master lookup table. Maps tags to file paths, tracks categories, records line counts and last-updated timestamps per file. Always read this first to determine what to load.

Relevance matching - Extract keywords from the current context (working directory, file types, tools, user's stated topic). Score each file's tags against these keywords (exact match = 3 points, partial = 1). Load the top 3-5 scoring files. If nothing scores above threshold, load only profile.md.

Memory lifecycle (CRUSP) - Create (onboarding or post-task save), Read (auto-load or explicit query), Update (append or revise existing entries), Split (when file exceeds 100 lines), Prune (remove stale/outdated entries).


Common tasks

First-run onboarding

Detect first run by checking if ~/.memory/ exists and contains index.yaml. If missing, run a structured interview with 7 questions covering work domains, tools, communication style, active projects, workflows, learning goals, and golden rules. Use answers to bootstrap the directory structure: create index.yaml, profile.md, category directories with index.md files, and initial topic files.

See references/onboarding.md for the full question set, bootstrapping templates, and a worked example.

Auto-load relevant memories at conversation start

  1. Read ~/.memory/index.yaml
  2. Extract keywords from current context: project name, file extensions being edited, tools/frameworks mentioned, user's explicit topic
  3. Match keywords against the tags map in index.yaml
  4. Score matches: exact tag hit = 3 points, substring match = 1 point
  5. Load the top 3-5 scoring files (read their content into context)
  6. If no files score above threshold, load only profile.md as baseline
  7. Briefly note which memories were loaded so the user knows what context is active

User-initiated save ("remember this")

When the user says "remember this" or similar:

  1. Identify what to remember from the conversation
  2. Determine the right category - check existing categories in index.yaml first; if ambiguous, ask the user
  3. Check if a relevant topic file already exists in that category
  4. If yes: append the new knowledge to the existing file (check 100-line limit)
  5. If no: create a new file with proper YAML frontmatter (tags, timestamps, links)
  6. Update index.yaml with new tags and file metadata
  7. Scan existing files for related tags and add [[wiki-links]] if appropriate

Auto-propose learnings after complex task

After completing a multi-step or complex task, identify learnable patterns:

  • New tool configurations or setup steps discovered
  • Debugging techniques that worked
  • Workflow preferences revealed during the task
  • Domain knowledge gained

Present the proposed memories to the user in a concise summary. Include which file each would be saved to. Only write on explicit user approval. Never save silently.

Search memories ("what do you know about X")

  1. Search index.yaml tags for matches against the query
  2. If tag matches found: read those files and present relevant excerpts
  3. If no tag match: do a content search across all memory files as fallback
  4. Present results with source file paths so user can verify or update
  5. Offer to update, correct, or prune any found memories

Split an oversized memory file

When a file exceeds 100 lines:

  1. Propose a split to the user - identify 2-4 natural sub-topics
  2. Create a subdirectory named after the original file (without extension)
  3. Move each sub-topic into its own file within the subdirectory
  4. Replace the original file with an index.md linking to the sub-files
  5. Update all [[wiki-links]] across ~/.memory that pointed to the old file
  6. Update index.yaml with the new file paths and tags

See references/maintenance.md for the detailed splitting protocol.

Handle conflicting or outdated memories

When new information contradicts an existing memory:

  1. Flag the conflict - show the existing memory and the new information
  2. Ask the user which version is correct
  3. Update the file with the correct version; set a new updated timestamp
  4. Optionally add a supersedes note in frontmatter to track the change
  5. If the old memory was cross-referenced, check if linked files need updates

Gotchas

  1. index.yaml out of sync crashes relevance matching - If files are added or renamed without updating index.yaml, the tag-based lookup silently misses them. Always update index.yaml atomically when creating, renaming, or splitting memory files.
  2. Splitting too eagerly fragments context - Splitting a file at 90 lines into 5 sub-files can make each one too narrow to load usefully on its own. Before splitting, ask whether the sub-topics are actually queried independently. If not, keep them together and only split when a specific sub-topic is consistently relevant on its own.
  3. Tags that are too generic defeat lookup - Tags like coding or work match everything and score everything equally. Tags should be specific enough to differentiate: typescript, react-patterns, vim-config rather than just tools.
  4. Proposing saves mid-task breaks focus - Offering to save a learning while the user is still in the middle of a complex task pulls them out of flow. Batch all proposed saves for the end of the task in one approval round.
  5. Wiki-links to non-existent files break the graph - When splitting or pruning files, update all [[wiki-links]] that pointed to the old path. A broken link silently orphans the cross-reference and the graph loses its traversal utility.

Anti-patterns / common mistakes

MistakeWhy it's wrongWhat to do instead
Storing passwords, API keys, or tokensMemory files are plaintext, readable by any toolUse env vars, keychains, or secret managers
Duplicating project-specific context~/.memory and CLAUDE.md serve different purposesProject rules in CLAUDE.md; personal knowledge in ~/.memory
Loading all memory files at startWastes context window; most files won't be relevantLoad only tag-matched files; max 3-5 per conversation
Saving without user approvalUser may not want everything rememberedAlways propose and get explicit approval first
Saving obvious or generic knowledge"Python is interpreted" wastes spaceOnly store personal preferences, specific learnings, non-obvious patterns
Letting files grow past 100 linesLarge files defeat the purpose of selective loadingSplit into sub-topic files in a subdirectory
Ignoring timestampsStale memories can mislead future sessionsAlways set updated timestamp; periodically review old entries

References

For detailed specs and workflows, read the relevant file from references/:

  • references/onboarding.md - Full onboarding interview questions, bootstrapping templates, and worked example. Load when setting up ~/.memory for a new user.
  • references/memory-format.md - index.yaml schema, memory file format spec, wiki-link resolution, and profile.md template. Load when creating or updating files.
  • references/maintenance.md - File splitting protocol, pruning strategy, relevance matching algorithm details, and index rebuild procedure. Load for memory cleanup tasks.

Only load a references file if the current task requires it.


Companion check

On first activation of this skill in a conversation: check which companion skills are installed by running ls ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/.claude/skills/.agent/skills/.agents/skills/ 2>/dev/null. Compare the results against the recommended_skills field in this file's frontmatter. For any that are missing, mention them once and offer to install: `` npx skills add AbsolutelySkilled/AbsolutelySkilled --skill <name> ` Skip entirely if recommended_skills` is empty or all companions are already installed.

平台分布

Codex

37.71%
按下载量换算376

Claude

30.82%
按下载量换算307

Cursor

17.02%
按下载量换算170

Gemini CLI

8.95%
按下载量换算89

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills