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 aspectrr/deer --skill log-aggregationgit clone --depth 1 https://github.com/aspectrr/deerWrote 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/aspectrr/deer/log-aggregation)<a href="https://agentmods.dev/skills/aspectrr/deer/log-aggregation"><img src="https://agentmods.dev/badge/skills/aspectrr/deer/log-aggregation/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/aspectrr/deer/log-aggregation"><img src="https://agentmods.dev/badge/skills/aspectrr/deer/log-aggregation.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.00044 | $0.01496 |
| Opus 5.5 | $0.00018 | $0.00598 |
| Sonnet 5.5 | $0.00009 | $0.00299 |
| Haiku 4.5 | $0.00004 | $0.00150 |
Grade B, and why
log-aggregation scanned grade B with 2 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 3mo 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
curl -X PUT localhost:9200/my-index -H 'Content-Type: application/json' -d ' Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s localhost:9200/_cluster/health?pretty How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Log Aggregation (ELK Stack)
When to Use
- Deploying or configuring Elasticsearch clusters
- Building Logstash pipelines (inputs, filters, outputs)
- Configuring Filebeat/Metricbeat/Heartbeat shippers
- Setting up Kibana dashboards and alerts
- Debugging log flow from source to Elasticsearch
- Diagnosing cluster health (red/yellow status)
Elasticsearch
Cluster Health
# Overall cluster status
curl -s localhost:9200/_cluster/health?pretty
# Node-level stats
curl -s localhost:9200/_nodes/stats?pretty
# Shard allocation explanation (when yellow/red)
curl -s localhost:9200/_cluster/allocation/explain?pretty
# Index-level health
curl -s localhost:9200/_cat/indices?v&health=yellow
curl -s localhost:9200/_cat/indices?v&health=red
Index Management
# List indices with sizes
curl -s localhost:9200/_cat/indices?v&h=index,docs.count,store.size,pri,rep
# Create index with mapping
curl -X PUT localhost:9200/my-index -H 'Content-Type: application/json' -d '
{
"mappings": {
"properties": {
"@timestamp": { "type": "date" },
"message": { "type": "text" },
"host": { "type": "keyword" },
"level": { "type": "keyword" }
}
}
}'
# Delete index
curl -X DELETE localhost:9200/my-index
# Force merge (reduce segments)
curl -X POST "localhost:9200/my-index/_forcemerge?max_num_segments=1"
Cluster Red/Yellow Diagnosis
- Check health:
curl localhost:9200/_cluster/health?pretty - Check unassigned shards:
curl localhost:9200/_cat/shards?v&h=index,shard,_pri,state,node&s=state - Get allocation explanation:
curl -X POST localhost:9200/_cluster/allocation/explain?pretty - Common causes: disk watermark exceeded, node down, replica count > data nodes
- Check disk:
curl localhost:9200/_cat/allocation?v - Check settings:
curl localhost:9200/_cluster/settings?include_defaults=true&flat_settings=true
Logstash
Pipeline Configuration
# /etc/logstash/pipeline/my-pipeline.conf
input {
kafka {
bootstrap_servers => "kafka:9092"
topics => ["logs"]
group_id => "logstash-consumer"
consumer_threads => 4
}
}
filter {
grok {
match => { "message" => "%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level} %{GREEDYDATA:msg}" }
}
date {
match => ["timestamp", "ISO8601"]
target => "@timestamp"
}
mutate {
remove_field => ["timestamp"]
}
}
output {
elasticsearch {
hosts => ["elasticsearch:9200"]
index => "logs-%{+YYYY.MM.dd}"
}
}
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.
- 3mo ago First seen · 219 lines · 44 tokens per session scan B 2a2bc17ebd48
log-aggregation is a skill published in the GitHub repository aspectrr/deer (405 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 1,496 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
log-aggregation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| log-aggregationaspectrr/deer | Skill | 405 | 7mo ago | MIT | B | 44 | Claude Code, Codex |
| architecture-diagrammateaix/mateclaw | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| makefile-generationathola/claude-night-market | Skill | 358 | today | MIT | A | 31 | Claude Code |
| sitesCloudgeni-ai/opengeni | Skill | 229 | today | Apache-2.0 | A | 125 | Codex |
| terraform-search-importCloudgeni-ai/opengeni | Skill | 229 | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| team-topologyCotal-AI/Cotal | Skill | 414 | today | Apache-2.0 | A | 168 | Claude Code |
| skill-managementCloudgeni-ai/opengeni | Skill | 229 | today | Apache-2.0 | A | 31 | Claude Code, Codex |