hastur-operation-plugin: Skill for Claude Code

.claude/skills/godot-screenshot/SKILL.md

godot-screenshot is a skill for Claude Code from rayxuln/hastur-operation-plugin. It costs 144 tokens per session (3,124 once invoked), scanned A, original, MIT.

A tool for saving screenshots of the Godot game editor or a running Godot game as PNG files. Godot is a tool for building games, and this skill captures the visible rendering through its viewport.

In plain words
What is it for?
Use it to capture and save images of a Godot project or running game. It can record the editor view or the game's rendered viewport.
Why use it?
It provides a repeatable way to capture the editor or game window remotely when a connected executor is available. It requires the related remote-executor setup and authentication.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is rayxuln/hastur-operation-plugin's own configuration. It tells Claude Code how to work on hastur-operation-plugin 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 hastur-operation-plugin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rayxuln/hastur-operation-plugin. 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/rayxuln/hastur-operation-plugin/main/.claude/skills/godot-screenshot/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rayxuln/hastur-operation-plugin

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 godot-screenshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/rayxuln/hastur-operation-plugin/godot-screenshot/github.svg)](https://agentmods.dev/skills/rayxuln/hastur-operation-plugin/godot-screenshot)
Your own site
<a href="https://agentmods.dev/skills/rayxuln/hastur-operation-plugin/godot-screenshot"><img src="https://agentmods.dev/badge/skills/rayxuln/hastur-operation-plugin/godot-screenshot/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 godot-screenshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/rayxuln/hastur-operation-plugin/godot-screenshot"><img src="https://agentmods.dev/badge/skills/rayxuln/hastur-operation-plugin/godot-screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,124 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.00144 $0.03124
Opus 5.5 $0.00058 $0.01250
Sonnet 5.5 $0.00029 $0.00625
Haiku 4.5 $0.00014 $0.00312

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

Security

Grade A, and why

godot-screenshot 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.

.claude/skills/godot-screenshot/SKILL.md · 268 lines

How it starts

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

Godot Screenshot

This skill captures screenshots from a running Godot editor or game instance and saves them as PNG files. It depends on the godot-remote-executor skill — load it first so you understand how to discover executors, authenticate, and execute GDScript code.

Prerequisites

Before using this skill, you must have:

  1. godot-remote-executor skill loaded — understand the executor API, snippet mode, auth tokens, and error handling
  2. Auth token and base URL — same credentials used by godot-remote-executor
  3. At least one connected executor — editor for editor screenshots, game for game screenshots

How Viewport Capture Works

The Godot API for capturing screenshots relies on the viewport's texture. The correct approach is:

var tree = Engine.get_main_loop() as SceneTree
var img = tree.root.get_texture().get_image()

This grabs the root Viewport's texture, converts it to an Image, and then you can call img.save_png(path) to write it to disk.

Why tree.root and not get_viewport()? Because in snippet mode your code runs inside a RefCounted instance (not a Node). The get_viewport() convenience method only exists on Node — it is NOT available on RefCounted, EditorInterface, or other non-Node objects. Always use Engine.get_main_loop() to get the SceneTree, then access tree.root to get the root Viewport.

Similarly, EditorInterface does not have a get_viewport() method either. The universal approach that works in all contexts is Engine.get_main_loop().root.

Screenshot Workflows

Editor Screenshot

This captures the entire Godot editor window.

Preconditions: An editor executor (type: "editor") must be connected.

var tree = Engine.get_main_loop() as SceneTree
var img = tree.root.get_texture().get_image()

var dict = Time.get_datetime_dict_from_system()
var date_str = "%04d-%02d-%02d" % [dict["year"], dict["month"], dict["day"]]
var time_str = "%02d-%02d-%02d" % [dict["hour"], dict["minute"], dict["second"]]

var rel_path = ".temp/" + date_str + "-" + time_str + "-editor.png"
var abs_path = ProjectSettings.globalize_path("res://" + rel_path)

var dir_abs = ProjectSettings.globalize_path("res://.temp")
if not DirAccess.dir_exists_absolute(dir_abs):
	DirAccess.make_dir_recursive_absolute(dir_abs)

var err = img.save_png(abs_path)
executeContext.output("path", rel_path)
executeContext.output("result", "OK" if err == OK else "Error: " + str(err))

Read the full file on GitHub · 268 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. 2mo ago First seen · 268 lines · 144 tokens per session scan A 01c46d984483

Subscribe to this mod's changes

godot-screenshot is a skill published in the GitHub repository rayxuln/hastur-operation-plugin (242 stars, last pushed 6mo ago), licensed MIT. It adds 144 tokens to every session and 3,124 once invoked, about $0.0006 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-30.

Related

godot-screenshot compared with skills from other repositories

godot-screenshot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
godot-screenshotrayxuln/hastur-operation-pluginSkill2426mo agoMITA144Claude Code
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill36k18d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill6.9k9d agoApache-2.0A95Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill3.2kyesterdayMITA121Claude Code
motionOpenDCAI/GameFactory-3ASkill1.0k8d agoApache-2.0A0Claude Code, Codex
unity-addressablesBesty0728/Unity-SkillsSkill1.9kyesterdayMITA25Claude Code, Codex
unity-manual-componentBesty0728/Unity-SkillsSkill1.9kyesterdayMITA36Claude Code, Codex