← 返回 Skills 市场
drkavner

Cogdx Pre Trade Audit

作者 Dr Amanda Kavner · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
225
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install cogdx-pre-trade-audit
功能描述
Verify trading reasoning with cognitive diagnostics before executing trades. Detects logical fallacies, calibration issues, and cognitive biases in your trad...
使用说明 (SKILL.md)

CogDx Pre-Trade Audit

Cognitive verification layer for prediction market trades. Catches reasoning flaws before they become losses.

This is a template. The default signal is your agent's trade thesis — the skill audits the reasoning quality before execution. Remix it with stricter thresholds, additional bias checks, or custom fallacy detection. The skill handles all the plumbing (API calls, trade execution, safeguards). Your agent provides the reasoning to verify.

What it does

  1. Takes your trade reasoning (thesis, confidence, market context)
  2. Runs cognitive diagnostics via CogDx API
  3. Returns verdict: PROCEED / REVIEW / REJECT
  4. Optionally executes trade if reasoning passes

Detects

  • Logical fallacies: anchoring, confirmation bias, sunk cost
  • Calibration issues: overconfidence, underconfidence
  • Reasoning gaps: missing evidence, circular logic

Usage

from cogdx_pre_trade_audit import audit_and_trade

result = audit_and_trade(
    market_id="0x1234...",
    side="yes",
    amount=10.0,
    reasoning="BTC ETF approval likely based on SEC meeting notes...",
    confidence=0.85,
    min_validity=0.7,  # Minimum reasoning quality to proceed
    live=False  # Dry-run by default
)

if result["approved"]:
    print(f"Trade executed: {result['trade_id']}")
else:
    print(f"Trade blocked: {result['issues']}")

Environment Variables

  • SIMMER_API_KEY - Required. Your Simmer API key.
  • COGDX_WALLET - Optional. Wallet address for CogDx credits.

Thresholds

Parameter Default Description
min_validity 0.7 Minimum reasoning quality score (0-1)
block_on_error True Block trade if CogDx API unavailable

Why use this

Most trading losses come from bad reasoning, not bad data. This skill catches:

  • Trades based on anchoring (first number you saw)
  • Confirmation bias (only seeing supporting evidence)
  • Overconfidence (betting big on weak signals)

External verification you can't do yourself.

Credits

Built by Cerebratech — cognitive diagnostics for agents.

安全使用建议
This skill appears to do what it says, but review these points before installing or enabling live trades: - Privacy: Your full trade reasoning (thesis) is POSTed to https://api.cerebratech.ai; if that text contains sensitive strategy or private data, do not send it. Review Cerebratech's privacy/security policies. - Credentials: SIMMER_API_KEY is required to execute trades. Keep it secret and only enable live trading (live=True) when you're sure. The optional COGDX_WALLET value will be sent to the third-party API as a header — avoid supplying a private key or secret there; it's just a wallet address. - Scheduling: The package includes a cron every 15 minutes (clawhub.json). Confirm you want automatic/managed runs — otherwise disable or change scheduling to avoid unintended trades. - Dependencies: simmer-sdk and requests are installed from PyPI; verify the simmer-sdk package source and trustworthiness for your environment. - Safe testing: Default calls are dry-run (live=False) — test thoroughly in dry-run mode. Consider restricting network access or auditing network traffic in a staging environment if you need to confirm what data is transmitted. - Operational controls: If you plan to use this, rotate API keys periodically, grant the minimal privileges to the SIMMER_API_KEY, and consider not storing extremely sensitive strategy text in the reasoning field. If you want, I can list the exact lines in the code that send data externally and where the Simmer client is invoked.
功能分析
Type: OpenClaw Skill Name: cogdx-pre-trade-audit Version: 1.0.0 The skill possesses high-risk capabilities, including executing financial trades on Polymarket via the `simmer-sdk` and transmitting trade reasoning data to an external third-party API (api.cerebratech.ai). While these behaviors are consistent with the stated purpose of a cognitive audit tool, the handling of sensitive API keys (SIMMER_API_KEY) and the execution of financial transactions without explicit user confirmation in the code logic (if the 'live' flag is set) warrant a suspicious classification under the provided safety criteria.
能力评估
Purpose & Capability
Name and description match the implementation: the skill calls a Cerebratech CogDx endpoint to audit reasoning and uses a Simmer client to place trades. Declared pip dependencies (simmer-sdk, requests) and required SIMMER_API_KEY align with the stated capability.
Instruction Scope
The runtime explicitly sends the user's full trade reasoning (trace) to https://api.cerebratech.ai/reasoning_trace_analysis and includes an optional wallet header for payment. That network call is expected for a cognitive-audit service but is a privacy-sensitive operation the user should be aware of. The SKILL.md accurately documents SIMMER_API_KEY and COGDX_WALLET.
Install Mechanism
No remote download URLs or extraction steps. Dependencies are pip packages (simmer-sdk, requests) — a common, traceable install mechanism. Moderate risk typical for PyPI packages but appropriate for the described functionality.
Credentials
Only SIMMER_API_KEY is required (for executing trades) and COGDX_WALLET is optional (used to send a wallet header to the CogDx API). These credentials align with the skill's purpose, but supplying COGDX_WALLET will expose a wallet address to the third-party API; the skill also sends potentially sensitive trade thesis text externally.
Persistence & Privilege
The skill's metadata (clawhub.json) includes a cron schedule (*/15 * * * *) and automaton.managed=true, which implies periodic execution every 15 minutes. The skill itself is not marked always:true, but scheduled/managed execution could trigger audits (and trades if live=True) without manual invocation — users should confirm scheduling and default dry-run behavior before enabling live runs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cogdx-pre-trade-audit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cogdx-pre-trade-audit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of CogDx Pre-Trade Audit. - Provides cognitive diagnostics for trade reasoning before execution - Detects logical fallacies, calibration errors, and reasoning gaps - Returns actionable verdicts: PROCEED / REVIEW / REJECT - Optional auto-execution of trades that pass reasoning checks - Simple integration for agents to verify and safeguard trading decisions
元数据
Slug cogdx-pre-trade-audit
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Cogdx Pre Trade Audit 是什么?

Verify trading reasoning with cognitive diagnostics before executing trades. Detects logical fallacies, calibration issues, and cognitive biases in your trad... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 225 次。

如何安装 Cogdx Pre Trade Audit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cogdx-pre-trade-audit」即可一键安装,无需额外配置。

Cogdx Pre Trade Audit 是免费的吗?

是的,Cogdx Pre Trade Audit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cogdx Pre Trade Audit 支持哪些平台?

Cogdx Pre Trade Audit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cogdx Pre Trade Audit?

由 Dr Amanda Kavner(@drkavner)开发并维护,当前版本 v1.0.0。

💬 留言讨论