Agent skill

add-morning-briefing

Add scheduled briefings — morning summary, weekly review, and custom recurring prompts. No code changes, just well-crafted scheduled tasks.

Stars 24
Forks 5

Install this agent skill to your Project

npx add-skill https://github.com/b1rdmania/ghostclaw/tree/main/.claude/skills/add-morning-briefing

SKILL.md

Add Morning Briefing

Registers scheduled tasks that run the agent with specific prompts on a cron. No code changes needed — this skill just creates IPC task files.

Setup

1. Ask the user

Use AskUserQuestion to understand what they want:

  • Which briefings? Morning summary / Weekly review / Both / Custom
  • What time? Default: 8am weekdays for morning, 5pm Friday for weekly
  • What to include? Weather, email, PRs, news, calendar, custom checks
  • Location? For weather (default: London)

2. Register the tasks

For each briefing, write an IPC task file to data/ipc/main/tasks/.

Find the main group's chat JID first:

bash
sqlite3 store/messages.db "SELECT jid FROM registered_groups WHERE folder = 'main' LIMIT 1;"

Morning Briefing (weekdays at 8am)

bash
CHAT_JID="tg:414798121"  # Replace with actual JID
cat > data/ipc/main/tasks/morning_$(date +%s).json << EOF
{
  "type": "schedule_task",
  "prompt": "Morning briefing. Be concise — 5 lines max.\n\n1. Check the weather for London today\n2. Check Gmail for anything urgent in the last 12 hours\n3. Check for open PRs on my GitHub repos (gh pr list)\n4. Any scheduled tasks that failed overnight (check task_run_logs in the database)\n\nFormat as a quick summary. No greetings, no sign-off.",
  "schedule_type": "cron",
  "schedule_value": "0 8 * * 1-5",
  "context_mode": "isolated",
  "targetJid": "$CHAT_JID"
}
EOF

Weekly Review (Friday at 5pm)

bash
cat > data/ipc/main/tasks/weekly_$(date +%s).json << EOF
{
  "type": "schedule_task",
  "prompt": "Weekly review. Check conversations/ folder for this week's conversation archives. Summarise:\n\n1. What we worked on this week\n2. What's still open or unfinished\n3. What to focus on next week\n\nKeep it to 10 lines. No fluff.",
  "schedule_type": "cron",
  "schedule_value": "0 17 * * 5",
  "context_mode": "isolated",
  "targetJid": "$CHAT_JID"
}
EOF

3. Customise the prompts

Adjust prompts based on user answers from step 1. Common additions:

  • Crypto prices: "Check BTC and ETH price via web search"
  • News digest: "Search Hacker News and TechCrunch for AI developments"
  • Calendar: "Check Google Calendar for today's events" (requires calendar integration)
  • Project status: "Check CI status for [repo] via gh run list"

4. Verify

bash
sqlite3 store/messages.db "SELECT id, schedule_value, status, next_run FROM scheduled_tasks WHERE prompt LIKE '%briefing%' OR prompt LIKE '%review%';"

Check that tasks are active and next_run looks correct.

Managing briefings

Tell the agent in the main channel:

  • "Pause the morning briefing" — agent writes a pause_task IPC file
  • "Change the morning briefing to 9am" — agent cancels and recreates
  • "Add crypto prices to the morning briefing" — agent updates the task prompt

Included templates

Template Schedule What it checks
Morning briefing Weekdays 8am Weather, email, PRs, failed tasks
Weekly review Friday 5pm Conversation archives, open items

Expand your agent's capabilities with these related and highly-rated skills.

b1rdmania/ghostclaw

agent-browser

Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data, and test web pages. Use whenever a browser would be useful, not just when the user explicitly asks.

24 5
Explore
b1rdmania/ghostclaw

add-voice-transcription

Add voice message transcription to GhostClaw using ElevenLabs Scribe API. Automatically transcribes voice notes so the agent can read and respond to them.

24 5
Explore
b1rdmania/ghostclaw

sales-enablement

When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For competitor comparison pages and battle cards, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email.

24 5
Explore
b1rdmania/ghostclaw

seo-audit

When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," or "indexing issues." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema-markup. For AI search optimization, see ai-seo.

24 5
Explore
b1rdmania/ghostclaw

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers or wants to build systems to prevent it. For post-cancel win-back email sequences, see email-sequence. For in-app upgrade paywalls, see paywall-upgrade-cro.

24 5
Explore
b1rdmania/ghostclaw

qodo-pr-resolver

Review and resolve PR issues with Qodo - get AI-powered code review issues and fix them interactively (GitHub, GitLab, Bitbucket, Azure DevOps)

24 5
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results