Qmt Bridge Feishu Doc logo

Qmt Bridge Feishu Doc

Community
atorber
qmt-bridge-feishu-doc

将 QMT Trading Skill 复盘/盈亏/分析报告同步到飞书云文档:规定云空间目录与标题命名, 通过官方 lark-cli 与 lark-doc、lark-drive、lark-shared Skill 完成(不用仓库 scripts/ 飞书脚本)。 在用户提到上传飞书、同步复盘文档、飞书云文档时使用。

Overview

Publisheratorber
Repositoryqmt-trading-skill
Skill nameqmt-bridge-feishu-doc
Stars
27
Forks
7
Bundled files
3
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.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Qmt Bridge Feishu Doc 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/atorber/qmt-trading-skill/tree/main/skills/qmt-bridge-feishu-doc
  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/atorber/qmt-trading-skill.git /tmp/qmt-trading-skill
mkdir -p .claude/skills
cp -r /tmp/qmt-trading-skill/skills/qmt-bridge-feishu-doc .claude/skills/qmt-bridge-feishu-doc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qmt Bridge Feishu Doc 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 Qmt Bridge Feishu Doc 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 Qmt Bridge Feishu Doc 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.

QMT Trading Skill · 飞书云文档

实现状态:规程 + doc-registry.md;IO 走 lark-cli 官方 CLI

目标

  1. 先由对应 QMT Skill 生成报告(复盘、盈亏等)
  2. 当日复盘:
    • 脚本 --feishu-md 导出客观章节 + 证据包(禁止篡改一~六数字)
    • Agent 按三角色规程写第七节专家评审(禁止编造;见 execution-review protocol)
    • 合并后再用 lark-doc / lark-drive 写入飞书
  3. 其它报告类型仍用脚本/Skill 产物,禁止凭印象摘要

lark-cli 首次使用(Agent)

完整步骤见 references/lark-cli-setup.md,摘要:

bash
npx @larksuite/cli@latest install
npx skills add larksuite/cli -y -g
lark-cli config init --new          # 链接发给用户浏览器配置
lark-cli auth login --recommend
lark-cli auth status

执行飞书写操作前 MUST 读 lark-shared;改 docx 读 lark-doc(--api-version v2);改列表标题 / 文件夹读 lark-drive。

不要使用本仓库 scripts/ 下已移除的飞书 Python 脚本;不要在本目录维护上传脚本。

云空间目录

QMT Trading Skill/
├── 每日复盘/      ← daily-eval
├── 盈亏快照/      ← daily-pnl
├── 涨跌分析/      ← return-analysis
└── 组合风控/      ← portfolio-risk

文件夹 token → .env(见 doc-registry)。

报告类型

type子目录先执行的 QMT Skill本地 Markdown
daily-eval每日复盘execution-reviewreports/feishu_daily_eval.md
daily-pnl盈亏快照daily-pnlreports/feishu_daily_pnl.md
return-analysis涨跌分析return-analysisreports/feishu_return_analysis.md
portfolio-risk组合风控portfolio-riskreports/feishu_portfolio_risk.md

doc token:reports/feishu_doc_ids.json 或 FEISHU_*_DOC_ID。

工作流:当日复盘

详见 references/workflows/daily-eval-sync.md。同步前必须:脚本客观 MD + evidence → 三角色专家第七节 → 合并后再上传。

放置位置

情况行为
用户未指定父文档wiki +node-create --as user --title "..."(不传 --parent-node-token)→ 个人知识库根
用户给出 wiki 父页面 URL/token加 --parent-node-token <TOKEN> 建子文档
用户要求云空间子目录docs +create --folder-token ...
覆盖已有 docdocs +update --doc DOC_TOKEN ...

勿在未指定时沿用历史对话中的父节点。父 token 可选:FEISHU_DAILY_EVAL_WIKI_PARENT_TOKEN 或 feishu_doc_ids.json 的 daily-eval-wiki-parent。

提示词示例

场景提示词
复盘上传把今日交易复盘同步到飞书文档(默认知识库根新建)
指定父页同步到飞书 wiki 父文档 <URL> 下,新建子文档
盈亏上传当日盈亏到飞书盈亏快照目录
新建在飞书每日复盘目录新建一篇今日复盘

操作规程

  1. lark-cli auth status 正常;已读 lark-shared + lark-doc
  2. 运行对应 QMT Skill 脚本取数
  3. 写 reports/*.md(相对工作区根;Agent 安装下为 skills 根下的 reports/,禁止写死 C:\GitHub\...)
  4. docs +update 或 +create(可先 --dry-run)
  5. 核对云文档标题与 H1 一致
  6. 只上传报告,不下单

标题规范(摘要)

QMT Trading Skill 当日复盘 2026-05-21 15:30:00 — 见 doc-registry。

安全

  • 遵循 lark-cli 官方安全提示;凭证在系统密钥链,勿泄露
  • 报告含交易数据,注意云文档权限范围

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Qmt Bridge Feishu Doc AI skill do?

将 QMT Trading Skill 复盘/盈亏/分析报告同步到飞书云文档:规定云空间目录与标题命名, 通过官方 lark-cli 与 lark-doc、lark-drive、lark-shared Skill 完成(不用仓库 scripts/ 飞书脚本)。 在用户提到上传飞书、同步复盘文档、飞书云文档时使用。

Why use Qmt Bridge Feishu Doc on TypingMind?

Because you install it once and use it with any model. Qmt Bridge Feishu Doc 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 Qmt Bridge Feishu Doc in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/atorber/qmt-trading-skill/tree/main/skills/qmt-bridge-feishu-doc. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Qmt Bridge Feishu Doc?

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 Qmt Bridge Feishu Doc?

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

Is the Qmt Bridge Feishu Doc AI skill free?

Yes. It is published on GitHub by atorber 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 👇