More screenshots

    Works with the AI Agents you already use

    Trading Journal — exact P&L for your AI agent

    by Maxim Sinyaev

    1

    Your agent logs trades and imports broker CSVs; a local SQLite ledger does the math. Exact P&L, stats, interactive dashboard, Obsidian notes.

    Free

    Security scanned
    Trading Journal — exact P&L for your AI agent

    Trading Journal — exact P&L for your AI agent

    Example session with this skill installed

    I bought 10 NVDA at 118.40, commission 1.20, stop 109, target 135. Swing trade, breakout setup.

    • Read your context and instructions
    • Compiled the trading journal

    Recorded trade #12: BUY 10 NVDA @ 118.40 USD, fee 1.20, stop 109, target 135 (strategy swing, setup breakout). Open position: 10 NVDA, average cost 118.40, breakeven 118.52, risk to stop 94.00 USD. All numbers come from the local ledger.

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

    About this skill

    LLMs are bad at trade arithmetic: average prices after partial sells, fees, shorts, option multipliers, splits, several currencies. This skill makes sure your agent never does it.

    Tell your agent "I bought 10 NVDA at 118.40, stop 109" or hand it a broker export, then ask "how did my swing trades do this quarter?". The agent records and asks questions; a deterministic ledger in a local SQLite file computes every number, and the agent quotes it.

    What you get

    • Exact P&L: average-cost ledger with entry and exit fees, partial closes, shorts and flips, options, splits, dividends, per-currency totals.
    • Broker imports: any broker's CSV (columns auto-detected), Interactive Brokers Flex Query, OKX perpetuals (with funding), or JSON your agent builds from a broker or exchange API. Re-imports are safe; more broker presets are in the docs.
    • Journal: thesis, stop and targets per trade, post-trade reviews, mistakes and mood, R-multiples, AI vs manual tags.
    • Interactive dashboard: one offline HTML file with equity curve and drawdown, monthly P&L, calendar heatmap, breakdowns by strategy, ticker and tag, R distribution, open positions with risk to stop.
    • Obsidian export: daily notes and per-ticker notes with Dataview frontmatter.
    • Private: no account, no SaaS. The database never leaves your machine.
    • Optional second skill, Trading Idea Analyst: a disciplined macro-to-idea research process that writes every idea to the journal so you can score AI ideas against your own trades later.

    Works with: Claude Code (plugin), Codex, Cursor and any agent that reads SKILL.md or AGENTS.md. Needs Python 3.12+ via uv (installed automatically on first use).

    Free and open source (MIT). Source, updates and issues: https://github.com/MaximSinyaev/agent-trading-journal

    Disclaimer: Record-keeping tool, not financial, investment or tax advice. Provided as is, without warranty; use at your own risk. Check numbers against your broker before filing taxes.

    Average-cost method only (no FIFO/LIFO yet). Currencies are reported separately, never converted to a base currency. Live prices need a market-data tool or the optional Yahoo fetch. Not a tax report.

    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 buying a skill.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 11 days ago

    • Free with an Agensi account

    Software
    Python 3.12+uv (auto-installs the CLI)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    github.com (one-time CLI install via uv)
    pypi.org (dependencies)
    query1.finance.yahoo.com (optional price fetch)

    File Scopes

    ~/.trading-journal/
    ~/.traderc.toml
    broker
    export
    files
    the
    user
    points
    to
    dashboard
    /
    Obsidian
    output
    paths
    chooses

    Reads TRADE_DB, TRADE_CONFIG and TRADE_TZ environment variables. No API keys. Trade data stays in a local SQLite file.

    Listed11 days ago

    What's inside

    Frequently Asked Questions

    Your agent logs trades and imports broker CSVs; a local SQLite ledger does the math. Exact P&L, stats, interactive dashboard, Obsidian notes.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Trading Journal — exact P&L for your AI agent on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free