Borrowing it
Nothing to install: this file belongs to rabbitcannon/pixellab-forge-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rabbitcannon/pixellab-forge-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/rabbitcannon/pixellab-forge-mcpWrote 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/instructions/rabbitcannon/pixellab-forge-mcp/claude-md)<a href="https://agentmods.dev/instructions/rabbitcannon/pixellab-forge-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/rabbitcannon/pixellab-forge-mcp/claude-md/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/instructions/rabbitcannon/pixellab-forge-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/rabbitcannon/pixellab-forge-mcp/claude-md.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.01150 | $0.01150 |
| Opus 5 | $0.00575 | $0.00575 |
| Sonnet 5 | $0.00230 | $0.00230 |
| Haiku 4.5 | $0.00115 | $0.00115 |
Grade C, and why
pixellab-forge-mcp CLAUDE.md scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
7. **Verify**: query the registry directly (the local `npm view` cache lags) — `curl -s https://registry.npmjs.org/pixellab-forge-mcp | python3 -c "import sys,json;print(json.load(sys.stdin)['dist-tags']['latest'])"`. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
7. **Verify**: query the registry directly (the local `npm view` cache lags) — `curl -s https://registry.npmjs.org/pixellab-forge-mcp | python3 -c "import sys,json;print(json.load(sys.stdin)['dist-tags']['latest'])"`. 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.
PixelLab Forge MCP
MCP server for the PixelLab pixel art generation API. 89 tools covering image generation, characters, animation, tilesets, editing, rotation, and more.
Project Structure
src/
index.ts - MCP server setup, tool registration via low-level Server API
tools.ts - All 89 tool definitions with JSON schemas and handlers
api-client.ts - PixelLab REST client with auto-polling, retry, and job logging
job-log.ts - Persistent job log for crash recovery (stored in OS temp dir)
save-images.ts - Auto-saves base64 images from responses to ./pixellab-forge-output/
Key Architecture Decisions
- Uses the low-level
Serverclass from@modelcontextprotocol/sdk(notMcpServer) because the high-level API requires Zod schemas. We use raw JSON Schema objects instead. - SDK v1.29 uses newline-delimited JSON for stdio transport, not Content-Length framing.
- All tool schemas are verified against the OpenAPI spec at
https://api.pixellab.ai/v2/openapi.json. Key naming:- v2 endpoints use
no_backgroundandseed(NOTguidance_scale,remove_background, orai_freedom) - Character/object/tileset endpoints use
text_guidance_scale,outline/shading/detail,color_image - Legacy endpoints (pixflux, bitforge, skeleton, rotate, inpaint) use Python SDK field names
- v2 endpoints use
- Background jobs auto-poll every 2s for up to 10 minutes with 3 retries on network failure.
- Job IDs are logged to stderr and persisted to
$TMPDIR/pixellab-forge/jobs.jsonfor recovery. - Generated images are auto-saved to
./pixellab-forge-output/in the working directory.
Git Identity
Use rabbitcannon for all commits. The local git config is already set:
- name: rabbitcannon
- email: [email protected]
Do NOT add co-author attributions to commits.
Releasing
The canonical, detailed checklist is RELEASING.md — follow it. Summary of the actual flow:
- Bump version:
npm version <major|minor|patch> --no-git-tag-version(npm rejects a duplicate version). - Verify:
npm run build→npm test(expect all passing) →npm publish --dry-run. - Update CHANGELOG.md — add a
## [X.Y.Z] - YYYY-MM-DDentry (newest first, grouped Added/Changed/Fixed/Security) plus its link reference at the bottom. - Commit via PR —
mainis protected by the "Main protection" ruleset, so do not push tomaindirectly. Branch → commit (vX.Y.Z - <summary>, no co-author trailers) → push →gh pr create→gh pr merge --squash --admin --delete-branch(the Repository-admin role is a standing bypass actor). - GitHub release:
gh release create vX.Y.Z --target main --title "vX.Y.Z" --notes "<notes>". This auto-publishes the GitHub Packages mirror (@rabbitcannon/pixellab-forge-mcp) via.github/workflows/publish-gpr.yml. Optionally attach the tarball:npm pack --pack-destination /tmp/ && gh release upload vX.Y.Z /tmp/pixellab-forge-mcp-X.Y.Z.tgz. - Publish to npmjs.org (manual, 2FA-gated):
npm publish --otp=<code>. This is the canonical package users install; it is intentionally not automated. - Verify: query the registry directly (the local
npm viewcache lags) —curl -s https://registry.npmjs.org/pixellab-forge-mcp | python3 -c "import sys,json;print(json.load(sys.stdin)['dist-tags']['latest'])".
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.
- 9d ago First seen · 70 lines · 1,150 tokens per session scan C bc8f8b009d77
pixellab-forge-mcp CLAUDE.md is an instructions file published in the GitHub repository rabbitcannon/pixellab-forge-mcp (1 stars, last pushed 26d ago), licensed MIT. It adds 1,150 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.