deliver

Posts a condensed version of the briefing to a Google Chat or Slack incoming webhook, so the daily run delivers itself — skips silently when no webhook is…

npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill deliver

Deliver Skill

Use this skill as the final step of a sweep, after the briefing file is written. It closes the last mile: instead of the briefing waiting in the workspace until someone polls for it, the run pushes a condensed version to a chat space.

Usage

python3 skills/deliver/scripts/deliver.py .agents/workspace/briefings/<file>.md

The script:

  1. Looks for a webhook URL in /credentials/webhook.env (written into the environment by client/triggers.py create when CHAT_WEBHOOK_URL or SLACK_WEBHOOK_URL is set at creation time).
  2. If none is configured, prints a skip notice and exits 0 — delivery is optional and its absence is never an error.
  3. Condenses the briefing markdown for chat (headings bolded, links kept, capped below the ~4,096-character Chat message limit, with a note that the full briefing lives in the workspace).
  4. POSTs {"text": ...} to the webhook — the same wire format works for both Google Chat and Slack incoming webhooks.

Instructions for the Agent

  • Run this exactly once per sweep, after the briefing file exists, passing the briefing's path.
  • A "skipping delivery" message is normal operation — do not mention it as a problem in your output.
  • If the POST fails (non-2xx), report the status and response body verbatim in your final output — the briefing itself is already safely written, so a delivery failure never warrants rewriting it or retrying more than once.

More skills from google-gemini

greeter
google-gemini
A friendly greeter skill
official
code-reviewer
google-gemini
Automated code review for local changes and remote pull requests with structured analysis across correctness, maintainability, and security. Supports both local file system changes (staged and unstaged) and remote PRs (by number or URL) with automatic GitHub CLI checkout Analyzes code across seven dimensions: correctness, maintainability, readability, efficiency, security, edge case handling, and test coverage Runs optional preflight verification suites (e.g., npm run preflight ) to catch...
official
review-duplication
google-gemini
Use this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing…
official
reconciliation
google-gemini
Reconcile loaded expenses against the pre-parsed invoice database, flagging discrepancies like amount mismatches, missing invoices, and merchant mismatches…
official
agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
official
async-pr-review
google-gemini
Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR…
official
ci
google-gemini
A specialized skill for Gemini CLI that provides high-performance, fail-fast
official
critique
google-gemini
Expertise in auditing and fixing repository scripts and GitHub Actions workflows to ensure technical robustness and security.
official