Share
ClickHouse/ClickHouse
Share a Claude Code session to pastila.nl and return a viewer link.
跨市场联动分析(A股/港股/美股/大宗商品)。当用户说"跨市场"、"联动"、"A股和美股"、"港股联动"、"AH溢价"、"中概股"、"美股跌了A股会跌吗"、"原油对A股影响"、"汇率影响"、"cross market"、"人民币贬值利好什么"、"跨市场联动"、"全球市场"时触发。MUST USE when user asks about cross-market correlation, AH…
$ npx skills add aifinlab/FinClaw --skill a-share-cross-market -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aifinlab/FinClaw a-share-cross-market --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/a-share-cross-market .claude/skills/a-share-cross-market && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "a-share-cross-market" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-market into .claude/skills/a-share-cross-market/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-cross-market", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-marketType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aifinlab/FinClaw --skill a-share-cross-market -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aifinlab/FinClaw a-share-cross-market --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/a-share-cross-market .agents/skills/a-share-cross-market && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "a-share-cross-market" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-market into .agents/skills/a-share-cross-market/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-cross-market", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aifinlab/FinClaw --skill a-share-cross-market -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aifinlab/FinClaw a-share-cross-market --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/a-share-cross-market .cursor/skills/a-share-cross-market && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "a-share-cross-market" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-market into .cursor/skills/a-share-cross-market/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-cross-market", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aifinlab/FinClaw.git --path skills/a-share-cross-market--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aifinlab/FinClaw --skill a-share-cross-market -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aifinlab/FinClaw a-share-cross-market --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/a-share-cross-market .gemini/skills/a-share-cross-market && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "a-share-cross-market" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-market into .gemini/skills/a-share-cross-market/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-cross-market", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aifinlab/FinClaw a-share-cross-marketInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aifinlab/FinClaw --skill a-share-cross-market -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/a-share-cross-market .github/skills/a-share-cross-market && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "a-share-cross-market" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-market into .github/skills/a-share-cross-market/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-cross-market", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aifinlab/FinClaw --skill a-share-cross-market -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aifinlab/FinClaw a-share-cross-market --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aifinlab/FinClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/a-share-cross-market .opencode/skills/a-share-cross-market && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "a-share-cross-market" agent skill from https://github.com/aifinlab/FinClaw/tree/main/skills/a-share-cross-market into .opencode/skills/a-share-cross-market/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "a-share-cross-market", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
a-share-cross-market跨市场联动分析(A股/港股/美股/大宗商品)。当用户说"跨市场"、"联动"、"A股和美股"、"港股联动"、"AH溢价"、"中概股"、"美股跌了A股会跌吗"、"原油对A股影响"、"汇率影响"、"cross market"、"人民币贬值利好什么"、"跨市场联动"、"全球市场"时触发。MUST USE when user asks about cross-market correlation, AH…
A Share Cross Market is an agent skill from aifinlab/FinClaw. 跨市场联动分析(A股/港股/美股/大宗商品)。当用户说"跨市场"、"联动"、"A股和美股"、"港股联动"、"AH溢价"、"中概股"、"美股跌了A股会跌吗"、"原油对A股影响"、"汇率影响"、"cross market"、"人民币贬值利好什么"、"跨市场联动"、"全球市场"时触发。MUST USE when user asks about cross-market correlation, AH premium, how US/HK markets affect A-shares, or commodity/FX impact on Chinese stocks. 分析A股与全球主要市场(美股/港股/商品/汇率)的联动关系、AH溢价、中概股映射、大宗商品传导。支持研报风格(formal)和快速参考风格(brief)。
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/cross-market-guide.md`).
The licence is Apache-2.0.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9e62862. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
A Share Cross Market loads about 1k tokens when it runs, and up to ~3k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 214 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aifinlab/FinClaw at commit 9e62862, republished under its Apache-2.0 licence (© aifinlab). 214 words, ~1,014 tokens.
.claude/skills/a-share-cross-market/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.# cn-stock-data 统一层获取行情(跨市场用 snowball 路由)
python -c "
import subprocess, json
# A股主要指数(通过 cn-stock-data → efinance 路由)
# 上证指数 000001, 沪深300 000300, 创业板指 399006
# 用 cn-stock-data skill 的 quote/kline 接口
# 港股(snowball 路由,HK 前缀)
# 恒生指数 HK00001, 恒生科技 HKHSTECH, H股指数 HK00011
# 美股(snowball 路由,US 前缀)
# 标普500 US.SPX, 纳斯达克 US.IXIC, 道琼斯 US.DJI
# 需要 pysnowball token 才能获取港美股数据
import pysnowball as ball
# ball.set_token('your_token')
# ball.quotec('SH000001,HKHSI,.DJI,.IXIC,.INX') # 跨市场报价
# ball.kline('SH000001', period='day', count=-120) # K线数据
"
# AH 股比较数据(akshare 直接调用)
python -c "
import akshare as ak
# AH 股比价
df = ak.stock_a_ah_comparison_em()
print(df.head(20).to_string())
# 返回字段:代码/名称/A股价格/H股价格/比价(A/H)/溢价率
"
# 大宗商品(akshare)
python -c "
import akshare as ak
# 国际原油
df = ak.futures_foreign_hist(symbol='CL') # WTI原油
# 伦敦金
df = ak.futures_foreign_hist(symbol='GC') # COMEX黄金
# LME铜
df = ak.futures_foreign_hist(symbol='HG') # COMEX铜
print(df.tail(5).to_string())
"补充 web 搜索:美股收盘情况、大宗商品实时价格、美元指数、离岸人民币汇率、美联储议息会议纪要、全球央行动态。
Step 1: 多市场数据获取 根据用户需求确定分析范围:
获取数据(近 60-120 个交易日):
| 市场 | 标的 | 数据源 |
|---|---|---|
| A股 | 上证/沪深300/创业板指 | cn-stock-data (efinance路由) |
| 美股 | S&P500/纳斯达克/道琼斯 | cn-stock-data (snowball路由) |
| 港股 | 恒生指数/恒生科技/H股指数 | cn-stock-data (snowball路由) |
| 商品 | 原油/黄金/铜/铁矿石 | akshare futures |
| 汇率 | 美元指数/离岸人民币 | web搜索 |
Step 2: 相关性与领先滞后分析
相关系数计算:
领先滞后关系:
联动强度变化:
Step 3: AH 溢价分析(如涉及)
通过 ak.stock_a_ah_comparison_em() 获取 AH 股数据:
| 溢价区间 | 市场状态 | 含义 |
|---|---|---|
| <110 | 罕见低溢价 | A股相对低估或港股相对高估 |
| 110-130 | 正常区间 | 反映制度差异溢价 |
| 130-150 | 偏高 | A股情绪偏热或港股承压 |
| >150 | 极端高溢价 | A股显著高估,关注回归风险 |
Step 4: 传导机制分析
资金流传导:
情绪传导:
基本面传导:
政策传导:
Step 5: 输出
| 维度 | formal(机构跨市场研究) | brief(快速跨市场参考) |
|---|---|---|
| 篇幅 | 4-8 页 | 1-2 页 |
| 市场覆盖 | A股+美股+港股+商品+汇率全覆盖 | 聚焦用户关心的2-3个市场 |
| 相关性分析 | 完整相关系数矩阵+滞后分析 | 定性描述联动方向和强度 |
| AH溢价 | 完整AH溢价表+历史对比 | 整体溢价水平+异常个股 |
| 传导机制 | 详细多路径分析 | 核心传导链1-2条 |
| 历史对比 | 类似历史情景回顾 | 不需要 |
| 免责声明 | 需要 | 不需要 |
# 调用 skill
result = run_skill({
"param1": "value1",
"param2": "value2"
})python scripts/run_skill.py --input data.json© aifinlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/a-share-cross-market of aifinlab/FinClaw.
Open the folder on GitHubat commit 9e62862
A Share Cross Market next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| A Share Cross Market this skillaifinlab/FinClaw | 255 | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| ShareClickHouse/ClickHouse | 50k | — | ~558 | Automated safety check: Notes | Apache-2.0 | |
| Developing Share PagesTriliumNext/Trilium | 38k | — | ~3.7k | Automated safety check: Pass | AGPL-3.0 | |
| SharingBuilderIO/agent-native | 7.1k | — | ~3.4k | Automated safety check: Pass | None | |
| Deslop Shared Libsgarrytan/gstack | 136k | — | ~3.3k | Automated safety check: Notes | MIT | |
| Skill Sharedavila7/claude-code-templates | 33k | 10 repos | ~729 | Automated safety check: Pass | MIT |
ClickHouse/ClickHouse
Share a Claude Code session to pastila.nl and return a viewer link.
TriliumNext/Trilium
A skill your agent uses when working on Trilium's share functionality — shared pages under /share/, the static HTML (share-theme) export, the share theme package (packages/share-theme: EJS…
BuilderIO/agent-native
Framework-level sharing and privacy for user-authored resources (dashboards, documents, forms, decks, etc.).
garrytan/gstack
Find worthwhile shared-code extractions in recent work. An agent skill from garrytan/gstack.
davila7/claude-code-templates
A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.
tabler/tabler
Moves logic out of Astro frontmatter into tested helper modules under shared/lib, with rules for naming, typing, deterministic demo data and sibling test files.
aifinlab/FinClaw
A skill your agent uses when the user asks for help with corporate credit due diligence, enterprise credit investigation, pre-loan review, borrower analysis, document collection, management…
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate-risk monitoring assistant for enterprise litigation/penalty/enforcement scanning (处罚/诉讼/被执行/失信等).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate client operating-volatility monitoring assistant (经营监测/指标波动/预警解释).
aifinlab/FinClaw
A skill your agent uses when you need a bank post-loan visit follow-up assistant to turn visit notes/materials into a structured memo (摘要/关键更新/风险观察/用途核验/行动项).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate credit issue-list assistant (问题清单/补件清单/催办台账).
aifinlab/FinClaw
A skill your agent uses when you need a bank corporate credit approval-opinion drafting assistant (审批意见/条款建议/有条件同意).
跨市场联动分析(A股/港股/美股/大宗商品)。当用户说"跨市场"、"联动"、"A股和美股"、"港股联动"、"AH溢价"、"中概股"、"美股跌了A股会跌吗"、"原油对A股影响"、"汇率影响"、"cross market"、"人民币贬值利好什么"、"跨市场联动"、"全球市场"时触发。MUST USE when user asks about cross-market correlation, AH…. A Share Cross Market is an agent skill from aifinlab/FinClaw. 跨市场联动分析(A股/港股/美股/大宗商品)。当用户说"跨市场"、"联动"、"A股和美股"、"港股联动"、"AH溢价"、"中概股"、"美股跌了A股会跌吗"、"原油对A股影响"、"汇率影响"、"cross market"、"人民币贬值利好什么"、"跨市场联动"、"全球市场"时触发。MUST USE when user asks about cross-market correlation, AH premium, how US/HK markets affect A-shares, or commodity/FX impact on Chinese stocks.
A Share Cross Market fits situations like: user asks about cross-market correlation; how US/HK markets affect A-shares; commodity/FX impact on Chinese stocks.
Run `npx skills add aifinlab/FinClaw --skill a-share-cross-market -a claude-code`. Or copy the skill folder (skills/a-share-cross-market in aifinlab/FinClaw) into .claude/skills/a-share-cross-market in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aifinlab/FinClaw --skill a-share-cross-market -a codex`. Or copy the skill folder (skills/a-share-cross-market in aifinlab/FinClaw) into .agents/skills/a-share-cross-market in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aifinlab/FinClaw --skill a-share-cross-market -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a-share-cross-market, .gemini/skills/a-share-cross-market, .github/skills/a-share-cross-market and .opencode/skills/a-share-cross-market in your project.
Going by SKILL.md and its folder, A Share Cross Market needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
A Share Cross Market is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with A Share Cross Market: Share (ClickHouse/ClickHouse, 50k stars), Developing Share Pages (TriliumNext/Trilium, 38k stars), Sharing (BuilderIO/agent-native, 7.1k stars) and Deslop Shared Libs (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aifinlab (a GitHub user) maintains it in aifinlab/FinClaw, which has 255 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on May 13, 2026.
Source: aifinlab/FinClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.