AGENT SKILL
知识资料管理
Librarian
暂无简介
- License 许可
- MIT
- 所属仓库
- matt-fell-ai/PAI
- 最近更新
- 2025-12-20
- Stars
- ★ 1
- Forks
- 0
02 资源文件 8
- 参考文档agents.md229 B
- 参考文档context-discovery.md1.6 KB
- 参考文档examples.md2.4 KB
- 参考文档pattern-selection.md2.6 KB
- 参考文档patterns-reference.md2.3 KB
- 参考文档tools/agents.md85 B
- 脚本tools/librarian.py1.9 KB
- 参考文档trade-off-analysis.md1.5 KB
03 SKILL.md 正文
Librarian Skill - Semantic Memory & Knowledge Retrieval
| name | description |
|---|---|
| librarian | Deep search and retrieval across the entire PAI knowledge base (History, Skills, Memory). USE WHEN you need to find past solutions, conceptually related code, or project context. |
The Key Insight
History is useless if you can't find the right moment. Librarian provides a "Search Layer" above raw files. It understands that "OAuth" and "Authentication" are related, ensuring you never rebuild a wheel you've already perfected.
Usage
Concept Search
pai run Librarian search "How do I handle state?"
Context Retrieval
pai run Librarian context "project-x"
How it Works
It builds a local index of the History/ system. It utilizes ripgrep (if available) or Python's os.walk with weighted keyword matching to find the most relevant files across different subdirectories (Sessions, Learnings, Execution).
Strategic Value
- Zero-Waste Development: Instantly find how you solved a similar problem 3 months ago.
- Onboarding: Quickly get up to speed on a project's history by searching for the "Story".
- Concept Linking: Automatically links new tasks to past relevant decisions.
04 同仓库更多 Skills
Wallet 钱包技能
Wallet
暂无简介
★ 1
Voice 语音技能
Voice
用于 voice 的 PAI 模块化技能。当您需要 voice 相关能力时使用。
★ 1
Visionary 愿景技能
Visionary
暂无简介
★ 1
Vibe 氛围技能
Vibe
用于 vibe 的 PAI 模块化技能。当您需要 vibe 相关能力时使用。
★ 1
Vault 保管库技能
Vault
用于 vault 的 PAI 模块化技能。当您需要 vault 相关能力时使用。
★ 1
UFC
暂无简介
★ 1