据 AlphaMoat 统计,截至 2026-09,Research Library 累计下载 2,720 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,933 位,在「知识管理」分类(442 个)中排名第 338 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 79 | 2,566 | 1 | - |
| SkillHub ↗ | 135 | 2,720 | 1 | — |
各平台的计数口径不同,统计时间不一致。
该SQLite资料库按项目隔离文档,支持全文搜索、交叉引用、异步提取、备份和恢复。网页研究需手动添加,不会自动抓取。不可信URL可能访问危险网络位置,导出也可能包含敏感信息;分享前应检查来源和文件。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 2,720 | — | 1 |
| 2026-08 | 2,452 | +5.6% | 1 |
| 2026-07 | 2,323 | +11.6% | 1 |
| 2026-06 | 2,081 | +7.8% | 1 |
| 2026-05 | 1,930 | — | 1 |
| 2026-03 | 1,378 | — | 1 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: research-library description: Local-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. version: 0.1.0 author: Sage (for Jon Buckles) license: MIT tags: - knowledge-management - research - hardware
- documentation
- sqlite
- fts5
repository: https://github.com/[user]/research-library
keywords:
- library
- search
- extraction
- project-management
- knowledge-base
---
# Research Library Skill
A local-first multimedia research library for capturing, organizing, and searching hardware project knowledge.
## What It Does
- **Store documents** — Code, PDFs, CAD files, images, schematics
- **Extract automatically** — Text from PDFs, EXIF from images, functions from code
- **Search intelligently** — Full-text with material-type weighting (your work ranks higher than external research)
- **Project isolation** — Arduino separate from CNC; no contamination
- **Cross-reference** — Link knowledge: "this servo tuning applies to that project"
- **Async extraction** — Searches never block while OCR runs
- **Backup daily** — 30-day rolling snapshots
## Installation
```bash
clawhub install research-library
# OR
pip install /path/to/research-library
```
## Quick Start
```bash
# 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
```
## Features
### CLI Commands
- `reslib add` — Import documents (auto-detect + extract)
- `reslib search` — Full-text search with filters
- `reslib get` — View document details
- `reslib archive` / `reslib unarchive` — Manage documents
- `reslib export` — Export as JSON/Markdown
- `reslib link` — Create document relationships
- `reslib projects` — Manage projects
- `reslib tags` — Manage tags
- `reslib status` — System overview
- `reslib backup` / `reslib restore` — Snapshots
- `reslib smoke_test.sh` — Quick validation
### Technical
- **Storage:** SQLite 3.45+ with FTS5 virtual table
- **Extraction:** PDF (pdfplumber + OCR), images (EXIF + OCR), code (AST + regex)
- **Confidence Scoring:** 0.0-1.0 based on quality + source
- **Material Weighting:** Reference (1.0) vs Research (0.5)
- **Project Isolation:** Scoped searches, no contamination
- **Async Workers:** 2-4 configurable extraction workers
- **Catalog Separation:** real_world vs openclaw projects
- **Backup:** Daily snapshots, 30-day retention
## Configuration
Copy `reslib/config.json` and customize:
```json
{
"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
}
```
## Integration with War Room
Use RL1 protocol in war room DNA:
```python
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="...", ...)
```
## Performance
All targets exceeded:
| Operation | Target | Actual |
|-----------|--------|--------|
| PDF extraction | <100ms | 20.6ms |
| Search (50 docs) | <100ms | 0.33ms |
| Worker throughput | >6/sec | 414.69/sec |
## Testing
```bash
# Run all tests
pytest tests/
# Quick smoke test
bash reslib/smoke_test.sh
# Performance tests
pytest tests/test_integration.py -v -k stress
```
## Known Limitations (Phase 2)
- OCR quality varies on hand-drawn sketches
- FTS5 designed for <10K documents (PostgreSQL path for scale)
- No automatic web research gathering (manual only)
- Vector embeddings ready but inactive
- CAD file parsing is metadata-only
## Documentation
See `/docs/`:
- `CLI-REFERENCE.md` — All commands + examples
- `EXTRACTION-GUIDE.md` — How extraction works
- `SEARCH-GUIDE.md` — Ranking + weighting
- `WORKER-GUIDE.md` — Async queue details
- `INTEGRATION.md` — War room RL1 protocol
## Phase 2 Roadmap
- Real-world PDF calibration
- FTS5 scaling tests (10K docs)
- Auto-detection (reference vs research)
- Web research enrichment
- Vector embeddings (semantic search)
- PostgreSQL upgrade path
## Building From Source
```bash
cd research-library
pip install -e .
pytest tests/
python -m reslib status
```
## Support
Issues? See TECHNICAL-NOTES.md for troubleshooting.
---
*Production-ready MVP. 214 tests passing. 15K lines. Ready to use.*
把长文本、文档与网页内容压缩成要点和关键词的摘要工具。
通过 IMA OpenAPI 管理笔记与知识库内容。
规定如何为网页请求选择合适工具的必读指引。
调用百度 AI 搜索接口做网页检索的技能。
用 uvx 直接调用 markitdown,把各类文件转成 Markdown。
面向 OpenClaw 的默认网页搜索,实时检索多个引擎。
用 DuckDuckGo 接口做网页、新闻、图片与视频检索的技能。
检索并发现可用 OpenClaw 技能的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。