# Install Guide Before the first live model-backed test, follow the [first-live-run preflight](live-run-preflight.md): show effective provider/model, authentication mode, budget and data destination; reuse valid explicit choices, and ask missing material choices before calling a model. This is a supervisor contract, not an installed runtime enforcement hook. This repo is a portable `SKILL.md` catalog. Claude Code marketplace is the fastest packaged install path, but the same `SKILL.md` files can also be loaded by Codex CLI, Cursor, Gemini CLI, Hermes, OpenClaw, Windsurf, or a generic API client. Prerequisite: at least one AI host that can read Markdown context. Claude Code users get marketplace install and auto-triggering; other hosts need to point the model at the relevant `SKILL.md` explicitly. > **New here?** Choose your task below first; Python, Zotero, and NotebookLM > are not prerequisites for every skill. For the connected literature pipeline, > [setup-guide.md](setup-guide.md) walks through runtimes, plugins, and Zotero > local API setup. Do not install that whole stack just to revise a paragraph. For a complete inventory with direct skill links, see [skill-directory.md](skill-directory.md). For the split between portable `SKILL.md` instructions and executable runtime requirements, see [runtime-contract.md](runtime-contract.md). ## Choose your task first Start with the smallest route that fits your request. Skill links lead to their source owner, not to another orchestration layer. Load the referenced resources as needed; a single wording edit does not require a whole-project workflow. | I want to… | Start here | Add only when needed | |---|---|---| | Compare supplied papers, identify gaps, or plan a study | [literature-triage-matrix], [gap-to-topic], [research-design-helper] | A Markdown-capable host and the relevant material; no Hub Python runtime or connector for guidance alone | | Remember my own manuscript's claims and figures | [paper-memory-builder] | Project files or deliberately supplied context; `.paper/claims.yml` and `.paper/figures.yml` are manuscript memory, not summaries of cited papers | | Revise manuscript text | [academic-writing-skills] | The requested text and evidence; preserve edit scope and source-owned state | | Review without editing | [paper-review] | A review report; review-only does not authorize manuscript edits or release | | Manage local projects, artifacts, tasks, and a workspace UI | [Hub workspace guide](https://github.com/WenyuChiou/research-hub/blob/master/docs/workspace-guide.md) | A Hub runtime that actually exposes the workspace commands; catalog installation is not runtime installation | | Run manuscript audits in that workspace | [Writing adapter boundary](runtime-contract.md#local-workspace-and-writing-adapter) | An explicitly trusted, verified writing bundle configured in Hub; not required for ordinary skill guidance | | Discover or read literature with host tools | [Native literature route](pipeline.md#1-discover-literature) | Use the host’s available, authorized capabilities; Hub is optional. Record access and actual reading evidence. | | Use Hub to ingest or summarize literature | [research-hub], [paper-summarize] | Hub runtime plus the connectors/model required by the selected operation; NotebookLM is optional, and `--no-nlm` is still live work | | Maintain Zotero records beyond the Hub pipeline | [zotero-skills] | Its API setup and explicit authorization for the exact write; not required for a local manuscript | | Delegate a bounded task | [codex-delegate], [antigravity-delegate] | The target CLI and its prerequisites, or a portable handoff; an absent CLI is unavailable, not permission to install another service | Core local writing does not require NotebookLM or browser automation. A local workspace is not a promise that every action is offline: live search and connected model execution have separate data, cost, and permission requirements. Follow the [runtime evidence distinctions](runtime-contract.md#what-has-actually-been-verified) before interpreting an installed plugin as an executable capability. [literature-triage-matrix]: https://github.com/WenyuChiou/research-hub/blob/master/skills/literature-triage-matrix/SKILL.md [gap-to-topic]: https://github.com/WenyuChiou/research-hub/blob/master/skills/gap-to-topic/SKILL.md [research-design-helper]: https://github.com/WenyuChiou/research-hub/blob/master/skills/research-design-helper/SKILL.md [paper-memory-builder]: https://github.com/WenyuChiou/research-hub/blob/master/skills/paper-memory-builder/SKILL.md [academic-writing-skills]: https://github.com/WenyuChiou/academic-writing-skills/blob/main/skills/academic-writing-skills/SKILL.md [paper-review]: https://github.com/WenyuChiou/academic-writing-skills/blob/main/skills/paper-review/SKILL.md [research-hub]: https://github.com/WenyuChiou/research-hub/blob/master/skills/research-hub/SKILL.md [paper-summarize]: https://github.com/WenyuChiou/research-hub/blob/master/skills/paper-summarize/SKILL.md [zotero-skills]: https://github.com/WenyuChiou/zotero-skills/blob/master/skills/zotero-skills/SKILL.md [codex-delegate]: https://github.com/WenyuChiou/codex-delegate/blob/master/skills/codex-delegate/SKILL.md [antigravity-delegate]: https://github.com/WenyuChiou/antigravity-delegate/blob/master/skills/antigravity-delegate/SKILL.md ## Choose an install path | If you use... | Use this path | Verify with... | |---|---|---| | Claude Code | `claude plugin marketplace add` + `claude plugin install` | `claude plugin list` | | Claude Code plus literature-pipeline automation | Marketplace install plus `pip install research-hub-pipeline` and `research-hub setup` | `claude plugin list` and a `research-hub auto ... --no-nlm` smoke test | | Codex CLI / Cursor / Windsurf | Clone the canonical skill repo and load `SKILL.md` into the host's skills/rules directory, or inline it into the prompt | The host's own skill/rules discovery, or an explicit prompt smoke test | | Gemini CLI / generic API client | Inline `SKILL.md` as prompt or system context | A prompt smoke test | | Hermes | `hermes skills install ` | `hermes skills list`; only `literature-triage-matrix` is verified here on Hermes 0.13.0 | | OpenClaw | Use a `SKILL.md` directory shape such as `~/.openclaw/skills//SKILL.md` when your OpenClaw install supports it | Manual host discovery; this repo has not done release-grade OpenClaw verification yet | ### Claude Code marketplace fastest path ```bash claude plugin marketplace add WenyuChiou/ai-research-skills claude plugin install research-workspace@ai-research-skills claude plugin list ``` ### Windows cmd.exe If you paste a multi-line block into `cmd.exe`, it may execute only the first line. Run the commands one at a time, or use this single-line form: ```cmd claude plugin marketplace add WenyuChiou/ai-research-skills && claude plugin marketplace update ai-research-skills && claude plugin install research-workspace@ai-research-skills --scope user && claude plugin list ``` `claude plugin list` verifies only Claude Code marketplace state. It does not verify whether Codex, Cursor, Hermes, OpenClaw, or a generic API client has loaded the `SKILL.md` files. ### Preview all-plugin installation without changes ```bash bash scripts/install-all.sh --dry-run --scope project ``` PowerShell: `pwsh scripts/install-all.ps1 -DryRun -Scope project`. The plan needs no Claude binary and writes nothing; repeated output is stable. This does not prove real-host install idempotence. Actual installation stops on the first CLI failure; scope can be user, project, or local. ## 1. research-hub Use this if your workflow includes Zotero, Obsidian, NotebookLM, or any useful two-tool subset. **Recommended (fresh install):** ```bash pip install research-hub-pipeline research-hub setup --persona researcher # or: analyst | humanities | internal research-hub doctor research-hub auto "agent-based modeling" --max-papers 3 --no-nlm ``` `setup` is one interactive command that runs `init` + `install`, prompts for the Zotero default collection (skipped on `analyst`), prompts for NotebookLM login (skipped if you say no), and installs sample data. It is **idempotent** — re-run any time to change persona or refresh skills. Persona quick guide: | Persona | Stack | Pick this if you... | |---|---|---| | `researcher` | Zotero + Obsidian + NotebookLM | want the full workflow | | `analyst` | Obsidian + NotebookLM only (no Zotero) | don't use Zotero | | `humanities` | Zotero + qualitative-friendly defaults | do interpretive / archival work, no code repo | | `internal` | catalog reader, no install | help others adopt this stack | **For other AI hosts:** `setup` auto-detects Claude Code; for Cursor / Codex / Gemini hosts, point install at the right platform afterward when your installed `research-hub-pipeline` version supports those platform adapters: ```bash research-hub install --platform cursor research-hub install --platform codex research-hub install --platform gemini ``` OpenClaw and generic API clients should use the raw `SKILL.md` loading path in [Using these skills outside Claude Code](#using-these-skills-outside-claude-code) until this repo adds release-grade OpenClaw verification. On the Claude Code default path, a fresh setup writes 12 skills under `~/.claude/skills/`: `research-hub`, `research-design-helper`, `research-context-compressor`, `research-project-orienter`, `research-hub-multi-ai`, `literature-triage-matrix`, `paper-memory-builder`, `paper-summarize`, `notebooklm-brief-verifier`, `zotero-library-curator`, `gap-to-topic`, `research-workflow-orchestrator`. *Note*: this Python-CLI path (`research-hub setup`) DOES extract skills into `~/.claude/skills/`. The Claude Code marketplace path (`claude plugin install …@ai-research-skills`) does NOT — those skills live under `~/.claude/plugins/cache/…`. Both paths work; they just land the SKILL.md files in different directories. See [verification.md](verification.md) §2026-05-20 for the round-trip detail. For NotebookLM browser automation (also handled by `setup` if you answer yes when prompted): ```bash pip install "research-hub-pipeline[playwright]" research-hub notebooklm login --auto-detect ``` First **live** smoke test without NotebookLM (only after the [live-run preflight](live-run-preflight.md) and authorization for its data/cost): ```bash research-hub auto "agent-based modeling" --max-papers 3 --no-nlm ``` Before asking an AI host to run the Hub literature pipeline, use this Hub runtime preflight: `research-hub describe --json`, `research-hub doctor`, then the small `auto ... --no-nlm` smoke test above. Installing this catalog or copying a `SKILL.md` file does not install the Python CLI. ### Already ran the bare `install` command? ```bash # Was: research-hub install --platform claude-code # This still works but only writes SKILL.md files (no persona, no Zotero # default, no NotebookLM login). Re-run setup any time to onboard properly: research-hub setup --persona researcher ``` ### Upgrading from research-hub-pipeline ≤ 0.45 Older versions installed a skill named `knowledge-base/`. The canonical name has been `research-hub/` since v0.46. Fresh installs no longer write `knowledge-base/`, but a previous install may have left the old directory behind. If `~/.claude/skills/knowledge-base/` and `~/.claude/skills/research-hub/` both exist, the legacy alias may double-trigger the skill router. The `get_bundled_skill_path("knowledge-base")` alias emitted a `DeprecationWarning` in `v0.45–0.69` and was removed in `v0.70+`. Safe to remove the stale directory: ```bash rm -rf ~/.claude/skills/knowledge-base ``` ## 2. academic-writing-skills **Canonical path** (Claude Code marketplace): ```bash claude plugin install academic-writing-skills@ai-research-skills ```
Legacy alternative: manual git clone / raw SKILL.md checkout ```bash git clone https://github.com/WenyuChiou/academic-writing-skills ``` Use the inner `skills/academic-writing-skills/` and `skills/paper-review/` directories. Cloning the repository root directly into one skill directory does not expose both `SKILL.md` files correctly. Use the manual path only when you need the SKILL.md outside Claude Code (Codex CLI, Cursor, Hermes, etc.) — see *Using these skills outside Claude Code* below.
## 3. zotero-skills **Canonical path** (Claude Code marketplace): ```bash claude plugin install zotero-skills@ai-research-skills ``` Use this only if you need deep Zotero operations beyond research-hub's pipeline integration. The current research-workspace source contains 12 skills and does not include `zotero-skills`; the standalone plugin is canonical. The collision documented in [verification.md](verification.md) §2026-05-20 is historical. An old installed cache may still contain that copy; inspect its manifest and update through your host before assuming current source layout proves local cache state.
Portable alternative: clone the canonical repository ```bash git clone https://github.com/WenyuChiou/zotero-skills ``` Load `skills/zotero-skills/SKILL.md` and its bundled resources. For Zotero, keep the repository/plugin root `scripts/` directory available as documented upstream; do not copy only the Markdown file.
## 4. codex-delegate **Canonical path** (Claude Code marketplace): ```bash claude plugin install codex-delegate@ai-research-skills ``` For normal Claude Code-to-Codex integration, prefer the [official plugin](https://github.com/openai/codex-plugin-cc) when its runtime fits. Accepted codex-delegate 0.1.5 is a minimal synchronous adapter for existing on-disk brief, result/sentinel and Bash/PowerShell workflows. It does not add a second broker or establish better coding quality or total model cost; see the [comparison boundary](system-assessment.md#comparable-checks-and-limits).
Portable alternative: clone the canonical repository ```bash git clone https://github.com/WenyuChiou/codex-delegate ``` Load the inner `skills/codex-delegate/` directory and its bundled resources. See the upstream version-specific wrapper contract; repository-root cloning into one host skill directory does not expose the nested `SKILL.md`.
## 5. antigravity-delegate **Canonical path** (Claude Code marketplace): ```bash claude plugin install antigravity-delegate@ai-research-skills ``` Use this only for bounded non-honesty-critical mechanical work. It does not take over long-context, bilingual/CJK, synthesis, or review work; those stay with the primary model.
Portable alternative: clone the canonical repository ```bash git clone https://github.com/WenyuChiou/antigravity-delegate ``` Load the inner `skills/antigravity-delegate/` directory and its bundled resources. See the upstream version-specific wrapper contract; repository-root cloning into one host skill directory does not expose the nested `SKILL.md`.
## Suggested Minimal Set For most researchers: ```text research-workspace academic-writing-skills ``` Add `zotero-skills` if you maintain a large Zotero library. Add delegation skills if you actively use Codex or Antigravity alongside Claude for bounded mechanical execution. --- ## Using these skills outside Claude Code The `claude plugin install` path is Claude Code-specific. The portable layer is each skill's `SKILL.md` plus any bundled `references/`, `scripts/`, and workflow contracts. On non-Claude hosts you usually lose Claude Code's auto-triggering, so name the skill explicitly in the prompt or put it in the host's own skills/rules directory. ### 1. Get the source ```bash git clone https://github.com/WenyuChiou/research-hub git clone https://github.com/WenyuChiou/academic-writing-skills git clone https://github.com/WenyuChiou/zotero-skills git clone https://github.com/WenyuChiou/codex-delegate git clone https://github.com/WenyuChiou/antigravity-delegate ``` Each repo's `SKILL.md` files live under `skills//`. For `research-hub`, that includes 12 skills. `academic-writing-skills` has two skills; `zotero-skills`, `codex-delegate`, and `antigravity-delegate` have one skill each. ### 2. Load per host | Host | How to load `SKILL.md` | Status in this repo | |---|---|---| | **Codex CLI** | Put skills under a Codex skills directory when your Codex install supports it, or inline `SKILL.md` into `codex exec` / a task prompt. | Structurally portable; not marketplace-installed. | | **Cursor / Windsurf** | Copy `SKILL.md` into `.cursor/rules/`, `~/.cursor/skills/`, or the editor's current rules/skills location. | Structurally portable; use editor-side discovery to verify. | | **Gemini CLI** | Inline `SKILL.md` as prompt context, for example with `gemini -p`. | Structurally portable; no auto-trigger. | | **Hermes Agent** | `hermes skills install `. | `literature-triage-matrix` skill-load verified on Hermes 0.13.0; inference loop not tested. | | **OpenClaw** | Use a directory such as `~/.openclaw/skills//SKILL.md` when your OpenClaw install supports `SKILL.md`-style skills. | Structurally compatible target; not release-grade verified here. | | **Generic API client** | Use `SKILL.md` as system/developer prompt context and include any referenced `references/` files needed for the task. | Portable prompt contract. | ### 3. Worked invocation examples Replace `` with the absolute path to the cloned source repo. **Codex CLI** — run `literature-triage-matrix` against five papers: ```bash codex exec --sandbox workspace-write -C "$(pwd)" \ "$(cat /skills/literature-triage-matrix/SKILL.md) Now produce a 9-column comparison matrix for the 5 papers in ./papers/. Write the output to .research/literature_matrix.md." ``` **Gemini CLI** — run an `academic-writing-skills` banned-word audit: ```bash gemini -p "$(cat /skills/academic-writing-skills/SKILL.md) Audit this paragraph for banned words and overclaim: $(cat draft_paragraph.md)" ``` **Cursor / Windsurf** — copy a skill into project rules: ```bash mkdir -p .cursor/rules cp /skills/literature-triage-matrix/SKILL.md \ .cursor/rules/literature-triage-matrix.md ``` **OpenClaw** — manual directory shape, pending release-grade verification: ```bash mkdir -p ~/.openclaw/skills/literature-triage-matrix cp /skills/literature-triage-matrix/SKILL.md \ ~/.openclaw/skills/literature-triage-matrix/SKILL.md ``` ### 4. Which skills make sense outside Claude Code - Pure workflow skills such as `literature-triage-matrix`, `gap-to-topic`, `research-design-helper`, `research-context-compressor`, `research-project-orienter`, and `paper-memory-builder` work best across AI hosts because they define instructions and output contracts. - `academic-writing-skills` works on any host that can read the manuscript and `.paper/` context. - `notebooklm-brief-verifier` works anywhere in manual-fallback mode. - `zotero-skills` needs an AI host that can call Zotero local or Web API tools; the `SKILL.md` itself is only the routing contract. - `research-hub` needs the `research-hub-pipeline` Python CLI on PATH only for selected operations that invoke `research-hub` commands. Literature search and reading with Codex or Claude Code native tools do not require the Hub CLI or Hub project setup; follow the shared research and source-audit contracts using the host's available, authorized tools. - `research-hub-multi-ai` requires Hub CLI capability and `research-hub doctor` only when the plan calls `research-hub`. If Hub is missing, do not emit Hub commands; healthy delegate-only plans may proceed without Hub. Verify every named leaf skill and wrapper, run its documented preflight, and retain the applicable data/cost/write permission checks before delegation. - `codex-delegate` and `antigravity-delegate` are most useful from Claude Code delegating bounded mechanical work outward; if you are already inside Codex or Antigravity, use the target skill directly.