← 返回 Skills 市场
gangtisegts

Gangtise知识库

作者 GangtiseGts · GitHub ↗ · v1.4.1 · MIT-0
cross-platform ⚠ suspicious
25
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gangtise-kb-api
功能描述
对 Gangtise 内部知识库(报告、观点、会议纪要等)进行语义检索,返回高相关度的内容片段。当你需要阅读或推理文档的真实内容(如论点、结论、段落等),并且不关心如何定位文件时,务必使用本技能;若你更偏向先按类型/日期/证券等定位筛选再下载核验,请使用 `gangtise-file`。检索结果以语义匹配为核心,...
使用说明 (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进行更新 -->

安全使用建议
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.
功能分析
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.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gangtise-kb-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gangtise-kb-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug gangtise-kb-api
版本 1.4.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Gangtise知识库 是什么?

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

如何安装 Gangtise知识库?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gangtise-kb-api」即可一键安装,无需额外配置。

Gangtise知识库 是免费的吗?

是的,Gangtise知识库 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gangtise知识库 支持哪些平台?

Gangtise知识库 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gangtise知识库?

由 GangtiseGts(@gangtisegts)开发并维护,当前版本 v1.4.1。

💬 留言讨论