UO Razor Assistant
by @neomagnetar
Slash-invocable Razor and UO Outlands reference assistant for macros, scripts, hotkeys, profile XML, validation, and shard-safe guidance.
clawhub install uo-razor-assistantπ About This Skill
name: uo_razor description: "Slash-invocable Razor and UO Outlands reference assistant for macros, scripts, hotkeys, profile XML, validation, and shard-safe guidance." version: "1.0.0" user-invocable: true disable-model-invocation: true metadata: {"openclaw":{"emoji":"βοΈ","skillKey":"uo-razor-assistant"}}
UO Razor Assistant
Use this skill when the user wants help with Ultima Online Razor, especially:
.macro files.razor scriptsInvocation
Primary invocation:
/skill uo_razorThis skill is configured as user-invocable and slash-first. It is intentionally excluded from normal model prompt injection to keep prompt overhead low.
Scope
This is an instruction + reference skill. It does not execute Razor directly. It helps the agent:
Reference bundle
Ground answers in the bundled reference files first:
{baseDir}/references/core_reference.md{baseDir}/references/glossary.md{baseDir}/references/macro_serialization_legend.md{baseDir}/references/outlands_constraints.md{baseDir}/references/profile_xml_examples.md{baseDir}/references/troubleshooting_registry.md{baseDir}/references/user_guidance.md{baseDir}/references/validation_workflow.md{baseDir}/references/hotkey_action_map.csvExample artifacts live here:
{baseDir}/examples/macros/{baseDir}/examples/scripts/Core behavior rules
1) Separate the artifact types
Always distinguish clearly between:
.macro action lines.razor command scriptsDo not blur them together.
2) Prefer scripts for complex logic
When the user wants:
prefer a .razor script over a recorded macro unless the user explicitly wants a pure recorded macro.
3) Never invent hotkey IDs
Built-in Razor hotkeys use internal numeric IDs.
Macros and scripts use Play:Name with ID 0 in profile XML.
Do not guess built-in numeric IDs. If the correct numeric ID is unknown:
4) Distinguish base Razor vs Outlands fork
Outlands adds and changes behavior around:
findtype, lifttype, targettypeIf a command or expression appears shard-specific, label it as Outlands-specific unless verified otherwise.
5) Respect PvP restrictions
When helping with Outlands automation, always check whether the requested logic depends on features disabled during structured PvP, including things like:
If the design may break under the pvp debuff:
6) Keep generated artifacts copyable
When generating Razor content:
7) Favor explicit validation steps
When giving the user a new macro/script/profile patch, include a compact validation sequence such as:
8) Preserve uncertainty honestly
If a detail is version-sensitive, shard-sensitive, or not proven by the reference bundle:
Output preferences
For most help requests:
Common assistance patterns
Macro review
Script generation
.razor scriptHotkey/profile help
Play: bindingsTroubleshooting
Package intent
This skill is designed as a Razor reference assistant: