Best use case
global-knowledge-chunking is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
用于知识分块场景。适用于金融工作中的基础任务单元。
Teams using global-knowledge-chunking should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/global-knowledge-chunking/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How global-knowledge-chunking Compares
| Feature / Agent | global-knowledge-chunking | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
用于知识分块场景。适用于金融工作中的基础任务单元。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Global Skill: 法律条文或公司报告的知识片段切分 ## 数据来源 - 国家法律法规数据库(flk.npc.gov.cn) - 中国证监会法规与规章(csrc.gov.cn) - 上海证券交易所规则库(sse.com.cn) - 深圳证券交易所规则库(szse.cn) - 巨潮资讯公告与定期报告(cninfo.com.cn) - 美国 SEC EDGAR 公司文件(sec.gov) 说明:本 Skill 只使用公网可查数据。优先采用国家机关、监管机构、交易所、上市公司公告平台与公司官网公开页面;如接入评论、趋势、流量等公开数据源,需在实际部署时确认目标站点 robots、服务条款与访问频率限制。 ## 功能 - 将公开法律条文、规则条款、年报、审计报告等长文切分为适合检索与问答的知识片段。 - 抓取公开文档正文或链接的 PDF/HTML 文本 - 按条、章、节、标题、表格上下文进行规则化切分 - 支持滑动窗口切分与去重 - 输出 chunk_id、parent_doc_id、标题路径、正文、token 估算、页码/条号、URL、哈希 - 适合后续用于 RAG、法规问答、合规核查 ## 使用示例 ```bash cd script pip install -r requirements.txt python script/run_demo.py --url "https://www.csrc.gov.cn/csrc/c101953/c7547359/content.shtml" --mode regulation ``` ## 交易说明 本 Skill 不执行证券交易;“交易说明”仅说明其可服务于研究、合规、法务、审计场景,而非实时交易系统。 补充边界: - 本 Skill 仅基于公开资料进行检索、抽取、规则分析或代理评分。 - 不构成法律意见、审计结论、信贷审批结论或任何证券投资建议。 - 对“客户分群/客户价值评估”类结果,应明确标注其为公开数据 proxy,而非企业内部真实经营明细。 ## License 代码示例采用 MIT License;原始法规与公告文本版权归原发布机关或原披露主体。
Related Skills
yfinance-global
全球股票行情数据工具。优先使用国内数据源(腾讯财经),支持A股、港股、美股和全球指数。自动回退到Yahoo Finance获取海外数据。
global-macro
全球宏观数据仪表盘,整合中/美/欧/日等主要经济体的 GDP、CPI、利率、PMI 等核心指标,提供全球经济全景视图。当用户需要全球宏观经济概览时使用。
fund-knowledge-card
面向基金品牌与内容领域的知识卡片任务Skill,围绕「基金知识卡片助手」场景提供信息抽取、结构化分析与结果输出。
global-sensitive-statement
用于敏感声明检测场景。适用于金融工作中的基础任务单元。
global-semantic-retrieval
用于语义检索场景。适用于金融工作中的基础任务单元。
global-scenario-diagnosis
用于场景诊断场景。适用于金融工作中的基础任务单元。
global-reporting-caliber
用于报告口径场景。适用于金融工作中的基础任务单元。
global-product-matching-reasoning
用于产品匹配推理场景。适用于金融工作中的基础任务单元。
global-product-knowledge-retrieval
用于产品知识检索场景。适用于金融工作中的基础任务单元。
global-policy-rule-retrieval
用于政策规则检索场景。适用于金融工作中的基础任务单元。
global-material-completeness
用于材料完整性检查场景。适用于金融工作中的基础任务单元。
global-legal-report-template-report
用于法律报告模板场景。适用于金融工作中的基础任务单元。