pre-trade-discipline-gate
Skill by tradermonty
Evaluates a local pre-trade checklist before manual order entry. It blocks planless, oversized, revenge-risk, regime-blocked and circuit-breaker-blocked entries and journals each decision for trader-memory-core review.
Install pre-trade-discipline-gate
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tradermonty/claude-trading-skills /tmp/claude-trading-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-trading-skills/skills/pre-trade-discipline-gate ~/.claude/skills/pre-trade-discipline-gateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install pre-trade-discipline-gate in Claude Code
git clone --depth 1 https://github.com/tradermonty/claude-trading-skills /tmp/claude-trading-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-trading-skills/skills/pre-trade-discipline-gate ~/.gemini/antigravity-cli/skills/pre-trade-discipline-gateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install pre-trade-discipline-gate in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Pre-Trade Discipline Gate is an agent skill that checks a planned manual order before it is placed at the broker. It reads a local JSON or YAML file of candidate checklist answers, plus optional market-regime, circuit-breaker and trader-memory-core artifacts, and returns a GO, REVIEW_REQUIRED, NO_GO or NO_ACTIONABLE_ORDERS decision. The gate is offline. It does not place or cancel orders, call a broker API or fetch market data.
Each decision is written as a pre_trade_discipline_decision artifact and journaled for later trader-memory-core review. An optional approved-rules ledger requires an acknowledgement of each applicable rule at every check. Scripts also support a two-week rule experiment and a monthly rule adherence report. It is for traders who want checklist adherence to be visible over time.
Written from the project's SKILL.md and checked against it.
What it can do
- Checklist gateBlocks actionable entries that are not in the written plan, lack a predefined stop, or are not within plan size.
- Revenge-risk checkBlocks entries placed during the cooldown window after a recent loss.
- Upstream gate inputsReads optional exposure_decision and circuit_breaker_decision files to block regime or circuit-breaker entries.
- Decision journalingWrites each decision to a journal for trader-memory-core review.
- Approved rules ledgerLists applicable approved rules and requires an acknowledgement for each candidate.
- Monthly rule adherence reviewCounts gate acknowledgements of each approved rule in the journal for a given month.
- Two-week rule experimentReviews one approved rule over 14 New York calendar days using user-confirmed observations.
What you need
- Python 3.9 or later
- A local JSON or YAML checklist answers file
- Optional trader-memory-core thesis state under state/theses/
- Optional exposure_decision and circuit_breaker_decision JSON files
Try asking
- Check my manual AAPL entry against my pre-trade checklist before I order.
- Run the pre-trade discipline gate on today's manual entry checklist.
- Summarize this month's approved rule adherence report.
Good to know
- The gate is offline and does not place or cancel orders or call a broker API.
- Approved rule acknowledgements are recorded, not verified.
- The approved rules ledger is single-user and does not support concurrent writers.
- The gate cannot approve an exception. Exceptions yield REVIEW_REQUIRED.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/pre-trade-discipline-gate/SKILL.md, skills/pre-trade-discipline-gate/scripts/approved_rules.py, skills/pre-trade-discipline-gate/scripts/check_pre_trade_discipline.py, skills/pre-trade-discipline-gate/scripts/manage_approved_rules.py, skills/pre-trade-discipline-gate/scripts/review_rule_adherence.py, skills/pre-trade-discipline-gate/scripts/review_rule_experiment.py, skills/pre-trade-discipline-gate/scripts/tests/conftest.py, skills/pre-trade-discipline-gate/scripts/tests/test_approved_rules.py, skills/pre-trade-discipline-gate/scripts/tests/test_approved_rules_round1.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/discipline_gate_framework.md6 KB -
references/rule_adherence.md9 KB -
references/rule_experiment.md3 KB -
requirements.txt123 B
Show all 23 files
-
scripts/approved_rules.py37 KB -
scripts/check_pre_trade_discipline.py35 KB -
scripts/manage_approved_rules.py9 KB -
scripts/review_rule_adherence.py24 KB -
scripts/review_rule_experiment.py8 KB -
scripts/tests/conftest.py230 B -
scripts/tests/fixtures/flag_absent_baseline.json4 KB -
scripts/tests/test_approved_rules.py36 KB -
scripts/tests/test_approved_rules_round1.py11 KB -
scripts/tests/test_approved_rules_round2.py8 KB -
scripts/tests/test_approved_rules_round3.py3 KB -
scripts/tests/test_check_pre_trade_discipline.py27 KB -
scripts/tests/test_gate_approved_rules.py21 KB -
scripts/tests/test_gate_round1.py1 KB -
scripts/tests/test_gate_round2.py2 KB -
scripts/tests/test_rule_adherence.py42 KB -
scripts/tests/test_rule_experiment.py7 KB -
scripts/tests/test_supersession_dates.py5 KB
Alternatives to pre-trade-discipline-gate
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
pre-trade-discipline-gate: common questions
Does this skill place or cancel trades?
No. The source says the gate is intentionally offline and does not place orders, cancel orders, call a broker API or fetch market data.
What decisions does the gate return?
GO means all actionable candidates passed. REVIEW_REQUIRED means inputs are missing or a rule needs review. NO_GO means a candidate violated a discipline rule, and NO_ACTIONABLE_ORDERS means nothing should be placed.
Are approved rule acknowledgements checked by the gate?
No. The source says the acknowledgement is recorded, not verified, and the gate never evaluates a rule against a trade.
How do I install pre-trade-discipline-gate?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pre-trade-discipline-gate free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pre-trade-discipline-gate safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pre-trade-discipline-gate?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
