cli-hub-matrix-knowledge-research
What it does
This skill guides your agent through research and writing work, including searching sources, managing references, taking notes, and drafting documents. It is for students, researchers, and writers.
When to use it
- ✓When you need to find and organize sources for a research topic.
- ✓When you want notes or references kept in a structured way.
- ✓When you want a document drafted and published from your research.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/cli-hub-matrix/knowledge-research/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find recent sources on home battery storage, save the references, and draft a short summary document.”
5 new skills a week. 1 minute to read.
How it works
The skill checks which research and writing tools are available, then uses them together for each step. It can stick to offline tools when you ask for offline work.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Knowledge / Office / Research Matrix (S2 — v2 capability-based)
Scenario S2. Strongest coverage in the current ecosystem: search, reference management, notes, synthesis, documents, and diagrams all have first-party harnesses; Python/native fallbacks fill the rest.
Schema: docs/cli-matrix/matrix_registry.schema.md. Matrix plan: docs/cli-matrix/cli-matrix-plan.md.
Install
cli-hub matrix install knowledge-research
cli-hub matrix info knowledge-research
cli-hub matrix preflight knowledge-research --json
Provider selection constraints
- Use preflight as an availability report, not as a provider selector.
- Treat provider order as documentation order only.
- Choose from user requirements, output quality bar, offline needs, credential state, install cost, and provider notes.
- Escalate to paid or metered APIs only when credentials are already present or the user explicitly consents.
Offline context? Filter to offline: true providers.
Preflight
Run cli-hub matrix preflight knowledge-research --json first. Use the manual block below for extra probes or older cli-hub versions.
cli-hub list --json
python - <<'PY'
import importlib.util
for m in ("pyzotero","bibtexparser","trafilatura","readability","httpx","playwright",
"python_docx","openpyxl","pptx","reportlab","pypdf","pdfplumber","weasyprint",
"langchain","llama_index","haystack"):
print(m, importlib.util.find_spec(m) is not None)
PY
for b in pandoc qpdf pdftk exiftool latexmk tex dot mermaid plantuml hugo mkdocs jekyll; do
command -v "$b" >/dev/null && echo "$b: yes" || echo "$b: no"
done
for e in OPENAI_API_KEY ANTHROPIC_API_KEY GOOGLE_API_KEY PERPLEXITY_API_KEY TAVILY_API_KEY \
SERPAPI_API_KEY BRAVE_API_KEY FIRECRAWL_API_KEY \
NOTION_API_KEY SEMANTIC_SCHOLAR_API_KEY WORDPRESS_TOKEN GHOST_ADMIN_KEY; do
[ -n "${!e}" ] && echo "$e: set" || echo "$e: unset"
done
Suggest-to-user template
To enable <capability> via <provider>, please set <ENV_VAR>.
Cost: <cost notes>
Quality: <quality tier>
Reply 'skip' to fall back to <next provider>.
Example: To enable live Notion sync via the Notion API, please set NOTION_API_KEY. Cost: free tier suffices for most users. Quality: sota (round-trips block/page IDs). Reply 'skip' to fall back to local Obsidian vault + manual paste.
Capabilities
research.search — web / literature search
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
cli-anything-exa |
harness-cli | EXA_API_KEY |
metered | sota | no |
cli-anything-browser / safari / clibrowser |
harness-cli | browser installed | free | high | no |
duckduckgo-search |
python | pkg | free | good | no |
googlesearch-python |
python | pkg | free | good | no |
| Perplexity API | api | PERPLEXITY_API_KEY |
paid | sota | no |
| Tavily | api | TAVILY_API_KEY |
metered | high | no |
| Brave Search | api | BRAVE_API_KEY |
metered | good | no |
| Google Custom Search | api | GOOGLE_API_KEY |
metered | high | no |
research.retrieve — fetch article text / scrape pages
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
cli-anything-browser / safari / clibrowser |
harness-cli | harness installed | free | high | no |
trafilatura |
python | pkg | free | high | yes |
readability-lxml |
python | pkg | free | good | yes |
httpx + manual parse |
python | pkg | free | basic | yes |
playwright |
python | pkg + browsers | free | sota | no |
| Firecrawl | api | FIRECRAWL_API_KEY |
metered | sota | no |
| ScrapingBee | api | SCRAPINGBEE_API_KEY |
paid | high | no |
research.reference — citations, BibTeX, references
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
cli-anything-zotero |
harness-cli | Zotero installed | free | sota | yes |
pyzotero |
python | pkg + Zotero key | free | high | no |
habanero (Crossref) |
python | pkg | free | high | no |
bibtexparser |
python | pkg | free | good | yes |
| Crossref REST | api | none | free | high | no |
| Semantic Scholar | api | SEMANTIC_SCHOLAR_API_KEY (optional) |
free | high | no |
knowledge.note — note-taking / PKM
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
| `cli-anything-obs |
FAQ
What kinds of tools does it use?
It uses a mix of command-line harnesses, public tools, Python libraries, and cloud services, depending on what is available.
Does it need paid services?
It uses paid or metered services only when credentials are already set up or you explicitly agree.
Can I limit it to offline tools?
Yes, you can filter to offline tools for offline work.
Details
Original description by the author
Capability-based multi-tool matrix for research, note-taking, document authoring, and publishing. Agents compose providers (CLI-Anything harnesses, public CLIs, Python libs, native binaries, cloud APIs) per capability.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3192
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.