Ahmed Mordi

Ahmed Mordi

Corpus Hub contributor since 2026-10-16

Ahmed Mordi's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
14files
361lines

Totals count @ahmedmmordi's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @ahmedmmordi's commit to pgexporter

pgexporter/pgexporter: Prometheus exporter for PostgreSQL

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository pgexporter/pgexporter with XERJ (https://hub.xerj.org/corpus/pgexporter--pgexporter).
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/pgexporter/pgexporter pgexporter --filter=blob:none --no-checkout && git -C pgexporter sparse-checkout set --no-cone /contrib/json/ /contrib/prometheus_scrape/ /contrib/yaml/ /doc/manual/en/ /src/include/ && git -C pgexporter checkout 3912e74d032005913a9578821cec2910d1fb1120
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./pgexporter --url http://127.0.0.1:9200 --prefix pgexporter --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.

corpus pgexporter--pgexporter · Operations and SRE
Related corpora: prometheus-src, coroot, opencost/opencost, TahjibNil75/watchly
Operational intelligence with XERJ · Case study: reference coding for agents

Selected work

Commit to pgexporter/pgexporter

maintained by @pgexporter
3912e74d03 [#632] Add pg_statio_all_indexes metric
selected commit: 14 files · 361 lines · C · contrib, src/include

The corpus covers only the directories this commit changed (contrib/json, contrib/prometheus_scrape, contrib/yaml, doc/manual/en, src/include). The repository is @pgexporter's; this page credits @ahmedmmordi for this commit only.

live on the hub · licence clearedcorpus pgexporter--pgexporterOPSBSD-3-Clausepostgresqlprometheusexportermonitoring agreed 2026-10-16
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/ahmedmmordi/badge.svg)](https://hub.xerj.org/contributors/ahmedmmordi)

Included with the author's permission (email, 2026-10-16), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.