← Back to list

docs-search
by JagjeevanAK
A locally-running documentation oracle that indexes web docs and injects relevant snippets into Claude Code context.
⭐ 1🍴 1📅 Jan 24, 2026
SKILL.md
name: docs-search description: Search indexed documentation for relevant information. Use when the user asks about libraries, frameworks, APIs, or needs code examples from official docs.
docs-search
Search indexed documentation for relevant information using mem-oracle.
When to Use
Use this skill when the user asks about:
- How to use a specific library, framework, or API
- Documentation for a package or tool
- Best practices from official docs
- Code examples from documentation
- Configuration or setup guides
How to Use
- First check if the worker is running by making a health check
- Use the retrieve endpoint to search for relevant documentation
- Present the results with source URLs
API Endpoints
Base URL: http://127.0.0.1:7432
Health Check
curl http://127.0.0.1:7432/health
Search Documentation
curl -X POST http://127.0.0.1:7432/retrieve \
-H "Content-Type: application/json" \
-d '{"query": "your search query", "topK": 5}'
Index New Documentation
To index a new documentation site:
curl -X POST http://127.0.0.1:7432/index \
-H "Content-Type: application/json" \
-d '{"baseUrl": "https://docs.example.com", "seedSlug": "/getting-started"}'
Check Indexing Status
curl http://127.0.0.1:7432/status
Example Queries
- "How do I use server components in Next.js?"
- "What are the best practices for React hooks?"
- "How to configure TypeScript paths?"
- "Explain Tailwind CSS dark mode setup"
Response Format
Results include:
title: Page titleheading: Section heading (if available)content: Relevant text snippeturl: Source documentation URLscore: Relevance score (0-1)
Indexing Documentation URLs
When you encounter a documentation URL in the conversation, you can index it:
# Index Next.js docs
curl -X POST http://127.0.0.1:7432/index \
-H "Content-Type: application/json" \
-d '{"baseUrl": "https://nextjs.org", "seedSlug": "/docs/app"}'
# Index React docs
curl -X POST http://127.0.0.1:7432/index \
-H "Content-Type: application/json" \
-d '{"baseUrl": "https://react.dev", "seedSlug": "/reference"}'
Troubleshooting
If the worker is not responding:
- Check if it's running:
curl http://127.0.0.1:7432/health - View logs:
tail -f ~/.mem-oracle/worker.log - Start manually:
cd /path/to/mem-oracle && bun run worker
Score
Total Score
75/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


