chess-engine

Analyze chess positions and determine optimal moves with Stockfish.

1|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/DammianMiller/universal-agent-memory --skill chess-engine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chess-engine
Source: https://github.com/DammianMiller/universal-agent-memory/tree/main/.factory/skills/chess-engine
Command: npx skills add https://github.com/DammianMiller/universal-agent-memory --skill chess-engine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-chess, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides AI-driven analysis for chess, including finding the best moves, parsing game notations, and solving checkmate puzzles, by leveraging external chess engines.

Core Features & Use Cases

  • Best Move Calculation: Utilizes engines like Stockfish to determine optimal moves.
  • Game Notation Parsing: Handles FEN (Forsyth-Edwards Notation) and PGN (Portable Game Notation) formats.
  • Checkmate Puzzles: Solves complex checkmate scenarios.
  • Use Case: When faced with a complex board position, use this Skill to get the engine's top recommended move and its evaluation.

Quick Start

Use the chess-engine skill to find the best move for the current board state represented by the FEN string 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'.

Frequently Asked Questions about chess-engine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a chess position using FEN to find the best move?

To analyze a chess position using FEN, input the FEN string representing your board state to get the engine's top recommended move and its evaluation. The Skill leverages external engines like Stockfish for optimal move calculation.

Can I parse PGN game notation to solve checkmate puzzles?

Yes, you can parse PGN game notation to solve checkmate puzzles. The Skill handles both FEN and PGN formats for game state representation and calculates optimal moves to resolve complex checkmate scenarios.

Do I need to install Stockfish and python-chess to calculate optimal chess moves?

Yes, you need both the Stockfish engine and the python-chess library installed. These dependencies are required for move legality checks, board validation, and running the actual chess analysis.

What is the best way to determine optimal moves in complex board scenarios?

The best way to determine optimal moves in complex board scenarios is by using an external chess engine like Stockfish. This Skill utilizes the engine to evaluate positions and return its top recommended move.

How does FEN parsing work for chess game state representation?

FEN parsing works by taking a Forsyth-Edwards Notation string to represent the exact board state, including piece positions and active color. The Skill uses this notation to set up the position for engine analysis.