用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill wiki-ingest命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient second opinion slash command /advice. Extracts decision point + artifact (≤150 lines), then fans out in parallel: (1) Opus subagent reviewer with fallback chain codex→agy→cursor, (2) /research on the decision topic, (3) /secondo multi-model opinion. Use instead of advisor() which ships the full conversation uncached.
Use this skill when working in repositories managed by Agent Orchestrator or when the user asks how to use `ao` properly. Covers the default AO workflow: bootstrap with `ao start`, dispatch work with `ao spawn`, inspect progress with `ao status` or `ao session ls`, steer sessions with `ao send`, and recover or clean up sessions safely. Includes strict parameter fidelity, pre-spawn cap cleanup, quota-wall fallback, and post-spawn verification.
Generate a full agento PR status report — draft readiness, canonical /green, zero-touch rate, inline display, and Slack summary.
基于 SOC 职业分类
正在显示 SKILL.md
| name | wiki-ingest |
| description | Ingest a file into the local LLM wiki and update source/entity/concept pages. |
/wiki-ingest <file_or_path> [--wiki <wiki_dir>]
Ingest a source document into the wiki. Creates a source page, extracts entities and concepts, updates the index.
--wiki <wiki_dir> overrides the default wiki location (~/llm_wiki/wiki). The raw/ directory is derived as the sibling of the wiki dir: $(dirname <wiki_dir>)/raw.
# Parse args: file is first positional; --wiki <path> overrides default
# Check for local wiki default (project-level override)
if [ -f ".wiki-default" ]; then
WIKI=$(cat .wiki-default)
elif [ -f "$HOME/.wiki-default" ]; then
WIKI=$(cat "$HOME/.wiki-default")
else
WIKI="$HOME/llm_wiki/wiki"
fi
FILE_ARG="<first positional arg>"
# --wiki flag always wins over .wiki-default
if args contain "--wiki <path>"; then
WIKI="<path>"
fi
WIKI_ROOT=$(dirname "$WIKI")
RAW_DIR="$WIKI_ROOT/raw"
SOURCE="$RAW_DIR/$(basename "$FILE_ARG")"
# Copy source to raw/ if not already there
mkdir -p "$RAW_DIR"
cp "$FILE_ARG" "$SOURCE" 2>/dev/null || cp "$(pwd)/$FILE_ARG" "$SOURCE"
# Determine slug from filename
SLUG=$(basename "$FILE_ARG" | sed 's/\.md$//' | sed 's/[^a-zA-Z0-9]/-/g' | tr '[:upper:]' '[:lower:]')
Read the file fully.
Read wiki/index.md and wiki/overview.md for current wiki state.
Write wiki/sources/<slug>.md using Source Page Format:
---
title: "<title>"
type: source
tags: []
date: YYYY-MM-DD
source_file: <relative path>
---
## Summary
2–4 sentence summary.
## Key Claims
- Claim 1
- Claim 2
## Key Quotes
> "Quote here" — context
## Connections
- [[EntityName]] — how they relate
- [[ConceptName]] — how it connects
Add entry to wiki/index.md under Sources section.
Check if new content affects [[jeffrey-oracle]]. If so, append to wiki/log.md.
Create entity pages for key people, companies, projects. Create concept pages for key ideas, frameworks, methods.
Append to wiki/log.md: ## [YYYY-MM-DD] ingest | <Title>
When a ported-source page will be published to GitHub (gist, repo, or any non-Obsidian viewer), GitHub does not render [[WikiLinks]] as clickable — they show up as literal [[brackets]]. Default behavior for any ported-source ingest that touches a GitHub-rendered surface:
Add a Table of Contents at the top of the document, after the metadata block, with anchor links to every major heading. Format:
---
## Table of Contents
1. [Setup & Cast](#setup--cast)
2. [Beat 1 — The Rat Summoning](#beat-1--the-rat-summoning)
...
Convert all [[WikiLinks]] to standard [label](url) markdown links pointing to the canonical GitHub raw URL for the target page. Slug → URL map should be built up front based on the page tree under wiki/. Example:
wiki_url = "https://github.com/jleechanorg/llm-wiki/blob/main"
wiki_link_map = {
"HestiaRegistrar": f"{wiki_url}/wiki/entities/hestia-registrar.md",
"VerminCommander": f"{wiki_url}/wiki/concepts/vermin-commander.md",
"VoyagePlatform": f"{wiki_url}/wiki/concepts/voyage-platform.md",
}
new_text = re.sub(r"\[\[([^\]]+)\]\]",
lambda m: f"[{m.group(1).split('|')[-1]}]({wiki_link_map.get(m.group(1).split('|')[0], f'{wiki_url}/wiki/{m.group(1)}.md')})",
src)
Preserve [[WikiLinks]] in the Obsidian-side copies (the ~/llm_wiki/wiki/sources/... page) so they still work in Obsidian/Logseq — only the gist/published GitHub version converts them.
Header metadata block should include clickable links to the source transcript and the wiki source page when the document is going to a gist or remote repo.
This rule was added 2026-06-13 after the Voyage first-dev-playthrough gist had [[WikiLinks]] that didn't render on github.com. Apply by default to any future ported-source ingest.