Chess Positionのロゴ

Chess Position

コミュニティ
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

概要

公開者brumar
リポジトリchess-postmortem-skills
スキル名chess-position
スター
76
フォーク
1
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    brumarがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Chess Position」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/brumar/chess-postmortem-skills/tree/main/skills/chess-position
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでChess Positionを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にChess Positionを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Chess Positionは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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/.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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", "explai...

TypingMindでChess Positionを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Chess Positionはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにChess Positionをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/brumar/chess-postmortem-skills/tree/main/skills/chess-positionを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Chess Positionを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Chess Positionで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもChess Positionを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Chess Position」は無料ですか?

brumarがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇