AK

aka-kika/the-librarian

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

44 stars 品質 84 トレンド 14MIT

スキルの司書 MCP サーバー — インストールされたスキル コスト トークン; 司書者は、エージェントのコンテキストからコレクション全体を維持します.

概要

「インターネットよりも良いことを知ったのは良いことです。 クロードコードで最高のワークフローは何ですか? スキルを身につけるだけで、ベストを選ぶの? もっと良いですか? もっと少ないですか? 答え:すべてのインストールされたスキルはトークンを費やし、攻撃的な曖昧さを追加します。50スキル、説明は重複し、誤った1つの火災。 8つの鋭いものでは、トリガーはほぼ決定的です。 しかし、コレクションは3,000人でした。 だから、それらのいずれかをインストールする代わりに:コレクションを司書者に与えます。 - find skill(intent) → ライブラリの推奨事項 - エージェントは、スキルを使用して、作業を行います - Report outcome(skill、働いた:true/false、メモ) → ライブラリログ 「詩的な部分: 司書はそれ自体のキュレーションループです。 すべてのクエリをログにし、VSが無視されたもの - 表面があなたのキル候補であり、あなたのギャップが何も一致するクエリ。 このコレクションは、独自の使用データから最適化されます.

概要(AI 翻訳)

** スキルの司書 MCP サーバー — エージェントは、文脈内のスキルコレクション全体を運ぶのを止め、右記の依頼を開始します。**

使い方

チャットでの質問:

「インターネットよりも良いことをよく知る」 クロードコードで最高のワークフローは何ですか? スキルを身につけるだけで、ベストを選ぶの? もっと良いですか? もっと少なくなる?

お問い合わせ すべてのインストールされたスキルはトークンを費やし、攻撃的な曖昧さを追加します。50スキル、説明は重複し、誤った1つの火災。 8つの鋭いものでは、トリガーはほぼ決定的です。

しかし、コレクションは3,000人でした。 だから、それらのいずれかをインストールする代わりに:コレクションを司書者に与えます。

  • [librarian_find(intent)] → 司書推薦
  • エージェントはスキルを使用しています。
  • [librarian_report(skill, worked: true/false, note)] → ライブラリログ

「詩的な部分:司書自体は、キュレーションループです。 すべてのクエリをログにし、VSが無視されたもの - 表面があなたのキル候補であり、あなたのギャップが何も一致するクエリ。 収集は、独自の使用データから最適化されます。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

the_librarian

A skill librarian MCP server — your agents stop carrying the whole skill collection in context and start asking for the one right book.

How it started

One question in a chat:

“I’m sure you know better than the internet what you need to get better. What’s the best workflow with Claude Code? Installing skills and just you pick the best? More the better? Less is more?”

The answer: less is more. Every installed skill costs tokens and adds triggering ambiguity — with 50 skills, descriptions overlap and the wrong one fires; with 8 sharp ones, triggering is nearly deterministic.

But the collection had ~3,000. So instead of installing any of them: give the collection a librarian.

  • librarian_find(intent) → librarian recommends
  • agent uses the skill, does the work
  • librarian_report(skill, worked: true/false, note) → librarian logs it

“The poetic part: the librarian is itself the curation loop. Log every query and what got picked vs ignored — skills that never surface are your kill candidates, queries that match nothing are your gaps. The collection optimizes itself from its own usage data.”

“So the full shape: SQLite (skills, embeddings, query log, outcome log) + FastMCP + two read tools + one write tool. Maybe 300 lines of Python. It’s small, it’s one thing, and it compounds.”

It’s 1067 lines now. Scope creep found even the librarian. The original conversation — typed poolside on a phone, typos preserved on purpose — is in ORIGIN.md.

What it is

A local-first MCP server that acts as a librarian between coding agents and a large skill collection. The collection stays raw markdown on disk — agents never load it into context. They describe what they’re trying to do in plain language; the librarian finds the skills whose meaning matches (semantic search — no keyword guessing), makes sure the shortlist isn’t three flavors of the same thing, avoids repeating what it just recommended, optionally lets Apple’s on-device model deliberate over the finalists — and learns from what agents report back.

Core principle: agents read recommendations, write only outcomes. They never edit skills, weights, or rankings. Curation decisions stay with the human, informed by librarian_stats.

Every stage is local and free: Ollama embeddings, SQLite, and (optionally) Apple Intelligence.

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add aka-kika/the-librarian
MCP 初心者?mcpskill.org のガイドから始めましょう →