Logo: Chess Position

Chess Position

Communautéit
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

Iwwersiicht

Editeurbrumar
Repositorychess-postmortem-skills
Skill-Nummchess-position
Stären
76
Forks
1
Matgeliwwert Dateien
2
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    brumar huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Chess Position an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/brumar/chess-postmortem-skills/tree/main/skills/chess-position
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Chess Position an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Chess Position automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Chess Position net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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...

Firwat Chess Position op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Chess Position besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Chess Position an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/brumar/chess-postmortem-skills/tree/main/skills/chess-position an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Chess Position benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Chess Position benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Chess Position domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Chess Position gratis?

brumar huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇