用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/BEKO2210/Firstbrain --skill connect命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.
基于 SOC 职业分类
正在显示 SKILL.md
| name | connect |
| trigger | /connect |
| description | Discover connections using tags, link adjacency, multi-hop graph paths, and structural similarity |
| version | 3.0.0 |
| type | skill |
| tags | ["skill","agent","discovery","graph","connections"] |
Analyzes a note's tags, link graph, multi-hop paths, and structural similarity to discover related notes. Three signal layers:
Presents a ranked list with evidence. User selects which to add.
/connect # Analyze the current note (Claude determines from context)
/connect "Tool -- Docker" # Analyze a specific note by name
Two Level 1 signals are used to score potential connections:
| Signal | Score | Description |
|---|---|---|
| Tag overlap | +1 per shared tag | Notes sharing frontmatter or inline tags with the target |
| Link adjacency | +0.5 per shared link target | Notes that link to the same targets as the target note |
Confidence levels (based on combined score):
| Level | Score | Meaning |
|---|---|---|
| High | >= 3 | Strong connection -- multiple shared tags or tags + link overlap |
| Medium | >= 1.5 | Moderate connection -- some shared context |
| Low | > 0 | Weak connection -- minimal overlap, worth reviewing |
Exclusions: Templates, MOCs, system files (Home, START HERE, Workflow Guide, Tag Conventions), and notes already linked from the target are excluded from suggestions.
Claude follows these steps when /connect is invoked:
ensureFreshIndexes('.') to rebuild indexes if stale (>5 min)"Tool -- Docker") or conversation contextconst { loadJson } = require('./.agents/skills/scan/utils.cjs');
const path = require('path');
const indexDir = path.join('.', '.claude', 'indexes');
const vaultIndex = loadJson(path.join(indexDir, 'vault-index.json'));
const linkMap = loadJson(path.join(indexDir, 'link-map.json'));
const tagIndex = loadJson(path.join(indexDir, 'tag-index.json'));
const { findConnections, formatConnectionSuggestions } = require('./.agents/skills/connect/connect-utils.cjs');
const results = findConnections(targetPath, vaultIndex, linkMap, tagIndex);
const formatted = formatConnectionSuggestions(results);
- [[Note Name]] to the target note's section under the appropriate category (Related, Source, Supports, etc.)const { findConnections, formatConnectionSuggestions, ensureFreshIndexes } = require('./.agents/skills/connect/connect-utils.cjs');
const { loadJson } = require('./.agents/skills/scan/utils.cjs');
const path = require('path');
// Step 1: Ensure indexes are current
ensureFreshIndexes('.');
// Step 2: Load indexes
const indexDir = path.join('.', '.claude', 'indexes');
const vaultIndex = loadJson(path.join(indexDir, 'vault-index.json'));
const linkMap = loadJson(path.join(indexDir, 'link-map.json'));
const tagIndex = loadJson(path.join(indexDir, 'tag-index.json'));
// Step 3: Find connections for a specific note
const targetPath = '03 - Resources/Tool -- Docker.md';
const results = findConnections(targetPath, vaultIndex, linkMap, tagIndex);
// Step 4: Format for display
const output = formatConnectionSuggestions(results);
console.log(output);
1. **[[Tool -- Obsidian]]** (high confidence)
- shared tag: #tool
- shared tag: #productivity
- both link to [[Home]]
2. **[[Website Relaunch]]** (medium confidence)
- shared tag: #project
- both link to [[Home]]
3. **[[Zettel -- Knowledge Management]]** (low confidence)
- shared tag: #productivity
The user reviews the list and selects entries by number. Claude then adds the selected notes as wiki-links in the target note's ## Connections section.
## Connectionsscan('.') to update indexes after modifications