Skip to content

hoatv2211/GameStudio-CodexKIT / skills/economy-source-sink-model

economy-source-sink-model

Verified

Use when modeling a game economy's currencies, item faucets, sinks, exchange rates, player segments, inflation risk, progression affordability, or live-operations reward assumptions.

FileKindSize
SKILL.mdskill md3.6 KB
agents/openai.yamlconfig267 B
scripts/economy_model.pyscript848 B

scripts/economy_model.py

View on GitHub
# Generated by scripts/sync_skill_resources.py. Do not edit manually.

from __future__ import annotations

from typing import Any


def analyze_economy(
    sources: list[dict[str, Any]],
    sinks: list[dict[str, Any]],
    *,
    max_positive_net: float = 0,
) -> dict[str, Any]:
    source_total = sum(float(item.get("amount", 0)) for item in sources)
    sink_total = sum(float(item.get("amount", 0)) for item in sinks)
    net_flow = source_total - sink_total
    return {
        "status": "FAIL" if net_flow > max_positive_net else "PASS",
        "source_total": source_total,
        "sink_total": sink_total,
        "net_flow": net_flow,
        "max_positive_net": max_positive_net,
        "sources": sources,
        "sinks": sinks,
        "limitations": ["Model uses the supplied period and does not infer player behavior."],
    }
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall