swift-claw
Your AI. Your machine. Always on. A personal assistant in one pure-Swift binary
What XERJ indexed
Snapshot
The whole repository at commit d77b26fbdd (2026-10-03). main is 36 commits ahead.
Selected work

“improve readability across Sources”. 257 files, 5,449 lines in Sources.
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-07. 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
ai-agentai-assistantllmlocal-aiopenaipersonal-assistantself-hostedself-hosted-ai
Example questions
- How does swift-claw implement ai-agent?
- Where does swift-claw handle “improve readability across Sources”?
- What does Sources do in swift-claw?
Inside the indexed corpus
- 1,171 files, 14.4 MB in total, about 12.6 KB per file.
- The selected commit changed 257 of those files (21.9%).
- Languages by size: Swift 98.5%, Python 0.7%, Shell 0.7%.
- On GitHub since 2026-06-17, last push 2026-10-30, 1,282 commits on main.
- The pin is 36 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for ivan-magda/swift-claw on 2026-10-31, and the LICENSE file at commit d77b26fbdd was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Ivan Magda (@ivan-magda) has 1 selected repository on the hub.
Using XERJ with swift-claw
- 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 ivan-magda/swift-claw at the pinned commit and indexes it on your machine.
Search the GitHub repository ivan-magda/swift-claw with XERJ (https://hub.xerj.org/corpus/ivan-magda--swift-claw). 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/ivan-magda/swift-claw swift-claw && git -C swift-claw checkout d77b26fbddf8057d974f6e8fdb1c8f35801fc909 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./swift-claw --url http://127.0.0.1:9200 --prefix swift-claw --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
Ivan MagdaAI, prompts and agents corporadunorth595--ai-agent-memoryanything-llmaiderDrVelvetFog/plummykadaliao/open-super-agentMarlonJD/codex_touchbar
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.