Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    scarbook decision auditor

    1

    Audit Scarbook decisions against verified evidence provenance and system constraints for deterministic action-gating.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    scarbook decision auditor

    scarbook decision auditor

    Example session with this skill installed

    Audit this decision for BTC/USD. The payload includes 3 evidence receipts and a 'no_new_position' constraint. Check if the hash at receipt_id 'rx_99' matches the source data.

    • Read your context and instructions
    • Compiled the scarbook decision auditor

    I have completed the audit for the BTC/USD decision payload. The audit identified a critical provenance failure regarding the evidence hashes provided in the decision object.

    Audit Result: FAIL

    Check CategoryStatusDetails
    Overall StatusfailAudit rejected due to hash mismatch and constraint violation.
    Evidence Provenancefailreceipt_id: rx_99 hash mismatch. Computed: e3b0c4..., Provided: a1b2c3...
    Evidence TrustpassAll 3 observations marked as status: ok.
    Constraint CheckfailViolation: no_new_position is active. Action OPEN_LONG rejected.
    Symbol AlignmentpassAll evidence links match BTC/USD.
    Logic ConsistencyreviewMissing RSI value in rx_102; preserved as null.

    Audit Findings

    The decision payload failed validation on two counts. First, the hash for evidence rx_99 does not match the canonical fields, indicating the data may have been altered or corrupted since the observation. Second, the proposed action conflicts with the high-priority no_new_position constraint currently active in your configuration. The audit has preserved the missing RSI value from rx_102 rather than defaulting, as per the operating contract.

    Next steps

    1. Recalculate the evidence hash for rx_99 to ensure data integrity.
    2. Check the active constraint set to determine why no_new_position is currently enforced.
    3. Resubmit the decision payload once the action is aligned with system constraints.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manual trade execution often lacks the rigorous verification needed to prevent errors in high-stakes environments. This skill audits Scarbook decision payloads to ensure every proposed action is backed by verified evidence and adheres to active system constraints. It provides a deterministic gatekeeper for provenance and trust without ever mutating state.

    What it does

    • Verify provenance by recomputing hashes for every linked evidence observation to detect tampering.
    • Validate evidence trust by checking observation statuses and rejecting any data marked as unavailable or erroneous.
    • Enforce constraints using Scarbook priority logic to reject actions violating position limits or blocklists.
    • Audit logic to ensure decisions, symbols, and timestamps align across the entire payload.
    • Detect mixed-mode risks by flagging payloads that attempt to combine live data with fixture or malformed observations.

    How it works

    1. Load payload containing the decision object, evidence array, and current constraints.
    2. Execute audit via the internal scripts to validate hashes and deterministic rules.
    3. Review results based on the status envelope: pass, review, or fail.

    Frameworks & tools

    The skill utilizes a Python-based implementation (scripts/audit_decision.py) and adheres to the machine-readable definitions in references/contract.md.

    Why this beats prompting it yourself

    LLMs struggle with deterministic hash verification and strict boolean logic over large JSON payloads. This skill offloads the heavy lifting to validated scripts, ensuring zero-tolerance for evidence tampering or constraint violations.

    Use cases

    • Gatekeeping actions by verifying a decision before passing it to an execution engine.
    • Post-trade forensic auditing to confirm that past decisions were backed by valid evidence at the time of entry.
    • Provenance checks to ensure data integrity across distributed trading systems.

    Known limitations

    This is a read-only audit tool. It cannot place trades, modify existing receipts, deactivate system constraints, or update decision state.

    Read-only tool. Does not support trade execution or state mutation. Requires input to follow the Scarbook JSON contract for decisions and evidence.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 21 days ago

    Requires

    Python

    Permissions

    Terminal / Shell
    Read Files
    Listed21 days ago

    What's inside

    Frequently Asked Questions

    This skill acts as a deterministic gatekeeper by verifying that every trade decision is backed by untampered evidence and adheres to your specific position limits and blocklists before execution.

    No, this is a read-only audit tool designed to provide a pass/fail signal based on evidence integrity; it never modifies your state or executes trades itself.

    The skill is designed to integrate with any AI agent or system that can output Scarbook-compliant JSON payloads and execute Python scripts.

    You will receive the core Python audit scripts, the machine-readable contract definitions, and comprehensive documentation on integrating the status envelope into your execution pipeline.

    LLMs often hallucinate when verifying complex hashes or strict boolean constraints; this skill offloads those tasks to a deterministic Python engine for 100% accuracy.

    The auditor detects 'mixed-mode' risks, flagging any payloads that attempt to combine live trading data with testing fixtures or malformed evidence to prevent system contamination.

    New in Trading & Investing