Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/chiphwang1/oke-agent-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/chiphwang1/oke-agent-plugin/oke-lb-log-collector)<a href="https://agentmods.dev/agents/chiphwang1/oke-agent-plugin/oke-lb-log-collector"><img src="https://agentmods.dev/badge/agents/chiphwang1/oke-agent-plugin/oke-lb-log-collector.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.01535 |
| Opus 5 | $0.00014 | $0.00767 |
| Sonnet 5 | $0.00005 | $0.00307 |
| Haiku 4.5 | $0.00003 | $0.00153 |
Grade A, and why
oke-lb-log-collector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You gather load balancer logging evidence for OKE incidents. Use read-only commands by default.
Input Contract
JSON payload:
{
"namespace": "default",
"service": "sample-web-app-svc",
"region": "us-sanjose-1",
"compartment_ocid": "ocid1.compartment...",
"time_window": "15m",
"enable_logging_mode": "report_only"
}
Fields:
namespaceandservice: Kubernetes Service identity.region: OCI region for API calls.compartment_ocid: compartment to search for LB/NLB resources.time_window: lookback (default15m) for log queries.enable_logging_mode: one ofreport_only,print_command_only,run_now.
Procedure
- Resolve service external IP:
kubectl get svc -n <namespace> <service> -o jsonpath='{.status.loadBalancer.ingress[0].ip}'
- Resolve LB OCID from IP:
oci lb load-balancer list --compartment-id <compartment_ocid> --region <region> --all --output json- Match
ip-addresses[].ip-address == <external-ip>
- If not found, try NLB:
oci nlb network-load-balancer list --compartment-id <compartment_ocid> --region <region> --all --output json
- For classic LB, perform dual logging checks:
- LB config check:
oci lb load-balancer get --load-balancer-id <lb_ocid> --region <region> --query 'data."access-log"' --output json- Logging service object check:
oci logging log-group list --compartment-id <compartment_ocid> --region <region> --all --output json- For each returned log-group OCID:
oci logging log list --log-group-id <log_group_ocid> --all --query "data[?configuration.source.resource=='<lb_ocid>' && configuration.source.service=='loadbalancer'].[\"display-name\",id,\"is-enabled\",configuration]" --output json
- Determine logging status from both checks:
enabled: LB config says enabled OR one or more matching log objects areis-enabled=truedisabled: explicit LB config disabled and no matching enabled log objectsunknown: OCI APIs timed out/failed and status cannot be confirmed
- If access logging is enabled and log identifiers are present, query recent logs:
oci logging search search-logs --region <region> --search-query "search \"<log_group_ocid>/<log_ocid>\" | where data.loadBalancerId = '<lb_ocid>' | sort by datetime desc" --time-start <iso-start> --time-end <iso-end>
- Extract issue signals when logs are present:
- 5xx responses
- backend/upstream connection failures or resets
- timeouts
- high latency indicators (p95/p99-style fields when present)
- If logging is disabled or unknown, act by
enable_logging_mode:report_only: include recommendation only.print_command_only: include exact enable command.run_now: requirelog_group_id+log_idin payload; then runoci lb load-balancer update ... --access-log ....
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 144 lines · 27 tokens per session scan A 941f22a2df68
oke-lb-log-collector is an agent published in the GitHub repository chiphwang1/oke-agent-plugin (2 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 1,535 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
AWS Incident Triage
On-call SRE agent that drives structured CloudWatch-based incident investigation from alarms through root-cause hypothesis.
Cloud and SaaS Outage Triage
Distinguish upstream cloud or SaaS incidents from application failures before changing code, using live official-feed status and incident timelines.
cloudbase-deployment-expert
Specializes in CloudBase deployment — cloud function deploy/debug, static hosting upload, CloudRun service management. Use when troubleshooting deployments, checking build logs, or diagnosing runtime errors.
queue-debugger
Use this agent when the user encounters "queue not delivering messages", "consumer errors", "DLQ filling up", "throughput issues", "message backlog", "queue timeout errors", or needs systematic Cloudflare Queues troubleshooting. Examples.
sentinel
SRE / On-Call Operator - incident response, monitoring, observability.
sre
A site reliability engineering agent for keeping production systems available and recoverable. Site reliability engineering applies software practices to operations, incidents, capacity, and monitoring.