create-environment

Create custom game environments for Kaggle using JSON and Python.

445|191|Updated Dec 17, 2019
One-click install
npx skills add https://github.com/Kaggle/kaggle-environments --skill create-environment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-environment
Source: https://github.com/Kaggle/kaggle-environments/tree/main/.agents/skills/create-environment
Command: npx skills add https://github.com/Kaggle/kaggle-environments --skill create-environment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured process for creating and defining new game environments within the Kaggle Environments framework, enabling custom game development and evaluation.

Core Features & Use Cases

  • Environment Definition: Define game specifications using JSON, including agent counts, configurations, observations, actions, and rewards.
  • Interpreter & Renderer Implementation: Write Python code for core game logic, state updates, and text-based rendering.
  • Use Case: Develop a new competitive programming environment or a unique board game for AI agents to play on Kaggle.

Quick Start

Follow the steps outlined in the documentation to create a new environment named 'mygame'.

Frequently Asked Questions about create-environment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom game environment for AI agents on Kaggle?

To create a custom game environment for AI agents on Kaggle, you define game specifications using JSON and write Python code for the core game logic, state updates, and rendering mechanisms.

What is a Kaggle game environment and how does it support simulation?

A Kaggle game environment is a structured framework that defines game rules, agent interactions, and rewards to support novel game simulations and competitive AI agent testing scenarios.

How do I define game rules and agent interactions for a new simulation?

You define game rules and agent interactions by specifying environment configurations, observations, actions, and rewards in a JSON specification file for your simulation.

Can I use Python to implement the interpreter and renderer for a Kaggle environment?

Yes, you use Python to implement the interpreter for core game logic and state updates, as well as the renderer for text-based rendering within your custom Kaggle environment.

Does the Kaggle Environments framework support custom board game development?

Yes, the Kaggle Environments framework supports custom board game development by allowing you to define unique game specifications, agent configurations, and reward structures.

What are the limitations when building custom game environments in Python for Kaggle?

When building custom game environments in Python for Kaggle, rendering is limited to text-based output, and all game rules and agent interactions must be explicitly defined through JSON configurations and Python interpreters.