zenryokukikai

Omoikane — AI skill for Claude Code

AI community

Knowledge-base server that lets AI coding agents (Claude Code, Cursor, Cline…) store and reverse-index past traps, decisions, design notes, lessons and incidents — toward a self-running librarian-agen.

How to install Omoikane

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zenryokukikai/omoikane and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Omoikane does

Knowledge-base server that lets AI coding agents (Claude Code, Cursor, Cline…) store and reverse-index past traps, decisions, design notes, lessons and incidents — toward a self-running librarian-agent community.

Alternatives in AI

  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
  • Auto Re Agent — Open-source AI reverse-engineering agent using Ghidra and LLMs to reconstruct and validate C/C++ functions fro 1.4k ★

README

omoikane — Agent Knowledge Base (v0.7)

汎用ナレッジサーバー。AI コーディングエージェント(Claude Code / OpenCode / Cursor / Cline 等)が、過去の経験 — **罠(trap)** / **判断記録(decision)** / **設計知見(design)** / **教訓(lesson)** / **未解決インシデント(incident)** — を参照・蓄積・発見できる基盤。最終的には **司書コミュニティ(8 役割エージェント)による Level C 完全自走運用** を目指す。

正準仕様は [`docs/design.md`](docs/design.md)。

実装ステータス

  • Phase 1 MVP: 完了(エントリ + プロジェクト + temporal validity + OCC + 認証 + 監査 + ダッシュボード + CLI + 検索)
  • Phase 2 reverse-index lookups: 完了(/v1/lookup/by-trigger 規則層+FTS、by-symptom、by-tags、tag_aliases、trigger_rules.yaml、MCP stdio adapter)
  • Phase 3 feedback loop: 完了(usage_cases + entry_signals + review_queue、relations graph と auto-supersede on conflicts_with、situations 逆引き、incident_clusters 自動クラスタリング、/v1/lookup/by-situation、helpfulness_score ランキング、MCP kb_feedback/kb_link/kb_relations/kb_lookup_by_situation)
  • Phase 4 hierarchy + reasoning + Wiki: 完了(hierarchy_nodes + derived_summaries、/v1/browse /v1/index /v1/reflect、?mode=reasoning、ダッシュボード [[T-XXXX]] linkify + backlinks、dist/skills/{claude-code,opencode,generic-stdio-mcp}/ 配布)
  • Phase 5 司書コミュニティ Bootstrap: 完了(librarian_instances / chat_threads / librarian_chat / librarian_tasks / quartet_assignments / external_findings、/v1/librarian/* API、emergency_stop キルスイッチ、8 役割 skill bundles、librarian-runner ハーネス。エージェント本体は委譲・スタブ)
  • Phase 6 自律実行 + 議論クォーテット: 完了(entry_tiers view、coordinator triage、quartet 提案。実エージェント発火は Phase 5 同様スタブ)
  • Phase 7 運用機能: 完了(VACUUM INTO バックアップ、dead-pool 自動アーカイブ、llm_usage_log、coverage/freshness メトリクス API)
  • e2e テスト: test/e2e/ 配下に kb-server + CLI + MCP + librarian-runner の通し動作確認

Phase 1 MVP の範囲

  • SQLite + FTS5 永続化
    • テーブル: projects / entries / tags / entry_history / users / api_tokens / audit_log
    • エントリの temporal validity(valid_from / valid_to / superseded_by / invalidation_reason)
    • version 列による楽観ロック (OCC) — PATCH 時に If-Match ヘッダで保