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.
npx skills add jimmc414/claude-code-plugin-marketplace --skill solve-grid-mazegit clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplaceWrote 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.
[](https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/solve-grid-maze)<a href="https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/solve-grid-maze"><img src="https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/solve-grid-maze/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.
<a href="https://agentmods.dev/skills/jimmc414/claude-code-plugin-marketplace/solve-grid-maze"><img src="https://agentmods.dev/badge/skills/jimmc414/claude-code-plugin-marketplace/solve-grid-maze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00615 |
| Opus 5.5 | $0.00016 | $0.00246 |
| Sonnet 5.5 | $0.00008 | $0.00123 |
| Haiku 4.5 | $0.00004 | $0.00061 |
Grade A, and why
solve-grid-maze 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
solve-grid-maze
When to Use
- Working with 2D coordinates (x, y) or (row, col)
- Board games (chess, checkers, Go, tic-tac-toe)
- Tile-based maps or level editors
- Cellular automata (Game of Life)
- Maze generation or solving
- Flood fill algorithms
- Any spatial grid structure
When NOT to Use
- Dense matrices where every cell is used (use numpy arrays instead)
- 3D or higher-dimensional grids (extend the pattern carefully)
- When you need matrix operations (multiplication, transposition)
The Pattern
Represent grids as dict[(x, y) -> contents] instead of 2D arrays.
Cell = Tuple[int, int]
Grid = Dict[Cell, Any]
# Sparse representation - only store what matters
world = {(3, 1): '#', (1, 2): '.', (1, 3): '#'}
# Neighbors via direction vectors
directions4 = [(1, 0), (0, 1), (-1, 0), (0, -1)] # E, S, W, N
directions8 = directions4 + [(1, 1), (1, -1), (-1, 1), (-1, -1)]
def neighbors(point, directions=directions4):
x, y = point
return [(x + dx, y + dy) for dx, dy in directions]
def add(p, q):
return (p[0] + q[0], p[1] + q[1])
Example (from pytudes Life.ipynb)
from collections import Counter
Cell = Tuple[int, int]
World = Set[Cell] # Only store live cells (sparse!)
def neighbor_counts(world: World) -> Dict[Cell, int]:
"""Count live neighbors for each cell."""
return Counter(n for cell in world for n in neighbors(cell))
def next_generation(world: World) -> World:
"""Apply Game of Life rules."""
counts = neighbor_counts(world)
return {cell for cell, count in counts.items()
if count == 3 or (count == 2 and cell in world)}
Key Principles
- Sparse is elegant: Only store occupied/interesting cells
- Direction vectors: Define movement as tuples to add
- Set operations: Union, intersection work naturally on cell sets
- Counter for neighbors: Count "backwards" from cells to neighbors
- Immutable cells: Tuples are hashable, can be dict keys or set members
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.
- 2mo ago First seen · 70 lines · 41 tokens per session scan A 57d0c98a62eb
solve-grid-maze is a skill published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 615 once invoked, about $0.0002 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-09-04.
solve-grid-maze compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| solve-grid-mazejimmc414/claude-code-plugin-marketplace | Skill | 4 | today | MIT | A | 41 | Claude Code |
| write-for-agentsmelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 130 | Claude Code |
| eli5melodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 155 | Claude Code |
| generate-file-name-gatemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 87 | Claude Code |
| usemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 183 | Claude Code |
| routemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 89 | Claude Code |
| unhobblemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 75 | Claude Code |