ソース情報
- リポジトリ
- BEKO2210/Firstbrain
- ソースの最終更新活動
- 2026年5月17日 12:40
- 検出された SKILL.md の言語
- 英語
- スター
- 15
- フォーク
- 2
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SOC 職業分類に基づく
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/BEKO2210/Firstbrain --skill healthコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
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.
| name | health |
| trigger | /health |
| description | Detect orphan notes and broken wiki-links with suggested fixes |
| version | 3.0.0 |
| type | skill |
| tags | ["skill","agent","maintenance","health","links"] |
Quick diagnostic of vault health. Reports orphan notes (0-1 connections) and broken wiki-links with suggested fixes. Auto-fixes obvious typos (single clear match), proposes fixes for ambiguous cases, and flags items with no match for user attention.
/health # Full vault health report
/health --fix # Auto-apply all auto-fixable broken links (Levenshtein <= 1, single match)
| Check | Description | Threshold |
|---|---|---|
| Orphan notes | Notes with 0-1 total connections (inbound + outbound resolved links) | Excludes templates, MOCs, system files |
| Broken links | Wiki-links pointing to nonexistent targets (resolved: false in link-map) | Excludes links from template files |
Claude follows these steps when /health is invoked:
ensureFreshIndexes('.') to rebuild indexes if stale (>5 min)const { 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 { analyzeHealth, classifyFix } = require('./.agents/skills/health/health-utils.cjs');
const { orphans, brokenLinks, stats } = analyzeHealth(vaultIndex, linkMap);
Vault Health: X orphan notes, Y broken links (Z total notes, W total links)
findConnections (from connect-utils.cjs) to suggest potential links based on the orphan's tagsclassifyFix(suggestions) to determine the action
b. If auto: Show the fix and mark for auto-application
AUTO-FIX: [[Docekr]] -> [[Docker]] (in Note.md, typo correction)
c. If propose: Show candidates and ask the user
d. If : Flag for user attention
const { analyzeHealth, suggestFixes, classifyFix, ensureFreshIndexes } = require('./.agents/skills/health/health-utils.cjs');
const { findConnections } = 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: Run health analysis
const { orphans, brokenLinks, stats } = analyzeHealth(vaultIndex, linkMap);
// Step 4: For each orphan, suggest connections
for (const orphan of orphans) {
const suggestions = findConnections(orphan.path, vaultIndex, linkMap, tagIndex);
console.log();
.();
}
( bl brokenLinks) {
classification = (bl.);
.();
}
## Vault Health Report
**Summary:** 3 orphan notes, 2 broken links (47 total notes, 89 total links)
### Orphan Notes (0-1 connections)
1. **Note A** (0 connections)
Suggested links: [[Related Note]], [[Another Note]]
2. **Note B** (1 connection)
Suggested links: [[Topic Note]]
### Broken Wiki-Links
1. AUTO-FIX: [[Docekr]] -> [[Docker]] (in Project Notes.md)
2. PROPOSE: [[dock]] in Daily.md -- Did you mean: [[Docker]] or [[Docker Compose]]?
3. MANUAL: [[Nonexistent]] in Ideas.md -- No match found
### Actions Available
- Reply "fix all" to apply all auto-fixes
- Reply "fix 1" to apply a specific auto-fix
- For PROPOSE items, reply with your choice (e.g., "2: Docker")
This skill respects the three governance zones defined in .claude/rules/governance.md:
| Zone | Action | When |
|---|---|---|
| AUTO | Fix broken link automatically | Single clear match with Levenshtein distance <= 1 (obvious typo) |
| PROPOSE | Present fix candidates for user approval | Multiple possible matches or ambiguous correction |
| MANUAL | Flag for user attention | No match found -- user must decide |
Logging: All auto-fixes are logged to .claude/changelog.md as required by the AUTO zone governance rule.
/maintain in Phase 5.PROPOSE: [[dock]] in Note.md -- Did you mean: [[Docker]] or [[Docker Compose]]?
manualMANUAL: [[Nonexistent Note]] in Note.md -- No match found
--fix flag is used):
[[old target]] with [[correct target]].claude/changelog.md (per governance AUTO zone)scan('.') to update indexes after any fixes are applied