flame-core

flame-core is a skill for Claude Code from miles990/claude-software-skills. It costs 21 tokens per session (740 once invoked), scanned A, original, MIT.

A fundamentals guide for making games with the Flame engine in Flutter. It covers game objects, touch and keyboard input, collision detection, cameras, animation, scenes, audio, particles, and debugging.

In plain words
What is it for?
Use it to set up a game, process input, detect collisions, control the camera, animate sprites, manage scenes, add sound and effects, and investigate performance problems.
Why use it?
It gives you the core building blocks needed to create and troubleshoot a Flame game.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the flame plugin — 4 skills shipped together , and of game-development

Good fit Use it to set up a game, process input, detect collisions, control the camera, animate sprites, manage scenes, add sound and effects, and investigate performance problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miles990/claude-software-skills/flame-core
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 miles990/claude-software-skills --skill flame-core
Clone the repo
git clone --depth 1 https://github.com/miles990/claude-software-skills

Made for: Claude Code.

Or install flame, the plugin that ships this one along with the rest of its 4 skills.

Its marketplace also offers this one on its own, as the plugin flame-core/plugin install flame-core after adding the marketplace above.

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 flame-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/miles990/claude-software-skills/flame-core/github.svg)](https://agentmods.dev/skills/miles990/claude-software-skills/flame-core)
Your own site
<a href="https://agentmods.dev/skills/miles990/claude-software-skills/flame-core"><img src="https://agentmods.dev/badge/skills/miles990/claude-software-skills/flame-core/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 flame-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/miles990/claude-software-skills/flame-core"><img src="https://agentmods.dev/badge/skills/miles990/claude-software-skills/flame-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 740 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.00021 $0.00740
Opus 5 $0.00010 $0.00370
Sonnet 5 $0.00004 $0.00148
Haiku 4.5 $0.00002 $0.00074

Measured 9d ago against content hash 5249cab98058, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

flame-core 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 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.

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.

domain-applications/game-development/flame/flame-core/SKILL.md · 80 lines

How it starts

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

Flame Core Fundamentals

Flame Engine 核心基礎,涵蓋組件系統、輸入處理、碰撞檢測、相機、動畫與場景管理。

Quick Start

flutter create my_game && cd my_game
flutter pub add flame
flutter pub add flame_audio       # Optional
flutter pub add flame_tiled       # Optional
import 'package:flame/game.dart';
import 'package:flutter/material.dart';

void main() => runApp(GameWidget(game: MyGame()));

class MyGame extends FlameGame with HasCollisionDetection {
  @override
  Future<void> onLoad() async {
    camera.viewfinder.anchor = Anchor.topLeft;
  }
}

Reference Index

Topic File Description
Components references/components.md 組件生命週期、類型、最佳實踐
Input references/input.md 觸控、鍵盤、搖桿輸入處理
Collision references/collision.md 碰撞檢測、Hitbox 類型
Camera references/camera.md 相機設置、跟隨、HUD
Animation references/animation.md 精靈動畫、Effects 系統
Scenes references/scenes.md RouterComponent、Overlays、UI
Audio references/audio.md 音效、背景音樂、AudioPool
Particles references/particles.md 粒子系統、特效、爆炸效果
Performance references/performance.md 效能優化、最佳實踐、常見問題
Debug references/debug.md 除錯模式、日誌、效能監控

AI Usage Guide

需要了解組件系統? → Read references/components.md
需要處理輸入?     → Read references/input.md
需要碰撞檢測?     → Read references/collision.md
需要相機設置?     → Read references/camera.md
需要動畫效果?     → Read references/animation.md
需要場景管理/UI?  → Read references/scenes.md
需要音效/音樂?    → Read references/audio.md
需要粒子特效?     → Read references/particles.md
需要效能優化?     → Read references/performance.md
需要除錯/日誌?    → Read references/debug.md

Component Types Quick Reference

Type Use Case
Component Logic only
PositionComponent Has position/size
SpriteComponent Static image
SpriteAnimationComponent Animated sprite
SpriteAnimationGroupComponent Multiple states
  • flame-systems - 14 個遊戲系統(任務、對話、背包等)
  • flame-templates - 遊戲類型模板(RPG、平台、Roguelike)

Read the full file on GitHub · 80 lines

Files

What ships with it

10 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.

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. 9d ago First seen · 80 lines · 21 tokens per session scan A 5249cab98058

Subscribe to this mod's changes

flame-core is a skill published in the GitHub repository miles990/claude-software-skills (20 stars, last pushed 7mo ago), licensed MIT. It adds 21 tokens to every session and 740 once invoked, about $0.0001 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.