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.
npx skills add talkops-ai/talkops-mcp --skill operating-loki-deployments-and-ingestiongit clone --depth 1 https://github.com/talkops-ai/talkops-mcpWrote 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/skills/talkops-ai/talkops-mcp/operating-loki-deployments-and-ingestion)<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/operating-loki-deployments-and-ingestion"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/operating-loki-deployments-and-ingestion/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/operating-loki-deployments-and-ingestion"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/operating-loki-deployments-and-ingestion.svg" alt="Reviewed on agentmods" width="80" 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.00193 | $0.01850 |
| Opus 5.5 | $0.00077 | $0.00740 |
| Sonnet 5.5 | $0.00039 | $0.00370 |
| Haiku 4.5 | $0.00019 | $0.00185 |
Grade A, and why
operating-loki-deployments-and-ingestion 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 11d 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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Operating Loki Deployments and Ingestion
Use this skill to operate, diagnose, size, and govern Grafana Loki 3.x deployments—covering ingestion drop remediation, Compactor GDPR/PII log deletion lifecycles, OTel/Alloy collector pipelines, and Kubernetes LokiStack (loki.grafana.com/v1) Custom Resources.
Operational Workflows
Workflow 1: Diagnose Cluster Health & Discarded Samples
- Read
loki://system/health,loki://server/capabilities(checkingallow_writebefore any mutation!), and references/alloy-promtail-otel-ingestion.md. - Call
loki_get_diagnostics(include_metrics=True, org_id=...)to inspect/ready,/config(runtime_config:compactor,limits_config,schema), and/metricsloki_discarded_samples_totalbyreason(cross-checkingloki_analyze_volumewhen rate limits fire):per_stream_rate_limit: Split monolithic{job="..."}streams by boundedservice_name+namespacewhile keepingpod/container/nodeinstructured_metadata.rate_limited: Raiseingestion_rate_mb/ingestion_burst_size_mbor drop noisy logs at the collector.max_global_streams_per_user: Move dynamic labels (pod,trace_id,ip) out of{}intostructured_metadata.line_too_long: Enablelimits_config.max_line_size_truncate: trueor collector truncation.greater_than_max_sample_age/timestamp_too_old: Caused byreject_old_samples_max_age(168hdefault)—fix NTP skew, rewrite archival replay timestamps to ingestion time in OTel Collector (otlphttp/otlp) / Alloy while keeping original event time in payload/structured metadata, or raisereject_old_samples_max_ageper tenant (unordered_writes: truehandles out-of-order writes within max-age).
Workflow 2: Safe Compactor GDPR/PII Log Deletion
- Verify Compactor Prerequisites First: Read references/compactor-retention-and-deletion.md, call
loki_get_diagnostics, and readloki://compactor/delete-requeststo confirmcompactor.retention_enabled: trueandcompactor.delete_request_store(s3/gcs/azure/filesystem) are configured! If disabled, explain why/loki/api/v1/deleterequires durable request tracking and render the requiredcompactor:YAML viarender_loki_architecture_config.py. - Block Unbounded Deletions: Never submit whole-namespace or filterless delete requests (
{namespace="<namespace>"}over 7–30 days)—Compactor/loki/api/v1/deleterewrites every matching chunk in object storage (massive I/O amplification and audit-log loss). Direct storage reclamation tolimits_config.retention_period/retention_stream. - 4-Step Scoped PII Scrub (
action="create"):- Scope exact blast radius first with read-only
loki_query_range({service_name="<service>", namespace="<namespace>"} |= "<pii_field>="). - Preview via
loki_manage_delete_requests(action="create", query=..., start=..., end=..., dry_run=True, org_id=...). - Execute
loki_manage_delete_requests(action="create", ..., dry_run=False, confirm=True, org_id=...)and verifyloki://compactor/delete-requests(notingretention_delete_delay, typically2h).
- Scope exact blast radius first with read-only
- Cancel Pending Mistaken Requests (
action="cancel"):- Read
loki://compactor/delete-requeststo verifystatus: "received", callloki_manage_delete_requests(action="cancel", request_id="...", dry_run=True, org_id=...)first, then executedry_run=False, confirm=Trueand re-readloki://compactor/delete-requests.
- Read
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 55 lines · 193 tokens per session scan A ff9cadb8fe7c
operating-loki-deployments-and-ingestion is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 193 tokens to every session and 1,850 once invoked, about $0.0008 per session on Opus 5.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-11-18.
operating-loki-deployments-and-ingestion compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| operating-loki-deployments-and-ingestiontalkops-ai/talkops-mcp | Skill | 4 | 12d ago | Apache-2.0 | A | 193 | Claude Code, Codex |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | today | Apache-2.0 | A | 31 | Claude Code |
| n8n-validation-expertczlonkowski/n8n-mcp | Skill | 23k | 3d ago | MIT | A | 91 | Claude Code, Codex |
| n8n-error-handlingczlonkowski/n8n-mcp | Skill | 23k | 3d ago | MIT | A | 128 | Claude Code, Codex |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | 2d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| openlore-analyze-codebaseclay-good/OpenLore | Skill | 369 | today | MIT | A | 48 | Claude Code, Codex |
| flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutter | Skill | 401 | 3d ago | MIT | A | 58 | Claude Code |