agent-autopilot

Automate UrhoX Lua game task sequences with queuing, branching, and retries.

Updated May 16, 2026
One-click install
npx skills add https://github.com/haitao2016/--Skill --skill agent-autopilot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-autopilot
Source: https://github.com/haitao2016/--Skill/tree/main/agent-autopilot
Command: npx skills add https://github.com/haitao2016/--Skill --skill agent-autopilot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires urhox, Lua, AutoTask, TaskLibrary, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines UrhoX Lua game automation by allowing you to programmatically control AI behavior, perform tasks such as fighting, exploring, and collecting, without manual input.

Core Features & Use Cases

  • Task Automation: Automate AI behaviors to execute task sequences, like battle, exploration, and resource gathering.
  • Use Cases: For instance, set up a character to fight, pick up resources, restock in town, and then return to the battle automatically. Suitable for RPG, tower defense, strategy, and simulation games.

Quick Start

Activate the autopilot by triggering a keyword: "auto play".

Frequently Asked Questions about agent-autopilot

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

FAQPage Schema
How do I automate game tasks and AI behaviors in UrhoX Lua?

Automating AI behaviors in UrhoX Lua involves setting up script-driven task sequences with task queuing and conditional branching. This framework handles in-game actions such as battle, pathfinding, and resource gathering automatically.

Can I set up conditional branching and parallel tasks for game automation?

Yes, the game automation framework supports conditional branching and parallel tasks. This allows you to create complex AI behavior sequences where characters can execute multiple actions simultaneously or trigger different paths based on game states.

Do I need specific libraries to run task automation in an UrhoX Lua environment?

Yes, task automation requires an UrhoX Lua environment with specific library support. You need dependencies including AutoTask and TaskLibrary to enable script-driven task sequences and retry mechanisms for in-game actions.

What is the best way to automate RPG character loops like fighting, gathering, and restocking?

The best way to automate RPG character loops is by implementing script-driven task sequences. You can set up a character to fight, pick up resources, restock in town, and return to battle automatically using task queuing and retry mechanisms.

How do I start the autopilot for automated resource gathering?

You can start the autopilot for automated resource gathering by triggering the keyword "auto play". This activates the script-driven task sequences to execute the automated behaviors.

Does UrhoX Lua automation support retry mechanisms for failed in-game actions?

Yes, UrhoX Lua automation supports retry mechanisms for in-game actions. If a task like pathfinding or battle fails, the framework can automatically retry the action to ensure task sequence completion.