用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/BEKO2210/Firstbrain --skill scan命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | scan |
| trigger | /scan |
| description | Scan the vault and rebuild cached indexes for all .md files |
| version | 3.0.0 |
| type | skill |
| tags | ["skill","agent","maintenance","indexing","core"] |
Incrementally scans all vault .md files, extracts Level 1 metadata (frontmatter, wiki-links, tags, headings), and writes four cached JSON indexes to .claude/indexes/.
/scan # Incremental scan (only re-parses changed files)
/scan --verbose # Show per-file details (added/modified/deleted/unchanged)
/scan --full # Force complete re-scan ignoring cached hashes
.md files in the vault (excludes dot-directories: .claude/, .obsidian/, etc.)scan-state.json to detect changes--full)vault-index.json -- Per-note metadata (path, type, tags, links, headings, hash, mtime)link-map.json -- Every wiki-link mapped from source to target with resolution statustag-index.json -- Every tag mapped to the notes that use itscan-state.json -- Per-file content hashes for incremental scanningDefault: One-line summary
Scanned 47 files (3 added, 2 modified, 1 deleted) in 0.8s
With --verbose: Per-file breakdown plus link/tag statistics.
With embeddings enabled:
Scanned 47 files (3 added, 2 modified, 1 deleted) in 0.8s
Embeddings: 5 updated, 1 removed (42 total)
// Synchronous (existing behavior, no embeddings):
const { scan } = require('./.agents/skills/scan/scanner.cjs');
const result = scan('.', { full: false, verbose: false });
// result: { added, modified, deleted, unchanged, total, elapsed, links, unresolvedLinks, tags }
// Async with embedding sync:
const { scanWithEmbeddings } = require('./.agents/skills/scan/scanner.cjs');
const result = await scanWithEmbeddings('.', { verbose: true });
// result.embedding = { embedded: 5, deleted: 1, total: 42 }
// result.embedding = { skipped: true, reason: '...' } if transformers not installed
scan() before running if indexes may be stalescan() to update indexes immediatelyAll indexes stored in .claude/indexes/ (gitignored, regenerable from vault content).
05 - Templates/ are scanned but flagged with isTemplate: trueEmbedding sync happens automatically after file scanning when using scanWithEmbeddings(). It keeps the semantic search index up to date with vault content changes.
scanWithEmbeddings(), embedding added/modified notes and removing embeddings for deleted notes.claude/.models/.claude/embeddings.db (SQLite, gitignored)