# Nonogram Puzzle Solver

> Get exact, logic-based solutions for nonogram puzzles delivered as clear text-based grids.

Nonogram Puzzle Solver is a paid AI agent skill on Agensi by kkvlove, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [kkvlove](https://www.agensi.io/creators/kkvlove)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/nonogram-puzzle-solver
- Tags: productivity, logic-puzzles, node-js, math

## What it does

- Reads puzzle files containing grid dimensions and row/column clues
- Solves grids using exact logic and mathematical certainty rather than guessing
- Creates a solution file for every puzzle found in your input folder
- Uses a work budget to ensure it finishes within a reasonable time
- Handles empty clues and smaller grids in less than a second
- Outputs a clear grid of symbols where hashes represent filled spots and dots represent empty ones

## Who it's for

- **Puzzle enthusiasts and gamers:** Solve tricky paint-by-numbers puzzles without guessing. Try: "Solve the nonogram puzzle in the input folder."
- **Developers building puzzle apps:** Get an exact logic engine to verify if your custom nonograms have a unique solution. Try: "Run the solver on these new puzzle files and tell me which ones are solvable."

## About this skill

If you have a pile of nonogram puzzles (also known as paint-by-numbers) and want them solved with pure logic, this skill is for you. It does not guess or use random numbers. It looks at the clues for rows and columns and fills in the grid only when it is mathematically certain.

### How it works
1. You provide a folder with puzzle files containing the grid size and the number clues for every row and column.
2. Your AI agent runs the solver which checks every possible way to place the blocks.
3. The skill uses a step-by-step logic process to fill in cells that must be part of a block or must be empty.
4. If a puzzle is very hard, it tries branching out different paths to find the one correct grid.
5. You receive a text file for each puzzle showing the completed picture using simple symbols.

### Frameworks & tools
This skill uses Node.js scripts to process text files. It works entirely with plain text input and output.

### Why this beats prompting it yourself
An AI agent trying to solve a grid in a chat window often loses track of the numbers or makes small counting mistakes. This skill uses a strict mathematical engine that verifies every single row and column against the clues before it finishes, ensuring the result is actually correct.

### Use cases
- Completing a large batch of logic puzzles quickly.
- Verifying that a nonogram you created is solvable.
- Finding the solution to a puzzle you are stuck on.
- Generating solved grids for a puzzle book or app.

### Known limitations
Very large puzzles (around 60x60 or bigger) might not finish if they are too complex for the logic budget. It only works with black and white nonograms, not colored ones.

## Technical details

This skill uses a Node 22 script (main.ts) that performs dynamic programming for line solving and depth-first search for branching. It reads from MAKEFUN_INPUT_DIR and writes to MAKEFUN_OUTPUT_DIR. The solver is deterministic and includes a work unit cap of 150,000 units per puzzle to prevent infinite loops on NP-complete instances. It requires no external npm packages.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Nonogram Puzzle Solver skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Why should I use this instead of just asking my AI agent to solve a puzzle in the chat?

This skill uses a strict logic engine that checks every row and column against your clues. Unlike general AI models that often lose track of numbers or make counting mistakes, this tool verifies that every block is mathematically certain before finishing.

### What do I need to give my AI agent to get started?

You need to provide a folder containing text files for your puzzles. Each file should list the grid size followed by the specific number clues for every row and column.

### What kind of output will I receive once the solver is finished?

You will receive a solution text file for each puzzle you submit. These files use simple symbols, with a hash mark representing a filled square and a dot representing an empty one.

### Are there any types of puzzles that this skill cannot solve?

This skill is designed for black and white puzzles and cannot solve colored nonograms. Additionally, very large grids, such as those 60x60 or bigger, may be too complex to solve within the skill's logic budget.

### How do I tell my AI agent to use this skill?

You can ask your AI agent to solve a batch of nonogram puzzles located in a specific folder. It will then run the logic engine to process your clue files and save the completed grids as new text files.

### Does the skill use any random guessing to find a solution?

The solver uses pure logic and step-by-step deduction to fill in the grid. It does not use random guessing or probability, ensuring that every mark made is based on the provided numerical clues.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
