pythonide-scene

pythonide-scene is a skill for Claude Code from Python-IDE/pythonide-skills. It costs 63 tokens per session (883 once invoked), scanned A, original, MIT.

A skill for building or repairing PythonIDE programs with continuous 2D drawing or game-like behavior. PythonIDE is a Python environment, and these programs can include sprites, touch input, movement, collisions, physics, or turtle graphics.

In plain words
What is it for?
Use it for small games, animated scenes, touch demos, physics examples, sprite movement, and turtle-based teaching graphics.
Why use it?
It keeps interactive scene code separate from ordinary forms and business interfaces. The prescribed structure helps frame-by-frame logic, drawing, and touch handling work correctly in PythonIDE.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it for small games, animated scenes, touch demos, physics examples, sprite movement, and turtle-based teaching graphics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/python-ide/pythonide-skills/pythonide-scene
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 Python-IDE/pythonide-skills --skill pythonide-scene
Clone the repo
git clone --depth 1 https://github.com/Python-IDE/pythonide-skills

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 pythonide-scene

README.md
[![agentmods](https://agentmods.dev/badge/skills/python-ide/pythonide-skills/pythonide-scene/github.svg)](https://agentmods.dev/skills/python-ide/pythonide-skills/pythonide-scene)
Your own site
<a href="https://agentmods.dev/skills/python-ide/pythonide-skills/pythonide-scene"><img src="https://agentmods.dev/badge/skills/python-ide/pythonide-skills/pythonide-scene/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 pythonide-scene

Your own site · 80×15
<a href="https://agentmods.dev/skills/python-ide/pythonide-skills/pythonide-scene"><img src="https://agentmods.dev/badge/skills/python-ide/pythonide-skills/pythonide-scene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 883 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.00063 $0.00883
Opus 5.5 $0.00025 $0.00353
Sonnet 5.5 $0.00013 $0.00177
Haiku 4.5 $0.00006 $0.00088

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

Security

Grade A, and why

pythonide-scene 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.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/tap_ball/main.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

pythonide-scene/SKILL.md · 108 lines

How it starts

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

PythonIDE Scene

Execution rulebook for scene and turtle runtimes.

Read Before Coding

  1. Scene module
  2. Scene API reference
  3. scene.pyi
  4. Turtle module for teaching graphics

Do not generate AppUI or widget code for a scene/game request.

Use When

  • Continuous drawing, sprite movement, collisions, physics, touch loops, or shaders
  • Existing code imports scene and needs repair
  • Turtle teaching demos

Do Not Use When

  • The UI is a form, list, settings screen, or AppUI MiniApp
  • The user wants imperative UIKit controls → pythonide-automation (ui)
  • Static charts or business apps → pythonide-appui

Workflow

  1. Subclass scene.Scene
  2. Create retained nodes in setup() after self.size is valid
  3. Per-frame logic in update(); immediate drawing only in draw()
  4. Touch in touch_began / touch_moved / touch_ended
  5. End with exactly one scene.run(MyScene(), ...)
  6. Keep assets optional unless the user provides them

Correct Pattern

import scene


class Demo(scene.Scene):
    def setup(self):
        self.background_color = "#111827"
        self.ball = scene.SpriteNode(
            color="#2f80ed",
            size=(44, 44),
            position=(self.size.w / 2, self.size.h / 2),
            parent=self,
        )
        self.label = scene.LabelNode(
            "Tap to move",
            font=("Helvetica", 18),
            position=(self.size.w / 2, 80),
            parent=self,
        )

    def touch_began(self, touch):
        self.ball.run_action(
            scene.Action.move_to(touch.location.x, touch.location.y, 0.25)
        )
        self.label.text = f"{touch.location.x:.0f}, {touch.location.y:.0f}"


scene.run(Demo(), show_fps=True)

Hard Stops

  • No AppUI (Button, VStack, NavigationStack, etc.) inside a Scene
  • No blocking while True animation loops; use update() or Action
  • No rect, fill, text, etc. outside draw()
  • SpriteNode("red") treats "red" as a texture name — use SpriteNode(color="red", ...)
  • Do not omit scene.run(...)
  • image_quad / triangle_strip are not implemented

Read the full file on GitHub · 108 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 108 lines · 63 tokens per session scan A c4912d856842

Subscribe to this mod's changes

pythonide-scene is a skill published in the GitHub repository Python-IDE/pythonide-skills (8 stars, last pushed 3mo ago), licensed MIT. It adds 63 tokens to every session and 883 once invoked, about $0.0003 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

pythonide-scene compared with skills from other repositories

pythonide-scene next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pythonide-scenePython-IDE/pythonide-skillsSkill83mo agoMITA63Claude Code
temporal-python-testingwshobson/agentsSkill42kyesterdayMITA45Claude Code
pygame-coregamedev-skills/awesome-gamedev-agent-skillsSkill6.9k10d agoApache-2.0A85Claude Code
manimgl-best-practicescalesthio/OpenMontageSkill77k3d agoAGPL-3.0A167Claude Code, Codex
python-guidelinesfcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A42Claude Code
vibeuekevinpbuckley/VibeUESkill8122d agoMITA82Claude Code, Codex
prismer-python-debugpyPrismer-AI/PrismerCloudSkill1.4k15d agoMITA19Claude Code, Codex