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 asaotomo/DeepSentry --skill log-analysisgit clone --depth 1 https://github.com/asaotomo/DeepSentryWrote 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/asaotomo/deepsentry/log-analysis)<a href="https://agentmods.dev/skills/asaotomo/deepsentry/log-analysis"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/log-analysis/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/asaotomo/deepsentry/log-analysis"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/log-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00030 | $0.00452 |
| Opus 5.5 | $0.00012 | $0.00181 |
| Sonnet 5.5 | $0.00006 | $0.00090 |
| Haiku 4.5 | $0.00003 | $0.00045 |
Grade A, and why
log-analysis scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- 对 Top IP 查询归属地: `curl ipinfo.io/<IP>` What it actually says
日志分析 Skill
何时使用
- 用户要求分析登录日志、Web 访问日志、系统日志
- 需要找出攻击源 IP、暴力破解、异常登录时间
- 需要关联 IP 归属地或威胁情报
工作流程
-
确认日志路径
- Linux:
/var/log/auth.log,/var/log/secure,/var/log/nginx/access.log - Windows:
C:\Windows\System32\LogFiles\
- Linux:
-
提取关键事件
# SSH 失败登录 Top 10 grep "Failed password" /var/log/auth.log | awk '{print $(NF-3)}' | sort | uniq -c | sort -rn | head -10 # 最近 24 小时失败登录 grep "$(date +%b\ %d)" /var/log/auth.log | grep -i "failed\|invalid" -
时间线重建
- 按时间排序关键事件
- 识别攻击窗口(集中失败 -> 成功登录)
-
威胁关联
- 对 Top IP 查询归属地:
curl ipinfo.io/<IP> - 标记已知恶意 IP 段
- 对 Top IP 查询归属地:
输出格式
## 日志分析结论
- 分析范围: [日志文件 + 时间范围]
- 攻击 IP Top N: [IP | 次数 | 归属地]
- 关键事件时间线: [时间 | 事件 | IP]
- 风险等级: [高/中/低]
- 建议措施: [封禁/监控/加固]
注意事项
- 优先使用 grep/awk 而非全量 cat
- 大日志文件先用 tail/head 采样
- 禁止删除或修改日志文件
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.
- 1mo ago First seen · 54 lines · 30 tokens per session scan A 5896a25a542e
log-analysis is a skill published in the GitHub repository asaotomo/DeepSentry (38 stars, last pushed 3d ago), licensed Apache-2.0. It adds 30 tokens to every session and 452 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
go-expert
Expert-level Go development with Go 1.22+ features, concurrency, standard library, and production-grade best practices. Use when the user mentions concurrency, microservices, or backend, or when the task involves idiomatic Go, goroutines and channels, context-based cancellation, or writing an HTTP server.
golang-testing
Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.
golang-patterns
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.
skill-creator
Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.
image-generation
Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.
ax-go-gen
Use when writing Go code with github.com/ax-llm/ax/packages/go for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.