# Nonogram Solver

> Solve picture logic puzzles by turning row and column clues into a completed grid.

Nonogram Solver is a paid AI agent skill on Agensi by Muhammad Deden Ahmad, in Game Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Muhammad Deden Ahmad](https://www.agensi.io/creators/m-deden-ahmad)
- Category: [Game Development](https://www.agensi.io/skills/game-development)
- 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-solver
- Tags: javascript, puzzle-solver, nonogram, logic-puzzle, grid, algorithm, game, brain-teaser

## What it does

- Solves nonogram puzzles using row and column number clues
- Outputs a clear grid using marks for filled cells and dots for empty spaces
- Processes multiple puzzles saved in folders at the same time
- Uses mathematical logic to find forced cells instead of guessing

## Who it's for

- **Puzzle book creators and enthusiasts:** Turn raw number clues into finished picture grids for your projects. Try: "Solve a 10 by 10 nonogram puzzle from these row and column clues."
- **Casual gamers stuck on a level:** Get the solution for a logic puzzle when you cannot find the next move. Try: "Solve this 5 by 5 puzzle where the rows are 1, 1, 5, 1, 1 and the columns are 1, 1, 5, 1, 1."

## About this skill

Nonogram Solver solves nonogram (picross) puzzles exactly — an exact line solver with propagation and marginal-guided search. Give it a puzzle file with row and column clues and it writes the solved grid. Handles small and medium puzzles exactly; very large dense random puzzles may fail, and every solution should be verified against the clues. Runs on Node.js with no dependencies and no API key.

## Requires

- Node.js

## Known limitations

Large or very dense puzzles might not finish or could provide a partial grid. It finds the first valid solution it can, even if the puzzle has multiple answers.

## Technical details

This skill is a Node.js 22+ solver built in a single JavaScript file (solver.js). It uses a count-DP pass for line solving, propagation for forced cells, and a probing DFS for branching when stalled. It expects input in a specific puzzle.txt format (W H, then row clues, then column clues) and outputs a solution.txt grid using '#' and '.' characters. It handles subdirectories within a main input directory.

## 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 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

### What information do I need to give the skill to solve a puzzle?

You provide the width and height of the puzzle followed by the number clues for every row and every column. The skill uses these numbers to calculate exactly which cells are filled and which are empty.

### What does the solved puzzle look like?

The skill produces a text file showing the completed picture. It uses the # symbol for filled cells and the . symbol for empty spaces so you can clearly see the final image.

### Why should I use this instead of just asking a regular AI to solve the puzzle?

Standard AI often guesses or makes mistakes on grid logic. This skill uses a dedicated math solver that checks every possible cell placement against the clues to ensure the solution is logically sound.

### Are there any puzzle sizes or types this skill cannot handle?

This skill works best on small and medium puzzles. It may not finish very large or dense grids, such as 60 by 70 puzzles, and it does not check if a puzzle has more than one possible solution.

### How do I tell my AI agent to start solving my nonograms?

You can ask your AI agent to solve a puzzle by providing the dimensions and clues. Tell the agent to use the solver script to process your input directory and save the resulting grid to an output folder.

### Do I need to sign up for any other services to use this?

You do not need any special accounts or external API keys. This skill runs using Node.js and processes your clues from plain text files.

---

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.
