serfe-ai-discovery
Open-source WordPress plugin for AI discovery: manage robots.txt and llms.txt, serve public content as Markdown, and validate discovery signals
What XERJ indexed
Snapshot
Only assets, includes, tests at commit 8cffb12d87 (2026-10-19). trunk is 12 commits ahead.
Selected work

“improve discovery administration”. 7 files, 665 lines in includes, tests, assets.
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-20. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
ai-agentsai-discoverycontent-negotiationgenerative-engine-optimizationgeollms-txtllms-txt-generatormarkdown
Example questions
- How does serfe-ai-discovery implement ai-agents?
- Where does serfe-ai-discovery handle “improve discovery administration”?
- What does includes do in serfe-ai-discovery?
Inside the indexed corpus
- 68 files, 2.1 MB in total, about 31.9 KB per file.
- The selected commit changed 7 of those files (10.3%).
- Languages by size: PHP 96.6%, JavaScript 1.9%, CSS 0.8%, Shell 0.7%.
- On GitHub since 2026-10-13, last push 2026-10-29, 104 commits on trunk.
- The pin is 12 commits behind trunk; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-2.0 for Serfe/serfe-ai-discovery on 2026-10-31, and the LICENSE file at commit 8cffb12d87 was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Leandro Mantaras (Serfe.com) (@leandro-serfe) has 1 selected repository on the hub.
Using XERJ with serfe-ai-discovery
- Audit a PHP codebase with an index, not grep PHP is 96.6% of the code by size.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- 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 Serfe/serfe-ai-discovery at the pinned commit and indexes it on your machine.
Search the GitHub repository Serfe/serfe-ai-discovery with XERJ (https://hub.xerj.org/corpus/serfe--serfe-ai-discovery). 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/Serfe/serfe-ai-discovery serfe-ai-discovery && git -C serfe-ai-discovery checkout 8cffb12d87319a2f3106ee5839f345a9fe98b980 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./serfe-ai-discovery --url http://127.0.0.1:9200 --prefix serfe-ai-discovery --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: GPL-2.0. Read it for the approach only, do not copy code.
Related
Leandro Mantaras (Serfe.com)AI, prompts and agents corporatexiographql-over-httpozark-wayfindercucuwang/geoptimizeLinkNacional/fraud-scam-detection-woocommercecodesphere-u/growthpilot
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.