Cnki trend

From Drchronx/ai-agent-research-starter-kit · View interactive version

Cnki trend is an AI agent skill from the GitHub repository Drchronx/ai-agent-research-starter-kit. Crawl CNKI `getGroupData` for a specific keyword, keep only non-empty group results, and generate a trend-analysis report with charts focused on the current year, recent yearly momentum, topic concentration, subject and journal concentration, author and institution distribution, and fund signals. Us

How to use this skill

Skill file

CNKI Keyword Trend Report

Use this skill from /root/.openclaw/workspace-hotspot/skills/cnki-trend.

Workflow

  1. Install the local dependencies if needed:
python -m pip install -r scripts/requirements.txt
  1. Run the report script:
python scripts/cnki_keyword_trend_report.py "耐心资本" --print-report

Cookie 自动获取:脚本默认会自动调用 generate_client_id() 动态获取 Ecp_ClientId,无需手动配置。

  1. Read the generated files in reports/:
  1. Use only the valid groups in follow-up analysis. Ignore groups with empty responses.

Behavior

Parameters

```powershell

# 不传 --ecp-client-id 时,脚本自动调用 generate_client_id() 获取

python scripts/cnki_keyword_trend_report.py "耐心资本" --print-report

```

```powershell

# 方式 1:命令行参数

python scripts/cnki_keyword_trend_report.py "耐心资本" --ecp-client-id "<your-client-id>"

# 方式 2:环境变量(优先级高于自动获取)

$env:CNKI_ECP_CLIENT_ID="<your-client-id>"

python scripts/cnki_keyword_trend_report.py "耐心资本"

```

```powershell

python scripts/cnki_keyword_trend_report.py "耐心资本" --output-dir "reports/cnki"

```

Interpretation Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.