Agent skill

Trading Discipline

by kansoku-trade in kansoku-trade/kansoku

Cross-context shared trading discipline — output language, independent verification, scenarios not points, noise filtering, intent-attribution guardrails, and execution discipline (trend alignment…

Custom licenceAuto-check passedBusiness, Finance & HR

Install Trading Discipline

skills CLI
$ npx skills add kansoku-trade/kansoku --skill trading-discipline -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kansoku-trade/kansoku trading-discipline --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kansoku-trade/kansoku.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/trading-discipline .claude/skills/trading-discipline && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
trading-discipline
GitHub stars
328
Token cost
~2.7k tokens
SKILL.md length
1,394 words
Files
5 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
Custom licence

At a glance

Cross-context shared trading discipline — output language, independent verification, scenarios not points, noise filtering, intent-attribution guardrails, and execution discipline (trend alignment…

  • Works in 6 steps: Restate the specific claim precisely. → Check the data most likely to refute it… → When the claim concerns current price… → …
  • Tasks that involve Trading and backtesting
  • SKILL.md covers A. Output (applies to every…, C. Judgment Discipline…, F. Execution Discipline… and Related
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Trading Discipline is an agent skill from kansoku-trade/kansoku. Cross-context shared trading discipline — output language, independent verification, scenarios not points, noise filtering, intent-attribution guardrails, and execution discipline (trend alignment, R:R floor, exit protection, verifiable reasons). Injected into both the app-side judgment agents (analyst / deepDive / chat) and the bench episode runner. Context-specific chapters live under references/ and are loaded on demand by the caller (app or bench).

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/app/journal.md`, `references/app/market-analysis.md` and `references/app/us-market-data.md`).

It sits in Business, Finance & HR, covering Trading and backtesting. It works with Longbridge. The repository describes itself as: AI Stock Partner on Your Mac – Local Market Information, Multi-timeframe K-line, AI Intraday Comments and Follow-up Analysis.

When your agent uses it

  • Tasks that involve Trading and backtesting

Example prompts

  • “/trading-discipline”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Restate the specific claim precisely.
  2. Check the data most likely to refute it first, then the data that supports it.
  3. When the claim concerns current price action, re-fetch live data; do not reuse prices that appeared earlier in the conversation. In…
  4. Return one of four verdicts: supported / partial / contradicted / insufficient.
  5. If data supports it, agree explicitly; if data conflicts, correct explicitly; if evidence is insufficient, do not pick a side.
  6. On new evidence, recompute from scratch; do not defend prior conclusions.

What it can do on your machine

Read from SKILL.md and the folder at commit 8fa9a03. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Trading Discipline loads about 2.7k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 119 tokens; SKILL.md has 1,394 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,394 words (~2,659 tokens).

“TD-LANG-01 — Reply in modern vernacular Chinese (中文白话). No classical Chinese, no 文言. Applies to conversational replies, logs, stock notes, specs, READMEs. Rule text (this file) is in English so it survives across bench/app contexts; user-visible OUTPUT is what the…”

— opening of SKILL.md by kansoku-trade, Custom licence
name
trading-discipline

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in .claude/skills/trading-discipline of kansoku-trade/kansoku.

  • SKILL.md
  • references/app/journal.md
  • references/app/market-analysis.md
  • references/app/us-market-data.md
  • references/bench/episode-execution.md

Open the folder on GitHubat commit 8fa9a03

Compare with similar skills

Trading Discipline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Trading Discipline compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Trading Discipline this skillkansoku-trade/kansoku328—~2.7kAutomated safety check: PassCustom licence
Longbridge Market Datahelsome/folio2711 repos~1.6kAutomated safety check: PassMIT
Longbridge Technicalhelsome/folio2711 repos~1.5kAutomated safety check: PassMIT
Longbridge Quantsickn33/agentic-awesome-skills47k1 repos~1.5kAutomated safety check: PassMIT
Longbridge Market Datasickn33/agentic-awesome-skills47k1 repos~1.7kAutomated safety check: PassMIT
Vibe-Trading Finance ToolkitHKUDS/Vibe-Trading35k—~6.5kAutomated safety check: PassMIT

Similar skills

  • Real-time quotes, K-line charts, order book, trade ticks, intraday capital flow, market sentiment temperature, trading session schedule, security lists, exchange rates, and IPO calendar for…

    271 GitHub starsUsed in 1 repo~1.6k tokens
    Business, Finance & HRAuto-check passed
  • Technical analysis frameworks — candlestick patterns, Ichimoku cloud, technical indicators (RSI/MACD/EMA/Bollinger), harmonic patterns (Gartley/Bat/Butterfly/Crab), Elliott Wave, Chan Theory (缠论…

    271 GitHub starsUsed in 1 repo~1.5k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Quant

    sickn33/agentic-awesome-skills

    Curated upstream guidance for Longbridge Quant; use when the workflow matches the user goal.

    47k GitHub starsUsed in 1 repo~1.5k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Market Data

    sickn33/agentic-awesome-skills

    Real-time quotes, K-line charts, order book, trade ticks, intraday capital flow, market sentiment temperature, trading session schedule, security lists, exchange rates, and IPO calendar for…

    47k GitHub starsUsed in 1 repo~1.7k tokens
    Business, Finance & HRAuto-check passed
  • Finance research toolkit with backtesting, factor analysis, a library of prebuilt alphas, options pricing and a Shadow Account loop that tests rules extracted from your trade journal.

    35k GitHub stars~6.5k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed

More from kansoku-trade/kansoku

All 13 skills in this repo
  • Korea Market Quotes

    kansoku-trade/kansoku

    Fetches KOSPI, KOSDAQ, SK Hynix and Samsung quotes from Yahoo Finance and runs a capitulation-reversal test on Korean chip-stock selloffs.

    328 GitHub stars~1.7k tokensUpdated 15 days ago
    Auto-check passed
  • Trump Truth Social Monitor

    kansoku-trade/kansoku

    Pulls recent Truth Social posts from a public RSS mirror, sorts them into market-relevant topic buckets and prepares them for market-impact grading, with an archive mode.

    328 GitHub stars~2.2k tokensUpdated 15 days ago
    Auto-check passed
  • Trade Decision Gate

    kansoku-trade/kansoku

    Runs a fixed checklist before any buy, add, sell or trim, scores the result, logs each verdict as JSON and flags trades that went against it.

    328 GitHub stars~2k tokensUpdated 15 days ago
    Auto-check passed
  • US Capital Rotation Scanner

    kansoku-trade/kansoku

    Takes one end-of-session reading of US capital flow across sector cohorts, names the dominant rotation narrative and saves a dated journal file.

    328 GitHub stars~1.9k tokensUpdated 15 days ago
    Auto-check passed
  • FRED Macro Time Series

    kansoku-trade/kansoku

    Looks up US and global macro series from St. Louis Fed FRED, such as CPI, GDP, Fed funds, yields, M2 and the dollar index, and reports them with units and dates.

    328 GitHub stars~1.1k tokensUpdated 15 days ago
    Auto-check: notes
  • GDELT News and Tone Search

    kansoku-trade/kansoku

    Queries the GDELT 2.0 Doc API for multilingual global news, article lists, tone timelines and volume charts, with a helper script and a request throttle.

    328 GitHub stars~1k tokensUpdated 15 days ago
    Auto-check passed

Works with

Questions about Trading Discipline

What does Trading Discipline do?

Cross-context shared trading discipline — output language, independent verification, scenarios not points, noise filtering, intent-attribution guardrails, and execution discipline (trend alignment…. Trading Discipline is an agent skill from kansoku-trade/kansoku. Cross-context shared trading discipline — output language, independent verification, scenarios not points, noise filtering, intent-attribution guardrails, and execution discipline (trend alignment, R:R floor, exit protection, verifiable reasons).

When should I use Trading Discipline?

Trading Discipline fits situations like: tasks that involve Trading and backtesting.

How do I install Trading Discipline in Claude Code?

Run `npx skills add kansoku-trade/kansoku --skill trading-discipline -a claude-code`. Or copy the skill folder (.claude/skills/trading-discipline in kansoku-trade/kansoku) into .claude/skills/trading-discipline in your project. Claude Code loads it when a task matches its description.

How do I install Trading Discipline in Codex?

Run `npx skills add kansoku-trade/kansoku --skill trading-discipline -a codex`. Or copy the skill folder (.claude/skills/trading-discipline in kansoku-trade/kansoku) into .agents/skills/trading-discipline in your project. Codex loads it when a task matches its description.

Can I use Trading Discipline in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kansoku-trade/kansoku --skill trading-discipline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trading-discipline, .gemini/skills/trading-discipline, .github/skills/trading-discipline and .opencode/skills/trading-discipline in your project.

What does Trading Discipline need to run?

SKILL.md names no scripts, command-line tools or credentials: Trading Discipline is instructions for the agent only.

Does Trading Discipline access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Trading Discipline safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Trading Discipline use?

Trading Discipline has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Trading Discipline use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Trading Discipline?

Skills that share tags, products or a category with Trading Discipline: Longbridge Market Data (helsome/folio, 271 stars), Longbridge Technical (helsome/folio, 271 stars), Longbridge Quant (sickn33/agentic-awesome-skills, 47k stars) and Longbridge Market Data (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Trading Discipline?

kansoku-trade (a GitHub organization) maintains it in kansoku-trade/kansoku, which has 328 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 26, 2026.

Source: kansoku-trade/kansoku on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.