← Back to Skills Marketplace
gloryjack

Ask

by GloryJack · GitHub ↗ · v6.2.0 · MIT-0
cross-platform ⚠ suspicious
134
Downloads
0
Stars
0
Active Installs
8
Versions
Install in OpenClaw
/install ask-skill
Description
小智追问框架 v6.2 — 结构化追问与深度分析引擎。 核心能力:接收模糊判断 → 通过结构化追问收敛 → 输出带置信度的清晰结论。 ## 声明的运行时权限 | 资源 | 用途 | 路径 | |------|------|------| | SQLite 存储 | 跨会话批评记忆 | /workspace/ask...
README (SKILL.md)

小智追问框架 v6.2

核心定位

不是问答机器人,是一个追问收敛引擎

用户抛出一个判断/观点/预测 → 框架通过结构化追问找到最弱证据 → 最终输出由最弱证据定价的量化结论,并标注不确定性来源。


Triage 分类(自动判断,省时省力)

收到问题后,先判断等级,再决定深度:

等级 信号词 动作
L 类(轻量) "今天"、"现在"、"涨还是跌"、"查一下" 单轮搜索 → 直接回答
H 类(重量) "未来"、"怎么看"、"分析"、"研究" 全量搜索 + 多轮追问
S 类(研究) "对比"、"评估"、"预测模型" H类 + Monte Carlo + Critic

追问流程(V6.2 改进:宽松引导,不过度模板化)

通用原则

  • 先理解,再追问:不要上来就套框架,先确认自己真的看懂用户在问什么
  • 追问不超过 3 轮:找到最弱证据后立即收敛,不要无限追问
  • 每轮回答都要有实质内容:不要只说"请提供更多信息",要给初步判断
  • 结论要直接:最终结论用一句话说清楚,不要绕

L 类流程

  1. 搜索 1-2 个核心数据点
  2. 给出直接判断(涨/跌/观望)
  3. 注明置信度和主要风险

H/S 类流程

Step 1:快速初始判断(1-2段话)

不要等用户补充,先给出基于现有信息的初步结论。如果信息不足,明确说明哪些地方不确定。

Step 2:追问 + 证据补全

主动识别"最弱的一环"并追问:

  • 数据来源是否权威?
  • 逻辑链有没有跳跃?
  • 有没有反向案例?
  • 历史上有无类似情况?

Step 3:证据分级评分

数据可信度(0-4):一手来源=4,二手=2,小作文=1,无数据=0
逻辑一致性(0-4):因果完整=4,勉强相关=2,跳跃=0
历史验证(0-4):n≥5=4,n=1-4=2,无先例=0
专家交叉(0-4):多方一致=4,分歧大=2,少数派=0

总分 = min(各维度)  ← 结论由最弱维度定价,不是平均!

Step 4:不确定性标注(每个数字都要)

格式:[来源类型: 具体内容]

  • 📊 历史统计:"基于n=X回测,胜率X%,最大回撤X%"
  • 🤖 模型估算:"Monte Carlo 10K次模拟,X%分位数=X"
  • 🎩 专家判断:"X家机构中X家持此观点"
  • 💹 市场隐含:"期权市场隐含波动率X%"
  • ❓ 未知:"无历史先例,标记为黑天鹅风险"

Monte Carlo 模拟(H/S 类问题涉及价格预测时执行)

import random, statistics

returns = []  # 历史日收益率序列
mu = statistics.mean(returns) if returns else 0
sigma = statistics.stdev(returns) if len(returns) > 1 else 0
n = 10000

sims = []
for _ in range(n):
    price = 1.0
    for _ in range(252):
        price *= (1 + random.gauss(mu/252, sigma/252**0.5))
    sims.append(price)

sims.sort()
print(f'P10={sims[int(n*0.1)]:.4f}')
print(f'P50={sims[int(n*0.5)]:.4f}')
print(f'P90={sims[int(n*0.9)]:.4f}')
print(f'Mean={statistics.mean(sims):.4f}')

输出格式:

🤖 Monte Carlo 模拟(10,000次路径)
  X年后区间 [P10, P90]: [A, B]
  期望值: E = C
  风险调整: Sharpe方向=D

SQLite 批评记忆

路径:/workspace/ask-memory.db

用途:记录每次 Critic 高频质疑,避免同类问题重复被问倒

新会话开始时:读取近30天高频弱点,列入"必查清单"

会话结束时:将本次最弱证据写入数据库

高频率弱点(≥3次):推送给用户确认是否已解决


Critic Subagent(S 类问题)

sessions_spawn:
  角色:独立验证者,立场与主 agent 相反
  任务:找出当前结论的3个最大漏洞
  输出:弱点列表 + 反驳证据

输出标准格式

══════════════════════════════
🎯 核心结论:[一句话]

📊 量化评分:[X/16]
  数据可信度:[X/4] ← 由最弱维度定价
  逻辑一致性:[X/4]
  历史验证性:[X/4]
  专家交叉  :[X/4]
  ⚠️ 短板:[最低分维度]

📊 不确定性量化:
  📊 [历史统计内容]
  🤖 [模型估算内容]
  🎩 [专家判断内容]
  💹 [市场隐含内容]
  ❓ [未知/黑天鹅标注]

🔍 主要风险点:[1-2句话]

═══════════════════════════════

v6.2 改进说明(相比 v6.1)

问题 v6.1 v6.2
回答变少 过度模板化,每步都要写完整结构 先给结论再补结构,不要求每步都展开
追问僵硬 强制3轮追问 最多3轮,找到最弱证据立即收敛
Monte Carlo 写死在流程里 仅 H/S 类预测问题时才触发
格式过重 每个问题都要完整五步走 L 类30秒搞定,H/S 类才走完整流程
评分表太细 0-4分9个等级太复杂 保留核心4维度,评分标准简化
Usage Guidance
Things to check before installing: - Expect persistent storage: the skill will read/write /workspace/ask-memory.db and thereby retain 'weak evidence' across sessions. If you handle private/sensitive inputs, confirm how long that DB is kept and who can access it (or disable the memory). - Python requirement: SKILL.md uses python3 for Monte Carlo simulations but the registry lists no required binaries; ensure your agent environment has python3 available or ask the author to make the requirement explicit. - Outgoing queries: the skill uses a 'batch_web_search' tool. Confirm whether queries include user-provided sensitive text and where those queries go (external search provider). - Subagent spawning: sessions_spawn will create independent critics; confirm your platform's subagent isolation and what data they can access. - If you are uncomfortable with persistent cross‑session memory or external queries, consider asking the publisher to remove or gate the SQLite writes, add explicit opt‑out, and make runtime requirements explicit. - Because the registry metadata and SKILL.md disagree (no declared binaries/env vs instructions that use python3 and a workspace DB), treat the discrepancy as an unresolved risk and seek clarification from the publisher before enabling this skill on sensitive agents.
Capability Analysis
Type: OpenClaw Skill Name: ask-skill Version: 6.2.0 The 'ask-skill' bundle is a structured analytical framework designed for financial reasoning and evidence-based questioning. It utilizes standard agent capabilities including Python for Monte Carlo simulations, SQLite for cross-session memory in '/workspace/ask-memory.db', and subagent spawning for critical review. The logic is transparently aligned with its stated purpose of quantifying uncertainty and identifying weak evidence, with no indicators of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
The skill claims to do structured 'ask/critic' workflows and the SKILL.md describes workflows (triage, scoring, Monte Carlo, critic subagent) that align with that purpose. Using a small persistent store for cross‑session 'critic memory' and external web search for evidence checks is coherent with the stated goal.
Instruction Scope
SKILL.md instructs the agent to read/write a SQLite DB at /workspace/ask-memory.db, spawn a 'critic' subagent (sessions_spawn), call a web search tool (batch_web_search), and run Monte‑Carlo via python3. The registry metadata lists no required binaries or env vars — a mismatch: the instructions implicitly require Python and persistent workspace access. The DB write/read behavior is explicit and will persist user-supplied evidence across sessions (privacy risk).
Install Mechanism
Instruction-only skill with no install spec or external downloads; no code files to install. This is low risk from an installation/mechanism perspective.
Credentials
The skill declares no secrets or external credentials, which is appropriate. However it persists potentially sensitive session contents to /workspace/ask-memory.db and uses web search (external queries). If your use involves private data, that persistent storage and outgoing queries may expose it — the SKILL.md does not document any data sanitization or retention policy.
Persistence & Privilege
The skill will create/read a persistent SQLite DB in the agent workspace and spawns independent 'critic' subagents to cross-check conclusions. always:false (normal). Persistent storage and subagent spawning are reasonable for the feature set, but combined they increase the blast radius (persisted data + spawned processes that may access context).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ask-skill
  3. After installation, invoke the skill by name or use /ask-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v6.2.0
v6.2: 结论优先,宽松引导,L类30秒搞完,H/S类走完整流程
v6.0.1
**ask-skill v6.0.1 Changelog** - Removed the internal metadata file `_meta.json`. - No functional changes to the skill logic or user-facing behavior.
v6.0.0
## v6.0 量化可信 × 按需伸缩版 | 2026-04-06 ### 核心升级一:问题复杂度Triage - L(轻量)→ 单轮T1+T6,约3分钟,无批评者 - M(中量)→ 标准4轮,反方prompt,约10分钟 - H(重量)→ 全套v4.0,独立批评者+束搜索,约20-30分钟 - 自动分类,不浪费算力 ### 核心升级二:真值加权置信度评分 - 替代v4.0/v5.1的等权评分 - 核心原则:结论置信度由最弱证据决定,不是平均值 - 任一维度<2分 → 总分直接降至该维度(最强不救场) ### 核心升级三:不确定性量化 - 五级不确定性标注:📊统计/🤖模型/🎩专家/💹市场/❓未知 - Monte Carlo模拟(可选):给出P10/P90置信区间 - 每个数字后面必须标注不确定性类型 ### 核心升级四:可查询批评记忆(SQLite) - ~/.openclaw/ask-memory.db - 结构化存储:pattern/critique/龙虾回应/verdict/weight - 高频批评自动升级为T5必查项 - 替代v4.0的不可查询JSONL ### 技术改进 - 首次使用自动创建SQLite数据库 - 降级路径:SQLite→JSONL,Agent不可用→反方prompt - v4.0 vs v5.1 vs v6.0完整对比表
v5.1.0
v5.1修复3个核心Bug:1.批评者从嵌入式改为反方角色prompt 2.收敛标准从主观改为5条客观触发条件 3.评分从4分制改为4维度×4分矩阵
v5.0.0
v5.0: 单Agent完整版。批评者嵌入主Prompt,无需sub-agentSpawn。一次性完成分析→批评→追问→收敛全流程。
v4.0.1
v4.0.1-Exec: 杰总定制版,2路径束搜索(替代3路径),双智能体对抗,五重收敛判据,语义熵×布鲁姆融合,持久批评记忆库
v4.0.0
v4.0: dual-agent adversarial architecture, 3-path beam search, Bloom cognitive tracking, semantic entropy convergence, persistent critic memory, 5-tier convergence criteria
v2.1.0
v2.1: 答案一致性收敛替代7轮硬上限 + 来源可信度标注 + 6类追问体系
Metadata
Slug ask-skill
Version 6.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 8
Frequently Asked Questions

What is Ask?

小智追问框架 v6.2 — 结构化追问与深度分析引擎。 核心能力:接收模糊判断 → 通过结构化追问收敛 → 输出带置信度的清晰结论。 ## 声明的运行时权限 | 资源 | 用途 | 路径 | |------|------|------| | SQLite 存储 | 跨会话批评记忆 | /workspace/ask... It is an AI Agent Skill for Claude Code / OpenClaw, with 134 downloads so far.

How do I install Ask?

Run "/install ask-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ask free?

Yes, Ask is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ask support?

Ask is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ask?

It is built and maintained by GloryJack (@gloryjack); the current version is v6.2.0.

💬 Comments