research-libraryLocal-first multimedia research library for hardware projects. Capture code, CAD, PDFs, images. Search with material-type weighting. Project isolation with cross-references. Async extraction. Backup + restore.
Install via ClawdBot CLI:
clawdbot install Jonbuckles/research-libraryA local-first multimedia research library for capturing, organizing, and searching hardware project knowledge.
clawhub install research-library
# OR
pip install /path/to/research-library
# Initialize database
reslib status
# Add a project
reslib add ~/projects/arduino/servo.py --project arduino --material-type reference
# Search
reslib search "servo tuning"
# Link knowledge
reslib link 5 12 --type applies_to
reslib add β Import documents (auto-detect + extract)reslib search β Full-text search with filtersreslib get β View document detailsreslib archive / reslib unarchive β Manage documentsreslib export β Export as JSON/Markdownreslib link β Create document relationshipsreslib projects β Manage projectsreslib tags β Manage tagsreslib status β System overviewreslib backup / reslib restore β Snapshotsreslib smoke_test.sh β Quick validationCopy reslib/config.json and customize:
{
"db_path": "~/.openclaw/research/library.db",
"num_workers": 2,
"worker_timeout_sec": 300,
"max_retries": 3,
"backup_retention_days": 30,
"backup_dir": "~/.openclaw/research/backups",
"file_size_limit_mb": 200,
"project_size_limit_gb": 2
}
Use RL1 protocol in war room DNA:
from reslib import ResearchDatabase, ResearchSearch
db = ResearchDatabase()
search = ResearchSearch(db)
# Before researching, check existing knowledge
prior = search.search("servo tuning", project="rc-quadcopter")
if prior:
print(f"Found {len(prior)} prior items")
else:
# New research needed...
db.add_research(title="...", content="...", ...)
All targets exceeded:
| Operation | Target | Actual |
|-----------|--------|--------|
| PDF extraction | <100ms | 20.6ms |
| Search (50 docs) | <100ms | 0.33ms |
| Worker throughput | >6/sec | 414.69/sec |
# Run all tests
pytest tests/
# Quick smoke test
bash reslib/smoke_test.sh
# Performance tests
pytest tests/test_integration.py -v -k stress
See /docs/:
CLI-REFERENCE.md β All commands + examplesEXTRACTION-GUIDE.md β How extraction worksSEARCH-GUIDE.md β Ranking + weightingWORKER-GUIDE.md β Async queue detailsINTEGRATION.md β War room RL1 protocolcd research-library
pip install -e .
pytest tests/
python -m reslib status
Issues? See TECHNICAL-NOTES.md for troubleshooting.
Production-ready MVP. 214 tests passing. 15K lines. Ready to use.
AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.
This skill should be used when users need to search the web for information, find current content, look up news articles, search for images, or find videos. It uses DuckDuckGo's search API to return results in clean, formatted output (text, markdown, or JSON). Use for research, fact-checking, finding recent information, or gathering web resources.
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
Search indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that only exist in Discord conversations.
Multi search engine integration with 17 engines (8 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.