[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M779QQGMT1C9ZZPWCRNZDFTK":3,"skill-same:01M779QQGMT1C9ZZPWCRNZDFTK":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M779QQGMT1C9ZZPWCRNZDFTK","cup-handle-detector",null,"检测股票日线是否符合\"杯柄形态（Cup and Handle）\"技术分析形态，并生成含轮廓线的识别示意图。触发场景：(1) 询问某只股票是否形成杯柄形态 (2) 查询杯柄形态股票 (3) 技术形态识别需求。触发词：杯柄形态、cup and handle、欧奈尔形态、技术形态识别。","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fcup-handle-detector\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cup-handle-detector\ndescription: 检测股票日线是否符合\"杯柄形态（Cup and Handle）\"技术分析形态，并生成含轮廓线的识别示意图。触发场景：(1) 询问某只股票是否形成杯柄形态 (2) 查询杯柄形态股票 (3) 技术形态识别需求。触发词：杯柄形态、cup and handle、欧奈尔形态、技术形态识别。\n---\n\n# Cup Handle Detector\n\n检测股票日线数据是否符合经典的\"杯柄形态\"技术分析形态，并生成可视化识别示意图（含杯柄轮廓线）。\n\n## 功能特性\n\n- **形态检测**：自动检测杯身（U型底部）和把手（下跌回调）\n- **轮廓绘制**：在K线图上绘制杯柄轮廓线（蓝色杯身+橙色把手）\n- **关键标注**：标记左杯口、杯底、右杯口、把手等关键点\n- **自适应日期**：日期标签自动调整间隔，避免重叠\n- **双语支持**：自动检测中文字体，无字体时使用英文标签\n\n## 依赖要求\n\n### 必需依赖\n\n| 依赖 | 版本要求 | 说明 |\n|---|---|---|\n| Python | ≥3.10 | 运行环境 |\n| pandas | ≥1.5 | 数据处理 |\n| numpy | ≥1.20 | 数值计算 |\n| matplotlib | ≥3.6 | 图表生成 |\n\n### 可选依赖\n\n| 依赖 | 用途 | 说明 |\n|---|---|---|\n| tushare | 实时数据获取 | 需配置 `TUSHARE_TOKEN` 环境变量 |\n\n### 中文字体支持\n\n图表标签自动适配：\n- 检测系统中文字体（SimHei、WenQuanYi等）\n- 无中文字体时自动使用英文标签（避免乱码）\n\n## 快速使用\n\n```bash\n# 单股票检测（需要 TUSHARE_TOKEN）\npython3 scripts\u002Fcup_handle_detector.py \u003C股票代码>\n\n# 批量扫描（从SQLite数据库）\npython3 scripts\u002Fbatch_scan_cup_handle.py --db \u003C数据库路径>\n```\n\n### 示例\n\n```bash\npython3 scripts\u002Fcup_handle_detector.py 600519.SH\npython3 scripts\u002Fbatch_scan_cup_handle.py --db data\u002Fstocks.sqlite\n```\n\n## 输出结果\n\n**符合杯柄形态时：**\n- 输出形态评分和各项参数\n- 生成含轮廓线的识别示意图（仅显示最近一年数据）\n- 图表保存至临时目录\n\n**不符合杯柄形态时：**\n- 输出 \"不匹配杯柄形态\"\n- 不生成图形文件\n\n## 图表特性\n\n生成的示意图包含：\n- **K线蜡烛图**（红涨绿跌，最近一年数据）\n- **杯身轮廓线**（蓝色U型曲线）\n- **把手轮廓线**（橙色回调曲线）\n- **颈线标注**（红色虚线，突破位）\n- **关键点标记**（左杯口、杯底、右杯口、把手）\n- **形态特征信息框**\n\n## 杯柄形态技术特征\n\n杯柄形态是威廉·欧奈尔提出的经典看涨持续形态。\n\n### 【重要】最新时间点约束\n\n本检测器只关注**最新一段时间内出现的杯柄形态**，历史过往形态不属于符合范畴。\n\n具体约束条件：\n- **右杯口距离最新交易日** ≤ 30 天\n- **把手终点距离最新交易日** ≤ 5 天\n\n这意味着形态的最后一个时间点必须是或接近最新的交易日，确保检测到的是**当前正在形成或刚完成**的形态，而非历史已完成的形态。\n\n### 杯身（Cup）\n- **形状**：U型底部（非V型）\n- **深度**：前期涨幅的1\u002F3到1\u002F2（15-33%）\n- **时间跨度**：1-6个月（30-180天）\n\n### 把手（Handle）\n- **位置**：位于杯子右侧\n- **形态**：向下倾斜或横向整理\n- **深度**：不超过杯深的1\u002F3\n- **时间跨度**：1-4周（5-30天）\n\n### 前置趋势\n- 形成前应有明显上升趋势（≥30%涨幅）\n\n## 算法说明\n\n详见 [references\u002Falgorithm.md](references\u002Falgorithm.md)。\n\n## 注意事项\n\n1. **数据要求**：至少需要180天日线数据\n2. **形态主观性**：算法评分仅作参考\n3. **风险提示**：技术形态仅为参考工具，不构成投资建议\n\n---\n\n*基于威廉·欧奈尔《笑傲股市》CANSLIM投资体系*","# Cup Handle Detector\n\n检测股票日线数据是否符合经典的\"杯柄形态\"技术分析形态，并生成可视化识别示意图（含杯柄轮廓线）。\n\n## 功能特性\n\n- **形态检测**：自动检测杯身（U型底部）和把手（下跌回调）\n- **轮廓绘制**：在K线图上绘制杯柄轮廓线（蓝色杯身+橙色把手）\n- **关键标注**：标记左杯口、杯底、右杯口、把手等关键点\n- **自适应日期**：日期标签自动调整间隔，避免重叠\n- **双语支持**：自动检测中文字体，无字体时使用英文标签\n\n## 依赖要求\n\n### 必需依赖\n\n| 依赖 | 版本要求 | 说明 |\n|---|---|---|\n| Python | ≥3.10 | 运行环境 |\n| pandas | ≥1.5 | 数据处理 |\n| numpy | ≥1.20 | 数值计算 |\n| matplotlib | ≥3.6 | 图表生成 |\n\n### 可选依赖\n\n| 依赖 | 用途 | 说明 |\n|---|---|---|\n| tushare | 实时数据获取 | 需配置 `TUSHARE_TOKEN` 环境变量 |\n\n### 中文字体支持\n\n图表标签自动适配：\n- 检测系统中文字体（SimHei、WenQuanYi等）\n- 无中文字体时自动使用英文标签（避免乱码）\n\n## 快速使用\n\n```bash\n# 单股票检测（需要 TUSHARE_TOKEN）\npython3 scripts\u002Fcup_handle_detector.py \u003C股票代码>\n\n# 批量扫描（从SQLite数据库）\npython3 scripts\u002Fbatch_scan_cup_handle.py --db \u003C数据库路径>\n```\n\n### 示例\n\n```bash\npython3 scripts\u002Fcup_handle_detector.py 600519.SH\npython3 scripts\u002Fbatch_scan_cup_handle.py --db data\u002Fstocks.sqlite\n```\n\n## 输出结果\n\n**符合杯柄形态时：**\n- 输出形态评分和各项参数\n- 生成含轮廓线的识别示意图（仅显示最近一年数据）\n- 图表保存至临时目录\n\n**不符合杯柄形态时：**\n- 输出 \"不匹配杯柄形态\"\n- 不生成图形文件\n\n## 图表特性\n\n生成的示意图包含：\n- **K线蜡烛图**（红涨绿跌，最近一年数据）\n- **杯身轮廓线**（蓝色U型曲线）\n- **把手轮廓线**（橙色回调曲线）\n- **颈线标注**（红色虚线，突破位）\n- **关键点标记**（左杯口、杯底、右杯口、把手）\n- **形态特征信息框**\n\n## 杯柄形态技术特征\n\n杯柄形态是威廉·欧奈尔提出的经典看涨持续形态。\n\n### 【重要】最新时间点约束\n\n本检测器只关注**最新一段时间内出现的杯柄形态**，历史过往形态不属于符合范畴。\n\n具体约束条件：\n- **右杯口距离最新交易日** ≤ 30 天\n- **把手终点距离最新交易日** ≤ 5 天\n\n这意味着形态的最后一个时间点必须是或接近最新的交易日，确保检测到的是**当前正在形成或刚完成**的形态，而非历史已完成的形态。\n\n### 杯身（Cup）\n- **形状**：U型底部（非V型）\n- **深度**：前期涨幅的1\u002F3到1\u002F2（15-33%）\n- **时间跨度**：1-6个月（30-180天）\n\n### 把手（Handle）\n- **位置**：位于杯子右侧\n- **形态**：向下倾斜或横向整理\n- **深度**：不超过杯深的1\u002F3\n- **时间跨度**：1-4周（5-30天）\n\n### 前置趋势\n- 形成前应有明显上升趋势（≥30%涨幅）\n\n## 算法说明\n\n详见 [references\u002Falgorithm.md](references\u002Falgorithm.md)。\n\n## 注意事项\n\n1. **数据要求**：至少需要180天日线数据\n2. **形态主观性**：算法评分仅作参考\n3. **风险提示**：技术形态仅为参考工具，不构成投资建议\n\n---\n\n*基于威廉·欧奈尔《笑傲股市》CANSLIM投资体系*",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fcup-handle-detector",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill cup-handle-detector",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill cup-handle-detector",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill cup-handle-detector","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fcup-handle-detector\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]