# Cnki Codex

> Route CNKI work to the right Codex sub-skill. Use when Codex needs a CNKI entry point for literature search, paper metadata extraction, journal lookup, indexing checks, TOC browsing, downloads, or citation export in an existing Chrome session.

- Skill: `cfh-7598/cnki-codex` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add cfh-7598/cnki-codex`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cfh-7598/cnki-codex/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: cfh-7598 (https://skillmd.com/u/cfh-7598)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/cfh-7598/cnki-codex

---


# CNKI (Codex)

Use this skill as the thin entry point for CNKI tasks. Do not load the whole workflow into context unless the task truly spans multiple CNKI capabilities.

## Prerequisites

- Start Chrome with remote debugging enabled:
  ```bash
  # macOS
  /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

  # Linux
  google-chrome --remote-debugging-port=9222

  # Windows
  "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" --remote-debugging-port=9222
  ```
- Log in to CNKI in that Chrome session if the task needs downloads or export data.
- Expect manual captcha handling. If CNKI shows the Tencent slider, stop and ask the user to solve it in Chrome.
- Install the shared dependency once after cloning:
  ```bash
  python -m pip install -r requirements.txt
  ```

## Route tasks

- Search papers: use `$cnki-search-codex`
- Search and return abstracts/keywords/fund info in batch: use `$cnki-collect-details-codex`
- Search theses (master + doctoral): use `$cnki-thesis-search-codex`
- Search doctoral theses only: use `$cnki-doctoral-search-codex`
- Search master theses only: use `$cnki-master-search-codex`
- Filtered search: use `$cnki-advanced-search-codex`
- Parse the current result page: use `$cnki-parse-results-codex`
- Extract paper metadata: use `$cnki-paper-detail-codex`
- Paginate or sort results: use `$cnki-navigate-pages-codex`
- Search journals: use `$cnki-journal-search-codex`
- Check journal indexing: use `$cnki-journal-index-codex`
- Browse issue tables of contents: use `$cnki-journal-toc-codex`
- Trigger PDF or CAJ download: use `$cnki-download-codex`
- Export citations or push to Zotero: use `$cnki-export-codex`

## Shared implementation

All sub-skills call the same CLI:

```bash
python3 _shared/cnki/cli.py --help
```

Read shared notes only when needed:

- `../_shared/cnki/references/usage.md`
- `../_shared/cnki/references/selectors.md`

