Histrategy is an AI-powered historical strategy game that allows players to command armies using natural language in scenarios like the Three Kingdoms or Rome Triumvirate.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install histrategy
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install histrategy using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Histrategy is an interactive historical strategy game driven by Large Language Models (LLMs) to power advisors, generals, and non-playable factions. Unlike traditional games, players issue commands using natural language, allowing for endless tactical creativity and immersive narrative scenarios. It serves as an exemplary showcase of what can be accomplished within the ecosystem of Openclaw Skills, blending AI-driven narrative generation with deterministic resource management.\n\nWhether stepping into 207 AD during the Chinese Three Kingdoms period or navigating the tense politics of the Roman Empire in 44 BC, Histrategy delivers a highly personalized simulation. By processing decisions via state-of-the-art LLMs, the game translates abstract natural language commands into realistic tactical outcomes, complete with literary flavor and strategic advisor suggestions.
Install the Histrategy SDK directly via pip:\n\nbash\npip install histrategy-sdk\n\n\nSet your preferred LLM engine and API keys in your environment variables. The V1 engine is recommended for high-quality storytelling:\n\nbash\nexport HISTRATEGY_ENGINE=v1\nexport DEEPSEEK_API_KEY=\"sk-your-key-here\"\n\n\nInitialize and play a turn in Python:\n\npython\nfrom histrategy_sdk import Room\n\n# Create a game scenario\nroom = Room.create(\"my-campaign\", faction=\"cao\", lang=\"en\")\n\n# Execute a turn with natural language\nresult = room.play(\"Attack Xinye with 50,000 troops from Wancheng\")\nprint(result[\"narrative\"])\n
Histrategy leverages a robust, file-based state mechanism. Game progression is fully immune to LLM context resets as every turn is logged to disk in the following directory structure:\n\n\n~/.histrategy/rooms/\n <room-name>/\n world_state.json # Complete game world parameters and faction metrics\n turns.jsonl # Append-only record of all processed seasonal turns\n metadata.json # Game configuration details (scenario, language, factions)\n\n\n### Faction Resource Metrics Saved on Each Turn\n\n| Resource | Purpose |\n|---|---|\n| strength | The total active military troops ready for deployment |\n| food | Supply level required to sustain troops and operations |\n| treasury | Gold reserves used for commercial and domestic development |\n| morale | Army and domestic satisfaction level affecting combat efficacy |
room.plan() to query real-time tactical suggestions from simulated AI advisors.Loading
Skill Selector is an orchestration utility that analyzes user intent and dynamically targets the most suitable installed capability using semantic and keyword matching.

A powerful LLM cost auditing and context optimization tool featuring a 5-layer compression pipeline and lossless CCR reversible compression.

A local-first asset discovery assistant designed to automatically scan, organize, and publish Openclaw Skills to major platform registries.

An advanced command-line interface and Node.js client for the ApplyTop API, enabling automated job searches, AI ATS scoring, CV tailoring, and cover letter generation.

A comprehensive pipeline for translating and generating paragraph-aligned, bilingual EPUB books and newsletters with an AI-guided workflow.

An AI-powered diagnostic agent that analyzes e-commerce product images, search visibility, and detail pages to generate comprehensive, visually structured HTML optimization reports.








































