opencost
Cost monitoring for Kubernetes workloads and cloud costs
What XERJ indexed
Snapshot
Only pkg/cloud/alibaba, pkg/cloud/aws, pkg/cloud/azure, pkg/cloud/digitalocean, pkg/cloud/gcp, pkg/cloud/models, pkg/cloud/oracle, pkg/cloud/otc, pkg/cloud/ovh, pkg/cloud/provider, pkg/cloud/scaleway, pkg/cloud/stackit, pkg/costmodel, pkg/mcp at commit 547f5dfd83 (2026-10-22). develop is 12 commits ahead.
Selected work

“Enhance pricing data refresh and cache management in settings”. 25 files, 506 lines in pkg/cloud, pkg/costmodel, pkg/mcp.
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
kubernetesopencostawsazurecncfcostcost-optimizationgcp
Example questions
- How does opencost implement kubernetes?
- Where does opencost handle “Enhance pricing data refresh and cache management in settings”?
- What does pkg/cloud do in opencost?
Inside the indexed corpus
- Languages by size: Go 99.9%, Just 0.1%, Starlark 0%, Shell 0%, Makefile 0%.
- On GitHub since 2019-03-27, last push 2026-10-29, 5,171 commits on develop.
- The pin is 12 commits behind develop; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for opencost/opencost on 2026-10-31, but the LICENSE file at commit 547f5dfd83 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
Tushar-Verma (@vtushar06) has 1 selected repository on the hub.
Using XERJ with opencost
- Search text across Kubernetes pod logs from many pods opencost is tagged k8s on GitHub.
- Find every place a config key is set in a repo
- 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 opencost/opencost at the pinned commit and indexes it on your machine.
Search the GitHub repository opencost/opencost with XERJ (https://hub.xerj.org/corpus/opencost--opencost). 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/opencost/opencost opencost && git -C opencost checkout 547f5dfd831fa046160956b0c28af256466c6b7a 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./opencost --url http://127.0.0.1:9200 --prefix opencost --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: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
Tushar-VermaOperations and SRE corporainfracostcloud-custodiancheckovrahmankhanjohn/ocost-splitterOWASP/wrongsecretsInditexTech/kumoss
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.