time-logger
by bytesagain
Log time entries and see where your hours go each day. Use when scanning hours, monitoring totals, reporting summaries, ranking categories.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/bytesagain/time-logger文档
Time Logger
Time Logger v2.0.0 — a sysops toolkit for logging, monitoring, and managing system operations from the command line. All data is stored locally in flat log files with timestamps, making it easy to review history, export records, and search across entries.
Commands
Run scripts/script.sh <command> [args] to use.
Core Operations
| Command | Description |
|---|---|
scan <input> | Log a scan entry (e.g. system scans, resource discovery) |
monitor <input> | Log a monitor entry (e.g. uptime monitoring, service checks) |
report <input> | Log a report entry (e.g. daily/weekly summaries, incident reports) |
alert <input> | Log an alert entry (e.g. threshold alerts, anomaly warnings) |
top <input> | Log a top entry (e.g. top resource consumers, peak usage) |
usage <input> | Log a usage entry (e.g. CPU/memory/disk usage snapshots) |
check <input> | Log a check entry (e.g. health checks, verification results) |
fix <input> | Log a fix entry (e.g. applied patches, resolved issues) |
cleanup <input> | Log a cleanup entry (e.g. temp file removal, log rotation) |
backup <input> | Log a backup entry (e.g. backup runs, snapshot records) |
restore <input> | Log a restore entry (e.g. recovery operations, data restores) |
log <input> | Log a generic log entry (e.g. free-form notes, misc events) |
benchmark <input> | Log a benchmark entry (e.g. performance baselines, load tests) |
compare <input> | Log a compare entry (e.g. before/after comparisons, diff results) |
Each command without arguments shows the 20 most recent entries for that category.
Utility Commands
| Command | Description |
|---|---|
stats | Summary statistics across all log categories with entry counts and disk usage |
export <fmt> | Export all data in json, csv, or txt format |
search <term> | Search across all log files for a keyword (case-insensitive) |
recent | Show the 20 most recent entries from the global activity history |
status | Health check — version, data directory, total entries, disk usage, last activity |
help | Show full usage information |
version | Show version string (time-logger v2.0.0) |
Data Storage
All data is persisted locally under ~/.local/share/time-logger/:
<command>.log— One log file per command (e.g.scan.log,monitor.log,backup.log)history.log— Global activity log with timestamps for every operationexport.<fmt>— Generated export files (json/csv/txt)
Each entry is stored as YYYY-MM-DD HH:MM|<input> (pipe-delimited). No external services, no API keys, no network calls — everything stays on your machine.
Requirements
- Bash 4.0+ with
set -euo pipefail - Standard Unix utilities:
date,wc,du,grep,tail,cat,sed,basename - No external dependencies or packages required
- No API keys or accounts needed
When to Use
- Tracking system operations — Log scans, monitors, and health checks to build a searchable history of your sysops activities
- Recording incident response — Use
alert,fix, andrestoreto document the lifecycle of an incident from detection through resolution - Auditing maintenance tasks — Track
cleanup,backup, andrestoreoperations so you can prove compliance and trace back when actions occurred - Benchmarking and comparing — Use
benchmarkandcompareto record performance baselines and before/after results across system changes - Generating ops reports — Use
reportto log periodic summaries, thenexport jsonto pull structured data for dashboards or handoffs
Examples
# Log a system scan
time-logger scan "Full port scan on 192.168.1.0/24 — 12 hosts found"
# Record a monitoring event
time-logger monitor "nginx upstream response time spiked to 2.3s"
# Log an alert
time-logger alert "Disk usage on /var exceeded 90% threshold"
# Record a fix applied
time-logger fix "Rotated nginx logs and freed 4.2GB on /var"
# Search for all entries mentioning 'nginx'
time-logger search nginx
# Export everything to JSON
time-logger export json
# View summary statistics
time-logger stats
# Check recent activity
time-logger recent
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
相关 Skills
安全专家
by alirezarezvani
覆盖威胁建模、漏洞评估、安全架构设计、代码审计与渗透测试,内置 STRIDE、OWASP、加密模式和安全扫描流程,适合系统设计评审与上线前安全排查。
✎ 安全专家把威胁建模、漏洞分析到渗透测试串成一套流程,内置 STRIDE 与 OWASP 指南,做安全设计和排查更省心。
安全运营
by alirezarezvani
覆盖应用安全、漏洞管理与合规审计,支持代码/依赖扫描、CVE 评估、Secrets 检测和安全自动化,适合做安全基线落地、漏洞响应、审计检查与安全开发治理。
✎ 应用安全、漏洞管理和合规检查一套打通,还能自动化扫描与响应,帮团队更早发现并收敛风险。
安全审计
by alirezarezvani
安装前审计 Claude Code Skill 的代码执行、Prompt 注入和依赖供应链风险,支持本地目录或 Git 仓库扫描,输出 PASS/WARN/FAIL 结论及修复建议
✎ 把代码审查、漏洞扫描和合规检查串成一条线,帮团队更早发现风险,做安全治理更省心。
相关 MCP 服务
by Sentry
搜索和分析 Sentry 错误报告,辅助调试。
✎ 把零散的 Sentry 错误报告变成可检索线索,帮你在海量报错里更快定位线上故障,排障调试明显省时。
by sinewaveai
为 AI agents 提供安全层:拦截 prompt injection、识别伪造 packages,并扫描漏洞风险。
✎ 给 AI Agent 补上关键安全层,能拦截 prompt 注入、识别伪造包并扫描漏洞风险,把防护前置更省心。
by pantheon-security
强化安全性的 NotebookLM MCP,集成 post-quantum encryption,提升数据防护能力。