loki
Skill13 starsChanged 27 days agoMITView on GitHub
Like Prometheus, but for logs. Works Well With: prometheus
4 other projects use a version of this.
Adopted by
Most recently taken up by
- sirdavidhuang/claude-code-skillstheir own version, first seen Nov 29, 2026
- grafana/skillstheir own version, first seen Oct 27, 2026
- Egoushka/agent-skillstheir own version, first seen Sep 26, 2026
- Rahlir/clanker-stufftheir own version, first seen Aug 10, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- grafana/skills★ 302same name
- Rahlir/clanker-stuff★ 2same name
- Egoushka/agent-skills★ 0same name
- sirdavidhuang/claude-code-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository140 other files it gives its agents.
- algoliaSkill
- anthropic-mcpSkill
- anthropicSkill
- argo-cdSkill
- auth0Skill
- aws-bedrockSkill
- aws-dynamodbSkill
- aws-lambdaSkill
- aws-s3Skill
- azure-blob-storageSkill
- azure-openaiSkill
- better-authSkill
- better-sqlite3Skill
- biomeSkill
- braintreeSkill
- bullmqSkill
- caddySkill
- chromadbSkill
- clerkSkill
- cloudflare-d1Skill
- cloudflare-r2Skill
- cloudflareSkill
- cloudflare-workersSkill
- cloudinarySkill
- cohereSkill
- convexSkill
- datadogSkill
- deepgramSkill
- deepseekSkill
- deno-deploySkill
- digitaloceanSkill
- discordSkill
- dockerSkill
- drizzleSkill
- elevenlabsSkill
- eslintSkill
- expressSkill
- fastapiSkill
- firebaseSkill
- flySkill
- geminiSkill
- github-actionsSkill
- githubSkill
- gitSkill
- google-cloud-runSkill
- google-cloud-storageSkill
- google-maps-platformSkill
- grafanaSkill
- groqSkill
- helmSkill
- honoSkill
- inngestSkill
- jaegerSkill
- jwtSkill
- kafkaSkill
- kubernetesSkill
- langchainSkill
- langfuseSkill
- langgraphSkill
- lemon-squeezySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Do not expect to do complex full-text fuzzy searching natively.
- Distinctive: line 33
Do not inject dynamic, unbounded user data (like session IDs or IPs) as Loki Labels.
- Distinctive: line 44
Use this when your agent works with loki — structured patterns beat pasted docs and prevent common hallucinations.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Loki Skill
Like Prometheus, but for logs.
Ecosystem Graph
graph LR
loki["Loki"]
loki -- "depends on" --> grafana
loki -- "works well with" --> prometheusQuick Start
Loki aggregates logs but, unlike Elasticsearch, it only indexes metadata labels rather than the full text of the log. This makes it insanely cheap and fast to operate.
docker run -d -p 3100:3100 grafana/lokiProduction Patterns
LogQL vs Full Text
Do not expect to do complex full-text fuzzy searching natively. Loki forces you to filter by labels first (e.g., {app="backend", env="prod"}), and then it aggressively scans the chunks of text that match those labels.
Architecture & Scaling
Promtail
Loki requires an agent to ship logs. Promtail is the official agent. Deploy Promtail as a DaemonSet in Kubernetes to automatically scrape all pod stdout logs and forward them to the centralized Loki instance.
Error Recovery
Loki will actively reject logs if they are sent out of chronological order (a common issue in highly distributed systems). Ensure you configure unordered_writes: true in your Loki configuration to mitigate this.
Security Notes
Do not inject dynamic, unbounded user data (like session IDs or IPs) as Loki Labels. This causes Cardinality explosions, crashing the system. Log the dynamic data in the text payload, and only label static data (app name, region, environment).
Relationships
Prerequisites: grafana
Works Well With: prometheus
References
Why use this skill
Use this when your agent works with loki — structured patterns beat pasted docs and prevent common hallucinations.
AI pitfalls
- Using outdated SDK or API versions from training data
- Inventing environment variable names
- Omitting error handling and retry logic
Production checklist
- Secrets in environment variables, not source code
- Error handling and logging in place
- Rate limits and timeouts configured
Related skills
grafana— depends onprometheus— works well with
Last Verified: 2026-07-02
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

