Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/kyre-99/Everything-is-Knowledge --skill wiki-lint명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | wiki-lint |
| description | Check wiki health and suggest fixes |
| allowed-tools | ["Read","Grep","Bash","AskUserQuestion"] |
Scan the wiki for issues using Obsidian CLI for fast, accurate analysis.
/wiki-lint
/wiki-lint --fix # Auto-fix simple issues
obsidian vault
If no vault is open, prompt user to:
/wiki-init firstUse Obsidian CLI for fast statistics:
# Total entity pages
obsidian files folder=wiki/entities total
# Total raw documents
obsidian files folder=wiki/raw total
# Vault info
obsidian vault info=files
obsidian vault info=size
Orphans are pages no other page references.
obsidian orphans format=json
Returns array of orphan file paths. Filter to wiki/entities:
obsidian orphans format=json | grep "wiki/entities"
Unresolved links reference pages that don't exist.
obsidian unresolved format=json verbose
Returns:
[
{"link": "MissingEntity", "files": ["wiki/entities/SomePage.md", ...]}
]
Compare cache.md with actual entities:
# Count cache entries
obsidian read path=wiki/cache.md | wc -l
# Count entity files
obsidian files folder=wiki/entities total
# Check for discrepancies
Get overall link statistics:
# Total links in vault
obsidian tags total
# Most referenced entities (by backlink count)
for entity in $(obsidian files folder=wiki/entities format=json | jq -r '.[]'); do
count=$(obsidian backlinks file="$entity" format=json total)
echo "$count $entity"
done | sort -rn | head -10
## Wiki Health Report
### Summary
- Entity pages: 66
- Raw documents: 5
- Vault size: 27MB
### Issues Found
#### Orphan Pages (16)
Pages with no inbound links:
- [[Calculation of F1 score]] — add links from related entities
- [[Cognitive behaviors]] — consider merging or linking
- [[Knowledge Graphs]] — commonly referenced concept, should have links
#### Unresolved Links (0)
All wikilinks resolve correctly ✓
#### Cache Discrepancies (0)
cache.md matches entity files ✓
### Link Graph Stats
- Most referenced: [[CP-Search]] (27 backlinks)
- Least referenced: [orphans above]
### Suggested Actions
1. Link orphans to related entities
2. Consider merging similar concepts
3. Review entities with high backlink counts for accuracy
For each orphan page, run the interactive fix workflow:
# For each entity in wiki/entities, check backlink count
obsidian backlinks file="EntityName" total
Entities with 0 backlinks are orphans.
# Read orphan content
obsidian read path="wiki/entities/OrphanName.md"
# Find related pages via search
obsidian search query="keywords from orphan content" format=json
Use AskUserQuestion tool:
如何处理孤儿 [[OrphanName]]?
- 添加链接:在相关页面添加引用
- 合并:合并到相关实体并删除此页
- 删除:内容不重要的,删除此实体
- 跳过:不处理,保留原样
Option A: Add Link
[[OrphanName]] reference to the related pageobsidian backlinks file="OrphanName" total (should be > 0)Option B: Merge
> Merged from [[OrphanName]] markerrm "wiki/entities/OrphanName.md"ls wiki/entities/*.md | xargs -I {} basename {} .md > wiki/cache.mdOption C: Delete
rm "wiki/entities/OrphanName.md"ls wiki/entities/*.md | xargs -I {} basename {} .md > wiki/cache.mdOption D: Skip
No action, move to next orphan.
# Rebuild cache.md
ls wiki/entities/*.md | xargs -I {} basename {} .md > wiki/cache.md
# Final verification
obsidian files folder=wiki/entities total
## Wiki Lint Complete
### Changes Made
- ✅ Merged: [[OrphanA]] → [[TargetEntity]]
- ⏭️ Skipped: [[OrphanB]] (kept as-is)
- 🗑️ Deleted: [[OrphanC]] (not useful)
- 🔗 Linked: Added [[OrphanD]] reference to [[RelatedEntity]]
### Final Stats
- Entity pages: N (was M)
- Orphan pages remaining: N
- Unresolved links: N
- Cache synchronized: ✓
| Orphan Type | Recommended Action |
|---|---|
| Core concept (RAG, LLM, etc.) | Add link from related entities |
| Niche detail | Merge into parent concept |
| Duplicate content | Delete and add reference |
| Important standalone | Add links to establish connections |
| Low-value content | Delete |
# In target entity page (e.g., [[Retrieval-Augmented Generation]])
## Related: Knowledge Graphs
> Merged from [[Knowledge Graphs]] (orphan page)
- Knowledge graphs are structured data models... [[source]]
- Key benefit: provides semantic context for reasoning... [[source]]
# In related entity page (e.g., [[CP-Search]])
## Facts
- CP-Search uses [[Knowledge Graphs]] for structured reasoning... [[source]]
| Command | Purpose |
|---|---|
obsidian vault | Check current vault info |
obsidian files folder=X total | Count files in folder |
obsidian orphans | Find pages with no inbound links |
obsidian unresolved | Find broken wikilinks [[Missing]] |
obsidian backlinks file="X" total | Count pages linking to X |
obsidian search query="X" | Find related pages for suggestions |
Symptom: Entity page exists but no other page references it.
Fix:
obsidian search query="keyword"[[Entity]] reference to related pagesSymptom: [[Entity Name]] referenced but page doesn't exist.
Fix:
Symptom: cache.md count ≠ entity file count.
Fix:
# Rebuild cache from entities
ls wiki/entities/*.md | xargs -I {} basename {} .md > wiki/cache.md
# Rebuild cache.md
ls wiki/entities/*.md | xargs -I {} basename {} .md > wiki/cache.md
# Create missing entity page
obsidian create name="MissingEntity" content="# MissingEntity\ntype: concept\n\n## Facts\n\n- " open
# Open orphan in Obsidian for editing
obsidian open file="OrphanEntity"
Use traditional shell approach:
# Count entities
ls wiki/entities/*.md 2>/dev/null | wc -l
# Check for orphans (slow)
for f in wiki/entities/*.md; do
name=$(basename "$f" .md)
grep -q "\[\[$name\]\]" wiki/entities/*.md || echo "Orphan: $name"
done
# Check for unresolved (slow)
grep -oh '\[\[[^]]*\]\]' wiki/entities/*.md | sort -u | while read ref; do
name=$(echo "$ref" | sed 's/\[\[\(.*\)\]\]/\1/')
[ ! -f "wiki/entities/${name}.md" ] && echo "Missing: $name"
done