llm
Skill1 starsChanged 2 days agoApache-2.0View on GitHub
Use when a Godot game calls a large language model at run time, such as NPC dialogue, a coach or narrator, generated quests, items or descriptions, or players typing free text that a model answers.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- sanand0/skillstheir own version, first seen Nov 22, 2026
- huang-x-h/z-skillstheir own version, first seen Oct 20, 2026
- steven112163/dotharnesstheir own version, first seen Oct 15, 2026
- Mindrally/skillstheir own version, first seen Oct 8, 2026
- project-numina/numina-lean-agenttheir own version, first seen Oct 8, 2026
- elie222/inbox-zerotheir own version, first seen Oct 8, 2026
Used with
Projects with it also use gift-evaluator, Podcast Generate and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dav-niu474Skillgift-evaluator
The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.
Also in 5 projects that use this
dav-niu474SkillPodcast Generate
Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).
Also in 5 projects that use this
- +10 more from dav-niu474
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- elie222/inbox-zero★ 13ksame name
- jjyaoao/HelloAgents★ 3.2ksame name
- project-numina/numina-lean-agent★ 279same name
- Mindrally/skills★ 275same name
- choupiyang/ZAI_SKILLS★ 13same name
- huang-x-h/z-skills★ 4same name
- emre-guler/websec★ 2same name
- dav-niu474/MyClaude-Code★ 1same name
- sanand0/skills★ 1same name
- SuperInstance/flux-fleet-scanner★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- algorithmsSkill
- animationSkill
- anti-cheatSkill
- asset-pipelineSkill
- automation-hooksSkill
- calendarSkill
- cameraSkill
- console-certSkill
- debug-toolsSkill
- determinismSkill
- game-aiSkill
- game-audioSkill
- game-dataSkill
- game-designSkill
- game-juiceSkill
- game-planSkill
- game-playtestSkill
- gameSkill
- game-telemetrySkill
- godot-addonsSkill
- godot-diagnoseSkill
- godot-editor-bridgeSkill
- godot-export-releaseSkill
- godot-pitfallsSkill
- godot-shaders-vfxSkill
- godot-test-loopSkill
- inputSkill
- kit-reviewSkill
- kitSkill
- legalSkill
- localizationSkill
- lookSkill
- mathSkill
- mobile-webSkill
- moddingSkill
- multiplayerSkill
- narrativeSkill
- new-gameSkill
- patternsSkill
- performanceSkill
- procgenSkill
- progressionSkill
- release-readinessSkill
- retroSkill
- savesSkill
- serversSkill
- steamSkill
- store-pageSkill
- typographySkill
- ui-accessibilitySkill
- ui-flowsSkill
- verify-before-doneSkill
- weekly-reviewSkill
- xrSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Ask for sections with tags (<tactics>, <outcome>) or JSON, and show each one as soon as it is complete.
- Distinctive: line 27
Start the next call while the current outcome animates.
- Very specific: line 29
Never block the frame: await the HTTP call from a Task, and apply the result on the main thread.
- Distinctive: line 35
Keep where each fact came from: "You know..." for what the NPC saw, "You have heard..." with "X said: ..." for what others told it.
- Very specific: line 49
Do not turn the provider's safety filters off: homerun sets all four Gemini categories to BLOCK_NONE.
- Distinctive: line 72
Run the game with the model replaced by the fallback, and by an answer that arrives after the deadline: both must play normally.
- Distinctive: line 74
Before a release, run a fixed set of inputs through the real model and diff the answers against the last release.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
A language model inside the game (Godot 4.7, C#)
From Google for Games' GenAI-quickstart (an NPC chat with retrieval, a persona chat, Guess-the-Sketch) and homerun (a
baseball "coach" demo); the provider-specific parts (Vertex, Gemini, Spanner) are left out. Notes:
${CLAUDE_PLUGIN_ROOT}/docs/googleforgames.md. Steam asks about generative AI in its Content Survey (legal).
1. The game's code is the referee
- The model proposes; code decides. homerun let the model compute the baseball outcome and carried about 30 hand-written rules in its prompt ("a home run NEVER results in an out"), each one a patch for a wrong answer. Its client applied the model's game state without checking it.
- So: keep the state and the rules in code. Ask the model to choose from a list of legal options (by index or id), or to word something the code has already decided. Parse its output into a record and reject anything outside the list.
- Ask for sections with tags (
<tactics>,<outcome>) or JSON, and show each one as soon as it is complete. homerun shows the options before the outcomes have finished streaming.
2. Never wait on it
- Give every call a hard deadline, and have a fallback ready that the player cannot tell apart from a normal answer: canned lines, the last good answer, or a fixed choice. Guess-the-Sketch gives its scoring call 1 s, then carries on. homerun has no deadline: the game idles until the model answers.
- Start the next call while the current outcome animates. homerun asks for every combination of choices at once (nine outcomes for three choices a side), so a choice needs no new call.
- Never block the frame:
awaitthe HTTP call from aTask, and apply the result on the main thread.
3. What goes into the prompt
- A byte budget, enforced. The NPC chat caps the prompt at 6,500 bytes and keeps the last 10 messages. When over, it drops the oldest pair of messages first, never the facts.
- Keep where each fact came from: "You know..." for what the NPC saw, "You have heard..." with "X said: ..." for what others told it. The NPC can then doubt gossip, and the game can trace a wrong answer.
- Retrieve only facts close to the question (the sample uses at most 3, with an embedding distance under 0.5), not the whole world.
- The persona says what the character may not do: claim to be an AI, leave its place, know the future. The game must still check the output.
- Player text is data, never instructions. The persona chat put the player's own "character description" into the system context, so a player could rewrite the rules. Put player text only in the user turn, quoted, and cap its length.
4. Players and safety
- For a public or children's build, offer a menu of prompts instead of free text. Guess-the-Sketch's
LIMITED_PROMPTSmode offers three fixed choices. - Do not turn the provider's safety filters off: homerun sets all four Gemini categories to
BLOCK_NONE. Filter what the model says, and filter what players type before it reaches the model; chat moderation isservers. - Show an acceptable-use note before free text (Guess-the-Sketch's consent page), and tell players a model wrote the answers.
- To run the model on the player's machine, NobodyWho (a Rust GDExtension, Godot 4.6+, GDScript API, no C# wrapper found) is
the add-on
docs/addons.mdrecords. Its licence is EUPL-1.2, a copyleft one: read it before shipping, and the model files have their own terms and size.
5. Keys, cost and debugging
- The API key lives on a server you control, never in the client: homerun embeds one in its JavaScript, where anyone can
read it. The game calls your server, and your server calls the provider, checks the player, and limits the rate per
player (
RateLimiter,servers). - Cache what repeats (descriptions of the same item, the same NPC greeting), and set a monthly spending cap with the provider. Neither sample has a cache or a cap.
- Version the prompts (homerun names them like
TACTICS_SELECTION_20250317_011) and log each call's prompt version, input, output and time taken. A wrong answer can then be replayed, and a prompt change compared on the same inputs.
6. Prove it
- Unit-test the parser and the legal-move check on recorded model outputs, including truncated, empty and off-list ones.
- Run the game with the model replaced by the fallback, and by an answer that arrives after the deadline: both must play normally.
- Before a release, run a fixed set of inputs through the real model and diff the answers against the last release.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

