rpg-stat-catalyst
Skill321 starsChanged 7 months agoMITView on GitHub
A core TypeScript library for RPG game mathematics. Handles attribute points, leveling curves, and stat derivation (HP, Dmg, etc.).
In this repository32 other files it gives its agents.
- auto-page-syncSkill
- backlink-discoverySkill
- backlink-intelligenceSkill
- data-scraper-intentSkill
- favicon-icon-generatorSkill
- gemini-thinking-protocolSkill
- google-trends-to-pagesSkill
- html5-game-radarSkill
- itchio-new-game-huntSkill
- keyword-competition-analysisSkill
- multi-game-codes-hubSkill
- nextjs-seo-boosterSkill
- nextjs-seo-foundationsSkill
- null-axiom-twitterSkill
- plugin-architectSkill
- python-agent-engineSkill
- roblox-game-data-scraperSkill
- roblox-hit-evaluatorSkill
- roblox-homepage-ranking-auditorSkill
- roblox-site-architectSkill
- seo-auditorSkill
- seo-autopilotSkill
- seo-backlink-submitterSkill
- seo-link-strategySkill
- signallayer-backlinks-clientSkill
- site-keyword-researchSkill
- x-demand-radarSkill
- youtube-content-genSkill
- youtube-game-keywordsSkill
- youtube-game-scoutSkill
- youtube-intelSkill
- youtube-transcribeSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
No external runtime dependencies
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RPG Stat Catalyst
A mathematical core for Role-Playing Games (RPGs) to handle character progression and stat calculation.
Requirements
- TypeScript
- No external runtime dependencies
Usage
- Copy
resources/types.tsandresources/calculator.tsto your project (e.g.,lib/rpg/). - Initialize the engine with your game's specific configuration:
import { RPGEngine } from '@/lib/rpg/calculator';
// 1. Define your game rules
const DevilHunterConfig = {
baseHP: 100,
hpPerLevel: 2,
pointsPerLevel: 5,
validAttributes: ['STR', 'CON', 'TEC', 'INT'],
attributeMultipliers: {
'CON': 5, // 1 CON = 5 HP
'STR': 0,
}
};
const engine = new RPGEngine(DevilHunterConfig);
// 2. Use it in your UI components
const level = 50;
const availablePoints = engine.calculateAvailablePoints(level);
const maxHP = engine.calculateMaxHP(level, 100, 'CON'); // Level 50, 100 CON
console.log(`At level ${level}, you have ${availablePoints} points.`);
console.log(`Max HP: ${maxHP}`);Extending
For complex logic (like "Innate Talents" or "Hybrid Multipliers"), extend the RPGEngine class:
class AdvancedEngine extends RPGEngine {
calculateStats(stats: CharacterStats) {
// ... custom logic ...
}
}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.

