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.
npx agentmods add skills/hoblin/claude-ruby-marketplace/dragonrubynpx skills add hoblin/claude-ruby-marketplace --skill dragonrubygit clone --depth 1 https://github.com/hoblin/claude-ruby-marketplaceWrote 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/skills/hoblin/claude-ruby-marketplace/dragonruby)<a href="https://agentmods.dev/skills/hoblin/claude-ruby-marketplace/dragonruby"><img src="https://agentmods.dev/badge/skills/hoblin/claude-ruby-marketplace/dragonruby.svg" alt="Measured on agentmods" 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 | $0.00100 | $0.01833 |
| Opus 5 | $0.00050 | $0.00916 |
| Sonnet 5 | $0.00020 | $0.00367 |
| Haiku 4.5 | $0.00010 | $0.00183 |
Grade A, and why
dragonruby 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DragonRuby Game Toolkit
This skill provides comprehensive guidance for building 2D games with DragonRuby Game Toolkit (DRGTK). Use for game loop implementation, sprite rendering, input handling, collision detection, animation, and scene management.
Quick Reference
Basic Game Structure
def boot args
args.state = {}
end
def tick args
# Called 60 times per second
args.state.player ||= { x: 640, y: 360, w: 50, h: 50, path: 'player.png' }
# Handle input
args.state.player.x += 5 if args.inputs.right
args.state.player.x -= 5 if args.inputs.left
# Render
args.outputs.sprites << args.state.player
end
Key Concepts
| Concept | Purpose |
|---|---|
def tick(args) |
Main game loop (60 FPS) |
args.outputs |
Render sprites, labels, primitives |
args.state |
Persistent game data storage |
args.inputs |
Keyboard, mouse, controller input |
args.grid |
Screen dimensions (1280x720) |
Geometry |
Collision detection helpers |
Coordinate System
- Screen: 1280x720 pixels
- Origin: Bottom-left (0, 0)
- Y-axis: Increases upward
(0, 720) ─────────────── (1280, 720)
│ │
│ 1280 × 720 │
│ │
(0, 0) ─────────────── (1280, 0)
Rendering Primitives
Use args.outputs.primitives for FIFO (first-in, first-out) render order control.
Sprites (Images)
args.outputs.primitives << {
x: 100, y: 100, w: 64, h: 64,
path: 'sprites/player.png',
angle: 45,
anchor_x: 0.5, anchor_y: 0.5,
r: 255, g: 255, b: 255, a: 255,
flip_horizontally: false
}
Labels (Text)
args.outputs.primitives << {
x: 640, y: 360,
text: "Score: #{args.state.score}",
size_px: 22,
anchor_x: 0.5, anchor_y: 0.5,
r: 255, g: 255, b: 255
}
Solids and Borders
# Filled rectangle (use primitive_marker: :solid)
args.outputs.primitives << {
x: 0, y: 0, w: 100, h: 100,
r: 255, g: 0, b: 0,
primitive_marker: :solid
}
# For many rectangles, use path: :solid for better performance
args.outputs.primitives << { x: 0, y: 0, w: 100, h: 100, path: :solid, r: 255, g: 0, b: 0 }
# Outline rectangle
args.outputs.primitives << { x: 0, y: 0, w: 100, h: 100, r: 0, g: 0, b: 0, primitive_marker: :border }
What ships with it
58 files 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.
- examples/audio/audio_events.rb 1.3 KB runs code
- examples/audio/background_music.rb 872 B runs code
- examples/audio/crossfade.rb 1.4 KB runs code
- examples/audio/music_controls.rb 1.2 KB runs code
- examples/audio/sound_effects.rb 889 B runs code
- examples/core/coordinate_system.rb 1.0 KB runs code
- examples/core/hello_world.rb 516 B runs code
- examples/core/labels.rb 1.1 KB runs code
- examples/core/sprites.rb 672 B runs code
- examples/core/state_management.rb 900 B runs code
- examples/distribution/background_pause.rb 819 B runs code
- examples/distribution/build_workflow.sh 748 B runs code
- examples/distribution/cvars_production.txt 427 B
- examples/distribution/game_metadata_hd.txt 521 B
- examples/distribution/game_metadata_minimal.txt 218 B
- examples/distribution/game_metadata_mobile.txt 675 B
- examples/distribution/platform_detection.rb 975 B runs code
- examples/distribution/steam_metadata.txt 470 B
- examples/entities/collision_detection.rb 1.3 KB runs code
- examples/entities/entity_lifecycle.rb 1.5 KB runs code
- examples/entities/entity_storage.rb 954 B runs code
- examples/entities/factory_methods.rb 1010 B runs code
- examples/entities/random_spawning.rb 1.3 KB runs code
- examples/game-logic/reset_patterns.rb 2.7 KB runs code
- examples/game-logic/save_load.rb 2.6 KB runs code
- examples/game-logic/scoring.rb 2.4 KB runs code
- examples/game-logic/state_transitions.rb 2.4 KB runs code
- examples/game-logic/timers.rb 2.1 KB runs code
- examples/input/action_triggers.rb 1.2 KB runs code
- examples/input/analog_movement.rb 1.1 KB runs code
- examples/input/controller_input.rb 1.1 KB runs code
- examples/input/directional_input.rb 656 B runs code
- examples/input/keyboard_input.rb 1.1 KB runs code
- examples/input/mouse_click.rb 1002 B runs code
- examples/input/movement_with_bounds.rb 1014 B runs code
- examples/input/normalized_movement.rb 1.1 KB runs code
- examples/rendering/frame_animation.rb 810 B runs code
- examples/rendering/labels.rb 1.3 KB runs code
- examples/rendering/layering.rb 1.7 KB runs code
- examples/rendering/solids.rb 1.7 KB runs code
- examples/rendering/sprites.rb 780 B runs code
- examples/rendering/spritesheet_animation.rb 996 B runs code
- examples/scenes/case_dispatch.rb 1.1 KB runs code
- examples/scenes/class_based.rb 2.3 KB runs code
- examples/scenes/pause_overlay.rb 2.1 KB runs code
- examples/scenes/safe_transitions.rb 1.4 KB runs code
- examples/scenes/scene_transitions.rb 2.3 KB runs code
- examples/scenes/send_dispatch.rb 1.8 KB runs code
- references/audio.md 9.0 KB
- references/core.md 7.7 KB
- references/distribution.md 10 KB
- references/entities.md 11 KB
- references/game-logic/persistence.md 8.5 KB
- references/game-logic/state.md 7.3 KB
- references/input.md 10 KB
- references/rendering/animation.md 11 KB
- references/rendering/primitives.md 10 KB
- references/scenes.md 9.7 KB
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.
- 3d ago First seen · 258 lines · 100 tokens per session scan A dd0fc1f77720
dragonruby is a skill published in the GitHub repository hoblin/claude-ruby-marketplace (36 stars, last pushed 24d ago), licensed MIT. It adds 100 tokens to every session and 1,833 once invoked, about $0.0005 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.
Other skills, from other repositories
fastify-typescript
This skill should be used when using TypeScript with Fastify, configuring type providers, using @fastify/type-provider-typebox, using @fastify/type-provider-json-schema-to-ts, typing Fastify plugins, declaration merging for decorators, typing route handlers, FastifyInstance generics, FastifyRequest generics…
rails-models
ActiveRecord patterns, migrations, validations, callbacks, associations.
godot-shader-developer
Writes Godot 4 shaders: Godot Shading Language, VisualShader, CanvasItem and Spatial shaders, post-processing. Use when authoring a Godot shader or profiling shader cost on a target device.
roblox-systems-scripter
Writes Roblox Luau systems: client-server security, RemoteEvents/RemoteFunctions, DataStore and module architecture. Use when building Roblox gameplay code or closing an exploit. Not for game design - use roblox-experience-designer.
Cursor rules for DragonRuby development with best practices integration
Skill "Cursor rules for DragonRuby development with best practices integration" from AmariahAK/atlarix-skills, covering when to use this skill and source.
react-hook
Creates a custom React hook with TypeScript types, tests, and usage example.