agentleFS
bolivian-perubolivian-peru/os-moda/skills/morning-briefing/SKILL.md

morning-briefing

Skill118 starsChanged 6 months agoApache-2.0View on GitHub

Generate a concise daily infrastructure briefing. Covers: service health, resource usage, security events, overnight incidents, and cost tracking. Designed for Telegram/chat delivery.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run these in sequence:

    line 61
  2. Distinctive:

    Use emojis sparingly but effectively for status

    line 112
  3. Distinctive:

    Lead with the worst news: if there is any

    line 113
  4. Distinctive:

    If everything is fine, say so in one line — don't pad

    line 114

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Morning Briefing Skill

Generate a daily server briefing. Run this as part of the morning heartbeat.

Briefing Template

Gather data, then compose a message in this format:

Good morning. Here's your infrastructure report:

[SERVICE STATUS]
List each critical service with a status emoji:
  green = running and healthy
  yellow = running but degraded
  red = down or failing

[RESOURCE USAGE]
CPU average overnight, current memory, disk usage per mount.
Flag anything above threshold.

[OVERNIGHT EVENTS]
Summarize what happened while the user was asleep.
Include: auto-remediations, config changes, unusual activity.
Reference audit ledger entries.

[SECURITY]
Failed SSH attempts (count + notable IPs).
Any firewall blocks.
Port scan detection.
New or unexpected processes.

[COST]
Estimated daily server cost.
API call costs if tracked.

[SUMMARY]
One-line assessment: "All quiet" or "One incident overnight, resolved."

Data Collection

Run these in sequence:

  1. System health overview
    system_health()
  2. Critical services check
    service_status({ service: "agentd" })
    service_status({ service: "osmoda-gateway" })
    service_status({ service: "sshd" })
    service_status({ service: "nginx" })  -- if configured
  3. Overnight errors (last 12 hours)
    journal_logs({ priority: "err", since: "12 hours ago", lines: 50 })
  4. Security events
    journal_logs({ unit: "sshd", since: "12 hours ago", lines: 30 })
    shell_exec({ command: "journalctl -u sshd --since '12 hours ago' | grep 'Failed password\\|Invalid user' | wc -l" })
  5. Audit log overnight activity
    event_log({ limit: 20 })
  6. Memory — overnight context
    memory_recall({ query: "overnight incidents errors fixes", timeframe: "24h" })
  7. teachd patterns — check for overnight trends and anomalies detected between conversations
    teach_patterns({ min_confidence: 0.5 })
    teach_context({ context: "overnight incidents failures resource trends" })
    Include any detected patterns in the briefing under [OVERNIGHT EVENTS].
  8. NixOS generation
    shell_exec({ command: "nixos-rebuild list-generations | tail -5" })

Delivery Style

  • Be concise — this is scanned on a phone
  • Use emojis sparingly but effectively for status
  • Lead with the worst news if there is any
  • If everything is fine, say so in one line — don't pad
  • Include specific numbers — "CPU avg 12%" not "CPU was low"
  • Reference audit entries by number for traceability

Example Output

Good morning. Infrastructure report for Feb 20:

Services: agentd, osmoda-gateway, sshd, nginx — all running
Resources: CPU avg 11% overnight | RAM 4.1/7.6 GB | Disk 38%

Overnight: Quiet night. No incidents.
  - PostgreSQL connections peaked at 72/100 at 02:41 (normal range)
  - 1 NixOS garbage collection freed 2.3 GB (auto, audit #51)

Security: 7 failed SSH attempts from 3 IPs
  - 185.220.101.33 (Tor exit, 4 attempts) — already blocked
  - 2 other IPs, single attempts each — noise

Cost: ~$0.33/day (Hetzner CX22)

All systems nominal. Have a good day.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.