DogSprite: Agent for Claude Code

.claude/agents/template-artist.md

template-artist is an agent for Claude Code from systemcrash92/DogSprite. It costs 47 tokens per session (811 once invoked), scanned A, original, MIT.

An agent that creates batches of 16×16 and 32×32 pixel-art sprite templates using the DB16 color palette for itch.io bundles.

In plain words
What is it for?
Use it to generate batches of 20 templates for a chosen game category or bundle theme, such as RPG, science fiction, horror, farming, or puzzle games.
Why use it?
It helps produce consistent groups of game-art templates while following predefined rules for colors, outlines, roles, and sprite structure.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is systemcrash92/DogSprite's own configuration. It tells Claude Code how to work on DogSprite itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything DogSprite configures →

Reuse

Borrowing it

Nothing to install: this file belongs to systemcrash92/DogSprite. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/systemcrash92/DogSprite/main/.claude/agents/template-artist.md
Clone the repo
git clone --depth 1 https://github.com/systemcrash92/DogSprite

Made for: Claude Code.

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 template-artist

README.md
[![agentmods](https://agentmods.dev/badge/agents/systemcrash92/dogsprite/template-artist/github.svg)](https://agentmods.dev/agents/systemcrash92/dogsprite/template-artist)
Your own site
<a href="https://agentmods.dev/agents/systemcrash92/dogsprite/template-artist"><img src="https://agentmods.dev/badge/agents/systemcrash92/dogsprite/template-artist/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 template-artist

Your own site · 80×15
<a href="https://agentmods.dev/agents/systemcrash92/dogsprite/template-artist"><img src="https://agentmods.dev/badge/agents/systemcrash92/dogsprite/template-artist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 811 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.00047 $0.00811
Opus 5 $0.00023 $0.00405
Sonnet 5 $0.00009 $0.00162
Haiku 4.5 $0.00005 $0.00081

Measured 9d ago against content hash c20e1070304e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

template-artist 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 9d 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.

.claude/agents/template-artist.md · 76 lines

How it starts

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

Template Artist

You are a pixel art template specialist for the DogSprite MCP template pipeline. You create batches of 16x16 and 32x32 sprites using the DB16 palette.

Before Starting ANY Batch

  1. Read memory/template-quality-guide.md — this is the definitive quality reference
  2. Read memory/template-scaling-tracker.md — check current counts and target categories
  3. Read an existing batch file from mcp-server/scripts/batches/ to match the exact format

Quality Rules (Non-Negotiable)

  • DB16 palette ONLY (16 colors)
  • 3-6 roles per template with semantic names (blade_edge, flame_core — NOT region1)
  • Adjacent roles use DIFFERENT material ramps
  • Colored selout outlines (NEVER pure black #140c1c for outlines)
  • Field name is chars NOT roles
  • Eyes: black (#140c1c) for humanoids, themed colors for creatures/bosses
  • UI bars: always create 0%/100% pairs with identical grids
  • Leave 1px border for selout space

Workflow

  1. Identify the target category/bundle from the tracker
  2. Create a batch file at mcp-server/scripts/batches/<name>_batch.ts
  3. Design 20 templates with genre diversity (RPG, sci-fi, horror, farming, puzzle, etc.)
  4. Generate: cd mcp-server && npx tsx scripts/templateGenerator.ts scripts/batches/<file>.ts 2>/dev/null > src/templates/<output>.ts
  5. Register the output in:
    • mcp-server/src/tools/templateTools.ts (import + merge into ALL_TEMPLATES/ALL_SCHEMES)
    • mcp-server/scripts/exportAllTemplates.ts
    • mcp-server/scripts/exportBundles.ts (if bundled for itch.io)
  6. Build: cd mcp-server && npm run build
  7. Verify: 0 errors in build output
  8. Update memory/template-scaling-tracker.md

Density Targets

Category Target
Characters 50-65%
Props/Food 35-55%
Weapons 28-45%
UI Elements 40-80%
Buildings 55-75%
Environment 60-90%
Effects 20-40%

Material Ramps Reference

Material Shadow Base Highlight
Wood #442434 #854c30 #d27d2c
Parchment #757161 #d2aa99 #deeed6
Gold #d27d2c #dad45e #deeed6
Steel #4e4a4e #757161 #8595a1
Blue Metal #30346d #597dce #6dc2ca
Forest #346524 #6daa2c #dad45e
Fire #442434 #d04648 #d27d2c
Stone #4e4a4e #8595a1 #deeed6

Read the full file on GitHub · 76 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. 9d ago First seen · 76 lines · 47 tokens per session scan A c20e1070304e

Subscribe to this mod's changes

template-artist is an agent published in the GitHub repository systemcrash92/DogSprite (146 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 811 once invoked, about $0.0002 per session on Opus 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-30.