aifolimizer: Skill for Claude Code

.claude/skills/trade-journal/SKILL.md

trade-journal is a skill for Claude Code from tusharagg1/aifolimizer. It costs 114 tokens per session (1,503 once invoked), scanned B, original, MIT.

A trade journal focused on the emotional side of buying and selling investments. It records feelings, the source of confidence, the trade idea, and whether the plan was followed, then compares those details with results.

In plain words
What is it for?
Logging trade entries and exits, reconciling completed trades, and reviewing which emotional states tend to come before losses.
Why use it?
A normal trade record may show prices and outcomes but not the emotions that influenced the decision, making recurring costly habits hard to see.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is tusharagg1/aifolimizer's own configuration. It tells Claude Code how to work on aifolimizer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aifolimizer configures →

Part of the aifolimizer plugin — 28 skills, 2 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to tusharagg1/aifolimizer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tusharagg1/aifolimizer/master/.claude/skills/trade-journal/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tusharagg1/aifolimizer

Made for: Claude Code.

Or install aifolimizer, the plugin that ships this one along with the rest of its 28 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trade-journal

README.md
[![agentmods](https://agentmods.dev/badge/skills/tusharagg1/aifolimizer/trade-journal/github.svg)](https://agentmods.dev/skills/tusharagg1/aifolimizer/trade-journal)
Your own site
<a href="https://agentmods.dev/skills/tusharagg1/aifolimizer/trade-journal"><img src="https://agentmods.dev/badge/skills/tusharagg1/aifolimizer/trade-journal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trade-journal

Your own site · 80×15
<a href="https://agentmods.dev/skills/tusharagg1/aifolimizer/trade-journal"><img src="https://agentmods.dev/badge/skills/tusharagg1/aifolimizer/trade-journal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,503 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.01503
Opus 5 $0.00057 $0.00751
Sonnet 5 $0.00023 $0.00301
Haiku 4.5 $0.00011 $0.00150

Measured 10d ago against content hash 11a553b76674, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

trade-journal scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

**Step 3 - Mirror back one line.** If `emotion` ∈ {fomo, revenge, fear} OR `conviction_source` ∈ {tip, social, gut} OR `pre_trade_check_passed=false`, flag it plainly: "Logged. Note: this is a {emotion}/{source} entry -
.claude/skills/trade-journal/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trade Journal (Psychological Layer)

Goal

Most retail losses are emotional, not analytical. decision_memory records the facts of a trade (price, conviction label, thesis) and shadow_account derives biases from price/date. Neither captures what the trader felt at the moment of entry. This skill does - emotion, conviction source, self-rated confidence, plan adherence - then get_journal_insights cross-tabs felt-state against realized outcomes to answer the one question that beats technical analysis: what emotional state precedes my losing trades?

This is a capture + mirror skill, not a recommender. It does not approve or reject trades (that's pre-trade-check).

When to invoke

  • ENTRY: user just placed (or is about to place) a trade and wants it journaled. Natural follow-on from pre-trade-check.
  • EXIT: user closed a position - reconcile the open journal entry.
  • REVIEW: "why do I keep losing", "what's my pattern", "trade journal insights".

How to run

Step 0 - Detect phase (REQUIRED): entry, exit, or review. If ambiguous, ask.

ENTRY phase

Step 1 - Capture felt-state (ask only what the user has not already said):

  1. Ticker?
  2. Emotion right now? → one of: calm | fomo | fear | revenge | conviction | bored | uncertain
  3. Where did the conviction come from?thesis | chart | tip | social | news | gut
  4. Confidence 1-5? (1 = a flyer, 5 = highest conviction)
  5. What is the plan? (entry / stop / exit stated BEFORE the trade - one sentence)
  6. Did pre-trade-check pass? (yes/no - if they skipped it, note that, it is itself a signal)

Step 2 - Persist:

Call mcp__aifolimizer__log_trade_journal with:
  ticker=<TICKER>
  emotion=<emotion>
  conviction_source=<source>
  confidence_1to5=<1-5>
  plan_intended=<one-sentence plan>
  felt_note=<free text, optional>
  pre_trade_check_passed=<true/false>

Step 3 - Mirror back one line. If emotion ∈ {fomo, revenge, fear} OR conviction_source ∈ {tip, social, gut} OR pre_trade_check_passed=false, flag it plainly: "Logged. Note: this is a {emotion}/{source} entry - historically your weakest setup (check insights)." Do not moralize beyond one line.

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 115 lines · 114 tokens per session scan B 11a553b76674

Subscribe to this mod's changes

trade-journal is a skill published in the GitHub repository tusharagg1/aifolimizer (2 stars, last pushed 8d ago), licensed MIT. It adds 114 tokens to every session and 1,503 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

quantoracle

63 deterministic quantitative finance calculators + 10 composite workflows via MCP. Options pricing, Greeks, exotic derivatives, risk metrics, portfolio optimization, Monte Carlo, statistics, crypto/DeFi, FX/macro, TVM, strategy backtesting, rebalance planning, options strategy selection, hedging. 1,000 free…

QuantOracledev/quantoracle · 92 tokens

gitee-expert

You have access to Gitee (gitee.com), China's largest GitHub-style platform. This skill teaches the effective workflows for discovery, intel, translation and webhook monitoring.

sandraschi/gitee-mcp · 0 tokens

transcribe-filing

Transcribe an insurance rate filing or internal rating manual into an OpenRater workbook, then validate, build, verify, and rate it through the OpenRater MCP tools. Use when the user shares a filing/manual (PDF or pages) and wants it executable — "build this filing", "digitize this rating manual", "make this rateable"…

vadim-filimonov/openrater · 102 tokens

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

social-media-intelligence

Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.

HKUDS/Vibe-Trading · 28 tokens

geopolitical-risk

Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.

HKUDS/Vibe-Trading · 34 tokens