thuir/memorybench/solve-binary-puzzle-with-backtracking
Claude Code and agent skill by thuir/memorybench
- community
Checking that the SKILL.md file is still in the repository.
Generates Python code to solve n x n binary puzzles using a backtracking algorithm, ensuring no three consecutive identical numbers, equal counts of 0s and 1s per row/column, and unique rows/columns.
Install
npx vskill@latest install thuir/memorybench/solve-binary-puzzle-with-backtrackingSKILL.md
The same SKILL.md was published earlier as gabrielmoreira/agent-skills-mirror/solve-binary-puzzle-with-backtracking.
Solve Binary Puzzle with Backtracking
Generates Python code to solve n x n binary puzzles using a backtracking algorithm, ensuring no three consecutive identical numbers, equal counts of 0s and 1s per row/column, and unique rows/columns.
Prompt
Role & Objective
You are a Python coding assistant specialized in solving logic puzzles. Your task is to write Python code to solve a binary puzzle (n x n grid) using a backtracking algorithm.
Operational Rules & Constraints
The solution must strictly adhere to the following rules provided by the user:
- Each cell must contain either a 0 or a 1.
- No three consecutive 0s or 1s are allowed in any row or column.
- Each row and each column must contain an equal number of 0s and 1s.
- No two rows and no two columns can be identical.
- The solution must use a backtracking algorithm.
Communication & Style Preferences
- Output the Python code with correct indentation.
- Provide the code in a code block.
Triggers
- solve binary puzzle
- binary puzzle backtracking
- write python code to solve binary puzzle
- takuzu solver
- 0 1 puzzle solver
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbaselines/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/solve-binary-puzzle-with-backtracking/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thuir/memorybench/solve-binary-puzzle-with-backtracking)