Skip to content
Back to skills

Tinyworld Auto Batching

ASecurity

Use when changing Tiny World Builder Auto palette behavior, model inference, suggestions, or provider/model/API-key logic.

  • 1,587 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
devopsrailsapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add jasonkneen/tiny-world-builder --skill tinyworld-auto-batching --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tinyworld Auto Batching?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tinyworld Auto Batching
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jasonkneen-tinyworld-auto-batching/badge)](https://www.skillsdirectory.com/skills/jasonkneen-tinyworld-auto-batching)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tinyworld-auto-batching
description: Use when changing Tiny World Builder Auto palette behavior, model inference, suggestions, or provider/model/API-key logic.
---

# Tiny World Auto Batching

Auto should not call the model on every placement.

Current intended model:

- Capture the current home board as sparse 8x8 JSON using `snapshotCells()`.
- Ask the model for a ranked batch of candidate tile actions matching `AUTO_SUGGESTIONS_SCHEMA`.
- Spend `autoSuggestionQueue` locally for multiple Auto placements.
- Refresh after `AUTO_REFRESH_EVERY` Auto placements or when the queue runs out.
- Auto still places on the clicked cell. The model suggests tile/action definitions, not coordinates.

Implementation guardrails:

- Keep provider/model/key state shared with the Generate modal via `AI_LS`.
- Use `normalizeAutoAction` before applying model output.
- Use `adaptAutoSuggestionToCell(action, x, z)` so same-kind clicks increase local intensity.
- If no API key exists, open the Generate modal with the Auto key message.
- Do not add a backend or new dependency.

Validation:

- Stub `generateAutoSuggestions` in browser eval and verify two Auto suggestions only call the stub once.
- Verify no network call is needed while spending cached suggestions.

Files in this skill

  • SKILL.md1.2 KB
  • agents/openai.yaml189 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.