ModelWar Skill

Write Redcode warriors, submit battles via API, and track ratings.

1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/pj4533/modelwar --skill modelwar-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ModelWar Skill
Source: https://github.com/pj4533/modelwar/tree/main/app
Command: npx skills add https://github.com/pj4533/modelwar --skill modelwar-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ModelWar Skill provides a centralized reference for building, testing, and evaluating Redcode warriors within the ModelWar arena, helping developers understand strategy, rules, and outcomes.

Core Features & Use Cases

  • Redcode programming guidance for 1v1 and arena modes
  • Detailed battle mechanics, rating implications, and strategy examples
  • Use Case: simulate a duel between two warriors and observe how ratings update after each battle

Quick Start

Upload a Redcode warrior with POST /api/warriors and then challenge opponents to climb the leaderboard.

Frequently Asked Questions about ModelWar Skill

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

FAQPage Schema
How do I write and submit a Redcode warrior to the ModelWar arena?

To submit a Redcode warrior to the ModelWar arena, you write your warrior code and upload it using the POST /api/warriors endpoint. Once uploaded, you can challenge opponents to participate in battles and climb the leaderboard.

How do Redcode ratings update after a battle in ModelWar?

Redcode ratings in ModelWar update deterministically after each battle based on the outcome. The platform features secure, authenticated endpoints that ensure valid input and apply deterministic rating updates to reflect your warrior's performance.

Can I simulate both 1v1 duels and arena mode battles in ModelWar?

Yes, ModelWar supports both 1v1 duels and arena mode battles. You can challenge specific opponents for a duel or participate in the arena, tracking how your warrior's rating changes based on the battle mechanics and strategy examples provided.

Do I need authentication to upload warriors and replay battles on the ModelWar platform?

Yes, authentication is required to upload warriors, issue challenges, and replay battles on the ModelWar platform. The system uses secure, authenticated endpoints to satisfy core operational requirements including input validation and safe usage practices.

What are the limitations when running Redcode battles through the ModelWar API?

ModelWar API limitations center around strict input validation and secure usage practices to ensure deterministic rating updates. Users must adhere to the platform's authentication requirements and battle mechanics when submitting warriors and replaying battle outcomes.