Global Mode
You can use global mode via Rulesync by enabling --global option. It can also be called as user scope mode.
Currently, supports rules and commands generation for Claude Code. Import for global files is supported for rules and commands.
Create an any name directory. For example, if you prefer
~/.aiglobal, run the following command.bashmkdir -p ~/.aiglobalInitialize files for global files in the directory.
bashcd ~/.aiglobal rulesync initEdit
~/.aiglobal/rulesync.jsoncto enable global mode.jsonc{ "global": true, }Edit
~/.aiglobal/.rulesync/rules/overview.mdto your preferences.md--- root: true --- # The Project Overview ...Generate rules for global settings.
bash# Run in the `~/.aiglobal` directory rulesync generate
NOTE
Currently, when in the directory enabled global mode:
rulesync.jsonconly supportsglobal,features,deleteandverbose.Featurescan be set"rules"and"commands". Other parameters are ignored.rules/*.mdonly supports single file hasroot: true, and frontmatter parameters withoutrootare ignored.- Only Claude Code is supported for global mode commands.
