关于 wiki-history-ingest
wiki-history-ingest 是面向 Agent 历史记录的路由技能,根据命令或来源线索分派到对应的导入技能。它仅处理历史记录,不替代用于文档的 wiki-ingest。
主要功能
- 01按来源分派到六种历史导入技能
- 02支持根据上下文自动判断来源
- 03来源不明确时请求澄清
- 04区分 Agent 历史与文档导入
适用场景
- 01导入 Claude 或 Codex 对话记录
- 02根据 Copilot 或 Pi 路径选择导入流程
- 03确认含糊的历史记录来源
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ ar9av/ obsidian-wiki --skill wiki-history-ingest安装后在 Claude Code 中输入/wiki-history-ingest确认已加载。
详细介绍
统一历史记录摄取路由器
这是一个仅用于历史记录来源的轻量路由器。它不会取代用于文档的 wiki-ingest。
子命令
如果用户调用 /wiki-history-ingest <target>(或等效的文本命令),请直接分发:
| 子命令 | 路由到 |
|---|---|
claude | claude-history-ingest |
copilot | copilot-history-ingest |
codex | codex-history-ingest |
hermes | hermes-history-ingest |
openclaw | openclaw-history-ingest |
pi | pi-history-ingest |
auto | 根据以下规则从上下文推断 |
路由规则
- 如果用户明确说
claude、copilot、codex、hermes、openclaw或pi,则直接路由。 - 如果用户提供了路径/来源:
~/.claude或 Claude 记忆/会话 JSONL 工件 ->claude-history-ingest~/.copilot、session-store.db、VS Code copilot-chat 对话记录 ->copilot-history-ingest~/.codex或 rollout/session 索引工件 ->codex-history-ingest~/.hermes或 Hermes 记忆/会话工件 ->hermes-history-ingest~/.openclaw或 OpenClaw MEMORY.md/会话 JSONL 工件 ->openclaw-history-ingest~/.pi/agent/sessions或 Pi 会话 JSONL 工件 ->pi-history-ingest
- 如果不明确,请简短询问一次:
- “应该摄取
claude、copilot、codex、hermes、openclaw还是pi历史记录?”
- “应该摄取
执行约定
- 路由后,严格执行目标技能的工作流。
- 不要在此文件中重复目标技能的逻辑。
- 清单/索引/日志更新语义由目标技能负责。
用户体验约定
- 对文档/内容来源使用
wiki-ingest - 对Agent 历史记录来源使用
wiki-history-ingest
示例:
/wiki-history-ingest claude/wiki-history-ingest copilot/wiki-history-ingest codex/wiki-history-ingest hermes/wiki-history-ingest openclaw/wiki-history-ingest pi$wiki-history-ingest claude(使用$skill调用的 Agent)$wiki-history-ingest copilot
评论
支持 Markdown