Cli Hub Matrix Knowledge Research logo

Cli Hub Matrix Knowledge Research

OrganizationPopular
HKUDS
cli-hub-matrix-knowledge-research

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.

Overview

PublisherHKUDS
RepositoryCLI-Anything
Skill namecli-hub-matrix-knowledge-research
Stars
49.5K
Forks
4.6K
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by HKUDS on GitHub. Read the source before you install it.

Installation

Install the Cli Hub Matrix Knowledge Research AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything
mkdir -p .claude/skills
cp -r /tmp/CLI-Anything/cli-hub-matrix/knowledge-research .claude/skills/cli-hub-matrix-knowledge-research
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cli Hub Matrix Knowledge Research in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cli Hub Matrix Knowledge Research on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cli Hub Matrix Knowledge Research is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

bash
cli-hub matrix install knowledge-research
cli-hub matrix info    knowledge-research
cli-hub matrix preflight knowledge-research --json

Provider selection constraints

  1. Use preflight as an availability report, not as a provider selector.
  2. Treat provider order as documentation order only.
  3. Choose from user requirements, output quality bar, offline needs, credential state, install cost, and provider notes.
  4. 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.

bash
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

ProviderKindRequiresCostQualityOffline
cli-anything-exaharness-cliEXA_API_KEYmeteredsotano
cli-anything-browser / safari / clibrowserharness-clibrowser installedfreehighno
duckduckgo-searchpythonpkgfreegoodno
googlesearch-pythonpythonpkgfreegoodno
Perplexity APIapiPERPLEXITY_API_KEYpaidsotano
TavilyapiTAVILY_API_KEYmeteredhighno
Brave SearchapiBRAVE_API_KEYmeteredgoodno
Google Custom SearchapiGOOGLE_API_KEYmeteredhighno

research.retrieve — fetch article text / scrape pages

ProviderKindRequiresCostQualityOffline
cli-anything-browser / safari / clibrowserharness-cliharness installedfreehighno
trafilaturapythonpkgfreehighyes
readability-lxmlpythonpkgfreegoodyes
httpx + manual parsepythonpkgfreebasicyes
playwrightpythonpkg + browsersfreesotano
FirecrawlapiFIRECRAWL_API_KEYmeteredsotano
ScrapingBeeapiSCRAPINGBEE_API_KEYpaidhighno

research.reference — citations, BibTeX, references

ProviderKindRequiresCostQualityOffline
cli-anything-zoteroharness-cliZotero installedfreesotayes
pyzoteropythonpkg + Zotero keyfreehighno
habanero (Crossref)pythonpkgfreehighno
bibtexparserpythonpkgfreegoodyes
Crossref RESTapinonefreehighno
Semantic ScholarapiSEMANTIC_SCHOLAR_API_KEY (optional)freehighno

knowledge.note — note-taking / PKM

ProviderKindRequiresCostQualityOffline
cli-anything-obsidianharness-cliObsidian installedfreesotayes
cli-anything-mubuharness-cliMubu installedfreehighno
obsidian-clipublic-clibin + vault pathfreehighyes
raw markdown + gitnativegitfreegoodyes
mdformatpythonpkgfreegoodyes
Notion APIapiNOTION_API_KEYfreesotano
Roam / Logseq sync

knowledge.outline — outlining

ProviderKindRequiresCostQualityOffline
cli-anything-mubuharness-cliMubu installedfreehighno
OPML via lxmlpythonpkgfreegoodyes
YAML outlines + yqnativebinaryfreegoodyes

knowledge.synthesize — multi-doc synthesis / summarization

ProviderKindRequiresCostQualityOffline
cli-anything-notebooklmharness-cliharness installedmeteredsotano
cli-anything-intelwatchharness-cliharness installedfree-meteredhighpartial
langchain / llama_index + local LLMpythonpkg + ollamafreehighyes
haystackpythonpkgfreegoodpartial
Claude / OpenAI / Gemini (long context)apimodel keymeteredsotano

document.author — write docs (DOCX, XLSX, PPTX, PDF)

ProviderKindRequiresCostQualityOffline
cli-anything-libreofficeharness-cliLibreOffice installedfreehighyes
cli-anything-anygenharness-cliharness installedfreehighyes
python-docx / openpyxl / python-pptx / reportlabpythonpkgfreegoodyes
Google Docs APIapiOAuth tokenmeteredsotano
Microsoft GraphapiAzure app + tokenmeteredsotano

document.format — convert / reformat

ProviderKindRequiresCostQualityOffline
pandocnativebinaryfreesotayes
cli-anything-libreoffice (headless convert)harness-cliLibreOfficefreehighyes
docx2pdfpythonpkg + Word/LOfreegoodyes
weasyprintpythonpkgfreehighyes
CloudConvertapiCLOUDCONVERT_API_KEYmeteredsotano

document.pdf — manipulate PDFs (split, merge, OCR, extract)

ProviderKindRequiresCostQualityOffline
qpdf / pdftknativebinaryfreesotayes
pypdfpythonpkgfreehighyes
pdfplumberpythonpkgfreehighyes
pdf2imagepythonpkg + popplerfreegoodyes
ocrmypdfnativebinary + tesseractfreehighyes
Adobe PDF ServicesapiAdobe credspaidsotano

diagram.create — diagrams, flowcharts, architecture

ProviderKindRequiresCostQualityOffline
cli-anything-drawioharness-clidrawio installedfreesotayes
cli-anything-mermaidharness-climermaid-clifreehighyes
graphviz (dot)nativebinaryfreehighyes
plantumlnativebinaryfreehighyes

publish.web — publish articles / blog posts

ProviderKindRequiresCostQualityOffline
contentfulpublic-clibin + space tokenmeteredhighno
sanitypublic-clibin + project tokenmeteredhighno
hugo / mkdocs / jekyll / pelicannative/pythonbinary/pkgfreehighyes
WordPress RESTapiapp passwordfreehighno
Ghost AdminapiGHOST_ADMIN_KEYfreehighno
Medium (legacy)apitokenfreegoodno

publish.latex — build PDFs from LaTeX

ProviderKindRequiresCostQualityOffline
latexmk + texlivenativebinariesfreesotayes
pylatexpythonpkg + texlivefreehighyes
Overleaf APIapiOVERLEAF_API_KEYpaidsotano
Tectonicnativebinaryfreehighyes

Recipes

  • literature-review — survey a topic, extract key papers, synthesize. Uses: research.search, research.retrieve, research.reference, knowledge.synthesize, document.author.

  • meeting-to-doc — turn a recorded meeting into a structured document. Uses: text.transcribe (via S1 matrix), knowledge.synthesize, document.author, document.format.

  • blog-post — research → write → publish. Uses: research.search, research.retrieve, knowledge.synthesize, document.author, publish.web.

  • paper-draft — research + citations + LaTeX. Uses: research.reference, knowledge.synthesize, document.author, publish.latex.

  • competitive-brief — fetch competitor pages, extract positioning, produce a briefing deck. Uses: research.retrieve, knowledge.synthesize, document.author (PPTX).

  • pdf-book-digest — ingest a PDF book, OCR if needed, produce chapter summaries + quote file. Uses: document.pdf, knowledge.synthesize, knowledge.note.


Known gaps

  • Notion — Notion API exists as an escalation, but there is no harness for local-first Notion workflows. Recurs in S11 (team comms).
  • Google Docs / Microsoft 365 live editing — API path only.
  • LaTeX harnesslatexmk + Tectonic cover the native path, but no agent-native wrapper yet.
  • Translation — no first-party CLI; Python fallback and APIs only.

Agent guidance

  • Run preflight once per session. Many capabilities have strong Python or native paths that bypass the need to install anything.
  • Prefer local for sensitive docs (legal, health, internal): use Obsidian + local LLM + whisper rather than cloud APIs.
  • Citations are load-bearing — for academic work always route through research.reference so bibliographies stay consistent.
  • Chain document.format at the end, not the middle: author in the richest source format (markdown or LaTeX) and convert last.
  • Workspace discipline — one directory per project; keep refs.bib, source markdown, figures, and output PDFs colocated.

Frequently asked questions

What does the Cli Hub Matrix Knowledge Research AI skill do?

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.

Why use Cli Hub Matrix Knowledge Research on TypingMind?

Because you install it once and use it with any model. Cli Hub Matrix Knowledge Research is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cli Hub Matrix Knowledge Research in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HKUDS/CLI-Anything/tree/main/cli-hub-matrix/knowledge-research. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cli Hub Matrix Knowledge Research?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cli Hub Matrix Knowledge Research?

As many as you like. As long as a model supports skills, you can use Cli Hub Matrix Knowledge Research with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cli Hub Matrix Knowledge Research AI skill free?

Yes. It is published on GitHub by HKUDS under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇