ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 qf-studio

navigator

始めたことを終わらせる——長く続くセッション、学習する AI、出荷される機能。コンテキストエンジニアリング + Theory of Mind + Knowledge Graph + Loop Mode + Task Mode。プロジェクト Knowledge Graph、統合ワークフロー、セッション開始時の自動更新、ToM ベースの検証チェックポイント、双方向モデリング、品質検出、拡張コンテキストマーカーを備え、実証済みの手法で token を 92% 削減します。Riedl と Weidmann の 2025 Human-AI Synergy research に基づきます。

翻訳済み

この mod について

Navigator

始めたことを終わらせる

続くセッション。学習する AI。出荷される機能。

MIT License Version


Navigator とは?

Navigator は、AI 支援開発のためのコンテキストエンジニアリングを実装する Claude Code plugin です。

ドキュメントを最初にすべて読み込み(そして 7 回目のやり取りでクラッシュする)のではなく、必要なときに必要なものを読み込み、コンテキストウィンドウの 94% を実作業に使えるようにします。

機能を途中でクラッシュせずに完了したい Claude Code ユーザー向けです。


抜け出せないループ

おなじみのパターンです。

5 回目:Claude が最近の変更を忘れる
7 回目:幻覚が始まる(「その関数は存在しない」)
8 回目:「コンテキスト上限に達しました」

再起動。再読み込み。すべてを説明し直す。繰り返し。

念のため、ドキュメントを 150k token 読み込みました。

使ったのは 8k。

残りは? 信号をかき消すノイズです。


ループを断ち切る

Navigator はコンテキストエンジニアリングを実装します。必要なときに必要なものを読み込みます。

| 指標 | Navigator なし | Navigator あり | |--------|-------------------|----------------| | 読み込む token | 150,000 | 12,000 | | セッション長 | 5-7 回 | 20+ 回 | | 終了時のコンテキスト | 95%(クラッシュ) | 35%(余裕あり) | | token 節約 | — | 92% |

結果:始めたことを実際に終えられるセッションです。


AI も賢くなる

Navigator v5.0 は Theory of Mind を追加し、Claude があなたを学習します。

nav-profile:セッションをまたいで好みを記憶

「簡潔な説明が好きだと覚えて」
→ 今後のセッションに適用
→ 修正から自動学習

nav-diagnose:協業のずれを検知

同じ修正が 2 回 → 品質チェックを起動
「理解できていない」 → 再アンカー用プロンプト

Loop Mode(v5.1):完了するまで実行

「完了するまで実行:ユーザー認証を追加」
→ 進捗追跡付きの構造化された完了
→ 二重条件の終了(ヒューリスティクス + 明示的シグナル)
→ 停滞検知で無限ループを防止

Knowledge Graph(v6.0):保持されるプロジェクトメモリ

「認証について何がわかっている?」
→ タスク、SOP、システムドキュメントを横断した統合検索
→ 経験メモリ:パターン、落とし穴、決定事項
→ セッション開始時に関連コンテキストを自動表示

同じワークフロー。より多くの能力。

Navigator はスーパーセットです。コンテキストエンジニアリングに加えて、必要なものをすべて備えます。

| 機能 | Navigator | その他 | |---------|-----------|--------| | 構造化ワークフロー | ✅ フルスキルスイート | ✅ | | コンポーネント生成 | ✅ | ✅ | | テスト生成 | ✅ | ✅ | | セッションの長さ | 20+ 回 | 5-7 回 | | token 節約 | 92% 検証済み | なし | | コード簡素化 | ✅ | ❌ | | Task Mode | ✅ | ❌ | | Theory of Mind | ✅ | ❌ | | Knowledge Graph | ✅ | ❌ | | TRIZ 発散的問題解決 | ✅ | ❌ | | Web 深掘り調査(引用付き、ゲート確認済み) | ✅ | ❌ | | Loop mode | ✅ | ❌ | | OpenTelemetry メトリクス | ✅ | ❌ | | Figma MCP integration | ✅ | ❌ |

同じ基盤。より優れたコンテキスト管理。


約束ではなく証拠

推定ではありません。OpenTelemetry で検証済みです。

╔══════════════════════════════════════════════════════╗
║          NAVIGATOR EFFICIENCY REPORT                 ║
╚══════════════════════════════════════════════════════╝

📊 TOKEN USAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Your project documentation:     150,000 tokens
Loaded this session:             12,000 tokens
Tokens saved:                   138,000 tokens (92% ↓)

📈 SESSION METRICS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Context usage:                        35% (excellent)
Efficiency score:                  94/100 (excellent)

確認するには:インストール後に /nav:stats を実行します。


クイックスタート

インストール

# Claude Code plugin marketplace
/plugin marketplace add qf-studio/navigator
/plugin install navigator

# Restart Claude Code

コードインテリジェンス(任意)。 技術スタック用の language-server plugin をインストールします(/plugin install pyright-lsp@claude-plugins-official、typescript-lsp、gopls-lsp、…。サーバーバイナリは PATH 上に必要です)。リサーチエージェントはテキスト検索ではなく、定義への移動、参照、アウトラインでシンボルについて回答します。未導入なら以前と同じく Grep を使います。このリポジトリでの測定では、「誰が呼び出すか」という質問が 9 リクエスト、284k コンテキスト token から 5 リクエスト、142k へ減り、呼び出し箇所の完全な一覧を保ちました。

初期化

「このプロジェクトで Navigator を初期化」

毎回のセッション開始

「Navigator セッションを開始」

以上です。Navigator が残りを処理します。


任意:Typed Prompt Judge

Navigator のループトリガー、複雑度、曖昧さの検出器はキーワードマッチャーです。TypeSafe key を使うと、型付き judge が追加されます(v7.7.0)。プロンプトごとに 1 リクエストを送り、確定的な回答は上書きし、それ以外はキーワードへフォールバックします。60 個のラベル付きプロンプトで測定したところ、tier の精度は 38 から 53 に上がりました。プロンプト本文が API に送られるため、デフォルトでは無効です。

export TYPESAFE_API_KEY=...      # または ~/.config/typesafe/api_key に書き込む (chmod 600)

次に enable judge と入力し、plugin root から python3 hooks/nav_hook_lib/judge.py --check を実行して確認します。設定とチューニングは .agent/sops/integrations/typesafe-judge-setup.md を参照してください。


得られるもの

自然言語で自動起動するスキル:

「Navigator セッションを開始」             → 92% savings のセッション
「profile 用の React component を作成」    → component + tests + styles
「posts の API endpoint を追加」           → endpoint + validation + tests
「コンテキストマーカーを作成:checkpoint」 → 97% context compression
「完了するまで実行:ダークモードを追加」   → Loop mode completion
「WebGPU browser support を深く調査」      → cited report + graph memories
「enable judge」                            → prompt gate 内の Typed Jev judgments

覚えるコマンドはありません。 スキルが意図を検出して実行します。


再起動をやめて、出荷を始める

セッションがクラッシュするのは、デフォルトのコンテキスト管理が壊れているからです。

Navigator はコンテキストエンジニアリングで解決します。Anthropic が推奨する原則と同じです。

92% token savings。20+ exchange sessions。検証済みメトリクス。

/plugin marketplace add qf-studio/navigator
/plugin install navigator

始めたことを終わらせる。


トラブルシューティング

Skill は読み込まれるが、実行せずドキュメントを表示する

/plugin update navigator

その後、再試行してください。プラグインのバージョンが古い状態です。


リンク

ライセンス

MIT License - LICENSE を参照

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add qf-studio/navigator
claude plugin install navigator
原文 / README

Navigator

Finish What You Start

Sessions that last. AI that learns. Features that ship.

MIT License Version


What is Navigator?

Navigator is a Claude Code plugin that implements context engineering for AI-assisted development.

Instead of loading all your documentation upfront (and crashing at exchange 7), Navigator loads what you need, when you need it—keeping 94% of your context window available for actual work.

For developers using Claude Code who want sessions that finish features instead of crash mid-way.


The Loop You're Stuck In

You know the pattern:

Exchange 5:  Claude forgets your recent changes
Exchange 7:  Hallucinations start ("that function doesn't exist")
Exchange 8:  "Context limit reached"

Restart. Reload. Re-explain everything. Repeat.

You loaded 150k tokens of documentation "just in case."

You used 8k.

The rest? Noise drowning out signal.


Break The Loop

Navigator implements context engineering—load what you need, when you need it.

| Metric | Without Navigator | With Navigator | |--------|-------------------|----------------| | Tokens loaded | 150,000 | 12,000 | | Session length | 5-7 exchanges | 20+ exchanges | | Context at end | 95% (crashed) | 35% (comfortable) | | Token savings | — | 92% |

Result: Sessions that actually finish what they start.


And Your AI Gets Smarter

Navigator v5.0 adds Theory of Mind—Claude learns you.

nav-profile: Remembers your preferences across sessions

"Remember I prefer concise explanations"
→ Applied in future sessions
→ Auto-learns from corrections

nav-diagnose: Catches collaboration drift

Same correction twice → Quality check triggered
"You're not getting this" → Re-anchoring prompt

Loop Mode (v5.1): Run until done

"Run until done: add user authentication"
→ Structured completion with progress tracking
→ Dual-condition exit (heuristics + explicit signal)
→ Stagnation detection prevents infinite loops

Knowledge Graph (v6.0): Project memory that persists

"What do we know about auth?"
→ Unified search across tasks, SOPs, system docs
→ Experiential memory: patterns, pitfalls, decisions
→ Auto-surfaces relevant context on session start

Same Workflows. More Capabilities.

Navigator is a superset. Everything you'd expect, plus context engineering.

| Feature | Navigator | Others | |---------|-----------|--------| | Structured workflows | ✅ Full skill suite | ✅ | | Component generation | ✅ | ✅ | | Test generation | ✅ | ✅ | | Session longevity | 20+ exchanges | 5-7 exchanges | | Token savings | 92% verified | None | | Code simplification | ✅ | ❌ | | Task Mode | ✅ | ❌ | | Theory of Mind | ✅ | ❌ | | Knowledge Graph | ✅ | ❌ | | TRIZ divergent solving | ✅ | ❌ | | Web deep research (cited, gate-checked) | ✅ | ❌ | | Loop mode | ✅ | ❌ | | OpenTelemetry metrics | ✅ | ❌ | | Figma MCP integration | ✅ | ❌ |

Same foundation. Superior context management.


Proof, Not Promises

Not estimates. Verified via OpenTelemetry.

╔══════════════════════════════════════════════════════╗
║          NAVIGATOR EFFICIENCY REPORT                 ║
╚══════════════════════════════════════════════════════╝

📊 TOKEN USAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Your project documentation:     150,000 tokens
Loaded this session:             12,000 tokens
Tokens saved:                   138,000 tokens (92% ↓)

📈 SESSION METRICS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Context usage:                        35% (excellent)
Efficiency score:                  94/100 (excellent)

Check yours: Run /nav:stats after installing.


Quick Start

Install

# Claude Code plugin marketplace
/plugin marketplace add qf-studio/navigator
/plugin install navigator

# Restart Claude Code

Code intelligence (optional). Install a language-server plugin for your stack (/plugin install pyright-lsp@claude-plugins-official, typescript-lsp, gopls-lsp, …; the server binary must be on your PATH) and the research agent answers symbol questions with go-to-definition, references and outlines instead of text search. Without one it uses Grep exactly as before. Measured on this repo: a who-calls question went from 9 requests and 284k context tokens to 5 requests and 142k, with the complete call-site list.

Initialize

"Initialize Navigator in this project"

Start Every Session

"Start my Navigator session"

That's it. Navigator handles the rest.


Optional: Typed Prompt Judge

Navigator's loop-trigger, complexity and ambiguity detectors are keyword matchers. With a TypeSafe key they get a typed judge behind them (v7.7.0): one request per prompt, decisive answers override, everything else falls back to the keywords. Measured on 60 labeled prompts, tier accuracy went from 38 to 53. Off by default because the prompt text is sent to the API.

export TYPESAFE_API_KEY=...      # or: write it to ~/.config/typesafe/api_key (chmod 600)

Then say enable judge and verify with python3 hooks/nav_hook_lib/judge.py --check from the plugin root. Setup and tuning: .agent/sops/integrations/typesafe-judge-setup.md.


What You Get

Skills that auto-invoke on natural language:

"Start my Navigator session"              → Session with 92% savings
"Create a React component for profile"    → Component + tests + styles
"Add an API endpoint for posts"           → Endpoint + validation + tests
"Create context marker: checkpoint"       → 97% context compression
"Run until done: add dark mode"           → Loop mode completion
"Deep research on WebGPU browser support"  → Cited report + graph memories
"Enable judge"                             → Typed Jev judgments behind the prompt gates

No commands to memorize. Skills detect intent and execute.


Stop Restarting. Start Shipping.

Your sessions crash because context management is broken by default.

Navigator fixes this with context engineering—the same principles Anthropic recommends.

92% token savings. 20+ exchange sessions. Verified metrics.

/plugin marketplace add qf-studio/navigator
/plugin install navigator

Finish what you start.


Troubleshooting

Skill loads but prints docs instead of executing

/plugin update navigator

Then retry. Outdated plugin version.


Links

License

MIT License - See LICENSE

関連作品