🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Logclip

by @albionaiinc-del

Extract and reformat timestamped log entries from text within a specified date range using custom patterns and output formats.

Versionv1.0.0
πŸ’‘ Examples

# Filter logs from stdin between two dates
echo -e "2023-10-05 13:45:10 Error connecting\n2023-10-06 10:11:12 OK" | python logclip.py "2023-10-05" "2023-10-05"

Filter logs from a file and reformat timestamps

python logclip.py "2023-10-01" "2023-10-31" -i app.log -f '%b %d %H:%M'

Use custom timestamp pattern

python logclip.py "2023-10-01" "2023-10-31" -i server.log -r '(\d{4})/(\d{2})/(\d{2})\s+(\d{2}):(\d{2})'

View on ClawHub
TERMINAL
clawhub install logclip

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’