Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Logs Errors On Day?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/yeeyon-logs-errors-on-day)
---
name: logs-errors-on-day
description: Count the error logs of one service on one earlier day.
---
Use this when a request asks for the logs of one earlier calendar day, not the last 24 hours. query_logs returns the last 24 hours unless `from` is `archive:` followed by the day.
Parameters: `day` (YYYY-MM-DD), `service`. Change them to fit the request, then run the program below with `run_code` and answer from its return value.
```js
// playbook logs-errors-on-day
const day = '2026-10-01'
const service = 'payments'
const text = await call('mcp__bench__query_logs', { from: 'archive:' + day })
const rows = text
.split('\n')
.map(line => line.split('\t'))
.filter(c => c.length === 4 && c[0] === service && c[2] === 'error')
return { day, service, errors: rows.reduce((n, c) => n + Number(c[3]), 0) }
```