mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
docs: merge Kimi Datasource into plugins page and add terminal tip (#551)
* docs: merge Kimi Datasource into plugins page and add terminal tip to getting started - Merge datasource.md content into plugins.md as a dedicated section, placed between installation management and plugin manifest sections - Replace verbose feature tables with scenario-driven use cases and a condensed coverage table - Add /skill:kimi-datasource as an explicit invocation method alongside natural language; update /new references to /reload - Promote GitHub URL formats and notes to named H3 subsections within installation management - Add terminal recommendation tip (Kitty / Ghostty) in the Installation section of getting-started - Remove standalone datasource.md sidebar entries from zh and en nav * docs: remove stale datasource pages and add redirects to plugins Delete zh/en datasource.md (content now merged into plugins.md) and add VitePress redirects so existing bookmarks and search results for /customization/datasource land on /customization/plugins instead. * docs: restore datasource pages as forwarding stubs Replace deleted files with minimal pages that link to the merged section in plugins.md. VitePress redirects only fire in SSG builds; dev-server visitors hitting the old URL would 404 without these stubs. * docs: add dev-server redirect middleware for removed datasource pages VitePress `redirects` config only fires during SSG build; the dev server ignores it, causing 404s on the old /customization/datasource URLs. Add a Vite `configureServer` middleware that handles the redirect in dev mode, while the top-level `redirects` config continues to generate meta-refresh HTML pages for the production build. --------- Co-authored-by: qer <wbxl2000@outlook.com>
This commit is contained in:
parent
0e1665173d
commit
e5e9d28f7c
7 changed files with 131 additions and 432 deletions
|
|
@ -66,7 +66,6 @@ const config = withMermaid(defineConfig({
|
|||
{ text: 'Model Context Protocol', link: '/zh/customization/mcp' },
|
||||
{ text: 'Agent Skills', link: '/zh/customization/skills' },
|
||||
{ text: 'Plugins', link: '/zh/customization/plugins' },
|
||||
{ text: 'Kimi Datasource', link: '/zh/customization/datasource' },
|
||||
{ text: 'Agent 与子 Agent', link: '/zh/customization/agents' },
|
||||
{ text: 'Hooks', link: '/zh/customization/hooks' },
|
||||
],
|
||||
|
|
@ -143,7 +142,6 @@ const config = withMermaid(defineConfig({
|
|||
{ text: 'Model Context Protocol', link: '/en/customization/mcp' },
|
||||
{ text: 'Agent Skills', link: '/en/customization/skills' },
|
||||
{ text: 'Plugins', link: '/en/customization/plugins' },
|
||||
{ text: 'Kimi Datasource', link: '/en/customization/datasource' },
|
||||
{ text: 'Agents and Subagents', link: '/en/customization/agents' },
|
||||
{ text: 'Hooks', link: '/en/customization/hooks' },
|
||||
],
|
||||
|
|
@ -186,6 +184,11 @@ const config = withMermaid(defineConfig({
|
|||
},
|
||||
},
|
||||
|
||||
redirects: {
|
||||
'/zh/customization/datasource': '/zh/customization/plugins',
|
||||
'/en/customization/datasource': '/en/customization/plugins',
|
||||
},
|
||||
|
||||
themeConfig: {
|
||||
outline: [2, 3],
|
||||
search: { provider: 'local' },
|
||||
|
|
@ -198,7 +201,28 @@ const config = withMermaid(defineConfig({
|
|||
optimizeDeps: {
|
||||
include: mermaidOptimizeDeps.map((dep) => `mermaid > ${dep}`),
|
||||
},
|
||||
plugins: [llmstxt()],
|
||||
plugins: [
|
||||
llmstxt(),
|
||||
{
|
||||
name: 'dev-redirects',
|
||||
configureServer(server) {
|
||||
const map: Record<string, string> = {
|
||||
'/zh/customization/datasource': '/zh/customization/plugins',
|
||||
'/en/customization/datasource': '/en/customization/plugins',
|
||||
}
|
||||
server.middlewares.use((req, res, next) => {
|
||||
const url = (req.url ?? '').split('?')[0].replace(/\.html$/, '')
|
||||
const target = map[url]
|
||||
if (target) {
|
||||
res.writeHead(302, { Location: target })
|
||||
res.end()
|
||||
return
|
||||
}
|
||||
next()
|
||||
})
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
}))
|
||||
|
||||
|
|
|
|||
|
|
@ -1,196 +0,0 @@
|
|||
# Kimi Datasource
|
||||
|
||||
Kimi Datasource is the official Kimi Code data plugin. It lets you query financial market data, macroeconomic indicators, corporate registration records, and academic literature in natural language — no manual API calls or data account registration required.
|
||||
|
||||
**Prerequisite**: You must complete OAuth login with a Kimi Code account via `/login`. The plugin relies on local credentials to access data services.
|
||||
|
||||
## Installation
|
||||
|
||||
1. Run `/plugins` inside Kimi Code CLI
|
||||
2. Select **Marketplace** from the menu that appears
|
||||
3. Find **Kimi Datasource** and choose to install it
|
||||
4. After installation completes, run `/new` to start a new session — the plugin is ready to use
|
||||
|
||||
## Financial Data
|
||||
|
||||
### Stock & Global Market Quotes
|
||||
|
||||
| Feature | Description | Markets |
|
||||
|---|---|---|
|
||||
| Real-time quotes | Current price, change %, intraday data | A-shares, HK, US |
|
||||
| Historical prices | Historical closing prices and price-change ranges | A-shares, HK, US, and major global markets |
|
||||
| Technical indicators | MACD, KDJ, RSI, BOLL, MA — with bullish/bearish signals | A-shares only |
|
||||
| Financial statements | Balance sheets, year-over-year financial data | A-shares, HK, US, and major global markets |
|
||||
| Company fundamentals | Business overview, shareholder information | A-shares, HK, US, and major global markets |
|
||||
| Stock screening | Filter by sector, market cap, price change, financial metrics, and more | A-shares, HK, US |
|
||||
| Market indices | CSI 300, SSE, S&P 500, Nasdaq, Nikkei, and more | A-shares, major global markets |
|
||||
| Watchlist management | Track holdings, calculate P&L based on cost basis | A-shares, HK, US |
|
||||
|
||||
### Macroeconomic Data
|
||||
|
||||
Powered by the **World Bank** Open Data API — **189 member countries, 50+ years** of historical time series covering GDP, trade, population, poverty, education, climate, and dozens of other indicators. Great for cross-country comparisons, policy research, and data-driven analysis.
|
||||
|
||||
| Feature | Description |
|
||||
|---|---|
|
||||
| Core macro indicators | GDP, CPI, trade volume, unemployment, external debt, etc. |
|
||||
| Long-run historical data | Up to 50+ years of data per country |
|
||||
| Cross-country comparison | Compare any indicator across multiple countries |
|
||||
| Thematic datasets | Poverty rates, education enrollment, CO₂ emissions, energy mix, demographics, and more |
|
||||
|
||||
::: details Historical price query
|
||||
|
||||
```text
|
||||
What was Apple's (AAPL) highest and lowest closing price in Q4 2025?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Financial statement analysis
|
||||
|
||||
```text
|
||||
What are the key figures in Microsoft's 2024 annual balance sheet — total assets, liabilities, and equity?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Company fundamentals
|
||||
|
||||
```text
|
||||
What are NVIDIA's main business segments and who are its largest institutional shareholders?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Stock screening
|
||||
|
||||
```text
|
||||
In the US semiconductor sector, find stocks with market cap above $500B and list their names and current market caps.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Global market overview
|
||||
|
||||
```text
|
||||
How are the S&P 500, Nasdaq, and Nikkei 225 performing today? Any notable sector moves?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Macroeconomic comparison
|
||||
|
||||
```text
|
||||
Compare GDP growth rates and GDP per capita trends for China, India, and Vietnam over the past 20 years.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Thematic data research
|
||||
|
||||
```text
|
||||
Show CO₂ emissions trends for major economies over the past decade, alongside their renewable energy share.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## Corporate Data
|
||||
|
||||
Covers business registration, equity structure, and legal risk information for mainland Chinese companies — helping you quickly get first-hand data when signing contracts, conducting due diligence, or vetting partners.
|
||||
|
||||
| Feature | Description |
|
||||
|---|---|
|
||||
| Business registration | Registered capital, founding date, legal representative, business scope, headcount |
|
||||
| Equity structure | Shareholder contribution ratios, external investments, ultimate beneficial owner |
|
||||
| Legal risk | Litigation disputes, credit blacklist, administrative penalties, operating anomalies |
|
||||
| Related entities | Associated companies, shared legal representatives, suspected affiliates |
|
||||
|
||||
> Mainland China companies only.
|
||||
|
||||
::: details Corporate due diligence
|
||||
|
||||
```text
|
||||
Look up BYD Co., Ltd.'s business registration, major shareholders, and external investments.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Partner risk check
|
||||
|
||||
```text
|
||||
Check whether XX Technology Co., Ltd. has any litigation disputes, credit violations, or administrative penalties.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Equity chain lookup
|
||||
|
||||
```text
|
||||
Who is the ultimate beneficial owner of this company, and what are its associated entities?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## Academic Data
|
||||
|
||||
Access millions of papers across physics, mathematics, computer science, quantitative finance, economics, and more — spanning both peer-reviewed journals and preprint repositories. Whether you're writing a literature review, tracking a research frontier, or looking for the most cited work in a field, just describe what you need.
|
||||
|
||||
| Feature | Description |
|
||||
|---|---|
|
||||
| Paper search | Search by keyword, author, topic, or field across a large academic corpus |
|
||||
| Citation lookup | Find the most cited and influential papers in any domain |
|
||||
| Preprint access | Access the latest research before formal publication |
|
||||
| Cross-discipline | Physics, math, CS, economics, quantitative finance, climate science, and more |
|
||||
|
||||
::: details Literature search
|
||||
|
||||
```text
|
||||
Find key academic papers on financial fraud detection from the past five years, focusing on abnormal accruals and earnings manipulation models.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Research frontier
|
||||
|
||||
```text
|
||||
What are the most important recent papers on LLM reasoning capabilities? Summarize the main findings.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Preprint lookup
|
||||
|
||||
```text
|
||||
What are the latest preprints at the intersection of quantitative finance and machine learning?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Citation analysis
|
||||
|
||||
```text
|
||||
What are the most influential papers on reinforcement learning from human feedback? Who are the key authors?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details Academic paper writing
|
||||
|
||||
```text
|
||||
Help me outline a literature review on Transformer architectures in NLP,
|
||||
focusing on research developments since 2022. Reference highly cited papers
|
||||
and note the core contribution of each.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## Notes
|
||||
|
||||
- Data queries are billed per call and consume Kimi Code account credits
|
||||
- The plugin provides read-only queries; no write or trading functionality is available
|
||||
- Technical indicators and real-time prices are only available during active trading hours. After market close, ask about closing data instead (e.g. "How did X close today?")
|
||||
- AI-generated output is for reference only and does not constitute investment or business advice
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Plugins](./plugins.md) — Full installation and development documentation for the plugin system
|
||||
- [MCP](./mcp.md) — Kimi Datasource runs on the MCP protocol; learn about the underlying mechanism
|
||||
|
|
@ -31,7 +31,11 @@ You can also use slash commands directly:
|
|||
| `/plugins mcp enable <id> <server>` | Enable an MCP server declared by a plugin |
|
||||
| `/plugins mcp disable <id> <server>` | Disable an MCP server declared by a plugin |
|
||||
|
||||
**GitHub URL supports four forms:**
|
||||
The plugin manager shows the installation source and a trust badge for each install: `kimi-official` (from an official address), `curated` (from a curated address), or `third-party` (everything else).
|
||||
|
||||
### Installing from GitHub
|
||||
|
||||
Use `/plugins install <url>` to install directly from a GitHub repository. Four URL forms are supported:
|
||||
|
||||
- `https://github.com/<owner>/<repo>`: Install the latest release; falls back to the default branch if no release exists
|
||||
- `https://github.com/<owner>/<repo>/tree/<ref>`: Install a specific branch, tag, or short commit SHA
|
||||
|
|
@ -40,14 +44,54 @@ You can also use slash commands directly:
|
|||
|
||||
Network requests only go through `github.com` redirects and `codeload.github.com` downloads; `api.github.com` is not called.
|
||||
|
||||
**A few notes:**
|
||||
### Notes
|
||||
|
||||
- Plugin changes only take effect for new sessions. After installing, enabling/disabling, removing, or reloading a plugin, start a new session with `/new`; the current session will not update.
|
||||
- Plugin changes only take effect for new sessions. After installing, enabling/disabling, or removing a plugin, run `/reload` to reload plugins or `/new` to start a new session; the current session will not update.
|
||||
- Local installations are copied to `$KIMI_CODE_HOME/plugins/managed/<id>/`, and the CLI always runs from this managed copy. Editing the original source directory after installation has no effect; you must reinstall.
|
||||
- Removing a plugin only deletes the installation record; the managed copy and original source files remain on disk.
|
||||
- Plugins are currently installed per-user and apply to all projects; project-level installation scope is not yet supported.
|
||||
|
||||
The plugin manager shows the installation source and a trust badge for each install: `kimi-official` (from an official address), `curated` (from a curated address), or `third-party` (everything else).
|
||||
## Kimi Datasource
|
||||
|
||||
Kimi Datasource is the official Kimi Code data plugin. It lets you query financial market data, macroeconomic indicators, corporate registration records, and academic literature in natural language — no manual API calls or data account registration required.
|
||||
|
||||
### Installation
|
||||
|
||||
You must first complete OAuth login with a Kimi Code account via `/login`. The plugin relies on local credentials to access data services.
|
||||
|
||||
1. Run `/plugins` and select **Marketplace**
|
||||
2. Find **Kimi Datasource** and press `Space` to install
|
||||
3. After installation completes, run `/reload` to activate the plugin
|
||||
|
||||
### How to Use
|
||||
|
||||
Once installed, describe your need in natural language and Kimi Code will automatically invoke the data capabilities. You can also explicitly trigger the data query skill with `/skill:kimi-datasource`.
|
||||
|
||||
### What You Can Do
|
||||
|
||||
**Live market research**: Want to run a quantitative analysis on a stock? Pull three years of daily closing prices, MACD, and KDJ signals in a single query — no third-party data platforms needed.
|
||||
|
||||
**Cross-country macro comparison**: Studying supply-chain shifts across China, India, and Vietnam? Get complete GDP growth, trade volume, and demographic time-series from World Bank data spanning 50+ years, all in one go.
|
||||
|
||||
**Pre-contract risk check**: Need to vet a counterparty fast? Type the company name and instantly get business registration, equity structure, litigation disputes, and credit blacklist status — right when you need it.
|
||||
|
||||
**Literature review acceleration**: Tracing the research arc of RLHF? Get the most-cited papers, key authors, and core findings in seconds, so your literature review outline takes shape in half the time.
|
||||
|
||||
### Coverage
|
||||
|
||||
| Category | Scope |
|
||||
|---|---|
|
||||
| Stock market data | A-shares, HK, US, and major global markets — real-time/historical prices, technical indicators, financial statements, stock screening |
|
||||
| Macroeconomic data | World Bank data for 189 countries, 50+ years of time series (GDP, trade, population, climate, and more) |
|
||||
| Corporate data | Business registration, equity chain, legal risk, and related-entity graph for mainland Chinese companies |
|
||||
| Academic literature | Millions of papers across physics, mathematics, CS, quantitative finance, economics — including preprints |
|
||||
|
||||
### Notes
|
||||
|
||||
- Data queries are billed per call and consume Kimi Code account credits
|
||||
- The plugin provides read-only queries; no write or trading functionality is available
|
||||
- Technical indicators and real-time prices are only available during active trading hours
|
||||
- AI-generated output is for reference only and does not constitute investment or business advice
|
||||
|
||||
## Plugin Manifest
|
||||
|
||||
|
|
@ -151,20 +195,6 @@ Plugin MCP servers only start in new sessions. To enable or disable a server:
|
|||
/new
|
||||
```
|
||||
|
||||
## Official Plugins
|
||||
|
||||
The Kimi Code CLI official marketplace hosts reviewed official plugins. Currently available:
|
||||
|
||||
**[Kimi Datasource](./datasource.md)** — Query financial market data, macroeconomic indicators, corporate registration records, and academic literature in natural language.
|
||||
|
||||
Installation:
|
||||
|
||||
1. Run `/plugins` and select **Marketplace**
|
||||
2. Find **Kimi Datasource** and press `Space` to install
|
||||
3. Run `/new` to start a new session after installation
|
||||
|
||||
For data capabilities and usage examples, see the [Official Plugins documentation](./datasource.md).
|
||||
|
||||
## Security Model
|
||||
|
||||
Plugins have a limited loading scope. The following operations do not occur during installation or session startup:
|
||||
|
|
@ -176,6 +206,5 @@ Plugins have a limited loading scope. The following operations do not occur duri
|
|||
|
||||
## Next steps
|
||||
|
||||
- [Kimi Datasource](./datasource.md) — Official data plugin: installation and usage for financial market data, corporate records, and academic literature
|
||||
- [Agent Skills](./skills.md) — File format and frontmatter field reference for Skills
|
||||
- [MCP](./mcp.md) — Full schema and permission configuration for plugin MCP servers
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ The CLI is written in TypeScript, distributed via npm, and runs on Node.js.
|
|||
|
||||
Two installation options are available: the official install script (recommended, no pre-installed Node.js required) and a global npm install.
|
||||
|
||||
::: tip Before you install
|
||||
Kimi Code CLI is a fully interactive TUI application. For the best visual experience, run it in a terminal with true-color and ligature support, such as [Kitty](https://sw.kovidgoyal.net/kitty/) or [Ghostty](https://ghostty.org/).
|
||||
:::
|
||||
|
||||
### Install script (recommended)
|
||||
|
||||
- **macOS / Linux**:
|
||||
|
|
|
|||
|
|
@ -1,195 +0,0 @@
|
|||
# Kimi Datasource 官方插件
|
||||
|
||||
Kimi Datasource 是 Kimi Code 官方数据插件,通过自然语言直接查询金融行情、宏观经济、企业工商和学术文献,无需手动调用接口或申请数据账号。
|
||||
|
||||
**前提**:需通过 `/login` 以 Kimi Code 账号完成 OAuth 登录,插件依赖本地凭据访问数据服务。
|
||||
|
||||
## 安装
|
||||
|
||||
1. 在 Kimi Code CLI 内运行 `/plugins`
|
||||
2. 在弹出的菜单中选择 **Marketplace**
|
||||
3. 找到 **Kimi Datasource**,选择安装
|
||||
4. 安装完成后运行 `/new` 开启新会话,即可使用
|
||||
|
||||
## 金融数据
|
||||
|
||||
### 股票与全球市场行情
|
||||
|
||||
| 功能类别 | 说明 | 支持市场 |
|
||||
|---|---|---|
|
||||
| 实时行情 | 当前价、涨跌幅、分时数据 | A 股、港股、美股 |
|
||||
| 历史行情 | 历史区间收盘价、涨跌幅统计 | A 股、港股、美股及全球主要市场 |
|
||||
| 技术指标 | MACD、KDJ、RSI、BOLL、MA 等多空信号 | 仅 A 股 |
|
||||
| 财务报表 | 资产负债表、历年财务数据同比分析 | A 股、港股、美股及全球主要市场 |
|
||||
| 公司基本面 | 主营业务构成、股东信息 | A 股、港股、美股及全球主要市场 |
|
||||
| 股票筛选 | 按行业、市值、涨跌幅及财务指标等多条件过滤 | A 股、港股、美股 |
|
||||
| 指数行情 | 沪深300、上证、S&P 500、纳斯达克、日经等主要股指 | A 股、全球主要市场 |
|
||||
| 自选股管理 | 添加自选股,支持持仓成本与盈亏实时计算 | A 股、港股、美股 |
|
||||
|
||||
### 宏观经济数据
|
||||
|
||||
基于**世界银行**开放数据,覆盖 **189 个成员国、50 年以上**历史时间序列,涵盖 GDP、贸易、人口、贫困、教育、气候等数十类指标——无论是做跨国研究、行业报告还是政策分析,都能直接用自然语言调取。
|
||||
|
||||
| 功能类别 | 说明 |
|
||||
|---|---|
|
||||
| 核心宏观指标 | GDP、CPI、贸易额、失业率、外债等 |
|
||||
| 长周期历史数据 | 单国数据最长可追溯 50 年以上 |
|
||||
| 多国横向对比 | 支持同一指标跨国比较与排名 |
|
||||
| 主题数据集 | 贫困线、教育入学率、碳排放、人口结构、能源结构等专题 |
|
||||
|
||||
::: details 股价区间查询
|
||||
|
||||
```text
|
||||
帮我查一下茅台 2025 年 12 月到 2026 年 3 月的每日收盘价,用表格列出来,告诉我最高价和最低价分别是哪天、最大涨跌幅是多少。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 财务报表分析
|
||||
|
||||
```text
|
||||
帮我拉一下茅台 2024 年的资产负债表,和 2023 年做同比对比,用表格呈现关键指标的变化,并指出值得关注的异动项。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 公司基本面研究
|
||||
|
||||
```text
|
||||
帮我查一下腾讯的主要股东结构,以及近三年净利润和营收的变化趋势。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 股票筛选
|
||||
|
||||
```text
|
||||
在白酒板块里,筛选市值 500 亿以上的股票,列出名称和当前市值。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 全球市场行情
|
||||
|
||||
```text
|
||||
美股三大指数今天表现怎么样,有什么值得关注的板块异动?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 宏观经济对比
|
||||
|
||||
```text
|
||||
帮我查一下中国、印度、越南过去 20 年的 GDP 增速和人均 GDP 变化,做一个对比分析。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 主题数据研究
|
||||
|
||||
```text
|
||||
全球主要经济体近 10 年的碳排放量变化趋势,以及各国可再生能源占比情况。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## 企业数据
|
||||
|
||||
覆盖中国本土企业的工商注册、股权穿透、司法风险等信息,帮你在签合同、做尽调、排查合作方风险时快速拿到第一手数据,不用在多个平台间来回切换。
|
||||
|
||||
| 功能类别 | 说明 |
|
||||
|---|---|
|
||||
| 工商信息 | 注册资本、成立日期、法人代表、经营范围、参保人数等 |
|
||||
| 股权结构 | 股东出资比例、对外投资、实际控制人穿透 |
|
||||
| 法律风险 | 司法纠纷、失信被执行人、行政处罚、经营异常 |
|
||||
| 关联图谱 | 关联企业、共同法人、疑似关联方识别 |
|
||||
|
||||
> 仅支持中国大陆境内企业数据。
|
||||
|
||||
::: details 企业尽调
|
||||
|
||||
```text
|
||||
帮我查一下比亚迪股份有限公司的工商信息、主要股东结构和对外投资情况。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 合作方风险排查
|
||||
|
||||
```text
|
||||
帮我查一下 XX 科技有限公司有没有司法纠纷、失信被执行记录和行政处罚。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 股权穿透
|
||||
|
||||
```text
|
||||
帮我看一下这家公司的实际控制人是谁,以及关联企业有哪些。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## 学术数据
|
||||
|
||||
整合多个主流学术数据库,覆盖物理、数学、计算机科学、金融、经济等领域**百万量级**论文,支持文献检索、引用查询和最新预印本获取——无论是做综述、找参考文献,还是追踪某个方向的最新进展,直接描述需求就能拿到结果。
|
||||
|
||||
| 功能类别 | 说明 |
|
||||
|---|---|
|
||||
| 文献检索 | 按关键词、作者、研究主题精准搜索 |
|
||||
| 高引文献查询 | 快速定位特定领域的经典与高影响力论文 |
|
||||
| 预印本获取 | 第一时间访问尚未正式发表的最新研究成果 |
|
||||
| 跨学科覆盖 | 理工、人文、经济、金融、计算机、气候科学等 |
|
||||
|
||||
::: details 文献检索
|
||||
|
||||
```text
|
||||
帮我找一下近五年关于财务舞弊识别的经典学术论文,重点看异常应计利润相关的模型。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 前沿研究追踪
|
||||
|
||||
```text
|
||||
最近有哪些关于大语言模型推理能力的重要研究,主要结论是什么?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 预印本查询
|
||||
|
||||
```text
|
||||
帮我看一下最新的量化金融和机器学习结合的预印本论文,有哪些值得关注的方向。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 高引文献分析
|
||||
|
||||
```text
|
||||
强化学习从人类反馈(RLHF)领域最有影响力的论文有哪些,主要作者是谁?
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
::: details 学术论文写作
|
||||
|
||||
```text
|
||||
帮我整理一篇关于 Transformer 架构在自然语言处理中应用的文献综述提纲,
|
||||
重点梳理 2022 年以来的研究进展,引用高被引论文,并标注每篇文献的核心贡献。
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
## 注意事项
|
||||
|
||||
- 数据查询按次计费,消耗 Kimi Code 账号额度
|
||||
- 插件为只读查询,不提供任何写入或交易功能
|
||||
- 技术指标(MACD、KDJ 等)及实时行情仅在交易时段内可用,收盘后请改问"今天收盘怎么样"获取收盘摘要
|
||||
- AI 输出内容仅供参考,不构成任何投资或商业决策建议
|
||||
|
||||
## 下一步
|
||||
|
||||
- [Plugins](./plugins.md) — Plugin 系统的完整安装与开发文档
|
||||
- [MCP](./mcp.md) — kimi-datasource 基于 MCP 协议运行,了解底层机制
|
||||
|
|
@ -31,7 +31,11 @@ Kimi Code CLI 对 plugin 采用保守的加载策略:安装 plugin 时不会
|
|||
| `/plugins mcp enable <id> <server>` | 启用 plugin 声明的 MCP server |
|
||||
| `/plugins mcp disable <id> <server>` | 禁用 plugin 声明的 MCP server |
|
||||
|
||||
**GitHub URL 支持四种形式:**
|
||||
Plugin 管理器会展示每个安装的来源和信任徽章:`kimi-official`(来自官方地址)、`curated`(来自精选地址)、`third-party`(其他所有情况)。
|
||||
|
||||
### 从 GitHub 安装
|
||||
|
||||
通过 `/plugins install <url>` 可以直接从 GitHub 仓库安装,支持四种 URL 形式:
|
||||
|
||||
- `https://github.com/<owner>/<repo>`:安装最新 release;无 release 时回落到默认分支
|
||||
- `https://github.com/<owner>/<repo>/tree/<ref>`:安装指定分支、tag 或短 commit SHA
|
||||
|
|
@ -40,14 +44,54 @@ Kimi Code CLI 对 plugin 采用保守的加载策略:安装 plugin 时不会
|
|||
|
||||
网络请求只走 `github.com` 重定向和 `codeload.github.com` 下载,不调用 `api.github.com`。
|
||||
|
||||
**几点注意事项:**
|
||||
### 注意事项
|
||||
|
||||
- Plugin 变更只对新会话生效。安装、启用/禁用、移除或重载 plugin 后,需通过 `/new` 开启新会话;当前会话不会更新。
|
||||
- Plugin 变更只对新会话生效。安装、启用/禁用、移除后,需通过 `/reload` 重载插件或通过 `/new` 开启新会话;当前会话不会更新。
|
||||
- 本地安装会被拷贝到 `$KIMI_CODE_HOME/plugins/managed/<id>/`,CLI 始终从这份托管副本运行。安装后编辑原始源目录不会生效,需重新安装。
|
||||
- 移除 plugin 只会删除安装记录,托管副本和原始源文件仍保留在磁盘上。
|
||||
- Plugin 目前按用户安装,对所有项目生效,暂不支持项目级安装范围。
|
||||
|
||||
Plugin 管理器会展示每个安装的来源和信任徽章:`kimi-official`(来自官方地址)、`curated`(来自精选地址)、`third-party`(其他所有情况)。
|
||||
## Kimi Datasource
|
||||
|
||||
Kimi Datasource 是 Kimi Code 官方数据插件,让你通过自然语言直接查询金融行情、宏观经济、企业工商和学术文献,无需手动调用接口或申请任何数据账号。
|
||||
|
||||
### 安装
|
||||
|
||||
需先通过 `/login` 完成 Kimi Code 账号 OAuth 登录,插件依赖本地凭据访问数据服务。
|
||||
|
||||
1. 运行 `/plugins`,选择 **Marketplace**
|
||||
2. 找到 **Kimi Datasource**,按 `Space` 安装
|
||||
3. 安装完成后运行 `/reload` 重载插件,即可使用
|
||||
|
||||
### 使用方式
|
||||
|
||||
安装完成后,直接用自然语言描述你的需求,Kimi Code 会自动调用数据能力;也可以通过 `/skill:kimi-datasource` 明确触发数据查询 Skill。
|
||||
|
||||
### 能做什么
|
||||
|
||||
**实时量化研究**:盯着茅台想做个量化分析?一句话拉取近三年的每日收盘价、MACD 和 KDJ 信号,直接出结论,不用找第三方数据平台。
|
||||
|
||||
**跨国宏观对比**:研究中印越产业转移?基于世界银行 50 年历史数据,一次查询拿到三国 GDP 增速、贸易额、人口结构的完整时间序列对比。
|
||||
|
||||
**合同前风险排查**:签合同前五分钟才想起来要查对方背景?输入公司名,立刻拿到工商注册信息、股权穿透、司法纠纷和失信记录,当场决策。
|
||||
|
||||
**文献综述加速**:写论文要梳理 RLHF 领域的研究脉络?直接列出高引论文、主要作者和核心结论,综述提纲半小时内成型。
|
||||
|
||||
### 数据覆盖
|
||||
|
||||
| 类别 | 覆盖范围 |
|
||||
|---|---|
|
||||
| 股票行情 | A 股、港股、美股及全球主要市场实时/历史行情、技术指标、财务报表、股票筛选 |
|
||||
| 宏观经济 | 世界银行 189 个成员国、50 年以上历史时间序列(GDP、贸易、人口、气候等) |
|
||||
| 企业数据 | 中国大陆境内企业工商信息、股权穿透、司法风险、关联图谱 |
|
||||
| 学术文献 | 物理、数学、计算机、金融、经济等领域百万量级论文,支持预印本查询 |
|
||||
|
||||
### 注意事项
|
||||
|
||||
- 数据查询按次计费,消耗 Kimi Code 账号额度
|
||||
- 插件为只读查询,不提供任何写入或交易功能
|
||||
- 技术指标(MACD、KDJ 等)及实时行情仅在交易时段内可用
|
||||
- AI 输出内容仅供参考,不构成任何投资或商业决策建议
|
||||
|
||||
## Plugin manifest
|
||||
|
||||
|
|
@ -151,20 +195,6 @@ Plugin MCP servers 只会在新会话中启动。启用或禁用某个 server:
|
|||
/new
|
||||
```
|
||||
|
||||
## 官方插件
|
||||
|
||||
Kimi Code CLI 官方 marketplace 收录了经过审核的官方插件。目前可用:
|
||||
|
||||
**[Kimi Datasource](./datasource.md)** — 通过自然语言查询金融行情、宏观经济、企业工商和学术文献。
|
||||
|
||||
安装方式:
|
||||
|
||||
1. 运行 `/plugins`,选择 **Marketplace**
|
||||
2. 找到 **Kimi Datasource**,按 `Space` 安装
|
||||
3. 安装完成后运行 `/new` 开启新会话
|
||||
|
||||
数据能力、使用示例见[官方插件文档](./datasource.md)。
|
||||
|
||||
## 安全模型
|
||||
|
||||
Plugin 的加载范围有限,以下操作不会在安装或会话启动时发生:
|
||||
|
|
@ -176,6 +206,5 @@ Plugin 的加载范围有限,以下操作不会在安装或会话启动时发
|
|||
|
||||
## 下一步
|
||||
|
||||
- [Kimi Datasource](./datasource.md) — 官方数据插件:金融行情、企业工商、学术文献的安装与使用
|
||||
- [Agent Skills](./skills.md) — Skills 的文件格式与 frontmatter 字段参考
|
||||
- [MCP](./mcp.md) — Plugin MCP servers 的完整 schema 与权限配置
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ Kimi Code CLI 是一个运行在终端中的 AI Agent,帮助你完成软件开
|
|||
|
||||
提供两种安装方式:官方安装脚本(推荐,无需预装 Node.js)和 npm 全局安装。
|
||||
|
||||
::: tip 安装之前
|
||||
Kimi Code CLI 为全交互式 TUI 应用,推荐在支持真彩色与连字的现代终端中运行以获得最佳体验,例如 [Kitty](https://sw.kovidgoyal.net/kitty/) 或 [Ghostty](https://ghostty.org/)。
|
||||
:::
|
||||
|
||||
### 脚本安装(推荐)
|
||||
|
||||
- **macOS / Linux**:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue