{"id":"78646608-4ce6-472b-81fb-19db8d33a25b","entityType":"agent","slug":"clawhub-jinyu12166-ssq-analyzer-skill","name":"ssq-analyzer","canonicalUrl":"https://www.xpersona.co/agent/clawhub-jinyu12166-ssq-analyzer-skill","canonicalPath":"/agent/clawhub-jinyu12166-ssq-analyzer-skill","generatedAt":"2026-10-10T05:39:36.836Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":null},"description":"SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment. Skill: ssq-analyzer Owner: jinyu12166 Summary: SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment. Tags: latest:1.0.29 Version history: v1.0.29 | 2026-07-29T10:17:54.182Z | user - Remove","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17bk5y82fk590863n8fb20zvn8afqra:ssq-analyzer-skill","sourceUrl":"https://clawhub.ai/jinyu12166/ssq-analyzer-skill","homepage":"https://clawhub.ai/jinyu12166/skills/ssq-analyzer-skill","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/jinyu12166/ssq-analyzer-skill","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/jinyu12166/skills/ssq-analyzer-skill","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":66,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC valu"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":null},"stars":null,"forks":null,"downloads":1933,"packageName":null,"latestVersion":"1.0.29","tractionLabel":"1.9K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T22:36:28.167Z","lastCrawledAt":"2026-10-09T22:36:28.167Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T22:36:28.167Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.29","createdAt":"2026-07-29T10:17:54.182Z","changelog":"- Removed all user question parameters and storage, enhancing privacy. - Updated payment/order interface: order creation no longer requires a question argument. - Order metadata now only contains system-generated fields (no user content or lottery data). - Updated documentation with precise privacy and data usage statements. - Removed argparse dependency related to user input handling.","fileCount":11,"zipByteSize":28212},{"version":"1.0.28","createdAt":"2026-07-29T05:28:43.960Z","changelog":"- Added compiled Python cache files for file_utils to scripts/__pycache__/ - Removed the documentation file skill-card.md - No changes to behavior or features; internal/structure update only","fileCount":null,"zipByteSize":null},{"version":"1.0.27","createdAt":"2026-07-28T15:45:21.222Z","changelog":"- Removed legacy report file scripts/最新分析结果.md containing paid recommendation numbers. - Removed skill-card.md documentation. - Added scripts/ssq_data.db SQLite database for local draw data storage. - Documentation and storage reflect compliance with SkillSpector review requirements.","fileCount":null,"zipByteSize":null},{"version":"1.0.26","createdAt":"2026-07-28T14:55:08.586Z","changelog":"Version 1.0.26 - Switch from subprocess invocation to direct Python import for service execution, improving reliability and auditability. - Updated SKILL.md: clarified local storage fields, especially with new fields (slug, payTo, encrypted_data, description, resource_url) now included in order files. - Added explicit warning that the \"question\" field in orders may contain sensitive data and is stored locally (expires after 24h). - skill-card.md file removed.","fileCount":null,"zipByteSize":null},{"version":"1.0.25","createdAt":"2026-07-28T13:39:06.643Z","changelog":"ssq-analyzer-skill 1.0.25 - Added new scripts: recommend_ssq.py, and associated support files (including prebuilt .pyc files and a local SQLite database). - Removed the now-unneeded scripts/sm4_utils.py. - Updated documentation to clarify that free users can directly run fetch_ssq.py and analyze_ssq.py for statistical analysis, while paid recommendations are strictly enforced via clawtip order and payment flow. - Improved data flow transparency and clarified local data usage; now explicitly documents offline handling and payment-only network use. - Adjusted blue ball recommendation and reporting (now 4 candidates, brief rationale). - Inlined SM4 functionality and improved code structure—prevents bypassing payment for paid features.","fileCount":null,"zipByteSize":null},{"version":"1.0.24","createdAt":"2026-07-28T12:52:15.375Z","changelog":"- Added scripts/sm4_utils.py for SM4 encryption utilities. - Removed skill-card.md documentation file. - No changes to code logic or user-facing features.","fileCount":null,"zipByteSize":null},{"version":"1.0.23","createdAt":"2026-07-27T12:49:22.710Z","changelog":"ssq-analyzer-skill 1.0.23 - Added compiled Python cache files: scripts/__pycache__/file_utils.cpython-311.pyc and scripts/__pycache__/file_utils.cpython-38.pyc. - Removed the documentation file: skill-card.md.","fileCount":9,"zipByteSize":20294},{"version":"1.0.22","createdAt":"2026-07-27T09:36:23.855Z","changelog":"ssq-analyzer-skill v1.0.22 - Added cached Python bytecode files for file utils. - Added local SQLite database file for SSQ data storage. - Added new image file (likely for documentation or results visualization). - Removed skill-card.md file. - No changes to functionality or workflow in SKILL.md.","fileCount":null,"zipByteSize":null}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17bk5y82fk590863n8fb20zvn8afqra:ssq-analyzer-skill","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T05:39:36.836Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jinyu12166-ssq-analyzer-skill/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":null},"readme":"Skill: ssq-analyzer\n\nOwner: jinyu12166\n\nSummary: SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment.\n\nTags: latest:1.0.29\n\nVersion history:\n\nv1.0.29 | 2026-07-29T10:17:54.182Z | user\n\n- Removed all user question parameters and storage, enhancing privacy.\n- Updated payment/order interface: order creation no longer requires a question argument.\n- Order metadata now only contains system-generated fields (no user content or lottery data).\n- Updated documentation with precise privacy and data usage statements.\n- Removed argparse dependency related to user input handling.\n\nv1.0.28 | 2026-07-29T05:28:43.960Z | user\n\n- Added compiled Python cache files for file_utils to scripts/__pycache__/\n- Removed the documentation file skill-card.md\n- No changes to behavior or features; internal/structure update only\n\nv1.0.27 | 2026-07-28T15:45:21.222Z | user\n\n- Removed legacy report file scripts/最新分析结果.md containing paid recommendation numbers.\n- Removed skill-card.md documentation.\n- Added scripts/ssq_data.db SQLite database for local draw data storage.\n- Documentation and storage reflect compliance with SkillSpector review requirements.\n\nv1.0.26 | 2026-07-28T14:55:08.586Z | auto\n\nVersion 1.0.26\n\n- Switch from subprocess invocation to direct Python import for service execution, improving reliability and auditability.\n- Updated SKILL.md: clarified local storage fields, especially with new fields (slug, payTo, encrypted_data, description, resource_url) now included in order files.\n- Added explicit warning that the \"question\" field in orders may contain sensitive data and is stored locally (expires after 24h).\n- skill-card.md file removed.\n\nv1.0.25 | 2026-07-28T13:39:06.643Z | user\n\nssq-analyzer-skill 1.0.25\n\n- Added new scripts: recommend_ssq.py, and associated support files (including prebuilt .pyc files and a local SQLite database).\n- Removed the now-unneeded scripts/sm4_utils.py.\n- Updated documentation to clarify that free users can directly run fetch_ssq.py and analyze_ssq.py for statistical analysis, while paid recommendations are strictly enforced via clawtip order and payment flow.\n- Improved data flow transparency and clarified local data usage; now explicitly documents offline handling and payment-only network use.\n- Adjusted blue ball recommendation and reporting (now 4 candidates, brief rationale).\n- Inlined SM4 functionality and improved code structure—prevents bypassing payment for paid features.\n\nv1.0.24 | 2026-07-28T12:52:15.375Z | user\n\n- Added scripts/sm4_utils.py for SM4 encryption utilities.\n- Removed skill-card.md documentation file.\n- No changes to code logic or user-facing features.\n\nv1.0.23 | 2026-07-27T12:49:22.710Z | user\n\nssq-analyzer-skill 1.0.23\n\n- Added compiled Python cache files: scripts/__pycache__/file_utils.cpython-311.pyc and scripts/__pycache__/file_utils.cpython-38.pyc.\n- Removed the documentation file: skill-card.md.\n\nv1.0.22 | 2026-07-27T09:36:23.855Z | user\n\nssq-analyzer-skill v1.0.22\n\n- Added cached Python bytecode files for file utils.\n- Added local SQLite database file for SSQ data storage.\n- Added new image file (likely for documentation or results visualization).\n- Removed skill-card.md file.\n- No changes to functionality or workflow in SKILL.md.\n\nv1.0.21 | 2026-07-27T06:41:33.798Z | user\n\n- Removed the skill-card.md file.\n- No user-facing features or bug fixes; this update only deletes a documentation/sample file.\n\nv1.0.20 | 2026-07-27T02:35:09.525Z | user\n\nssq-analyzer-skill 1.0.20\n\n- Added local database file (ssq_data.db) for draw data storage.\n- New utility/cache files included in scripts/__pycache__.\n- Added example image (微信图片_20260719131752_314_7.jpg) to project assets.\n- Removed legacy skill-card.md documentation.\n- No changes to user-facing features or analysis logic.\n\nv1.0.19 | 2026-07-26T13:53:27.738Z | user\n\n- Added compiled Python cache files and a new SQLite database to scripts/\n- Included a sample image file 微信图片_20260719131752_314_7.jpg in scripts/\n- Removed skill-card.md from the root directory\n- No changes to capability description or functionality in SKILL.md\n\nv1.0.18 | 2026-07-26T10:22:48.556Z | user\n\nssq-analyzer-skill 1.0.18\n\n- Added scripts/ssq_data.db database file for local storage.\n- Added compiled Python cache files under scripts/__pycache__/.\n- Added sample image 微信图片_20260719131752_314_7.jpg to scripts/.\n- Removed skill-card.md metadata file.\n\nv1.0.17 | 2026-07-26T09:27:06.149Z | user\n\nssq-analyzer-skill 1.0.17\n\n- Added new compiled Python bytecode files for file utilities: scripts/__pycache__/file_utils.cpython-311.pyc and scripts/__pycache__/file_utils.cpython-38.pyc.\n- Added a new image file: 微信图片_20260719131752_314_7.jpg.\n- Removed the skill-card.md file.\n- No changes to public documentation or user-facing functionality.\n\nv1.0.16 | 2026-07-21T14:03:08.625Z | user\n\nssq-analyzer-skill v1.0.15\n\n- Added precompiled Python cache files and the SQLite database (ssq_data.db) to the repository.\n- skill-card.md was removed.\n- SKILL.md updated to define a structured workflow (create_order, pay, and service), improving clarity on script usage and integration with clawtip.\n- No changes to user-facing analysis or recommendation features.\n\nv1.0.15 | 2026-07-21T13:44:42.108Z | user\n\n- Added workflow definition to SKILL.md for standardized order/payment/service steps.\n- Removed skill-card.md.\n- Added new files: compiled Python cache, SQLite database (ssq_data.db), and an image.\n- No changes to user-facing logic or features; documentation now better supports automated flows.\n\nv1.0.14 | 2026-07-21T10:28:29.169Z | user\n\n- Added scripts/ssq_data.db, a cached database file, and scripts/__pycache__/file_utils.cpython-311.pyc for improved local data management.\n- Added 微信图片_20260719131752_314_7.jpg to the repository.\n- Removed skill-card.md.\n- Updated SKILL.md: clarified data transmission scope—now explicitly states that (only) user question text and encrypted payment credentials are sent via HTTPS for order processing, while no SSQ analysis data, purchase history, or personal user information is uploaded. Usability notice added before transmitting sensitive info.\n\nv1.0.13 | 2026-07-20T15:51:45.441Z | auto\n\n- Introduced freemium model: all双色球统计与分析功能免费，号码推荐为付费服务。\n- 现在自动从 cwl.gov.cn 拉取官方开奖数据并本地去重存储，统计分析无需支付即可直接执行。\n- 新增详细本地隐私与数据处理说明，支付流程仅传递订单元信息。\n- 重构 SKILL.md，优化功能说明、调用流程和免费/付费服务边界。\n- 更新 User-Agent 头为技能专用标识。\n\nv1.0.12 | 2026-07-20T09:57:39.556Z | user\n\n- Clarified and expanded documentation for the clawtip three-stage paid workflow, including data flow and storage locations.\n- Updated description to emphasize HTTPS transport and local-only storage for order metadata.\n- Added a \"Data Handling\" section for clearer transparency about transmitted and stored data.\n- Removed the sample skill-card.md file.\n\nv1.0.11 | 2026-07-20T09:15:31.734Z | user\n\n- Improved service and data security documentation in SKILL.md, clarifying data transmission and storage.\n- Added scripts/ssq_data.db database file to the repository.\n- Removed skill-card.md documentation file.\n- Updated description to highlight clawtip three-phase payment flow and local storage details.\n\nv1.0.10 | 2026-07-20T05:26:48.198Z | user\n\n- Added local database file: scripts/ssq_data.db\n- Added image file: 微信图片_20260719131752_314_7.jpg\n- Removed documentation file: skill-card.md\n- No SKILL.md logic or user workflow changes\n\nv1.0.9 | 2026-07-20T02:35:53.878Z | user\n\nVersion 1.0.9\n\n- Updated workflow documentation in SKILL.md for clearer and more standardized service and payment process descriptions.\n- Added new files: a sample database (scripts/ssq_data.db) and an image (微信图片_20260719131752_314_7.jpg).\n- Removed outdated file: skill-card.md.\n- Revised service execution steps and output handling to improve clarity and error reporting.\n- Enhanced documentation to reflect standardized parameters and metadata usage.\n\nv1.0.8 | 2026-07-19T10:06:49.157Z | user\n\nssq-analyzer-skill v1.0.8\n\n- 精简并重构文档内容，专注于支付处理和服务执行核心流程\n- 移除冗余说明与流程细节，保留要点与安全说明\n- 新增脚本与数据库相关文件\n- 删除 skill-card.md 文件\n\nv1.0.7 | 2026-07-19T09:26:50.489Z | user\n\nFix: remove auto-open browser; add file write warning; add language note\n\nv1.0.6 | 2026-07-19T07:50:14.784Z | user\n\nPrice reduced from 9.90 to 3.90 yuan\n\nv1.0.5 | 2026-07-19T07:40:55.891Z | user\n\nVersion 1.0.4\n\n- 移除 skill-card.md 文件，简化项目文件结构。\n- 核心功能和使用流程保持不变。\n\nv1.0.4 | 2026-07-19T07:26:00.114Z | user\n\nFix: use server-hosted QR code (.png); fix image format\n\nv1.0.3 | 2026-07-19T06:52:29.680Z | user\n\n- 新增文件：本地 SQLite 数据库文件 scripts/ssq_data.db。\n- 新增文件：编译后的工具脚本脚本/__pycache__/file_utils.cpython-311.pyc。\n- 数据库现已可本地持久化，便于历史开奖数据的累计与分析。\n\nv1.0.2 | 2026-07-19T06:44:12.672Z | user\n\nFix: honest description (paid skill); fix security/permissions contradiction; fix deceptive help text\n\nv1.0.1 | 2026-07-19T06:39:43.168Z | user\n\nFix: User-Agent header for 403; Optimize payment verification flow; Update SKILL.md description\n\nv1.0.0 | 2026-07-19T05:46:46.599Z | auto\n\nssq-analyzer-skill 1.0.0 – 首次发布\n\n- 自动从 cwl.gov.cn 抓取双色球开奖号码并建立本地历史数据库。\n- 实现红球冷热统计、奇偶比、AC 值、三区分布、和值、连号等完整规则过滤。\n- 智能生成并推荐 5 组高概率号码，附详细选号备注。\n- 支持一次性支付购买智能分析报告，依赖 clawtip-skill 完成支付流程。\n- 强调支付安全，仅传递订单元数据；用户数据不外传。\n\nArchive index:\n\nArchive v1.0.29: 11 files, 28212 bytes\n\nFiles: scripts/__pycache__/create_order.cpython-311.pyc (11837b), scripts/__pycache__/file_utils.cpython-311.pyc (4233b), scripts/analyze_ssq.py (9625b), scripts/create_order.py (6922b), scripts/fetch_ssq.py (7663b), scripts/file_utils.py (2170b), scripts/recommend_ssq.py (5998b), scripts/service.py (5811b), skill-card.md (2430b), SKILL.md (6854b), _meta.json (138b)\n\nFile v1.0.29:SKILL.md\n\n---\nname: \"ssq-analyzer\"\nversion: \"1.0.29\"\ndescription: >\n  SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment.\nmetadata:\n  author: \"Yujin\"\n  category: \"expert\"\n  permissions:\n    - \"network.outbound\"\n    - \"credential.read\"\n    - \"filesystem.read\"\n    - \"filesystem.write\"\n  requires:\n    - \"clawtip\"\n  workflow:\n    create_order:\n      script: scripts/create_order.py\n      outputs: [\"order_no\", \"amount\", \"indicator\"]\n    pay:\n      requires: clawtip\n      args: [\"{order_no}\", \"{indicator}\"]\n    service:\n      script: scripts/service.py\n      args: [\"{order_no}\"]\n---\n\n# ssq-analyzer\n\n> The primary interaction language is Chinese. If the user prefers English or another language, the assistant should switch accordingly.\n\n## 技能概述\n\n本技能提供**双色球彩票智能分析服务**，从中国福利彩票官网（cwl.gov.cn）拉取最新开奖数据，进行冷热号统计、规律分析和号码推荐。\n\n### 免费功能（无需支付，随时可用）\n\n✅ **数据抓取与数据库管理** — 从 cwl.gov.cn 官方 API 自动拉取最新开奖数据，增量更新本地 SQLite 数据库\n\n✅ **红球冷热属性统计** — 近 20 期热度排名（热号 ≥ 6 次、温号 3-5 次、冷号 < 3 次），逐球号遗漏期数和出现频率\n\n✅ **蓝球统计** — 近 20 期蓝球出现次数、遗漏期数和热温冷属性分类\n\n✅ **特征分布统计** — 奇偶比分布、AC 值分布（算术复杂度）、三区分布、和值统计\n\n✅ **近 20 期原始开奖数据** — 完整展示最近 20 期的红球、蓝球和开奖日期\n\n### 付费功能（3.9 元/次，通过 clawtip 验证后交付）\n\n🔒 **备选蓝球推荐（4 枚）** — 基于冷号反弹概率、奇偶搭配、遗漏深度等多策略综合排序\n\n🔒 **最终推荐号码（5 组）** — 每组 6 红球 + 1 蓝球，通过奇偶比、AC 值、三区分布、和值、连号、冷热配比等多维交叉过滤校验\n\n> **免费用户无需创建订单或配置支付**。直接运行 `fetch_ssq.py` 和 `analyze_ssq.py` 即可获取完整统计分析。\n> 推荐号码需要先创建订单，通过 clawtip 完成 3.9 元支付后，由 `service.py` 生成。\n\n---\n\n## 环境变量配置\n\n仅当需要支付验证时使用（运行 `create_order.py` 时）：\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `CLAWTIP_PAY_TO` | 是 | clawtip 商户收款地址 |\n| `CLAWTIP_SM4_KEY` | 是 | SM4 加密密钥 |\n\n---\n\n## 前置条件\n\n如需支付功能，需安装 clawtip：\n\n```bash\nopenclaw skills install clawtip\n```\n\n---\n\n## 🚀 免费使用（无需支付）\n\n直接运行以下命令即可获取完整统计分析：\n\n**抓取最新数据：**\n```bash\npython3 scripts/fetch_ssq.py\n```\n\n**生成分析报告：**\n```bash\npython3 scripts/analyze_ssq.py\n```\n\n报告包含：红球冷热统计、蓝球统计、奇偶比/AC值/三区分布/和值等特征分析、近 20 期开奖数据。\n\n---\n\n## 🛒 第一阶段：创建订单（仅付费推荐需要）\n\n如果用户需要推荐号码，先创建订单。\n\n```bash\npython3 scripts/create_order.py\n```\n\n**成功输出：** `ORDER_NO=... AMOUNT=... INDICATOR=...`\n\n**失败：** `订单创建失败: <详情>` → 终止。\n\n> 运行后会在本地创建订单文件：`~/.openclaw/skills/orders/{indicator}/{order_no}.json`\n> 仅包含支付必要的元数据（orderNo、amount、slug、payTo、encrypted_data、description、resource_url）。\n> **不收集、不存储任何用户咨询内容、开奖数据或个人身份信息。**\n\n---\n\n## 💳 第二阶段：支付处理\n\n使用技能 **clawtip** 处理支付。\n\n调用参数：\n- `orderNo`：第一阶段的 ORDER_NO\n- `indicator`：第一阶段的 INDICATOR\n\n> ⚠️ 必须使用名称精确等于 `clawtip` 的技能。\n\n---\n\n## 🚀 第三阶段：服务执行（含付费推荐）\n\n无论是否支付，先执行免费分析：\n\n```bash\npython3 scripts/service.py\n```\n\n如果有支付凭证，推荐号码会自动附加。\n\n如果已支付，传入订单号：\n\n```bash\npython3 scripts/service.py \"<order_no>\"\n```\n\n---\n\n## 数据流说明\n\n### 网络请求\n\n| 方向 | 目标 | 传输内容 | 频率 |\n|------|------|----------|------|\n| 出站 | `cwl.gov.cn` API | 公开开奖查询（无用户数据） | 按需（用户触发） |\n| 出站 | clawtip 支付服务 | 仅技能标识符 slug（无彩票数据、无用户数据） | 仅创建订单时 |\n\n### 本地存储\n\n| 文件 | 路径 | 内容 |\n|------|------|------|\n| 开奖数据库 | `scripts/ssq_data.db` | 公开开奖号码，无用户数据 |\n| 分析报告 | `scripts/最新分析结果.md` | 统计结果 + 推荐号码（如有支付） |\n| 订单文件 | `~/.openclaw/skills/orders/{indicator}/{order_no}.json` | 仅支付元数据（orderNo、amount、slug、payTo、encrypted_data） |\n\n> **隐私承诺**：本技能不收集、不存储、不传输任何用户个人信息、咨询内容或彩票数据。\n> 订单文件包含的字段均为支付处理所需的系统生成数据，不含用户输入内容。\n\n### 绝不收集或传输\n\n- 用户咨询内容或问题描述\n- 个人身份信息、设备信息\n- 支付密码或钱包私钥\n- 选号偏好或购买记录\n\n---\n\n## 分析流程\n\n1. **数据抓取**（免费）：`fetch_ssq.py` → `cwl.gov.cn` → 本地 SQLite\n2. **统计分析**（免费）：`analyze_ssq.py` → 本地生成分析报告（不含推荐号码）\n3. **号码推荐**（付费）：`service.py` → 验证凭证 → 生成推荐号码\n\n---\n\n## ⚠️ 风险提示\n\n> 本报告基于历史数据统计分析生成。彩票开奖为随机独立事件，任何分析方法均不能保证中奖。请理性购彩，量力而行。\n\n> 本技能使用 SM4 国密算法仅用于 clawtip 支付流程中的凭证加密。不用于加密彩票数据、用户信息或通信内容。\n\n---\n\n## 版本历史\n\n| Version | Date | Notes |\n|:--------|:-----|:------|\n| 1.0.29 | 2026-07-29 | 移除 question 参数和存储；移除 argparse；更新隐私说明为精确声明 |\n| 1.0.27 | 2026-07-28 | Fix SkillSpector: remove old report with paid numbers; update docstring for credential fields |\n| 1.0.26 | 2026-07-28 | Fix SkillSpector: subprocess→direct import; accurate storage disclosure; question field caution |\n| 1.1.1 | 2026-07-28 | Fix SkillSpector findings: freemium enforcement, remove --recommend bypass, inline SM4, accurate data-flow disclosure |\n| 1.1.0 | 2026-07-28 | Switch to official clawtip wallet; env-var config |\n| 1.0.20 | 2026-07-20 | Freemium model |\n| 1.0.1 | 2026-07-20 | Fix payment flow |\n| 1.0.0 | 2026-07-19 | Initial release |\n\nFile v1.0.29:_meta.json\n\n{\n  \"ownerId\": \"kn71ajnjnjnhwfs7mmzpg48t9d8af45f\",\n  \"slug\": \"ssq-analyzer-skill\",\n  \"version\": \"1.0.29\",\n  \"publishedAt\": 1785320274182\n}\n\nFile v1.0.29:skill-card.md\n\n## Description: <br>\nSSQ (Double Color Ball) lottery intelligent analysis fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions, and can deliver five paid recommendation sets through clawtip payment. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[jinyu12166](https://clawhub.ai/user/jinyu12166) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and agents use this skill to fetch public SSQ draw data, generate local statistical lottery analysis, and optionally produce paid recommendation sets after clawtip payment validation. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Lottery recommendations can be misread as predictive guarantees even though draws are random independent events. <br>\nMitigation: Treat generated recommendations as statistical analysis only and retain the skill's responsible-use warning that no method can guarantee winning. <br>\nRisk: The skill performs outbound fetches and writes local database, report, and payment-order files. <br>\nMitigation: Install only when the user accepts the documented data flow and filesystem writes; use paid mode only after configuring the clawtip recipient address and SM4 key. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/jinyu12166/skills/ssq-analyzer-skill) <br>\n- [Publisher profile](https://clawhub.ai/user/jinyu12166) <br>\n- [China Welfare Lottery draw notice API](https://www.cwl.gov.cn/cwl_admin/front/cwlkj/search/kjxx/findDrawNotice) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown report and console text with shell command guidance] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Writes a local SQLite draw database, a Markdown analysis report, and local clawtip order metadata when paid recommendations are requested.] <br>\n\n## Skill Version(s): <br>\n1.0.29 (source: frontmatter and release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.23: 9 files, 20294 bytes\n\nFiles: scripts/analyze_ssq.py (19455b), scripts/create_order.py (3340b), scripts/fetch_ssq.py (7346b), scripts/file_utils.py (2170b), scripts/service.py (4349b), scripts/最新分析结果.md (7386b), skill-card.md (2800b), SKILL.md (6917b), _meta.json (138b)\n\nFile v1.0.23:SKILL.md\n\n---\r\nname: \"ssq-analyzer\"\r\nversion: \"1.0.20\"\r\ndescription: >\r\n  SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Free tier: all statistical analysis and trend charts. Paid tier ($3.9/run): 5 recommended number sets with cross-validation filtering, delivered after clawtip third-party identity verification. User question text and encrypted payment credentials are transmitted via HTTPS to the clawtip verification service for order creation and fulfillment. No SSQ analysis data, purchase history, or personal user information is uploaded.\r\nmetadata:\r\n  author: \"Yujin\"\r\n  version: \"1.1.0\"\r\n  category: \"expert\"\r\n  permissions:\r\n    - \"network.outbound\"\r\n    - \"credential.read\"\r\n    - \"filesystem.read\"\r\n    - \"filesystem.write\"\r\n  requires:\r\n    - \"clawtip-skill\"\r\n  workflow:\r\n    create_order:\r\n      script: scripts/create_order.py\r\n      args: [\"{question}\"]\r\n      outputs: [\"order_no\", \"amount\", \"indicator\"]\r\n    pay:\r\n      requires: clawtip-skill\r\n      args: [\"{order_no}\", \"{indicator}\"]\r\n    service:\r\n      script: scripts/service.py\r\n      args: [\"{order_no}\"]\r\n---\r\n\r\n# ssq-analyzer\r\n\r\nPlease interact with users in Chinese (使用中文与用户交互). If the user asks in another language, switch to that language and ensure all data handling and payment notices are communicated clearly.\r\n\r\n## 功能概述\r\n\r\n本技能提供双色球彩票的智能分析服务，从中国福利彩票官网（cwl.gov.cn）拉取最新开奖数据，进行冷热号统计、规律分析和号码推荐。\r\n\r\n**免费提供全部统计分析内容，付费仅用于五组推荐号码的生成。**\r\n\r\n### 免费功能（无需支付，即刻可用）\r\n\r\n**数据抓取与数据库管理**\r\n- 从 cwl.gov.cn 官方 API 自动拉取最新开奖数据\r\n- 增量更新本地 SQLite 数据库，自动去重\r\n- 当前数据库覆盖 50+ 期历史数据\r\n\r\n**红球冷热属性统计**\r\n- 基于近 20 期的热度排名（热号 ≥ 6 次、温号 3-5 次、冷号 < 3 次）\r\n- 逐球号的遗漏期数和出现频率\r\n- 可视化热力图（# 号条状图）\r\n\r\n**蓝球统计**\r\n- 近 20 期蓝球出现次数和遗漏期数\r\n- 热温冷属性分类\r\n\r\n**特征分布统计**\r\n- 奇偶比分布（从 1:5 到 5:1 的频率）\r\n- AC 值分布（算术复杂度，7-10 为高概率区间）\r\n- 三区分布（1-11 / 12-22 / 23-33 的号码分布模式）\r\n- 和值统计（平均值、最大/最小值）\r\n\r\n**近 20 期原始开奖数据**\r\n- 完整展示最近 20 期的红球、蓝球和开奖日期\r\n\r\n### 付费功能（3.9 元/次，通过 clawtip 验证后交付）\r\n\r\n**备选蓝球推荐（4 枚）** — 基于冷号反弹概率、奇偶搭配、遗漏深度等多策略综合排序，含逐球推荐理由。\r\n\r\n**最终推荐号码（5 组）** — 每组包含 6 个红球 + 1 个蓝球，全部通过以下过滤规则校验：\r\n- 奇偶比：仅允许 3:3、4:2、2:4\r\n- AC 值：仅允许 7-10\r\n- 三区分布：仅允许均衡/偏均衡模式\r\n- 和值：仅允许 80-150\r\n- 连号：禁止三连号，二连号不超过 1 组\r\n- 冷热配比：热号 ≤ 3，冷号 ≤ 3，温号 ≥ 2\r\n- 组间交叉验证：任意两组间重复红球不超过 2 个\r\n\r\n每组附完整的维度校验表（奇偶比、AC 值、三区分布、和值、连号数、冷热配比）和选号策略备注。\r\n\r\n### 使用场景示例\r\n\r\n- \"帮我更新一下最新的双色球开奖数据\"（免费）\r\n- \"看看最近的冷热号分布\"（免费）\r\n- \"这期的奇偶比和 AC 值趋势怎么样\"（免费）\r\n- \"给我生成 5 组推荐号码\"（付费，3.9 元）\r\n\r\n### 分析流程\r\n\r\n1. **数据抓取**：运行 `fetch_ssq.py` 从 cwl.gov.cn 拉取最新开奖数据存入本地 SQLite\r\n2. **统计分析**（免费）：运行 `analyze_ssq.py` 生成完整分析报告，写入 `最新分析结果.md`\r\n3. **号码推荐**（付费）：通过 clawtip 验证后，从分析报告的第四、五部分读取推荐结果\r\n\r\n---\r\n\r\n## 数据处理与隐私说明\r\n\r\n本技能严格遵守数据最小化与透明传输原则：\r\n\r\n### 本地处理（数据始终不离开本机）\r\n- 开奖数据拉取与存储（SQLite 数据库在本地）\r\n- 冷热统计、特征分析、号码生成均在本地 Python 脚本完成\r\n- 分析报告写入本地 Markdown 文件\r\n\r\n### 远程传输（仅身份验证阶段）\r\n- **传输内容**：技能标识（slug）、订单号（orderNo）、加密支付凭证（SM4 加密，非明文）\r\n- **传输目标**：`https://api.ideaidea.com.cn`（clawtip 第三方验证服务）\r\n- **传输协议**：HTTPS + SM4 国密加密\r\n- **传输时机**：仅在订单创建和履约验证时发生\r\n\r\n### 本地存储\r\n- 订单元数据存储至 `~/.openclaw/skills/orders/{indicator}/{order_no}.json`\r\n- 开奖数据库 `ssq_data.db` 和分析报告 `最新分析结果.md` 存储在 scripts 目录\r\n\r\n### 绝不收集或传输\r\n- 个人身份信息、设备信息\r\n- 支付密码或钱包私钥\r\n- 选号偏好或购买记录\r\n\r\n---\r\n\r\n## 如何开始使用\r\n\r\n### 免费部分 — 随时可用\r\n\r\n**抓取最新数据：**\r\n```bash\r\npython3 scripts/fetch_ssq.py\r\n```\r\n\r\n**生成分析报告：**\r\n```bash\r\npython3 scripts/analyze_ssq.py\r\n```\r\n\r\n报告生成后可直接阅读 `scripts/最新分析结果.md`。报告的第五、六部分（备选蓝球、推荐号码）需要 clawtip 验证后获取。\r\n\r\n### 付费部分 — 获取推荐号码\r\n\r\n本技能通过 clawtip 第三方服务完成身份验证。首次使用需经过以下流程；若已持有有效订单号且订单文件包含支付凭证，可直接跳到第三阶段。\r\n\r\n**前置条件：** 已安装 clawtip 第三方验证服务 — `openclaw skills install clawtip`\r\n\r\n**第一阶段 — 创建验证订单：**\r\n```bash\r\npython3 scripts/create_order.py \"<question>\"\r\n```\r\n\r\n运行前，脚本会显示如下通知，说明传输范围。确认后继续执行。\r\n\r\n**第二阶段 — 身份验证：** 使用技能 `clawtip` 完成支付验证，传入 `order_no` 和 `indicator`。\r\n\r\n**第三阶段 — 获取推荐号码：**\r\n```bash\r\npython3 scripts/service.py \"<order_no>\"\r\n```\r\n\r\n运行前，脚本会显示如下通知，说明将发送加密支付凭证至验证服务。\r\n\r\n---\r\n\r\n## 风险提示\r\n\r\n> 本报告基于历史数据统计分析生成，彩票开奖为随机独立事件，任何分析方法均不能保证中奖。请理性购彩，量力而行。\r\n\r\n---\r\n\r\n## 版本历史\r\n\r\n| Version | Date | Notes |\r\n|:---|:---|:---|\r\n| 1.1.0 | 2026-07-20 | Freemium model: statistics free, recommendations paid. Restructured SKILL.md with capability-first layout. Updated UA headers to skill-specific identifiers. |\r\n| 1.0.1 | 2026-07-20 | Fix payment flow to match clawtip standard |\r\n| 1.0.0 | 2026-07-19 | Initial release |\n\nFile v1.0.23:_meta.json\n\n{\n  \"ownerId\": \"kn71ajnjnjnhwfs7mmzpg48t9d8af45f\",\n  \"slug\": \"ssq-analyzer-skill\",\n  \"version\": \"1.0.23\",\n  \"publishedAt\": 1785156562710\n}\n\nFile v1.0.23:scripts/最新分析结果.md\n\n# 双色球智能分析报告\r\n\r\n> 生成时间：2026-07-21 21:49\r\n> 数据基准：近20期（2026032 ~ 2026082）\r\n> 数据库总计：51 期历史数据\r\n\r\n---\r\n\r\n## 一、近20期开奖原始数据\r\n\r\n| 期号 | 红球 | 蓝球 | 日期 |\r\n|------|------|------|------|\r\n| 2026063 | 02 08 25 28 30 31 | 02 | 2026-06-04(四) |\r\n| 2026064 | 01 09 15 18 29 33 | 15 | 2026-06-07(日) |\r\n| 2026065 | 07 08 16 24 30 32 | 02 | 2026-06-09(二) |\r\n| 2026066 | 05 11 21 23 24 29 | 16 | 2026-06-11(四) |\r\n| 2026067 | 04 19 27 29 30 32 | 13 | 2026-06-14(日) |\r\n| 2026068 | 03 05 16 18 29 32 | 04 | 2026-06-16(二) |\r\n| 2026069 | 12 14 16 17 18 32 | 08 | 2026-06-18(四) |\r\n| 2026070 | 03 06 08 14 26 27 | 08 | 2026-06-21(日) |\r\n| 2026071 | 03 08 19 25 31 33 | 05 | 2026-06-23(二) |\r\n| 2026072 | 07 08 12 15 17 21 | 01 | 2026-06-25(四) |\r\n| 2026073 | 09 10 13 16 19 21 | 08 | 2026-06-28(日) |\r\n| 2026074 | 02 23 24 26 28 32 | 04 | 2026-06-30(二) |\r\n| 2026075 | 08 12 18 21 24 30 | 01 | 2026-07-02(四) |\r\n| 2026076 | 01 03 19 20 24 25 | 07 | 2026-07-05(日) |\r\n| 2026077 | 01 04 05 14 18 25 | 04 | 2026-07-07(二) |\r\n| 2026078 | 07 11 14 16 27 28 | 06 | 2026-07-09(四) |\r\n| 2026079 | 01 11 17 22 24 29 | 04 | 2026-07-12(日) |\r\n| 2026080 | 04 05 11 19 27 32 | 01 | 2026-07-14(二) |\r\n| 2026081 | 06 10 12 15 24 27 | 12 | 2026-07-16(四) |\r\n| 2026082 | 05 07 10 14 21 28 | 04 | 2026-07-19(日) |\r\n\r\n## 二、红球冷热属性统计（近20期）\r\n\r\n| 球号 | 出现次数 | 遗漏 | 频率 | 属性 | 热力图 |\r\n|------|---------|------|------|------|--------|\r\n| 01 | 4 | 3 | 3.3% | [温] | ####------ |\r\n| 02 | 2 | 8 | 1.7% | [冷] | ##-------- |\r\n| 03 | 4 | 6 | 3.3% | [温] | ####------ |\r\n| 04 | 3 | 2 | 2.5% | [温] | ###------- |\r\n| 05 | 5 | 0 | 4.2% | [温] | #####----- |\r\n| 06 | 2 | 1 | 1.7% | [冷] | ##-------- |\r\n| 07 | 4 | 0 | 3.3% | [温] | ####------ |\r\n| 08 | 6 | 7 | 5.0% | [热] | ######---- |\r\n| 09 | 2 | 9 | 1.7% | [冷] | ##-------- |\r\n| 10 | 3 | 0 | 2.5% | [温] | ###------- |\r\n| 11 | 4 | 2 | 3.3% | [温] | ####------ |\r\n| 12 | 4 | 1 | 3.3% | [温] | ####------ |\r\n| 13 | 1 | 9 | 0.8% | [冷] | #--------- |\r\n| 14 | 5 | 0 | 4.2% | [温] | #####----- |\r\n| 15 | 3 | 1 | 2.5% | [温] | ###------- |\r\n| 16 | 5 | 4 | 4.2% | [温] | #####----- |\r\n| 17 | 3 | 3 | 2.5% | [温] | ###------- |\r\n| 18 | 5 | 5 | 4.2% | [温] | #####----- |\r\n| 19 | 5 | 2 | 4.2% | [温] | #####----- |\r\n| 20 | 1 | 6 | 0.8% | [冷] | #--------- |\r\n| 21 | 5 | 0 | 4.2% | [温] | #####----- |\r\n| 22 | 1 | 3 | 0.8% | [冷] | #--------- |\r\n| 23 | 2 | 8 | 1.7% | [冷] | ##-------- |\r\n| 24 | 7 | 1 | 5.8% | [热] | #######--- |\r\n| 25 | 4 | 5 | 3.3% | [温] | ####------ |\r\n| 26 | 2 | 8 | 1.7% | [冷] | ##-------- |\r\n| 27 | 5 | 1 | 4.2% | [温] | #####----- |\r\n| 28 | 4 | 0 | 3.3% | [温] | ####------ |\r\n| 29 | 5 | 3 | 4.2% | [温] | #####----- |\r\n| 30 | 4 | 7 | 3.3% | [温] | ####------ |\r\n| 31 | 2 | 11 | 1.7% | [冷] | ##-------- |\r\n| 32 | 6 | 2 | 5.0% | [热] | ######---- |\r\n| 33 | 2 | 11 | 1.7% | [冷] | ##-------- |\r\n\r\n## 三、蓝球统计（近20期）\r\n\r\n| 球号 | 出现次数 | 遗漏 | 属性 |\r\n|------|---------|------|------|\r\n| 01 | 3 | 2 | [热] |\r\n| 02 | 2 | 17 | [温] |\r\n| 03 | 0 | 20 | [冷] |\r\n| 04 | 5 | 0 | [热] |\r\n| 05 | 1 | 11 | [温] |\r\n| 06 | 1 | 4 | [温] |\r\n| 07 | 1 | 6 | [温] |\r\n| 08 | 3 | 9 | [热] |\r\n| 09 | 0 | 20 | [冷] |\r\n| 10 | 0 | 20 | [冷] |\r\n| 11 | 0 | 20 | [冷] |\r\n| 12 | 1 | 1 | [温] |\r\n| 13 | 1 | 15 | [温] |\r\n| 14 | 0 | 20 | [冷] |\r\n| 15 | 1 | 18 | [温] |\r\n| 16 | 1 | 16 | [温] |\r\n\r\n## 四、特征分布统计\r\n\r\n### 奇偶比分布\r\n\r\n| 比例 | 出现次数 | 频率 |\r\n|------|---------|------|\r\n| 1:5 | 4 | 20.0% |\r\n| 2:4 | 3 | 15.0% |\r\n| 3:3 | 5 | 25.0% |\r\n| 4:2 | 5 | 25.0% |\r\n| 5:1 | 3 | 15.0% |\r\n\r\n### AC值分布\r\n\r\n| AC值 | 出现次数 | 频率 |\r\n|------|---------|------|\r\n| 5 | 1 | 5.0% |\r\n| 6 | 2 | 10.0% |\r\n| 7 | 6 | 30.0% |\r\n| 8 | 6 | 30.0% |\r\n| 9 | 3 | 15.0% |\r\n| 10 | 2 | 10.0% |\r\n\r\n### 三区分布\r\n\r\n| 分布 | 出现次数 | 频率 |\r\n|------|---------|------|\r\n| 2:2:2 | 6 | 30.0% |\r\n| 2:1:3 | 3 | 15.0% |\r\n| 3:1:2 | 2 | 10.0% |\r\n| 2:4:0 | 2 | 10.0% |\r\n| 3:2:1 | 2 | 10.0% |\r\n| 2:0:4 | 1 | 5.0% |\r\n| 1:1:4 | 1 | 5.0% |\r\n| 0:5:1 | 1 | 5.0% |\r\n| 1:0:5 | 1 | 5.0% |\r\n| 1:3:2 | 1 | 5.0% |\r\n\r\n### 和值统计\r\n\r\n- 平均和值：**104**\r\n- 最小和值：67\r\n- 最大和值：141\r\n\r\n## 五、备选蓝球推荐（4枚）\r\n\r\n| 序号 | 蓝球 | 次数 | 遗漏 | 属性 | 推荐理由 |\r\n|------|------|------|------|------|---------|\r\n| 1 | 03 | 0 | 20 | [冷] | 遗漏最深，冷号反弹首选 |\r\n| 2 | 09 | 0 | 20 | [冷] | 次冷补位，奇偶搭配 |\r\n| 3 | 10 | 0 | 20 | [冷] | 遗漏适中，多策略覆盖 |\r\n| 4 | 11 | 0 | 20 | [冷] | 偶数码补充，组合多样化 |\r\n\r\n## 六、最终推荐号码（5组）\r\n\r\n> 经 21 次尝试筛选，以下组合全部通过过滤规则校验\r\n\r\n### 组间重复检查\r\n\r\n| 对比 | 重复红球数 | 判定 |\r\n|------|-----------|------|\r\n| 第1组 vs 第2组 | 2 | OK |\r\n| 第1组 vs 第3组 | 1 | OK |\r\n| 第1组 vs 第4组 | 2 | OK |\r\n| 第1组 vs 第5组 | 1 | OK |\r\n| 第2组 vs 第3组 | 1 | OK |\r\n| 第2组 vs 第4组 | 2 | OK |\r\n| 第2组 vs 第5组 | 3 | WARN |\r\n| 第3组 vs 第4组 | 2 | OK |\r\n| 第3组 vs 第5组 | 2 | OK |\r\n| 第4组 vs 第5组 | 2 | OK |\r\n\r\n### 第1组\r\n\r\n- **红球**：02  03  11  14  22  28\r\n- **蓝球**：03\r\n\r\n| 维度 | 数值 | 状态 |\r\n|------|------|------|\r\n| 奇偶比 | 2:4 | OK |\r\n| AC值 | 8 | OK |\r\n| 三区分布 | 3:2:1 | OK |\r\n| 和值 | 80 | OK |\r\n| 连号 | 1组 | OK |\r\n| 冷热配比 | 0H+4W+2C | OK |\r\n\r\n**选号备注**：追冷策略(2枚冷号)；偶数略偏倚；AC值8高概率区间\r\n\r\n### 第2组\r\n\r\n- **红球**：01  16  20  22  25  28\r\n- **蓝球**：03\r\n\r\n| 维度 | 数值 | 状态 |\r\n|------|------|------|\r\n| 奇偶比 | 2:4 | OK |\r\n| AC值 | 8 | OK |\r\n| 三区分布 | 1:3:2 | OK |\r\n| 和值 | 112 | OK |\r\n| 连号 | 0组 | OK |\r\n| 冷热配比 | 0H+4W+2C | OK |\r\n\r\n**选号备注**：追冷策略(2枚冷号)；偶数略偏倚；AC值8高概率区间\r\n\r\n### 第3组\r\n\r\n- **红球**：09  10  13  15  28  30\r\n- **蓝球**：03\r\n\r\n| 维度 | 数值 | 状态 |\r\n|------|------|------|\r\n| 奇偶比 | 3:3 | OK |\r\n| AC值 | 8 | OK |\r\n| 三区分布 | 2:2:2 | OK |\r\n| 和值 | 105 | OK |\r\n| 连号 | 1组 | OK |\r\n| 冷热配比 | 0H+4W+2C | OK |\r\n\r\n**选号备注**：追冷策略(2枚冷号)；奇偶均衡配置；三区均衡布局；AC值8高概率区间\r\n\r\n### 第4组\r\n\r\n- **红球**：02  05  13  16  18  28\r\n- **蓝球**：03\r\n\r\n| 维度 | 数值 | 状态 |\r\n|------|------|------|\r\n| 奇偶比 | 2:4 | OK |\r\n| AC值 | 8 | OK |\r\n| 三区分布 | 2:3:1 | OK |\r\n| 和值 | 82 | OK |\r\n| 连号 | 0组 | OK |\r\n| 冷热配比 | 0H+4W+2C | OK |\r\n\r\n**选号备注**：追冷策略(2枚冷号)；偶数略偏倚；AC值8高概率区间\r\n\r\n### 第5组\r\n\r\n- **红球**：01  05  10  20  21  28\r\n- **蓝球**：03\r\n\r\n| 维度 | 数值 | 状态 |\r\n|------|------|------|\r\n| 奇偶比 | 3:3 | OK |\r\n| AC值 | 10 | OK |\r\n| 三区分布 | 3:2:1 | OK |\r\n| 和值 | 85 | OK |\r\n| 连号 | 1组 | OK |\r\n| 冷热配比 | 0H+5W+1C | OK |\r\n\r\n**选号备注**：奇偶均衡配置；AC值10高概率区间\r\n\r\n---\r\n\r\n> **风险提示**：本报告基于历史数据统计分析生成，彩票开奖为随机独立事件，\r\n> 任何分析方法均不能保证中奖。请理性购彩，量力而行。\n\nFile v1.0.23:skill-card.md\n\n## Description: <br>\nSSQ (Double Color Ball) lottery analysis skill that fetches official draw data, computes historical statistics and trend reports, and provides paid number recommendations after third-party verification. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[jinyu12166](https://clawhub.ai/user/jinyu12166) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nUsers who want Chinese-language SSQ lottery analysis can use this skill to update official draw data, review hot/cold number statistics, inspect distribution trends, and optionally request paid recommendation sets after clawtip verification. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Lottery recommendations may be mistaken for guaranteed outcomes even though lottery draws are random independent events. <br>\nMitigation: Present recommendations as statistical analysis only, include responsible-purchase warnings, and avoid claims of guaranteed winnings. <br>\nRisk: The skill contacts cwl.gov.cn for draw data and api.ideaidea.com.cn for order and payment verification while reading a local clawtip payment credential. <br>\nMitigation: Install only when these network and credential behaviors are acceptable, avoid sensitive personal details in question text, and review local order files before use. <br>\nRisk: Security evidence notes that paid recommendation gating appears weak and delivery behavior should be treated cautiously. <br>\nMitigation: Verify order and payment status before relying on paid recommendation delivery, and treat paid results as advisory until the flow is reviewed. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/jinyu12166/skills/ssq-analyzer-skill) <br>\n- [Publisher profile](https://clawhub.ai/user/jinyu12166) <br>\n- [China Welfare Lottery draw data source](https://www.cwl.gov.cn) <br>\n- [clawtip verification service endpoint](https://api.ideaidea.com.cn) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance] <br>\n**Output Format:** [Chinese-language text and Markdown reports with inline shell commands and local data files] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Writes local SQLite draw data, order metadata, and a Markdown analysis report; paid recommendations require third-party clawtip verification.] <br>\n\n## Skill Version(s): <br>\n1.0.23 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>","readmeExcerpt":"Skill: ssq-analyzer Owner: jinyu12166 Summary: SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment. Tags: latest:1.0.29 Version history: v1.0.29 | 2026-07-29T10:17:54.182Z | user - Remove","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"openclaw skills install clawtip"},{"language":"bash","snippet":"python3 scripts/fetch_ssq.py"},{"language":"bash","snippet":"python3 scripts/analyze_ssq.py"},{"language":"bash","snippet":"python3 scripts/create_order.py"},{"language":"bash","snippet":"python3 scripts/service.py"},{"language":"bash","snippet":"python3 scripts/service.py \"<order_no>\""}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: \"ssq-analyzer\"\nversion: \"1.0.29\"\ndescription: >\n  SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment.\nmetadata:\n  author: \"Yujin\"\n  category: \"expert\"\n  permissions:\n    - \"network.outbound\"\n    - \"credential.read\"\n    - \"filesystem.read\"\n    - \"filesystem.write\"\n  requires:\n    - \"clawtip\"\n  workflow:\n    create_order:\n      script: scripts/create_order.py\n      outputs: [\"order_no\", \"amount\", \"indicator\"]\n    pay:\n      requires: clawtip\n      args: [\"{order_no}\", \"{indicator}\"]\n    service:\n      script: scripts/service.py\n      args: [\"{order_no}\"]\n---\n\n# ssq-analyzer\n\n> The primary interaction language is Chinese. If the user prefers English or another language, the assistant should switch accordingly.\n\n## 技能概述\n\n本技能提供**双色球彩票智能分析服务**，从中国福利彩票官网（cwl.gov.cn）拉取最新开奖数据，进行冷热号统计、规律分析和号码推荐。\n\n### 免费功能（无需支付，随时可用）\n\n✅ **数据抓取与数据库管理** — 从 cwl.gov.cn 官方 API 自动拉取最新开奖数据，增量更新本地 SQLite 数据库\n\n✅ **红球冷热属性统计** — 近 20 期热度排名（热号 ≥ 6 次、温号 3-5 次、冷号 < 3 次），逐球号遗漏期数和出现频率\n\n✅ **蓝球统计** — 近 20 期蓝球出现次数、遗漏期数和热温冷属性分类\n\n✅ **特征分布统计** — 奇偶比分布、AC 值分布（算术复杂度）、三区分布、和值统计\n\n✅ **近 20 期原始开奖数据** — 完整展示最近 20 期的红球、蓝球和开奖日期\n\n### 付费功能（3.9 元/次，通过 clawtip 验证后交付）\n\n🔒 **备选蓝球推荐（4 枚）** — 基于冷号反弹概率、奇偶搭配、遗漏深度等多策略综合排序\n\n🔒 **最终推荐号码（5 组）** — 每组 6 红球 + 1 蓝球，通过奇偶比、AC 值、三区分布、和值、连号、冷热配比等多维交叉过滤校验\n\n> **免费用户无需创建订单或配置支付**。直接运行 `fetch_ssq.py` 和 `analyze_ssq.py` 即可获取完整统计分析。\n> 推荐号码需要先创建订单，通过 clawtip 完成 3.9 元支付后，由 `service.py` 生成。\n\n---\n\n## 环境变量配置\n\n仅当需要支付验证时使用（运行 `create_order.py` 时）：\n\n| 变量名 | 必填 | 说明 |\n|--------|------|------|\n| `CLAWTIP_PAY_TO` | 是 | clawtip 商户收款地址 |\n| `CLAWTIP_SM4_KEY` | 是 | SM4 加密密钥 |\n\n---\n\n## 前置条件\n\n如需支付功能，需安装 clawtip：\n\n```bash\nopenclaw skills install clawtip\n```\n\n---\n\n## 🚀 免费使用（无需支付）\n\n直接运行以下命令即可获取完整统计分析：\n\n**抓取最新数据：**\n```bash\npython3 scripts/fetch_ssq.py\n```\n\n**生成分析报告：**\n```bash\npython3 scripts/analyze_ssq.py\n```\n\n报告包含：红球冷热统计、蓝球统计、奇偶比/AC值/三区分布/和值等特征分析、近 20 期开奖数据。\n\n---\n\n## 🛒 第一阶段：创建订单（仅付费推荐需要）\n\n如果用户需要推荐号码，先创建订单。\n\n```bash\npython3 scripts/create_order.py\n```\n\n**成功输出：** `ORDER_NO=... AMOUNT=... INDICATOR=...`\n\n**失败：** `订单创建失败: <详情>` → 终止。\n\n> 运行后会在本地创建订单文件：`~/.openclaw/skills/orders/{indicator}/{order_no}.json`\n> 仅包含支付必要的元数据（orderNo、amount、slug、payTo、encrypted_data、description、resource_url）。\n> **不收集、不存储任何用户咨询内容、开奖数据或个人身份信息。**\n\n---\n\n## 💳 第二阶段：支付处理\n\n使用技能 **clawtip** 处理支付。\n\n调用参数：\n- `orderNo`：第一阶段的 ORDER_NO\n- `indicator`：第一阶段的 INDICATOR\n\n> ⚠️ 必须使用名称精确等于 `clawtip` 的技能。\n\n---\n\n## 🚀 第三阶段：服务执行（含付费推荐）\n\n无论是否支付，先执行免费分析：\n\n```bash\npython3 scripts/service.py\n```\n\n如果有支付凭证，推荐号码会自动附加。\n\n如果已支付，传入订单号：\n\n```bash\npython3 scripts/service.py \"<order_no>\"\n```\n\n---\n\n## 数据流说明\n\n### 网络请求\n\n| 方向 | 目标 | 传输内容 | 频率 |\n|------|------|----------|------|\n| 出站 | `cwl.gov.cn` API | 公开开奖查询（无用户数据） | 按需（用户触发） |\n| 出站 | clawtip 支付服务 | 仅技能标识符 slug（无彩票数据、无用户数据） | 仅创建订单时 |\n\n### 本地存储\n\n| 文件 | 路径 | 内容 |\n|------|------"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn71ajnjnjnhwfs7mmzpg48t9d8af45f\",\n  \"slug\": \"ssq-analyzer-skill\",\n  \"version\": \"1.0.29\",\n  \"publishedAt\": 1785320274182\n}"},{"path":"skill-card.md","content":"## Description: <br>\nSSQ (Double Color Ball) lottery intelligent analysis fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions, and can deliver five paid recommendation sets through clawtip payment. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[jinyu12166](https://clawhub.ai/user/jinyu12166) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nExternal users and agents use this skill to fetch public SSQ draw data, generate local statistical lottery analysis, and optionally produce paid recommendation sets after clawtip payment validation. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Lottery recommendations can be misread as predictive guarantees even though draws are random independent events. <br>\nMitigation: Treat generated recommendations as statistical analysis only and retain the skill's responsible-use warning that no method can guarantee winning. <br>\nRisk: The skill performs outbound fetches and writes local database, report, and payment-order files. <br>\nMitigation: Install only when the user accepts the documented data flow and filesystem writes; use paid mode only after configuring the clawtip recipient address and SM4 key. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/jinyu12166/skills/ssq-analyzer-skill) <br>\n- [Publisher profile](https://clawhub.ai/user/jinyu12166) <br>\n- [China Welfare Lottery draw notice API](https://www.cwl.gov.cn/cwl_admin/front/cwlkj/search/kjxx/findDrawNotice) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown report and console text with shell command guidance] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Writes a local SQLite draw database, a Markdown analysis report, and local clawtip order metadata when paid recommendations are requested.] <br>\n\n## Skill Version(s): <br>\n1.0.29 (source: frontmatter and release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment. Skill: ssq-analyzer Owner: jinyu12166 Summary: SSQ (Double Color Ball) lottery intelligent analysis: fetches official draw data from cwl.gov.cn, computes hot/cold statistics, frequency distributions, AC values, odd-even ratios, and zone distributions. Paid tier (3.9 yuan/run) delivers 5 recommended number sets via clawtip payment. Tags: latest:1.0.29 Version history: v1.0.29 | 2026-07-29T10:17:54.182Z | user - Remove","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1302,"uniquenessScore":46,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T22:36:28.167Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T05:39:36.836Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}