Agent skill

CLI Hub Matrix Knowledge Research

by HKUDS in HKUDS/CLI-Anything

Capability-based multi-tool matrix for research, note-taking, document authoring, and publishing.

Apache-2.0Auto-check passedKnowledge Management

Install CLI Hub Matrix Knowledge Research

skills CLI
$ npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/CLI-Anything cli-hub-matrix-knowledge-research --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-hub-matrix/knowledge-research .claude/skills/cli-hub-matrix-knowledge-research && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-hub-matrix-knowledge-research
GitHub stars
52k
Token cost
~2.8k tokens
SKILL.md length
985 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Apache-2.0

At a glance

Capability-based multi-tool matrix for research, note-taking, document authoring, and publishing.

  • Works in 4 steps: Use preflight as an availability report,… → Treat provider order as documentation… → Choose from user requirements, output… → …
  • Tasks that involve Note-taking
  • SKILL.md covers Install, Provider selection constraints, Preflight and Suggest-to-user template, plus 4 more sections
  • Calls python; needs NOTION_API_KEY and PERPLEXITY_API_KEY

What it does

CLI Hub Matrix Knowledge Research is an agent skill from HKUDS/CLI-Anything. 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.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management, covering Note-taking and Diagrams. It works with Python and Notion. The repository describes itself as: "CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Note-taking
  • Tasks that involve Diagrams

Example prompts

  • “/cli-hub-matrix-knowledge-research”

Requirements

  • Python 3
  • A credential in OPENAI_API_KEY
  • A credential in ANTHROPIC_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 34f5195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NOTION_API_KEY
    • PERPLEXITY_API_KEY
    • TAVILY_API_KEY
    • BRAVE_API_KEY
    • GOOGLE_API_KEY
    • FIRECRAWL_API_KEY
    • SEMANTIC_SCHOLAR_API_KEY
    • GHOST_ADMIN_KEY
    • EXA_API_KEY
    • SCRAPINGBEE_API_KEY
    • CLOUDCONVERT_API_KEY
    • OVERLEAF_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CLI Hub Matrix Knowledge Research loads about 2.8k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 985 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HKUDS/CLI-Anything at commit 34f5195, republished under its Apache-2.0 licence (© HKUDS). 985 words, ~2,752 tokens.

Download SKILL.mdSave it as .claude/skills/cli-hub-matrix-knowledge-research/SKILL.md (or your agent's skills folder).
name
cli-hub-matrix-knowledge-research
description
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.

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

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
Show full SKILL.md (412 more words)Show less
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 harness — latexmk + 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.

© HKUDS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-hub-matrix/knowledge-research of HKUDS/CLI-Anything.

Open the folder on GitHubat commit 34f5195

Compare with similar skills

CLI Hub Matrix Knowledge Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CLI Hub Matrix Knowledge Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CLI Hub Matrix Knowledge Research this skillHKUDS/CLI-Anything52k—~2.8kAutomated safety check: PassApache-2.0
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Knowledge Base From Vaultskrun-dev/skrun210—~1.4kAutomated safety check: PassMIT
Kb Refreshtechwolf-ai/ai-first-toolkit1321 repos~1.3kAutomated safety check: PassMIT
YouTube Talk Notetakerdair-ai/dair-academy-plugins614—~2.3kAutomated safety check: PassMIT
FIRE Card to EPUBtwhsi/skills259—~1kAutomated safety check: PassNone

Similar skills

  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Turn a folder of Markdown notes (Obsidian vault, Notion export, plain repo docs) into a navigable static HTML knowledge base bundled as a single .zip file.

    210 GitHub stars~1.4k tokensUpdated 16 days ago
    Knowledge ManagementAuto-check passed
  • Kb Refresh

    techwolf-ai/ai-first-toolkit

    Add new sources to your knowledge base or re-scrape existing ones to pick up changes.

    132 GitHub starsUsed in 1 repo~1.3k tokens
    Knowledge ManagementAuto-check passed
  • YouTube Talk Notetaker

    dair-ai/dair-academy-plugins

    Converts a YouTube talk into a markdown study note with slide images, a timestamped transcript and editable notes, browsable through a small local server.

    614 GitHub stars~2.3k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed
  • FIRE Card to EPUB

    twhsi/skills

    Converts FIRE analysis cards or project-note JSON into a validated EPUB book with directory, chapter and keyword index cards and backlinks.

    259 GitHub stars~1k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Granola Migration Deep Dive

    jeremylongshore/tons-of-skills-marketplace

    Migrate to Granola from Otter.ai, Fireflies, Fathom, tl;dv, or manual note-taking.

    2.8k GitHub stars~2.4k tokensUpdated today
    Knowledge ManagementAuto-check passed

More from HKUDS/CLI-Anything

All 78 skills in this repo
  • CLI-Anything for Codex

    HKUDS/CLI-Anything

    Lets Codex build, refine, test, validate and list CLI-Anything harnesses for GUI applications or source repositories, following the project's full methodology.

    52k GitHub stars~1.5k tokensUpdated 16 days ago
    Auto-check passed
  • CLI-Anything for Reasonix

    HKUDS/CLI-Anything

    Adapts the CLI-Anything methodology so Reasonix can build, refine, test and validate a command-line harness for an existing GUI application or source repository.

    52k GitHub stars~1.8k tokensUpdated 16 days ago
    Auto-check passed
  • Guides Hermes Agent through building, refining and testing a CLI-Anything harness that wraps a GUI application or source repository in a scriptable command line.

    52k GitHub stars~1.1k tokensUpdated 16 days ago
    Auto-check passed
  • Builds, refines, tests or validates a CLI-Anything harness that wraps a GUI application or source repository as a stateful Click CLI with JSON output and a REPL mode.

    52k GitHub stars~839 tokensUpdated 16 days ago
    Auto-check passed
  • Krita CLI Harness

    HKUDS/CLI-Anything

    Drives Krita from the command line to create projects, add layers, apply filters, resize the canvas and export images, with JSON output for agents.

    52k GitHub stars~931 tokensUpdated 16 days ago
    Auto-check passed
  • MacroCLI GUI Macros

    HKUDS/CLI-Anything

    Defines, lists, inspects and runs parameterized GUI macros from the command line, with the runtime choosing the execution backend.

    52k GitHub stars~1.4k tokensUpdated 16 days ago
    Auto-check passed

Works with

Questions about CLI Hub Matrix Knowledge Research

What does CLI Hub Matrix Knowledge Research do?

Capability-based multi-tool matrix for research, note-taking, document authoring, and publishing. CLI Hub Matrix Knowledge Research is an agent skill from HKUDS/CLI-Anything. Capability-based multi-tool matrix for research, note-taking, document authoring, and publishing.

When should I use CLI Hub Matrix Knowledge Research?

CLI Hub Matrix Knowledge Research fits situations like: tasks that involve Note-taking; tasks that involve Diagrams.

How do I install CLI Hub Matrix Knowledge Research in Claude Code?

Run `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -a claude-code`. Or copy the skill folder (cli-hub-matrix/knowledge-research in HKUDS/CLI-Anything) into .claude/skills/cli-hub-matrix-knowledge-research in your project. Claude Code loads it when a task matches its description.

How do I install CLI Hub Matrix Knowledge Research in Codex?

Run `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -a codex`. Or copy the skill folder (cli-hub-matrix/knowledge-research in HKUDS/CLI-Anything) into .agents/skills/cli-hub-matrix-knowledge-research in your project. Codex loads it when a task matches its description.

Can I use CLI Hub Matrix Knowledge Research in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-hub-matrix-knowledge-research, .gemini/skills/cli-hub-matrix-knowledge-research, .github/skills/cli-hub-matrix-knowledge-research and .opencode/skills/cli-hub-matrix-knowledge-research in your project.

What does CLI Hub Matrix Knowledge Research need to run?

Going by SKILL.md and its folder, CLI Hub Matrix Knowledge Research needs the command-line tools its instructions call (python) and credentials named NOTION_API_KEY, PERPLEXITY_API_KEY, TAVILY_API_KEY and BRAVE_API_KEY. Our summary lists: Python 3; A credential in OPENAI_API_KEY; A credential in ANTHROPIC_API_KEY.

Does CLI Hub Matrix Knowledge Research access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is CLI Hub Matrix Knowledge Research safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CLI Hub Matrix Knowledge Research use?

CLI Hub Matrix Knowledge Research is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CLI Hub Matrix Knowledge Research use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CLI Hub Matrix Knowledge Research?

Skills that share tags, products or a category with CLI Hub Matrix Knowledge Research: LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), Knowledge Base From Vault (skrun-dev/skrun, 210 stars), Kb Refresh (techwolf-ai/ai-first-toolkit, 132 stars) and YouTube Talk Notetaker (dair-ai/dair-academy-plugins, 614 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CLI Hub Matrix Knowledge Research?

HKUDS (a GitHub organization) maintains it in HKUDS/CLI-Anything, which has 51,696 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on September 22, 2026.

Source: HKUDS/CLI-Anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.