← Back to Skills Marketplace
drkavner

Cogdx Pre Trade Audit

by Dr Amanda Kavner · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
225
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install cogdx-pre-trade-audit
Description
Verify trading reasoning with cognitive diagnostics before executing trades. Detects logical fallacies, calibration issues, and cognitive biases in your trad...
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cogdx-pre-trade-audit
  3. After installation, invoke the skill by name or use /cogdx-pre-trade-audit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug cogdx-pre-trade-audit
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Cogdx Pre Trade Audit?

Verify trading reasoning with cognitive diagnostics before executing trades. Detects logical fallacies, calibration issues, and cognitive biases in your trad... It is an AI Agent Skill for Claude Code / OpenClaw, with 225 downloads so far.

How do I install Cogdx Pre Trade Audit?

Run "/install cogdx-pre-trade-audit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cogdx Pre Trade Audit free?

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

Which platforms does Cogdx Pre Trade Audit support?

Cogdx Pre Trade Audit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cogdx Pre Trade Audit?

It is built and maintained by Dr Amanda Kavner (@drkavner); the current version is v1.0.0.

💬 Comments