rpg-switch

Send activate or deactivate actions to the RPG server for device control.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables programmatic control of devices by sending activate (on=true) or deactivate (on=false) actions to the RPG server. This enables automated device-state management from chat or automation workflows.

Core Features & Use Cases

  • Activate or deactivate a target device by issuing clear on/off commands to the RPG server.
  • Works with webhook-driven chat interactions and simple Python scripts to integrate with broader automation today.
  • Use case: With a single command, switch the generator or alarm state in a running RPG session to simulate real-world device control.

Quick Start

Call the rpg-switch skill to turn a device on or off, for example activate the generator.

Frequently Asked Questions about rpg-switch

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

FAQPage Schema
How do I automate device on/off control via API requests?

Automating device control involves sending HTTP POST requests with a boolean on value to the /api/v1/control endpoint. This skill triggers activate or deactivate actions on target devices via the RPG server using simple Python scripts.

How do I switch a device state in an RPG session using Python?

Switching a device state requires calling the rpg-switch skill with a target device identifier and a boolean on value. The script posts an activate or deactivate command to the RPG server to simulate real-world device control during sessions.

Do I need a running RPG server to send activate and deactivate commands?

Yes, sending activate and deactivate commands requires a running RPG server. The script posts on/off actions to the server API, defaulting to http://localhost:7100, to manage the target device state programmatically.

Can I integrate webhook-driven chat interactions with server device control?

Yes, webhook-driven chat interactions can issue on/off commands to devices. This skill processes activate and deactivate actions triggered by chat, posting the boolean values to the RPG server API to manage device states automatically.

What are the limitations of using HTTP POST for device-state management?

Using HTTP POST for device-state management requires the RPG server to be continuously running and reachable. It relies on a target device identifier and boolean on value, limiting actions to simple activate or deactivate commands without complex state querying.