← Back to Skills Marketplace
gangtisegts

Gangtise知识库

by GangtiseGts · GitHub ↗ · v1.4.1 · MIT-0
cross-platform ⚠ suspicious
25
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gangtise-kb-api
Description
对 Gangtise 内部知识库(报告、观点、会议纪要等)进行语义检索,返回高相关度的内容片段。当你需要阅读或推理文档的真实内容(如论点、结论、段落等),并且不关心如何定位文件时,务必使用本技能;若你更偏向先按类型/日期/证券等定位筛选再下载核验,请使用 `gangtise-file`。检索结果以语义匹配为核心,...
README (SKILL.md)

知识库检索

概览

该技能会在 Gangtise 内部知识库中进行深度语义检索,并直接返回高相关度的内容片段;这些命中结果以语义匹配为依据,强调专业性、准确性与覆盖关键表达,同时提供按类型与 ID 下载完整文件的可选方式。当你主要关心的是文档表达了什么(论点、结论、段落等),而不仅仅是定位文件时,它比 gangtise-file 更高效。

使用场景:

  • 你需要阅读、引用或总结内部文档的内容(例如研究报告、内部报告、会议纪要、首席观点等)。
  • 你希望快速获取关键段落,用于支撑推理、起草或问答。
  • 你已经大致了解主题,只需最相关的文本片段。

与其他技能的区别:

  • 如果你主要想按类型/日期/证券等定位/筛选文档,再决定下载或进一步处理,使用 gangtise-file

(中文说明:gangtise-kb 适合做“看内容”的检索,比如找观点、结论、段落;如果只是想先把某类文件筛出来看列表,用 gangtise-file 更合适。)

使用技巧:

  • 请注意检索时可以多尝试一些不同的语句。恰当的语句有:
    • 阳光电源 主营业务
    • 比亚迪汽车销量
    • 黄金价格
  • 诸如"比亚迪的研报"等语句,是错误的,你应该把研报作为类型参数来使用,而不是作为查询语句。语句仅为"比亚迪"即可。

调用并使用sd和ed参数时,注意今天的年份和日期!

知识库调用指南

脚本

scripts/kb.py

参数

参数 必填 说明
-q / --query 检索查询语句。
-sd / --start-date 开始日期,如 2026-01-01
-ed / --end-date 结束日期,如 2026-12-31
-l / --limit 返回结果数量上限。
-o / --output 搜索结果保存路径;若不指定,则默认保存在gangtise工作目录下的 kb/kb_x.md(自动编号);仅当环境变量GTS_SAVE_FILE为True时生效;一般不建议使用,由后端统一管理。
--file-types 文件类型,逗号分隔。可选:研究报告,外资研报,内部报告,AI云盘,首席观点,公司公告,产业公众号,会议纪要,调研纪要,网络纪要。
-d / --download 是否下载文件。
-od / --output-dir 下载文件保存路径。
-dt / --download-types 下载文件类型,逗号分隔。可选:pdf, markdown。

会议纪要,调研纪要,网络纪要的区别是:会议纪要是来自Gangtise会议平台,调研纪要来自公司调研公告,网络纪要来自网络资源搜集。

示例

示例 1(按关键词检索新能源汽车相关文件):

python3 scripts/kb.py -q "新能源汽车销量与政策"

示例 2(限制结果数量为 10, 查询比亚迪相关的外资研报):

python3 scripts/kb.py -q "新能源汽车销量与政策" -l 10 --file-types "外资研报"

\x3C!-- 通过scripts/utils.py检查版本;通过执行scripts/update.sh或scripts/update.bat进行更新 -->

\x3C!-- 如果skills主目录下存在gangtise_update.sh或gangtise_update.bat,则可以执行该脚本对所有以"gangtise-"开头的SKILL进行更新 -->

Usage Guidance
Install only if you trust this Gangtise integration and are comfortable letting it use local Gangtise credentials. Avoid running the update script unless you trust the remote source, and be careful with document downloads until the filename/path handling is tightened.
Capability Analysis
Type: OpenClaw Skill Name: gangtise-kb-api Version: 1.4.1 The skill bundle provides semantic search and document retrieval capabilities for the Gangtise internal knowledge base. The code logic in `kb.py` and `get_file.py` is consistent with the stated purpose, using authenticated requests to official Gangtise domains (open.gangtise.com). While the bundle includes a self-update script (`update.sh`) that downloads and replaces files from a Huawei Cloud OBS bucket, this is a standard maintenance feature for this ecosystem and includes logic to preserve user credentials in `.authorization`. No evidence of data exfiltration, malicious prompt injection, or unauthorized access was found.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose and visible code are coherent: the skill sends search queries to Gangtise knowledge-base APIs and can optionally download matching documents.
Instruction Scope
The instructions are mostly scoped to semantic search and optional document download; no hidden autonomous workflow is shown, but the agent is encouraged to use the skill whenever document content is needed.
Install Mechanism
There is no install spec, but an included update script can replace the skill from a remote ZIP without a pinned hash or signature if the user chooses to run it.
Credentials
The optional download path writes files using filenames taken from HTTP response headers without clearly confining the final path to the intended output directory.
Persistence & Privilege
The code reads Gangtise credentials from environment variables or a local .authorization file and creates local workspace/usage directories; this is purpose-aligned but more sensitive than the registry metadata suggests.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gangtise-kb-api
  3. After installation, invoke the skill by name or use /gangtise-kb-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.4.1
- Initial release of gangtise-kb skill for semantic retrieval within Gangtise's internal knowledge base. - Enables efficient extraction of relevant content fragments from reports, viewpoints, meeting minutes, and more. - Focuses on content understanding (arguments, conclusions, key paragraphs) rather than file location. - Includes support for query customization, date range, file type filtering, and optional file downloading. - Offers clear Chinese usage guidelines and differentiation from gangtise-file skill.
Metadata
Slug gangtise-kb-api
Version 1.4.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Gangtise知识库?

对 Gangtise 内部知识库(报告、观点、会议纪要等)进行语义检索,返回高相关度的内容片段。当你需要阅读或推理文档的真实内容(如论点、结论、段落等),并且不关心如何定位文件时,务必使用本技能;若你更偏向先按类型/日期/证券等定位筛选再下载核验,请使用 `gangtise-file`。检索结果以语义匹配为核心,... It is an AI Agent Skill for Claude Code / OpenClaw, with 25 downloads so far.

How do I install Gangtise知识库?

Run "/install gangtise-kb-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gangtise知识库 free?

Yes, Gangtise知识库 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gangtise知识库 support?

Gangtise知识库 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gangtise知识库?

It is built and maintained by GangtiseGts (@gangtisegts); the current version is v1.4.1.

💬 Comments