OnlySwitch
The all-in-one macOS menu bar companion: customizable controls, system monitor, AI Agent, Shortcuts, widgets, remote control, and more
What XERJ indexed
Snapshot
Only Localization, OnlySwitch/CoreData, OnlySwitch/Features/Settings/General at commit 42c02587c1 (2026-09-22). main is 166 commits ahead.
Selected work

“Add Backup section to export and import all settings”. 6 files, 224 lines in OnlySwitch, Localization.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-15. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
macosswiftuistatusbarmenubar-appnotchaudioplayerdark-modepomodoro-timer
Example questions
- How does OnlySwitch implement macos?
- Where does OnlySwitch handle “Add Backup section to export and import all settings”?
- What does OnlySwitch do in OnlySwitch?
Inside the indexed corpus
- 799 files, 36.2 MB in total, about 46.4 KB per file.
- The selected commit changed 6 of those files (0.8%).
- Languages by size: Swift 95.5%, HTML 2.5%, Objective-C 1.1%, Python 0.4%, C 0.3%.
- On GitHub since 2021-11-30, last push 2026-10-30, 1,325 commits on main.
- The pin is 166 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for jacklandrin/OnlySwitch on 2026-10-31, and the LICENSE file at commit 42c02587c1 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
oecer (@oecer) has 1 selected repository on the hub.
Using XERJ with OnlySwitch
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones jacklandrin/OnlySwitch at the pinned commit and indexes it on your machine.
Search the GitHub repository jacklandrin/OnlySwitch with XERJ (https://hub.xerj.org/corpus/jacklandrin--onlyswitch). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/jacklandrin/OnlySwitch OnlySwitch && git -C OnlySwitch checkout 42c02587c1b7acd2da6a3865e1a6b1ac7c2ed992 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./OnlySwitch --url http://127.0.0.1:9200 --prefix onlyswitch --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
oecerAI, prompts and agents corporamkcertandriitk/cc-unibrowwenayy/mynotchnamekun/Nunsseop
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.