wakatime-cli
Command line interface used by all WakaTime text editor plugins
What XERJ indexed
Snapshot
Only cmd/heartbeat, pkg/ai at commit e215db855e (2026-10-17). develop is 20 commits ahead.
Selected work

“Keep standalone Claude attribution independent of file context”. 6 files, 348 lines in pkg/ai, cmd/heartbeat.
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-23. 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
time-trackeranalyticsmetricsquantified-selfproductivity
Example questions
- How does wakatime-cli implement time-tracker?
- Where does wakatime-cli handle “Keep standalone Claude attribution independent of file context”?
- What does pkg/ai do in wakatime-cli?
Inside the indexed corpus
- Languages by size: Go 99.6%, Shell 0.2%, Makefile 0.2%.
- On GitHub since 2020-03-04, last push 2026-10-27, 1,928 commits on develop.
- The pin is 20 commits behind develop; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported BSD-3-Clause for wakatime/wakatime-cli on 2026-10-31, and the LICENSE file at commit e215db855e was reviewed as BSD-3-Clause. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Lin Hugo (@1chooo) has 1 selected repository on the hub.
Using XERJ with wakatime-cli
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones wakatime/wakatime-cli at the pinned commit and indexes it on your machine.
Search the GitHub repository wakatime/wakatime-cli with XERJ (https://hub.xerj.org/corpus/wakatime--wakatime-cli). 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/wakatime/wakatime-cli wakatime-cli && git -C wakatime-cli checkout e215db855e761f13ddc22388eacf4bd693c276a4 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./wakatime-cli --url http://127.0.0.1:9200 --prefix wakatime-cli --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: BSD-3-Clause. Keep the copyright notice and credit the authors.
Related
Lin HugoAPI design and specification corporacorootprometheus-srctextstatbensitu/workloggermatheuzgomes/Snipvalicm/vura
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.