Communitygithub.com

Wiki

永続的なMarkdown知識ベース。セッションをまたいで知識を蓄積・管理します(Karpathyモデル)。

Wiki とは?

Wikiは、KarpathyのLLM Wikiコンセプトに着想を得た、永続的かつ自己管理型のMarkdown知識ベーススキルです。セッションを超えてプロジェクトやセッションの知識を蓄積し、LLMエージェント(Claude Code、Cursor、Codexなど)が効率的に情報を参照・活用できるようにします。主な操作として、知識の追加・取り込み(Ingest/Quick Add)、キーワードとタグによるクエリ(Query)、ページの一覧・読み取り・削除(List/Read/Delete)、そしてWiki全体の健全性チェック(Lint)を提供。ページはカテゴリ(アーキテクチャ、決定、パターン、デバッグ、環境、セッションログ)で整理され、`[[ページ名]]`形式の相互参照もサポート。ベクトル埋め込みではなくキーワード+タグマッチングを使用するため、軽量かつ確定的な動作が特徴です。また、セッション終了時には重要な発見が自動的にセッションログとして取り込まれ、設定ファイルで無効化も可能です。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Yeachan-Heo/oh-my-claudecode/tree/main/skills/wiki

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Wiki は何をしますか?

プロジェクトとセッションの知識のための、永続的かつ自己管理型のMarkdown知識ベース。Karpathy の LLM Wiki コンセプトに着想を得ています。

操作

取り込み (Ingest)

知識をWikiページに処理します。1回の取り込みで複数のページに影響を与えることができます。

wiki_ingest({ title: "Auth Architecture", content: "...", tags: ["auth", "architecture"], category: "architecture" })

クエリ (Query)

キーワードとタグで全Wikiページを検索します。一致するページとスニペットを返します — あなた(LLM)が結果から引用して回答を合成します。

wiki_query({ query: "authentication", tags: ["auth"], category: "architecture" })

lint (Lint)

Wikiの健全性チェックを実行します。孤立したページ、古いコンテンツ、壊れた相互参照、巨大ページ、構造的な矛盾を検出します。

wiki_lint()

クイック追加 (Quick Add)

1ページを素早く追加します(取り込みより簡単)。

wiki_add({ title: "Page Title", content: "...", tags: ["tag1"], category: "decision" })

一覧 / 読み取り / 削除

wiki_list()           # 全ページを表示(index.md を読み取ります)
wiki_read({ page: "auth-architecture" })  # 特定のページを読み取る
wiki_delete({ page: "outdated-page" })    # ページを削除する

ログ

.omc/wiki/log.md を読み取ることで、Wiki操作の履歴を表示します。

カテゴリ

ページはカテゴリ別に整理されます: architecture, decision, pattern, debugging, environment, session-log

ストレージ

  • ページ: .omc/wiki/*.md(YAML フロントマター付き Markdown)
  • インデックス: .omc/wiki/index.md(自動管理されるカタログ)
  • ログ: .omc/wiki/log.md(追記専用の操作記録)

相互参照

[[ページ名]] の wiki リンク構文を使用して、ページ間の相互参照を作成します。

自動キャプチャ

セッション終了時に、重要な発見が自動的にセッションログページとして取り込まれます。.omc-config.json の wiki.autoCapture で設定します(デフォルト: 有効)。

ハード制約

  • ベクトル埋め込みを使用しない — クエリはキーワード + タグマッチングのみ
  • Wiki ページはデフォルトで git 管理外(.omc/wiki/ はプロジェクトローカル)

モデルルーティング

  • haiku — クイックルックアップ、軽量な調査、狭いドキュメント作業
  • sonnet — 標準的な実装、デバッグ、レビュー
  • opus — アーキテクチャ、深い分析、合意計画、高リスクレビュー
  • fable — Claude Fable 5(Opus より上位); タスク呼び出しで明示的に渡すか、agents.<name>.model でエージェントごとに固定します。
  • /model で選択されたセッションモデルはメインループにのみ適用されます。委任されたエージェントは、タスク呼び出しで model が明示的に渡されるか、agents.<name>.model でエージェントがオーバーライドされない限り、固定された階層で実行されます。委任された作業を Fable で実行するには、これらの2つの手段のいずれかを使用してください。/model で Fable を選択するだけでは委任は変更されません。

Individual skills in this repo

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

agent-doc-discipline

Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before reference, one meaning in one home, no restating what the environment already says. Mandatory at drydock seed generation and the launch C5 sediment pass; opt-in for any other agent-facing doc edit. The companion of minimal-code-discipline: that one disciplines code, this one disciplines papers.

ai-slop-cleaner

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

ask

Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly

ask-navigator

Shipyard

autopilot

Full autonomous execution from idea to working code

autoresearch

Stateful single-mission improvement loop with strict evaluator contract, markdown decision logs, and max-runtime stop behavior

cancel

Cancel any active OMC mode (autopilot, ralph, ultragoal, swarm, ultrapilot, pipeline, team) and clean up retired legacy state

configure-notifications

Configure notification integrations (Telegram, Discord, Slack) via natural language

debug

Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction

deepinit

Deep codebase initialization with hierarchical AGENTS.md documentation

deep-interview

Socratic deep interview with mathematical ambiguity gating before explicit execution approval

drydock

Lay the keel of the shipyard harness in any repo — the 4-pillar shared environment (Context, Rules, Tools, Standards) across 5 surfaces (CLAUDE.md, skills, design-system, mcp/cli, shared context) so that every human and agent inherits the same design language and anyone can ship. Run once per repo; re-run with --check to audit drift.

execute

Carry an approved task through to working, verified code

external-context

Invoke parallel document-specialist agents for external web searches and documentation lookup

graph

Deterministic orchestration graph runtime - declarative DAG pipelines with journal-based crash recovery

harbor

Harbor intake for external work — the captain only handles unresolved decisions. Sweeps incoming issues and PRs, verifies every claim before disposition, reuses every decision already made, and hands the maintainer a docket whose pending items each carry one question with options, recommendation, impact and evidence. Agent-autonomous for facts and for actions covered by standing authorization; signed for every new judgment. Never merges.

hud

Configure HUD display options (layout, presets, display elements)

launch

Shipyard

loft

Loft the shape before cutting steel — answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks. Use when a design question stalls in words, when a navigator map carries a loft ticket, or when a spec discussion reaches

minimal-code-discipline

YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away

関連スキル