# CLI Hub Matrix Knowledge Research

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

- Repository: https://github.com/HKUDS/CLI-Anything (58029 stars)
- Category: AI and agents
- License: Apache-2.0
- Last updated: 2026-09-22
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -g -a claude-code -y`
Codex: `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -g -a codex -y`
Cursor: `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -g -a cursor -y`
Gemini CLI: `npx skills add HKUDS/CLI-Anything --skill cli-hub-matrix-knowledge-research -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add HKUDS/CLI-Anything`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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`](../../docs/cli-matrix/matrix_registry.schema.md). Matrix plan: [`docs/cli-matrix/cli-matrix-plan.md`](../../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.

The rest: https://github.com/HKUDS/CLI-Anything/blob/HEAD/cli-hub-matrix/knowledge-research/SKILL.md
