Community程式設計與開發github.com

ar9av/codex-history-ingest

將 Codex CLI 對話歷史擷取並匯入 Obsidian 知識庫。當使用者想要挖掘過往 Codex 工作階段的知識、匯入 ~/.codex 資料夾、從先前的編碼會話中提取見解,或提及相關關鍵字時使用此技能。

codex-history-ingest 是什麼?

ar9av/codex-history-ingest 是一個專為 Obsidian 知識庫設計的技能,用於自動匯入 Codex CLI 的對話歷史記錄。此技能能解析 Codex CLI 的 ~/.codex 資料夾結構,包括 session_index.jsonl、rollout 檔案及轉錄日誌,並將其中的對話內容、程式碼範例與決策過程轉換為結構化的 Obsidian 筆記。對於頻繁使用 Codex CLI 的開發者來說,這項技能能有效保存編碼工作階段的知識,轉化為可搜尋、可連結的永續知識庫。支援的平台包括 Obsidian 和任何能存取 ~/.codex 資料夾的環境。運作方式為掃描指定目錄、解析 JSONL 格式的索引檔案、提取對話轉錄,並使用 Obsidian 的 markdown 模板建立筆記,保留原始對話的上下文與連結。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/ar9av/obsidian-wiki/tree/main/skills/codex-history-ingest

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

codex-history-ingest 是做什麼的?

將 Codex CLI 對話歷史擷取並匯入 Obsidian 知識庫。當使用者想要挖掘過往 Codex 工作階段的知識、匯入 ~/.codex 資料夾、從先前的編碼會話中提取見解,或說出「處理我的 Codex 歷史」、「將我的 Codex 對話加入知識庫」、「我之前在 Codex 討論過什麼」等語句時使用此技能。當使用者提及 .codex 工作階段、rollout 檔案、session_index.jsonl 或 Codex 轉錄日誌時,也會觸發此技能。

功能

  • 自動掃描 ~/.codex 目錄中的 session_index.jsonl 檔案
  • 解析 Codex CLI 的對話索引與轉錄檔案
  • 將歷史對話轉換為 Obsidian 格式的 markdown 筆記
  • 保留原始對話的上下文與連結
  • 支援增量匯入,避免重複處理

使用方法

當使用者提出以下需求時,請執行此技能:

  1. 「處理我的 Codex 歷史」
  2. 「將我的 Codex 對話加入 Obsidian 知識庫」
  3. 「我之前在 Codex 討論過哪些專案?」
  4. 「從我的 Codex 工作階段中提取見解」
  5. 提及 .codex 資料夾、session_index.jsonl 或類似檔案

支援的平台

  • Obsidian: 主要目標平台,產生的筆記可直接用於 Obsidian 知識庫
  • Codex CLI: 能存取 ~/.codex 資料夾的環境
  • 任何支援 markdown 格式的知識庫工具

運作方式

  1. 掃描 ~/.codex 資料夾以尋找 session_index.jsonl 及轉錄檔案
  2. 解析 JSONL 格式的索引,提取每個工作階段的 metadata(時間戳記、專案名稱、狀態等)
  3. 讀取對應的轉錄日誌,解析對話內容、程式碼片段與 AI 回覆
  4. 使用 Obsidian 的 markdown 模板(包含 frontmatter、標籤、內部連結)生成筆記
  5. 將筆記儲存至使用者指定的 Obsidian 儲存庫中

注意事項

  • 確保 ~/.codex 目錄存在且包含有效的 session_index.jsonl
  • 若使用者首次執行,建議先備份現有檔案
  • 支援增量匯入,但需保留本機記錄以避免重複

相關資源

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ar9av/claude-history-ingest

Ingest Claude Code conversation history into the Obsidian wiki. Use this skill when the user wants to mine their past Claude conversations for knowledge, import their ~/.claude folder, extract insights from previous coding sessions, or says things like "process my Claude history", "add my conversations to the wiki", "what have I discussed with Claude before". Also triggers when the user mentions their .claude folder, Claude projects, session data, past conversation logs, local-agent-mode sessions, or audit logs.

ar9av/copilot-history-ingest

Ingest GitHub Copilot CLI session history into an Obsidian wiki as distilled knowledge pages. Use this skill when the user wants to capture their Copilot CLI sessions into a personal wiki — extracting architecture decisions, debug notes, and patterns into searchable Obsidian pages. Triggers on phrases like "ingest my copilot sessions into obsidian", "add my copilot history to my wiki", "pull my copilot session history into the vault", "capture what I've learned from copilot into obsidian", "just the new sessions since last time", or "mine patterns across my copilot sessions". Also triggers when the user mentions session-store.db, ~/.copilot/session-state, or VS Code copilot-chat transcripts in the context of building a wiki or knowledge base. Does NOT trigger for general copilot usage questions, searching sessions, or backing up history.

ar9av/cross-linker

Scan the Obsidian wiki and automatically discover missing cross-references between pages. Use this skill when the user says "link my pages", "find missing links", "cross-reference", "connect my wiki", "add wikilinks", "what pages should be linked", or after any large ingestion to ensure new pages are woven into the existing knowledge graph. Also trigger when the user mentions "orphan pages" in the context of wanting to connect them, or says things like "my wiki feels disconnected" or "pages aren't linked well". This is a write-heavy skill — it actually modifies pages to add links, unlike wiki-lint which just reports issues.

ar9av/daily-update

Run the daily wiki maintenance cycle: check all source freshness, update the index, and regenerate hot.md. Use this skill when the user says "/daily-update", "run the daily update", "update everything", "morning sync", "refresh the wiki index", or when triggered by the launchd cron at 9 AM. Also use to set up or verify the cron + terminal notification infrastructure for the first time ("set up the daily cron", "install the terminal notification", "how do I get the morning reminder?").

ar9av/data-ingest

Ingest any raw text data, conversation logs, chat exports, or unstructured documents into the Obsidian wiki. Use this skill when the user wants to process data that isn't standard documents or Claude history — things like ChatGPT exports, Slack threads, Discord logs, meeting transcripts, journal entries, CSV data, browser bookmarks, email archives, or any raw text dump. Triggers on "ingest this data", "process these logs", "add this export to the wiki", "import my chat history from X". This is the catch-all for any text source not covered by the more specific ingest skills.

ar9av/graph-colorize

Color-code the Obsidian graph view by rewriting `.obsidian/graph.json` colorGroups. Use this skill when the user says "color my graph", "color code obsidian", "colorize the graph", "color the graph by tag", "color by category", "highlight visibility in graph", "make the graph colorful", "distinguish tags in graph", or wants nodes in Obsidian's graph view tinted by tag, folder, or visibility. Generates a `colorGroups` array from the vault's actual tags/categories and merges it into the existing graph.json without clobbering other graph settings. Always backs up first.

ar9av/hermes-history-ingest

Ingest Hermes agent history into the Obsidian wiki. Use this skill when the user wants to mine their past Hermes sessions for knowledge, import their ~/.hermes folder, extract insights from previous Hermes conversations, or says things like "process my Hermes history", "add my Hermes memories to the wiki", "ingest ~/.hermes", or "what have I worked on in Hermes". Also triggers when the user mentions Hermes memories, Hermes sessions, ~/.hermes/memories, or Hermes skill logs.

ar9av/impl-validator

Validate whether an implementation matches its stated goal. Use this skill when a skill or agent wants a second opinion on its own output, when the user says "check this implementation", "validate what you did", "is this correct?", "review the output", or "did you do this right?". Also spawned automatically as a subagent by other skills (memory-bridge, daily-update) to self-check their outputs before presenting to the user. Returns a structured pass/warn/fail verdict with specific actionable issues.

ar9av/ingest-url

Fetch a URL and distill its content into the Obsidian wiki. If invoked from inside a project directory, the page lands directly in that project's folder (creating the project in the vault if needed). Otherwise it goes to misc/ and gains project affinity over time. Use this skill when the user says "/ingest-url <url>", "add this URL to the wiki", "ingest this link", "save this page", or pastes a URL and says "add this" or "save this to my wiki".

ar9av/llm-wiki

The foundational knowledge distillation pattern for building and maintaining an AI-powered Obsidian wiki. Based on Andrej Karpathy's LLM Wiki architecture. Use this skill whenever the user wants to understand the wiki pattern, set up a new knowledge base, or needs guidance on the three-layer architecture (raw sources → wiki → schema). Also use when discussing knowledge management strategy, wiki structure decisions, or how to organize distilled knowledge. This is the "theory" skill — other skills handle specific operations (ingesting, querying, linting).

ar9av/memory-bridge

Browse and compare wiki knowledge by which AI tool originally produced it. Use this skill when the user says "/memory-bridge", "browse codex memory", "what did codex know about X", "show me claude knowledge", "cross-tool memory", "what does hermes know that claude doesn't", "show me knowledge from <tool>", "compare my AI tool memories", or wants to explore knowledge gaps between tools. Works from any project. Diff mode ("what's different", "unique to codex", "gaps between tools") is the killer feature — it surfaces blind spots between tools that the user may not know exist.

ar9av/obsidian-wiki-ingest

Automates ingestion of documents into the Obsidian wiki (obsidian-wiki) using the wiki-ingest pipeline. Handles deduplication via manifest, frontmatter, and cross-links; triggers on user request within the obsidian-wiki project context.

ar9av/openclaw-history-ingest

Ingest OpenClaw agent history into the Obsidian wiki. Use this skill when the user wants to mine their past OpenClaw sessions for knowledge, import their ~/.openclaw folder, extract insights from previous OpenClaw conversations, or says things like "process my OpenClaw history", "add my OpenClaw sessions to the wiki", "ingest ~/.openclaw", or "what have I worked on in OpenClaw". Also triggers when the user mentions OpenClaw session logs, MEMORY.md, daily notes, or ~/.openclaw/workspace.

ar9av/skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

ar9av/tag-taxonomy

Enforce consistent tagging across the Obsidian wiki using a controlled vocabulary. Use this skill when the user says "fix my tags", "normalize tags", "clean up tags", "tag audit", "what tags should I use", "tag taxonomy", or whenever you're creating or updating wiki pages and need to choose the right tags. Also trigger when the user asks about tag conventions, wants to add a new tag to the taxonomy, or says "my tags are a mess". Always consult this skill's taxonomy file before assigning tags to any wiki page.

ar9av/wiki-agent

Query-driven targeted ingest from a specific AI agent's raw history. Use this skill when the user invokes /wiki-claude, /wiki-codex, /wiki-hermes, /wiki-openclaw, /wiki-copilot, /wiki-pi — with or without a search topic. Different from wiki-history-ingest (which bulk-ingests everything new): this skill finds sessions about a SPECIFIC TOPIC in a specific agent's history and ingests just those, then returns a synthesized answer immediately usable in the current session. Primary use case: you're working in agent A and want to pull in how you solved X in agent B's history. Cross-referencing, not archiving. Also trigger on: "what did I work on in codex about X", "search my claude sessions for Y", "pull in hermes knowledge about Z", "find that conversation where I did X in codex".

ar9av/wiki-capture

Save the current conversation as a permanent, structured wiki note. Use this skill when the user says "save this", "/wiki-capture", "capture this", "file this conversation", "preserve this", "add this to my wiki", or wants to turn what was just discussed into lasting knowledge. The skill classifies the content, rewrites it as declarative knowledge (not a chat transcript), and places it in the correct vault category. Also supports a fast QUICK MODE (`/wiki-capture --quick`, "quick capture", "capture this finding", "save this bug fix", "save this gotcha", "drop this to raw", "quick save to wiki") that drops findings to the `_raw/` staging area in under 60 seconds with no manifest or index writes — used by the session-end Stop hook to auto-preserve findings.

ar9av/wiki-dashboard

Create dynamic, queryable dashboard views of the Obsidian vault using Obsidian Bases or Dataview. Use this skill when the user says "create a dashboard", "vault dashboard", "show all X as a table", "dynamic view", "query my vault", "build a content index", "show me all concepts/entities/projects", or wants a structured, auto-updating view of their wiki content. Bases is native to Obsidian 1.8+ (no plugin needed). Dataview requires the community plugin.

ar9av/wiki-digest

Generate a periodic knowledge digest — a human-readable newsletter-style summary of what was learned, updated, and connected in your wiki over a specified period (day/week/month). Use when the user says "what did I learn this week", "give me a digest", "weekly summary", "knowledge report", "what's new in my wiki", "/wiki-digest [period]", "summarize my recent learning", or wants a readable overview of recent wiki activity. Distinct from wiki-status (which reports ingestion delta of sources) — wiki-digest summarizes *knowledge*, not sources.

ar9av/wiki-export

Export the Obsidian wiki's knowledge graph to structured formats for use in external tools. Use this skill when the user says "export wiki", "export graph", "export to JSON", "export to Gephi", "export to Neo4j", "graphml", "visualize wiki", "knowledge graph export", "export to OKF", "OKF bundle", "open knowledge format", "export as markdown bundle", or wants to use their wiki data in another tool. Outputs graph.json, graph.graphml, cypher.txt (Neo4j), and graph.html (interactive browser visualization) into a wiki-export/ directory at the vault root, plus an optional OKF (Open Knowledge Format) markdown bundle under wiki-export/okf/.

相關技能