{"owner":"pqrs-org","repo":"Karabiner-Elements","hasSkills":true,"totalSkillsCount":21,"totalTokensCount":8269,"categories":["anthropic-skill"],"hasMcp":false,"mcpConfig":null,"found":["tests/src/post_event_to_virtual_devices/json/rules/from_any.json","tests/src/post_event_to_virtual_devices/json/rules/fn_function_keys.json","tests/src/post_event_to_virtual_devices/json/rules/from_modifier.json","tests/src/post_event_to_virtual_devices/json/rules/from_key.json","tests/src/post_event_to_virtual_devices/json/rules/complex_modifications.json","tests/src/post_event_to_virtual_devices/json/rules/from_pointing_button.json","tests/src/post_event_to_virtual_devices/json/rules/lazy.json","tests/src/post_event_to_virtual_devices/json/rules/hold_down_milliseconds.json","tests/src/post_event_to_virtual_devices/json/rules/mouse_key.json","tests/src/post_event_to_virtual_devices/json/rules/repeat.json","tests/src/post_event_to_virtual_devices/json/rules/simultaneous.json","tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json","tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json","tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json","tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json","tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json","tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json","tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json","tests/src/manipulator/json/manipulator_manager/rules/multiple.json","tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json","tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json"],"skills":{"tests/src/post_event_to_virtual_devices/json/rules/from_any.json":"[\n    {\n        \"description\": \"disable shift+key\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"shift\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable control+consumer_key_code\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"consumer_key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable command+pointing_button\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"pointing_button\",\n            \"modifiers\": {\n                \"mandatory\": [\"command\"]\n            }\n        }\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/fn_function_keys.json":"[\n    {\n        \"description\": \"0 -> f10\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"0\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\",\n                \"modifiers\": []\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/from_modifier.json":"[\n    {\n        \"description\": \"right_shift -> f1 (modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f1\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift -> fn (modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_control -> fn+f3 (modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_control\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f3\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_command -> fn+right_option (modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_command\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_option\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_option -> f5 (modifier+modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f5\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_option -> left_shift (modifier+modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_command -> left_shift+f7 (modifier+modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f7\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_control -> left_shift+left_option (modifier+modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_control\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/from_key.json":"[\n    {\n        \"description\": \"f1 -> f2 (key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f2 -> left_shift (key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f2\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> left_command+spacebar (key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"f4 -> left_command+left_option (key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f4\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f5 -> spacebar (modifier+key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f5\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_command+f6 -> fn (modifier+key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f6\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f7 -> right_command+spacebar (modifier+key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f7\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f8 -> right_command+right_control (modifier+key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f8\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_control\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f9 -> f10 (modifier+key (caps_lock) to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f9\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\"\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f11 -> caps_lock+left_option+f12 (modifier+key (caps_lock) to modifier+key (keep caps_lock))\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f11\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f12\",\n                \"modifiers\": [\"caps_lock\", \"left_option\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"key_code(20000) -> escape\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": 20000\n        },\n        \"to\": {\n            \"key_code\": \"escape\"\n        }\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/complex_modifications.json":"[\n    {\n        \"description\":\n            \"fn+up_arrow to fn+page_up (from modifiers == to modifiers)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"up_arrow\",\n            \"modifiers\": {\n                \"mandatory\": [\"fn\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"page_up\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"control+p to up_arrow (from modifiers.optional)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"p\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"up_arrow\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+u to shift+control+a,delete_or_backspace (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"u\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+f1 to shift+control+a,delete_or_backspace,vk_none (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            },\n            {\n                \"key_code\": \"vk_none\"\n            }\n        ]\n    },\n    {\n        \"description\": \"control+button1 to button3\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button3\"\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/from_pointing_button.json":"[\n    {\n        \"description\": \"button10 -> button11 (button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button10\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button11\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"button11 -> left_command+button12 (button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button11\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button12\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_control+button12 -> button13 (modifier+button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button12\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button13\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+button13 -> left_option+button14 (modifier+button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button13\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button14\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/lazy.json":"[\n    {\n        \"description\": \"f1 -> left_shift\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"lazy\": true\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f3 -> f4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command -> escape if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_command\",\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"escape\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command+right_shift -> tab if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_shift\",\n                \"modifiers\": [\"right_command\"],\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"tab\"\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/hold_down_milliseconds.json":"[\n    {\n        \"description\": \"caps_lock -> left_control\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"caps_lock\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"caps_lock\",\n                \"hold_down_milliseconds\": 500\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/mouse_key.json":"[\n    {\n        \"description\": \"right_shift+d -> mouse_key.x\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"d\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"x\": 1536\n                }\n            }\n        ]\n    },\n    {\n        \"description\": \"right_shift+f -> button1\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option -> speed_multiplier which is treated as like modifier\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"speed_multiplier\": 0.5\n                },\n                \"modifiers\": [\"right_option\"]\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/repeat.json":"[\n    {\n        \"description\": \"f1 -> f2\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> f4 (no repeat)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\",\n                \"repeat\": false\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/simultaneous.json":"[\n    {\n        \"description\": \"a+s -> d\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"a\"\n                },\n                {\n                    \"key_code\": \"s\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"d\"\n            },\n            {\n                \"key_code\": \"f\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + q+w -> e\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"q\"\n                },\n                {\n                    \"key_code\": \"w\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"e\"\n            },\n            {\n                \"key_code\": \"r\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1+button2+button3 -> button4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"pointing_button\": \"button1\"\n                },\n                {\n                    \"pointing_button\": \"button2\"\n                },\n                {\n                    \"pointing_button\": \"button3\"\n                }\n            ]\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1 -> button5\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\"\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button5\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+x -> 1 (to_if_held_down)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"x\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to_if_held_down\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+c -> 2/3 (to_if_alone)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"c\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"3\"\n            }\n        ]\n    },\n    {\n        \"description\": \"j+k -> 1 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"j\"\n                },\n                {\n                    \"key_code\": \"k\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"k+j -> 2 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"k\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + u+i -> 1 (key_down_order, key_up_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"u\"\n                },\n                {\n                    \"key_code\": \"i\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"key_code\": \"3\"\n                    }\n                ]\n            },\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ],\n        \"to_after_key_up\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"conditions\": [\n            {\n                \"name\": \"simple_vi_mode\",\n                \"type\": \"variable_if\",\n                \"value\": 1\n            }\n        ],\n        \"from\": {\n            \"key_code\": \"j\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"s\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"set_variable\": {\n                            \"name\": \"simple_vi_mode\",\n                            \"value\": 0\n                        }\n                    }\n                ]\n            }\n        },\n        \"to\": [\n            {\n                \"set_variable\": {\n                    \"name\": \"simple_vi_mode\",\n                    \"value\": 1\n                }\n            },\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"description\": \"1+2 -> left_control (key_up_when)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"1\"\n                },\n                {\n                    \"key_code\": \"2\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_up_when\": \"all\"\n            },\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ]\n    },\n    {\n        \"description\": \"3+4 -> 5 (detect_key_down_uninterruptedly)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"3\"\n                },\n                {\n                    \"key_code\": \"4\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"detect_key_down_uninterruptedly\": true\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"5\"\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json)","tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json)","tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json)","tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json)","tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json)","tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json)","tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json)","tests/src/manipulator/json/manipulator_manager/rules/multiple.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/multiple.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/multiple.json)","tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json)","tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json)"},"files":{"tests/src/post_event_to_virtual_devices/json/rules/from_any.json":"[\n    {\n        \"description\": \"disable shift+key\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"shift\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable control+consumer_key_code\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"consumer_key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable command+pointing_button\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"pointing_button\",\n            \"modifiers\": {\n                \"mandatory\": [\"command\"]\n            }\n        }\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/fn_function_keys.json":"[\n    {\n        \"description\": \"0 -> f10\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"0\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\",\n                \"modifiers\": []\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/from_modifier.json":"[\n    {\n        \"description\": \"right_shift -> f1 (modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f1\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift -> fn (modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_control -> fn+f3 (modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_control\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f3\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_command -> fn+right_option (modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_command\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_option\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_option -> f5 (modifier+modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f5\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_option -> left_shift (modifier+modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_command -> left_shift+f7 (modifier+modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f7\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_control -> left_shift+left_option (modifier+modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_control\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/from_key.json":"[\n    {\n        \"description\": \"f1 -> f2 (key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f2 -> left_shift (key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f2\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> left_command+spacebar (key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"f4 -> left_command+left_option (key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f4\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f5 -> spacebar (modifier+key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f5\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_command+f6 -> fn (modifier+key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f6\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f7 -> right_command+spacebar (modifier+key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f7\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f8 -> right_command+right_control (modifier+key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f8\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_control\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f9 -> f10 (modifier+key (caps_lock) to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f9\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\"\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f11 -> caps_lock+left_option+f12 (modifier+key (caps_lock) to modifier+key (keep caps_lock))\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f11\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f12\",\n                \"modifiers\": [\"caps_lock\", \"left_option\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"key_code(20000) -> escape\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": 20000\n        },\n        \"to\": {\n            \"key_code\": \"escape\"\n        }\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/complex_modifications.json":"[\n    {\n        \"description\":\n            \"fn+up_arrow to fn+page_up (from modifiers == to modifiers)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"up_arrow\",\n            \"modifiers\": {\n                \"mandatory\": [\"fn\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"page_up\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"control+p to up_arrow (from modifiers.optional)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"p\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"up_arrow\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+u to shift+control+a,delete_or_backspace (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"u\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+f1 to shift+control+a,delete_or_backspace,vk_none (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            },\n            {\n                \"key_code\": \"vk_none\"\n            }\n        ]\n    },\n    {\n        \"description\": \"control+button1 to button3\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button3\"\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/from_pointing_button.json":"[\n    {\n        \"description\": \"button10 -> button11 (button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button10\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button11\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"button11 -> left_command+button12 (button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button11\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button12\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_control+button12 -> button13 (modifier+button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button12\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button13\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+button13 -> left_option+button14 (modifier+button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button13\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button14\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/lazy.json":"[\n    {\n        \"description\": \"f1 -> left_shift\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"lazy\": true\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f3 -> f4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command -> escape if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_command\",\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"escape\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command+right_shift -> tab if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_shift\",\n                \"modifiers\": [\"right_command\"],\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"tab\"\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/hold_down_milliseconds.json":"[\n    {\n        \"description\": \"caps_lock -> left_control\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"caps_lock\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"caps_lock\",\n                \"hold_down_milliseconds\": 500\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/mouse_key.json":"[\n    {\n        \"description\": \"right_shift+d -> mouse_key.x\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"d\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"x\": 1536\n                }\n            }\n        ]\n    },\n    {\n        \"description\": \"right_shift+f -> button1\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option -> speed_multiplier which is treated as like modifier\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"speed_multiplier\": 0.5\n                },\n                \"modifiers\": [\"right_option\"]\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/repeat.json":"[\n    {\n        \"description\": \"f1 -> f2\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> f4 (no repeat)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\",\n                \"repeat\": false\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/simultaneous.json":"[\n    {\n        \"description\": \"a+s -> d\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"a\"\n                },\n                {\n                    \"key_code\": \"s\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"d\"\n            },\n            {\n                \"key_code\": \"f\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + q+w -> e\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"q\"\n                },\n                {\n                    \"key_code\": \"w\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"e\"\n            },\n            {\n                \"key_code\": \"r\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1+button2+button3 -> button4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"pointing_button\": \"button1\"\n                },\n                {\n                    \"pointing_button\": \"button2\"\n                },\n                {\n                    \"pointing_button\": \"button3\"\n                }\n            ]\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1 -> button5\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\"\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button5\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+x -> 1 (to_if_held_down)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"x\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to_if_held_down\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+c -> 2/3 (to_if_alone)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"c\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"3\"\n            }\n        ]\n    },\n    {\n        \"description\": \"j+k -> 1 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"j\"\n                },\n                {\n                    \"key_code\": \"k\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"k+j -> 2 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"k\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + u+i -> 1 (key_down_order, key_up_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"u\"\n                },\n                {\n                    \"key_code\": \"i\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"key_code\": \"3\"\n                    }\n                ]\n            },\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ],\n        \"to_after_key_up\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"conditions\": [\n            {\n                \"name\": \"simple_vi_mode\",\n                \"type\": \"variable_if\",\n                \"value\": 1\n            }\n        ],\n        \"from\": {\n            \"key_code\": \"j\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"s\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"set_variable\": {\n                            \"name\": \"simple_vi_mode\",\n                            \"value\": 0\n                        }\n                    }\n                ]\n            }\n        },\n        \"to\": [\n            {\n                \"set_variable\": {\n                    \"name\": \"simple_vi_mode\",\n                    \"value\": 1\n                }\n            },\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"description\": \"1+2 -> left_control (key_up_when)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"1\"\n                },\n                {\n                    \"key_code\": \"2\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_up_when\": \"all\"\n            },\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ]\n    },\n    {\n        \"description\": \"3+4 -> 5 (detect_key_down_uninterruptedly)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"3\"\n                },\n                {\n                    \"key_code\": \"4\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"detect_key_down_uninterruptedly\": true\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"5\"\n            }\n        ]\n    }\n]\n","tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json)","tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json)","tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json)","tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json)","tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json)","tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json)","tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json)","tests/src/manipulator/json/manipulator_manager/rules/multiple.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/multiple.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/multiple.json)","tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json)","tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json)"},"items":[{"name":"fn_spacebar_to_fn_tab.json","path":"tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json)","tokens":300,"sizeBytes":280},{"name":"multiple.json","path":"tests/src/manipulator/json/manipulator_manager/rules/multiple.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/multiple.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/multiple.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/multiple.json)","tokens":300,"sizeBytes":254},{"name":"spacebar_to_tab.json","path":"tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json)","tokens":300,"sizeBytes":268},{"name":"tab_to_escape.json","path":"tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json)","tokens":300,"sizeBytes":264},{"name":"complex_modifications.json","path":"tests/src/post_event_to_virtual_devices/json/rules/complex_modifications.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/complex_modifications.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\":\n            \"fn+up_arrow to fn+page_up (from modifiers == to modifiers)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"up_arrow\",\n            \"modifiers\": {\n                \"mandatory\": [\"fn\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"page_up\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"control+p to up_arrow (from modifiers.optional)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"p\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"up_arrow\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+u to shift+control+a,delete_or_backspace (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"u\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+f1 to shift+control+a,delete_or_backspace,vk_none (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            },\n            {\n                \"key_code\": \"vk_none\"\n            }\n        ]\n    },\n    {\n        \"description\": \"control+button1 to button3\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button3\"\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":517,"sizeBytes":2393},{"name":"fn_function_keys.json","path":"tests/src/post_event_to_virtual_devices/json/rules/fn_function_keys.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/fn_function_keys.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"0 -> f10\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"0\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\",\n                \"modifiers\": []\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":82,"sizeBytes":365},{"name":"from_any.json","path":"tests/src/post_event_to_virtual_devices/json/rules/from_any.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/from_any.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"disable shift+key\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"shift\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable control+consumer_key_code\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"consumer_key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable command+pointing_button\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"pointing_button\",\n            \"modifiers\": {\n                \"mandatory\": [\"command\"]\n            }\n        }\n    }\n]\n","isInternal":false,"tokens":158,"sizeBytes":716},{"name":"from_key.json","path":"tests/src/post_event_to_virtual_devices/json/rules/from_key.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/from_key.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"f1 -> f2 (key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f2 -> left_shift (key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f2\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> left_command+spacebar (key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"f4 -> left_command+left_option (key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f4\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f5 -> spacebar (modifier+key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f5\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_command+f6 -> fn (modifier+key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f6\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f7 -> right_command+spacebar (modifier+key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f7\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f8 -> right_command+right_control (modifier+key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f8\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_control\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f9 -> f10 (modifier+key (caps_lock) to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f9\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\"\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f11 -> caps_lock+left_option+f12 (modifier+key (caps_lock) to modifier+key (keep caps_lock))\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f11\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f12\",\n                \"modifiers\": [\"caps_lock\", \"left_option\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"key_code(20000) -> escape\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": 20000\n        },\n        \"to\": {\n            \"key_code\": \"escape\"\n        }\n    }\n]\n","isInternal":false,"tokens":1012,"sizeBytes":4492},{"name":"from_modifier.json","path":"tests/src/post_event_to_virtual_devices/json/rules/from_modifier.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/from_modifier.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"right_shift -> f1 (modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f1\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift -> fn (modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_control -> fn+f3 (modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_control\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f3\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_command -> fn+right_option (modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_command\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_option\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_option -> f5 (modifier+modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f5\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_option -> left_shift (modifier+modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_command -> left_shift+f7 (modifier+modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f7\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_control -> left_shift+left_option (modifier+modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_control\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":751,"sizeBytes":3583},{"name":"from_pointing_button.json","path":"tests/src/post_event_to_virtual_devices/json/rules/from_pointing_button.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/from_pointing_button.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"button10 -> button11 (button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button10\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button11\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"button11 -> left_command+button12 (button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button11\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button12\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_control+button12 -> button13 (modifier+button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button12\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button13\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+button13 -> left_option+button14 (modifier+button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button13\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button14\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":374,"sizeBytes":1761},{"name":"hold_down_milliseconds.json","path":"tests/src/post_event_to_virtual_devices/json/rules/hold_down_milliseconds.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/hold_down_milliseconds.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"caps_lock -> left_control\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"caps_lock\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"caps_lock\",\n                \"hold_down_milliseconds\": 500\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":107,"sizeBytes":484},{"name":"lazy.json","path":"tests/src/post_event_to_virtual_devices/json/rules/lazy.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/lazy.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"f1 -> left_shift\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"lazy\": true\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f3 -> f4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command -> escape if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_command\",\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"escape\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command+right_shift -> tab if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_shift\",\n                \"modifiers\": [\"right_command\"],\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"tab\"\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":362,"sizeBytes":1626},{"name":"mouse_key.json","path":"tests/src/post_event_to_virtual_devices/json/rules/mouse_key.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/mouse_key.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"right_shift+d -> mouse_key.x\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"d\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"x\": 1536\n                }\n            }\n        ]\n    },\n    {\n        \"description\": \"right_shift+f -> button1\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option -> speed_multiplier which is treated as like modifier\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"speed_multiplier\": 0.5\n                },\n                \"modifiers\": [\"right_option\"]\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":266,"sizeBytes":1250},{"name":"repeat.json","path":"tests/src/post_event_to_virtual_devices/json/rules/repeat.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/repeat.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"f1 -> f2\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> f4 (no repeat)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\",\n                \"repeat\": false\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":127,"sizeBytes":484},{"name":"simultaneous.json","path":"tests/src/post_event_to_virtual_devices/json/rules/simultaneous.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/simultaneous.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"[\n    {\n        \"description\": \"a+s -> d\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"a\"\n                },\n                {\n                    \"key_code\": \"s\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"d\"\n            },\n            {\n                \"key_code\": \"f\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + q+w -> e\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"q\"\n                },\n                {\n                    \"key_code\": \"w\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"e\"\n            },\n            {\n                \"key_code\": \"r\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1+button2+button3 -> button4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"pointing_button\": \"button1\"\n                },\n                {\n                    \"pointing_button\": \"button2\"\n                },\n                {\n                    \"pointing_button\": \"button3\"\n                }\n            ]\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1 -> button5\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\"\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button5\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+x -> 1 (to_if_held_down)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"x\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to_if_held_down\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+c -> 2/3 (to_if_alone)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"c\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"3\"\n            }\n        ]\n    },\n    {\n        \"description\": \"j+k -> 1 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"j\"\n                },\n                {\n                    \"key_code\": \"k\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"k+j -> 2 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"k\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + u+i -> 1 (key_down_order, key_up_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"u\"\n                },\n                {\n                    \"key_code\": \"i\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"key_code\": \"3\"\n                    }\n                ]\n            },\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ],\n        \"to_after_key_up\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"conditions\": [\n            {\n                \"name\": \"simple_vi_mode\",\n                \"type\": \"variable_if\",\n                \"value\": 1\n            }\n        ],\n        \"from\": {\n            \"key_code\": \"j\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"s\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"set_variable\": {\n                            \"name\": \"simple_vi_mode\",\n                            \"value\": 0\n                        }\n                    }\n                ]\n            }\n        },\n        \"to\": [\n            {\n                \"set_variable\": {\n                    \"name\": \"simple_vi_mode\",\n                    \"value\": 1\n                }\n            },\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"description\": \"1+2 -> left_control (key_up_when)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"1\"\n                },\n                {\n                    \"key_code\": \"2\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_up_when\": \"all\"\n            },\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ]\n    },\n    {\n        \"description\": \"3+4 -> 5 (detect_key_down_uninterruptedly)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"3\"\n                },\n                {\n                    \"key_code\": \"4\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"detect_key_down_uninterruptedly\": true\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"5\"\n            }\n        ]\n    }\n]\n","isInternal":false,"tokens":1513,"sizeBytes":7346},{"name":"sticky_modifier.json","path":"tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json)","tokens":300,"sizeBytes":264},{"name":"to_after_key_up.json","path":"tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json)","tokens":300,"sizeBytes":264},{"name":"to_conditions.json","path":"tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json)","tokens":300,"sizeBytes":260},{"name":"to_delayed_action_cx.json","path":"tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json)","tokens":300,"sizeBytes":274},{"name":"to_if_alone.json","path":"tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json)","tokens":300,"sizeBytes":256},{"name":"to_if_held_down.json","path":"tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json","rawUrl":"https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json","title":"Rules Skill","category":"anthropic-skill","format":"json","content":"# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json)","tokens":300,"sizeBytes":264}],"systemPromptSnippet":"<yakaai_skills repo=\"pqrs-org/Karabiner-Elements\">\n<!-- File: tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/fn_spacebar_to_fn_tab.json)\n\n<!-- File: tests/src/manipulator/json/manipulator_manager/rules/multiple.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/multiple.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/multiple.json)\n\n<!-- File: tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/spacebar_to_tab.json)\n\n<!-- File: tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/manipulator/json/manipulator_manager/rules/tab_to_escape.json)\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/complex_modifications.json (Tokens: ~517 | Category: anthropic-skill) -->\n[\n    {\n        \"description\":\n            \"fn+up_arrow to fn+page_up (from modifiers == to modifiers)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"up_arrow\",\n            \"modifiers\": {\n                \"mandatory\": [\"fn\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"page_up\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"control+p to up_arrow (from modifiers.optional)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"p\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"up_arrow\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+u to shift+control+a,delete_or_backspace (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"u\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"control+f1 to shift+control+a,delete_or_backspace,vk_none (multiple to keys)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"caps_lock\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"a\",\n                \"modifiers\": [\"left_control\", \"left_shift\"]\n            },\n            {\n                \"key_code\": \"delete_or_backspace\"\n            },\n            {\n                \"key_code\": \"vk_none\"\n            }\n        ]\n    },\n    {\n        \"description\": \"control+button1 to button3\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button3\"\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/fn_function_keys.json (Tokens: ~82 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"0 -> f10\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"0\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\",\n                \"modifiers\": []\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/from_any.json (Tokens: ~158 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"disable shift+key\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"shift\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable control+consumer_key_code\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"consumer_key_code\",\n            \"modifiers\": {\n                \"mandatory\": [\"control\"]\n            }\n        }\n    },\n    {\n        \"description\": \"disable command+pointing_button\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"any\": \"pointing_button\",\n            \"modifiers\": {\n                \"mandatory\": [\"command\"]\n            }\n        }\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/from_key.json (Tokens: ~1012 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"f1 -> f2 (key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f2 -> left_shift (key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f2\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> left_command+spacebar (key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"f4 -> left_command+left_option (key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f4\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f5 -> spacebar (modifier+key to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f5\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_command+f6 -> fn (modifier+key to modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f6\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f7 -> right_command+spacebar (modifier+key to modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f7\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"spacebar\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option+f8 -> right_command+right_control (modifier+key to modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f8\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_option\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_control\",\n                \"modifiers\": [\"right_command\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f9 -> f10 (modifier+key (caps_lock) to key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f9\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f10\"\n            }\n        ]\n    },\n    {\n        \"description\": \"caps_lock+f11 -> caps_lock+left_option+f12 (modifier+key (caps_lock) to modifier+key (keep caps_lock))\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f11\",\n            \"modifiers\": {\n                \"mandatory\": [\"caps_lock\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f12\",\n                \"modifiers\": [\"caps_lock\", \"left_option\"]\n            }\n        ]\n    },\n    {\n        \"description\": \"key_code(20000) -> escape\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": 20000\n        },\n        \"to\": {\n            \"key_code\": \"escape\"\n        }\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/from_modifier.json (Tokens: ~751 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"right_shift -> f1 (modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f1\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift -> fn (modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_shift\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"fn\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\": \"left_control -> fn+f3 (modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_control\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f3\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_command -> fn+right_option (modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"left_command\",\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_option\",\n                \"modifiers\": [\"fn\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_option -> f5 (modifier+modifier -> key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f5\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_option -> left_shift (modifier+modifier -> modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+right_command -> left_shift+f7 (modifier+modifier -> modifier+key)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f7\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_command+right_control -> left_shift+left_option (modifier+modifier -> modifier+modifier)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_control\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_option\",\n                \"modifiers\": [\"left_shift\"]\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/from_pointing_button.json (Tokens: ~374 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"button10 -> button11 (button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button10\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button11\",\n                \"modifiers\": []\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"button11 -> left_command+button12 (button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button11\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button12\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"left_control+button12 -> button13 (modifier+button to button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button12\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button13\"\n            }\n        ]\n    },\n    {\n        \"description\":\n            \"right_control+button13 -> left_option+button14 (modifier+button to modifier+button)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button13\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_control\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button14\",\n                \"modifiers\": [\"left_command\"]\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/hold_down_milliseconds.json (Tokens: ~107 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"caps_lock -> left_control\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"caps_lock\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"caps_lock\",\n                \"hold_down_milliseconds\": 500\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/lazy.json (Tokens: ~362 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"f1 -> left_shift\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_shift\",\n                \"lazy\": true\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift+f3 -> f4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\",\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command -> escape if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_command\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_command\",\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"escape\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_command+right_shift -> tab if alone\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_shift\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_command\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"right_shift\",\n                \"modifiers\": [\"right_command\"],\n                \"lazy\": true\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"tab\"\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/mouse_key.json (Tokens: ~266 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"right_shift+d -> mouse_key.x\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"d\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"x\": 1536\n                }\n            }\n        ]\n    },\n    {\n        \"description\": \"right_shift+f -> button1\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f\",\n            \"modifiers\": {\n                \"mandatory\": [\"right_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"right_option -> speed_multiplier which is treated as like modifier\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"right_option\",\n            \"modifiers\": {\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"mouse_key\": {\n                    \"speed_multiplier\": 0.5\n                },\n                \"modifiers\": [\"right_option\"]\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/repeat.json (Tokens: ~127 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"f1 -> f2\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f1\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"f3 -> f4 (no repeat)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"key_code\": \"f3\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"f4\",\n                \"repeat\": false\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/simultaneous.json (Tokens: ~1513 | Category: anthropic-skill) -->\n[\n    {\n        \"description\": \"a+s -> d\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"a\"\n                },\n                {\n                    \"key_code\": \"s\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"d\"\n            },\n            {\n                \"key_code\": \"f\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + q+w -> e\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"q\"\n                },\n                {\n                    \"key_code\": \"w\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"e\"\n            },\n            {\n                \"key_code\": \"r\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1+button2+button3 -> button4\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"pointing_button\": \"button1\"\n                },\n                {\n                    \"pointing_button\": \"button2\"\n                },\n                {\n                    \"pointing_button\": \"button3\"\n                }\n            ]\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button4\"\n            }\n        ]\n    },\n    {\n        \"description\": \"button1 -> button5\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"pointing_button\": \"button1\"\n        },\n        \"to\": [\n            {\n                \"pointing_button\": \"button5\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+x -> 1 (to_if_held_down)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"x\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to_if_held_down\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"z+c -> 2/3 (to_if_alone)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"z\"\n                },\n                {\n                    \"key_code\": \"c\"\n                }\n            ],\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ],\n        \"to_if_alone\": [\n            {\n                \"key_code\": \"3\"\n            }\n        ]\n    },\n    {\n        \"description\": \"j+k -> 1 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"j\"\n                },\n                {\n                    \"key_code\": \"k\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ]\n    },\n    {\n        \"description\": \"k+j -> 2 (key_down_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"k\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\"\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"description\": \"left_shift + u+i -> 1 (key_down_order, key_up_order)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"u\"\n                },\n                {\n                    \"key_code\": \"i\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"key_code\": \"3\"\n                    }\n                ]\n            },\n            \"modifiers\": {\n                \"mandatory\": [\"left_shift\"],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"1\"\n            }\n        ],\n        \"to_after_key_up\": [\n            {\n                \"key_code\": \"2\"\n            }\n        ]\n    },\n    {\n        \"conditions\": [\n            {\n                \"name\": \"simple_vi_mode\",\n                \"type\": \"variable_if\",\n                \"value\": 1\n            }\n        ],\n        \"from\": {\n            \"key_code\": \"j\"\n        },\n        \"to\": [\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"s\"\n                },\n                {\n                    \"key_code\": \"j\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_down_order\": \"strict\",\n                \"key_up_order\": \"strict_inverse\",\n                \"to_after_key_up\": [\n                    {\n                        \"set_variable\": {\n                            \"name\": \"simple_vi_mode\",\n                            \"value\": 0\n                        }\n                    }\n                ]\n            }\n        },\n        \"to\": [\n            {\n                \"set_variable\": {\n                    \"name\": \"simple_vi_mode\",\n                    \"value\": 1\n                }\n            },\n            {\n                \"key_code\": \"down_arrow\"\n            }\n        ],\n        \"type\": \"basic\"\n    },\n    {\n        \"description\": \"1+2 -> left_control (key_up_when)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"1\"\n                },\n                {\n                    \"key_code\": \"2\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"key_up_when\": \"all\"\n            },\n            \"modifiers\": {\n                \"mandatory\": [],\n                \"optional\": [\"any\"]\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"left_control\"\n            }\n        ]\n    },\n    {\n        \"description\": \"3+4 -> 5 (detect_key_down_uninterruptedly)\",\n        \"type\": \"basic\",\n        \"from\": {\n            \"simultaneous\": [\n                {\n                    \"key_code\": \"3\"\n                },\n                {\n                    \"key_code\": \"4\"\n                }\n            ],\n            \"simultaneous_options\": {\n                \"detect_key_down_uninterruptedly\": true\n            }\n        },\n        \"to\": [\n            {\n                \"key_code\": \"5\"\n            }\n        ]\n    }\n]\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/sticky_modifier.json)\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_after_key_up.json)\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_conditions.json)\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_delayed_action_cx.json)\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_alone.json)\n\n<!-- File: tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Rules Skill\n\nPath: `tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/pqrs-org/Karabiner-Elements/HEAD/tests/src/post_event_to_virtual_devices/json/rules/to_if_held_down.json)\n</yakaai_skills>"}