Wjs Trading Diary logo

Wjs Trading Diary

Community
jianshuo
wjs-trading-diary

Use when 王建硕 is about to place, has just placed, or is reflecting on an investment trade — 下单前, 下单后, 成交了, 挂单, 建仓, 加仓, 减仓, 卖出, 调仓, 再平衡, 富途截图, 账户体检, 看盘, 亏了, 赚了, 投资复盘, 吃一堑长一智 about money, "记一笔投资", "交易日记", "投资 log", "/wjs-trading-diary". Also when he pastes a brokerage screenshot or fill confirmation.

Overview

Publisherjianshuo
Repositoryclaude-skills
Skill namewjs-trading-diary
Stars
137
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jianshuo on GitHub. Read the source before you install it.

Installation

Install the Wjs Trading Diary AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jianshuo/claude-skills/tree/main/wjs-trading-diary
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jianshuo/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/wjs-trading-diary .claude/skills/wjs-trading-diary
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wjs Trading Diary in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wjs Trading Diary on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wjs Trading Diary is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

wjs-trading-diary(交易日记)

核心

每一次下单前 / 下单后 / 吃一堑都跑一遍。两本账,都只准追加,历史一个字不改:

文件记什么
/Users/jianshuo/code/jianshuo-memory/10-investing/LOG.md事实:日期、标的、股数、价格、金额、手续费、当时的理由和心情
/Users/jianshuo/code/jianshuo-memory/10-investing/LESSONS.md学到的东西:一条一规则,可在下一次下单前直接拿来用
/Users/jianshuo/code/jianshuo-memory/10-investing/portfolio.md组合宪法(目标配置、铁律)。只读对照;只有建硕明确说「改规则」才改

本 skill 会同步到公开仓库:金额、持仓只写进上面的私有文件,绝不写进本 SKILL.md。

第 0 步:判断是哪一种

信号模式
「准备买/卖」「想挂单」「要不要加点」A 下单前
截图、成交回报、「买好了」「成交了」、定期看账户B 下单后 / 体检
「亏了」「又栽了」「早知道」「这次学到…」C 吃一堑

一次对话可以连着走 A→B(下单前记一条,成交后再记一条)。

A 下单前

  1. 读 LESSONS.md 全文 + portfolio.md 铁律,挑出跟这一笔相关的条目原文念给他(「你 X 月 X 日学到过:…」)。这是整个 skill 最值钱的一步。
  2. 对照铁律逐条过:限价单?避开开盘头 15 分钟?卫星仓有没有在加仓/补跌?是不是还没到再平衡日就想动核心仓?违反就直说,不替他下决定,但要他亲口说「我知道,仍然要做,因为…」并原话记下。
  3. 带时间窗口(期权、事件驱动、财报前/解锁前择时)→ REQUIRED SUB-SKILL: s-trading-principle,三问走完再继续。
  4. 追加 LOG:## YYYY-MM-DD · 下单前:<一句话>,写计划(标的/方向/股数/限价)+ 理由 + 此刻心情 + 引用了哪几条 LESSONS。

B 下单后 / 体检

  1. 先用 API 取事实:OpenD 在监听 127.0.0.1:11111 时,跑 ~/code/futu-tools/.venv/bin/python ~/code/futu-tools/query.py deals|orders|summary --start <日期>,手续费用 order_fee_query 查(用法见记忆库 10-investing/futu-openapi.md)。API 时间是美东时间,要换算成东京时间。OpenD 没开时,才从截图或他的话里抽,做成表(标的|股数|成交价|金额|时间)。看不清的数字问,不猜。他口述的事实和 API 对不上时,以 API 为准,并追加一条更正。
  2. 对账:计划 vs 成交(价差、股数);账户总额拆解(浮盈亏 + 现金变动 + 手续费 = 账面变化),对不上就写明差额和推测来源,标「待核对」。
  3. 体检时按 σ 说话(几个 σ,2σ 内不问为什么),并检查核心仓偏离目标是否 ≥5 个百分点。
  4. 追加 LOG:## YYYY-MM-DD · <一句话结论>。有遗留问题就在条目末尾写「遗留:…」,下次体检先把上次的遗留念出来。

C 吃一堑

  1. REQUIRED SUB-SKILL: wjs-eating-and-growing,五步走完(它自己会存到 eating-and-growing/MEMORY.md,这里不再抄五行)。
  2. 把第 4 步「新参数」和第 5 步「下次的那一秒」压成一条投资规则,追加 LESSONS.md(格式见下),标注来源。
  3. 追加 LOG:## YYYY-MM-DD · 堑:<一句话>,写事实(亏了多少、哪一笔)+ 指向那条新 LESSON。

追加的写法(两本账通用)

  • 倒序:新条目插在第一个 ## 标题之前(文件头和注释块之下)。用 Edit 以「第一个现有 ## 标题行」为锚点,new_string = 新条目 + 原锚点行。
  • 写完立刻验证只增不改:
    bash
    cd /Users/jianshuo/code/jianshuo-memory && git diff --numstat 10-investing/
    第二列(删除行数)必须是 0。不是 0 → 撤回重写。
  • 发现旧条目写错:追加 ## YYYY-MM-DD · 更正 <原日期> 条:…,原条目不动。
  • 旧教训被推翻:追加新 LESSON,写「取代 L-xxx,因为…」,旧条不删。

LESSONS.md 条目格式:

markdown
## L-NNN · YYYY-MM-DD · <规则,一句话,祈使句>
- 来源:<哪件事 / LOG 哪天的条目>
- 用法:<下单前遇到什么情形时念这一条>

编号接着现有最大号往上加。

收尾

一句话告诉他:记了哪几条(LOG 标题 / LESSONS 编号),有没有遗留问题。

常见错误

错误改正
顺手「整理」旧条目、合并重复、改错别字一律不动,另起更正条
下单前只记计划,没念 LESSONS第 1 步不能跳,账本不回读就只是存档
截图数字模糊就估一个问
把金额写进本 SKILL.md 或公开文章只进私有记忆库
吃一堑直接写教训,跳过五步先走 wjs-eating-and-growing

Frequently asked questions

What does the Wjs Trading Diary AI skill do?

Use when 王建硕 is about to place, has just placed, or is reflecting on an investment trade — 下单前, 下单后, 成交了, 挂单, 建仓, 加仓, 减仓, 卖出, 调仓, 再平衡, 富途截图, 账户体检, 看盘, 亏了, 赚了, 投资复盘, 吃一堑长一智 about money, "记一笔投资", "交易日记", "投资 log", "/wjs-trading-diary". Also when he pastes a brokerage screenshot or fill confirmation.

Why use Wjs Trading Diary on TypingMind?

Because you install it once and use it with any model. Wjs Trading Diary is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wjs Trading Diary in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jianshuo/claude-skills/tree/main/wjs-trading-diary. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Wjs Trading Diary?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wjs Trading Diary?

As many as you like. As long as a model supports skills, you can use Wjs Trading Diary with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wjs Trading Diary AI skill free?

Yes. It is published on GitHub by jianshuo under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇