Logo Chess Position

Chess Position

Cộng đồng
brumar
chess-position

Deep study of ONE chess position (a FEN, a screenshot, a diagram, or "move N of game X"), not a whole game. First asks the user whether they want a POSITIONAL analysis (structure, plans for both sides, where each piece belongs) or a TACTICAL one (forcing lines, what works and what fails), then investigates with Stockfish as a fact-checker and explains the position in human terms. Optionally ends with a narrated video of the position via the chess-video skill. Use when the user shares a single position and asks "what is the plan here", "analyze this position", "what should White do", "explain this position", "is there a tactic", or sends a board image with no game attached.

Add to TypingMind

Tổng quan

Nhà phát hànhbrumar
Kho mãchess-postmortem-skills
Tên kỹ năngchess-position
Sao
76
Bản fork
1
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được brumar công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Chess Position trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/brumar/chess-postmortem-skills/tree/main/skills/chess-position
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brumar/chess-postmortem-skills.git /tmp/chess-postmortem-skills
mkdir -p .claude/skills
cp -r /tmp/chess-postmortem-skills/skills/chess-position .claude/skills/chess-position
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Chess Position trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Chess Position ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Chess Position với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Single position: ask, investigate, explain

Goal: the user understands the position after reading you. The engine is a fact-checker, not the author. A list of Stockfish lines is not an answer; an explanation that a strong human would give, with every claim in it verified, is.

Tools come from the sibling skills: chess-analysis/scripts/query.py (eval, multipv, --restrict, --moves), chess-analysis/scripts/render_fen.py, chess-analysis/scripts/get_stockfish.sh, and for the video chess-video/scripts/make_video.py. Same venv convention (.venv-chess).

0. Ask first. Always.

Before any engine call, ask the user which analysis they want, with AskUserQuestion (skip only if their message already says it in so many words):

  • Positional: no forcing line decides the position. The question is what each side is trying to do: pawn structure, good and bad pieces, weak squares, pawn breaks, where every piece belongs, the plan for both sides.
  • Tactical: there may be a combination, a trap, or a forcing sequence. The question is what works, what fails, and why.

Do not guess from the position. A quiet-looking position can hide a tactic the user wants found, and a sharp one can be a question about plans. The two modes produce different deliverables, and the user loses time reading the wrong one.

In the same question round, settle what is missing:

  • Side to move. Never infer it. A screenshot or diagram never says whose turn it is, so for an image input always ask, even when the answer looks obvious (board orientation, last-move highlight, "it's my position"). Only a FEN's side-to-move field or the user's own words settle it. A wrong guess changes every line and every plan in the answer.
  • Level to write for, unless already known (CLAUDE.md, memory, or the chess-analysis skill's audience.level). Calibrate with chess-analysis/references/style.md.
  • Video at the end? (optional, see §4).

1. Get the position right

  • From an image: transcribe the FEN rank by rank, then render it with render_fen.py and compare the render to the image square by square. Count material both ways. A single misplaced pawn invalidates the whole analysis.
  • Castling rights: infer from king and rook squares; when both are castled, use -.
  • Record the FEN and the assumptions (side to move, castling) and state them in the final answer.

2. Investigate

  • Positional: follow references/positional.md. This is the demanding mode. You must reach an understanding you can state as rules, and then prove each rule with the engine.
  • Tactical: follow references/tactical.md.

Parallel probes: run 3-5 query.py calls at once in one shell command (( ... ) & ( ... ) & wait). For a large probe budget, subagents with the chess-analysis investigator.md posture work too, but one position is usually small enough to do yourself, and doing it yourself is how you actually understand it.

3. Deliver in chat

Lead with the answer, not the method. Positional shape:

  1. What the position is about: structure name (if any) and the one or two facts everything else follows from.
  2. Constraints: what each side cannot do yet, and why (one clause of proof each, with the number).
  3. Plan for each side as 3-5 rules, each with its reason. Rules, not move lists: "h3 first, because it opens h2 as a retreat for the bishop", not "1.h3 g6 2.Rac1".
  4. What not to do, with the cost in pawns.
  5. Verdict: the square(s) or piece(s) both plans are about, the eval, and the honesty-gate spread ("five moves within 0.1: the plan matters, the move does not").

Tactical shape: the key line first, then the refutation of each tempting alternative, then the idea in one sentence the user can reuse.

State your assumptions (side to move) at the top. If you corrected yourself during the work, say so plainly. The user needs to know which parts are solid.

4. Optional video

Uses the chess-video skill. make_video.py accepts a PGN with a [FEN] tag and no moves, so every shot is "ply": 0 and every line is a var. If the side to move cannot start the line you want to show (e.g. a Black idea with White to move), prefix it with the side to move's best quiet move (the engine's first choice), not a random pass, and say so in the narration or pick a move that belongs to the plan anyway (h3 here).

Storyboard for one position (~3-4 min, piper ~160 words/min):

  1. The frozen position: structure, the key imbalance, the honesty-gate number. hold 2.
  2. The constraints: each "cannot yet" shown as a short var.
  3. One segment per side's plan: route arrows first, then a 4-6 ply var.
  4. Double-edged pieces or squares, if the position has one.
  5. What not to do.
  6. Verdict: the rules, spoken, both sides.

Then verify as the chess-video skill says: extract frames, check captions are not clipped (keep them under ~18 characters, e.g. ...g6!, not a sentence), check arrows do not pile up on one square, and read the .srt end to end as prose. Re-read every factual sentence against the board: a narration line like "no black pawn can attack c5" is exactly the kind of claim that sounds right and is false (...b6 does).

Worked example of the whole skill: examples/position-carlsbad/.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Chess Position làm được gì?

Deep study of ONE chess position (a FEN, a screenshot, a diagram, or "move N of game X"), not a whole game. First asks the user whether they want a POSITIONAL analysis (structure, plans for both sides, where each piece belongs) or a TACTICAL one (forcing lines, what works and what fails), then investigates with Stockfish as a fact-checker and explains the position in human terms. Optionally ends with a narrated video of the position via the chess-video skill. Use when the user shares a single position and asks "what is the plan here", "analyze this position", "what should White do", "explai...

Vì sao nên dùng Chess Position trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Chess Position là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Chess Position trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/brumar/chess-postmortem-skills/tree/main/skills/chess-position. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Chess Position?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Chess Position với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Chess Position với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Chess Position có miễn phí không?

Kỹ năng này được brumar phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇