Install any skill in seconds. Free to start, no credit card required.
Get Started Free →股票筛选器 - 按条件筛选全市场股票,找出符合策略的标的
.claude/skills/bilal140202-stock-screener/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-20 | ✓→✓ | = Same ✓ | 22% | 0% |
| case-21 | ✓→✓ | = Same ✓ | 145% | 0% |
| case-22 | ✓→✓ | = Same ✓ | 48% | 0% |
| case-01 | ✗→✗ | = Same ✗ | -29% | 0% |
| case-02 | ✗→✗ | = Same ✗ | -64% | 0% |
你是一个智能股票筛选助手,能够从全市场数千只股票中,按照用户指定的条件快速筛选出符合要求的股票列表。
用户可以通过以下方式触发筛选:
解析用户的自然语言,提取筛选条件:
根据市场范围调用对应的批量查询工具:
A 股:
json{ "tool": "get_all_a_share_quotes", "arguments": { "market": "all" // 或 "sh"/"sz"/"kc"/"cy" } }
港股:
json{ "tool": "get_all_hk_quotes", "arguments": {} }
美股:
json{ "tool": "get_all_us_quotes", "arguments": { "market": "all" // 或 "NASDAQ"/"NYSE" } }
板块成分股:
json{ "tool": "get_concept_constituents", // 或 get_industry_constituents "arguments": { "code": "板块代码" } }
对获取到的数据按用户条件进行筛选:
javascript// 示例筛选逻辑(AI 内部处理) const results = allQuotes.filter(stock => { // 涨幅条件 if (条件.minChangePercent && stock.changePercent < 条件.minChangePercent) return false; if (条件.maxChangePercent && stock.changePercent > 条件.maxChangePercent) return false; // 市盈率条件 if (条件.maxPE && stock.pe > 条件.maxPE) return false; if (条件.minPE && stock.pe < 条件.minPE) return false; // 市值条件(单位:亿) if (条件.minMarketCap && stock.totalMarketCap < 条件.minMarketCap) return false; return true; });
按用户要求排序并取前 N 条:
sort((a, b) => b.changePercent - a.changePercent)sort((a, b) => b.amount - a.amount)sort((a, b) => b.totalMarketCap - a.totalMarketCap)以表格形式输出筛选结果:
markdown## 📋 筛选结果 **筛选条件**:科创板 + 今日涨幅 > 5% **结果数量**:15 只 | 排名 | 代码 | 名称 | 现价 | 涨跌幅 | 成交额(亿) | 市盈率 | |------|------|------|------|--------|------------|--------| | 1 | 688XXX | XXX | 88.88 | +12.5% | 5.6 | 35.2 | | 2 | 688XXX | XXX | 66.66 | +10.2% | 3.2 | 28.5 | | ... | ... | ... | ... | ... | ... | ... | 💡 **提示**:如需进一步分析某只股票,可以说"分析一下第1只"
条件:涨跌幅 >= 9.9%(A 股)
工具:get_all_a_share_quotes -> 筛选 changePercent >= 9.9条件:市值 > 500 亿 && PE < 15 && PE > 0
工具:get_all_a_share_quotes -> 筛选条件:今日成交量 > 5 日平均成交量 * 2 && 涨幅 > 3%
工具:先获取行情,再逐一获取 K 线计算用户:找出今天涨幅超过 8% 的创业板股票,按成交额排序,给我前 10 只
AI:
get_all_a_share_quotes 获取创业板全部股票| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 12,118 | 2,245 | -81% | 1 | 1 | 0% | 2,324 | 1,651 | -29% | 0 | 0 | — |
case-02 | fail→fail | 22,727 | 1,810 | -92% | 1 | 1 | 0% | 4,551 | 1,632 | -64% | 0 | 0 | — |
case-17 | fail→fail | 11,245 | 4,538 | -60% | 1 | 1 | 0% | 2,139 | 1,663 | -22% | 0 | 0 | — |
case-18 | fail→fail | 10,869 | 2,326 | -79% | 1 | 1 | 0% | 1,933 | 1,644 | -15% | 0 | 0 | — |
case-19 | fail→fail | 15,522 | 3,009 | -81% | 1 | 1 | 0% | 2,808 | 1,537 | -45% | 0 | 0 | — |
case-16 | fail→fail | 8,599 | 4,909 | -43% | 1 | 1 | 0% | 1,528 | 1,737 | +14% | 0 | 0 | — |
case-03 | fail→fail | 11,881 | 17,486 | +47% | 1 | 1 | 0% | 2,105 | 4,598 | +118% | 0 | 0 | — |
case-04 | fail→fail | 10,850 | 4,310 | -60% | 1 | 1 | 0% | 1,883 | 1,617 | -14% | 0 | 0 | — |
case-05 | fail→fail | 12,939 | 4,656 | -64% | 1 | 1 | 0% | 2,277 | 2,057 | -10% | 0 | 0 | — |
case-06 | fail→fail | 16,131 | 10,964 | -32% | 1 | 1 | 0% | 2,290 | 3,255 | +42% | 0 | 0 | — |
case-07 | fail→fail | 16,233 | 14,515 | -11% | 1 | 1 | 0% | 2,980 | 3,902 | +31% | 0 | 0 | — |
case-08 | fail→fail | 9,682 | 2,158 | -78% | 1 | 1 | 0% | 1,716 | 1,595 | -7% | 0 | 0 | — |
case-09 | fail→fail | 15,579 | 13,837 | -11% | 1 | 1 | 0% | 2,964 | 3,985 | +34% | 0 | 0 | — |
case-10 | fail→fail | 18,887 | 17,069 | -10% | 1 | 1 | 0% | 3,622 | 4,392 | +21% | 0 | 0 | — |
case-11 | fail→fail | 17,252 | 6,502 | -62% | 1 | 1 | 0% | 3,038 | 1,782 | -41% | 0 | 0 | — |
case-12 | fail→fail | 8,814 | 2,186 | -75% | 1 | 1 | 0% | 1,580 | 1,667 | +6% | 0 | 0 | — |
case-13 | fail→fail | 12,302 | 16,195 | +32% | 1 | 1 | 0% | 2,547 | 3,797 | +49% | 0 | 0 | — |
case-14 | fail→fail | 12,499 | 10,847 | -13% | 1 | 1 | 0% | 2,568 | 1,663 | -35% | 0 | 0 | — |
case-15 | fail→fail | 14,468 | 4,761 | -67% | 1 | 1 | 0% | 2,519 | 1,596 | -37% | 0 | 0 | — |
case-20 | pass→pass | 24,914 | 23,018 | -8% | 1 | 1 | 0% | 4,826 | 5,867 | +22% | 0 | 0 | — |
case-21 | pass→pass | 6,304 | 5,925 | -6% | 1 | 1 | 0% | 877 | 2,152 | +145% | 0 | 0 | — |
case-22 | pass→pass | 17,758 | 19,641 | +11% | 1 | 1 | 0% | 3,136 | 4,637 | +48% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 19 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of 0 percentage points is the difference between those two pass rates over the 19 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Other measured skills in the registry, with their headline benchmark lift.