display-grid-state

display-grid-state is a skill for Claude Code from jimmc414/claude-code-plugin-marketplace. It costs 25 tokens per session (659 once invoked), scanned A, original, MIT.

A text-based way to show the contents of a two-dimensional grid or board. It turns cell values into rows that are easier to inspect in a terminal or log.

In plain words
What is it for?
Use it to debug grid algorithms, display puzzle or Sudoku states, and compare search progress on boards.
Why use it?
It makes the current state of grid algorithms and puzzles visible, which helps you find incorrect moves, missing cells, or unexpected progress.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the norvig-patterns plugin — 54 skills shipped together

Good fit Use it to debug grid algorithms, display puzzle or Sudoku states, and compare search progress on boards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jimmc414/claude-code-plugin-marketplace/display-grid-state
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jimmc414/claude-code-plugin-marketplace --skill display-grid-state
Clone the repo
git clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplace

Made for: Claude Code.

Or install norvig-patterns, the plugin that ships this one along with the rest of its 54 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for display-grid-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/display-grid-state/github.svg)](https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/display-grid-state)
Your own site
<a href="https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/display-grid-state"><img src="https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/display-grid-state/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for display-grid-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/display-grid-state"><img src="https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/display-grid-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00659
Opus 5.5 $0.00010 $0.00264
Sonnet 5.5 $0.00005 $0.00132
Haiku 4.5 $0.00003 $0.00066

Measured 3mo ago against content hash 3b76a4b16298, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

display-grid-state scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/norvig-patterns/skills/display-grid-state/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

display-grid-state

When to Use

  • Debugging grid algorithms
  • Showing puzzle state
  • Visualizing search progress
  • Making algorithm transparent

When NOT to Use

  • Non-visual data
  • Grids too large to display
  • Performance-critical code

The Pattern

Create a formatted text representation of grid state.

def display_grid(grid, width, height):
    """Print grid as 2D representation."""
    for y in range(height):
        row = ''.join(grid.get((x, y), '.') for x in range(width))
        print(row)
    print()

Example (from pytudes)

# sudoku.py - display with separators
def display(values):
    """Display values as a 2-D grid."""
    width = 1 + max(len(values[s]) for s in squares)
    line = '+'.join(['-' * (width * 3)] * 3)

    for r in rows:
        print(''.join(
            values[r + c].center(width) + ('|' if c in '36' else '')
            for c in cols
        ))
        if r in 'CF':
            print(line)
    print()

# Output:
# 4 8 3 |9 2 1 |6 5 7
# 9 6 7 |3 4 5 |8 2 1
# 2 5 1 |8 7 6 |4 9 3
# ------+------+------
# 5 4 8 |1 3 2 |9 7 6
# ...

# Side by side comparison (Sudoku.ipynb)
def print_side_by_side(left, right, width=20):
    """Print two strings side-by-side, line-by-line."""
    for L, R in zip(left.splitlines(), right.splitlines()):
        print(L.ljust(width), R.ljust(width))

# Grid class with print method (AdventUtils.ipynb)
class Grid(dict):
    def print(self, sep='', xrange=None, yrange=None):
        """Print a representation of the grid."""
        for row in self.to_rows(xrange, yrange):
            print(*row, sep=sep)

    def to_rows(self, xrange=None, yrange=None):
        """Contents as rectangular list of lists."""
        xrange = xrange or cover(Xs(self))
        yrange = yrange or cover(Ys(self))
        default = ' ' if self.default in (KeyError, None) else self.default
        return [[self.get((x, y), default) for x in xrange]
                for y in yrange]

Key Principles

  1. Human readable: Space/align for clarity
  2. Show boundaries: Separators for structure
  3. Default for missing: Empty cells have representation
  4. Configurable size: Let caller specify range
  5. Print vs return: Option to get string or print directly

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 86 lines · 25 tokens per session scan A 3b76a4b16298

Subscribe to this mod's changes

display-grid-state is a skill published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 659 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

display-grid-state compared with skills from other repositories

display-grid-state next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
display-grid-statejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA25Claude Code
devils-advocatemelodic-software/claude-code-pluginsSkill33todayMITA139Claude Code
targetmelodic-software/claude-code-pluginsSkill33todayMITA102Claude Code
diagnosemelodic-software/claude-code-pluginsSkill33todayMITA89Claude Code
writemelodic-software/claude-code-pluginsSkill33todayMITA65Claude Code
generate-file-name-gatemelodic-software/claude-code-pluginsSkill33todayMITA87Claude Code
usemelodic-software/claude-code-pluginsSkill33todayMITA183Claude Code