Xpersona
S

Stock Announcement

CLAWHUB · Unverified

Daily stock portfolio analysis with Gmail report delivery and Sonos voice announcement Skill: Stock Announcement Owner: terrycarter1985 Summary: Daily stock portfolio analysis with Gmail report delivery and Sonos voice announcement Tags: latest:99.99.99 Version history: v99.99.99 | 2026-05-12T00:12:01.254Z | user test v1.1.0-fix.1 | 2026-05-12T00:11:46.886Z | user Fix: Gmail sending via Maton gateway (resolves credential failures). Fix: Sonos announcement via TTS+queue play (resolves no-response). Add

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17brwfrqyjhbjgadkvar20h8x8492g8:stock-announcement
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-terrycarter1985-stock-announcement/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

30,888 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

# Stock Announcement Skill

Daily stock portfolio analysis with Gmail report delivery and Sonos voice announcement.

## What it does

1. Fetches portfolio performance via yfinance
2. Sends an HTML email report via Gmail API
3. Announces a summary on a Sonos speaker via TTS + sonoscli

## Prerequisites

- Python 3.9+ with `yfinance`, `pandas`, `google-api-python-client`, `google-auth-oauthlib`, `gtts`
- `sonos` CLI installed and speakers discoverable on the network
- Gmail OAuth token at `config/token.json` (relative to workspace root)
- Environment variables: `RECIPIENT_EMAIL`, `SONOS_SPEAKER` (optional, defaults to "Living Room")

## Usage

```bash
python scripts/daily_stock_announcement.py
```

## Changelog (v1.1.0)

- Fix: Gmail token path now resolved as absolute from script directory
- Fix: Sonos announcement uses TTS audio generation + `sonos queue play` instead of unsupported `sonos say`
- Fix: Retry with exponential backoff for Gmail and Sonos (3 retries, 5s base)
- Fix: Non-zero exit code on critical step failure

_meta.json

{
  "ownerId": "kn72jmd20ws94jr0p8b3p24wyn82abgj",
  "slug": "stock-announcement",
  "version": "99.99.99",
  "publishedAt": 1778544721254
}

skill-card.md

## Description:

Daily stock portfolio analysis with Gmail report delivery and Sonos voice announcement.

This skill is ready for commercial/non-commercial use.

## Publisher:

[terrycarter1985](https://clawhub.ai/user/terrycarter1985)

### License/Terms of Use:

MIT-0

## Use Case:

Users with a configured portfolio workflow use this skill to generate a daily stock performance report, send it through Gmail, and announce a short summary on a Sonos speaker.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Financial portfolio summaries may be sent through the configured Gmail account.

Mitigation: Use a trusted recipient address and confirm that email delivery is acceptable for the portfolio information being summarized.

Risk: Financial summaries may be spoken aloud on the configured Sonos speaker.

Mitigation: Limit speaker selection to locations where the summary can be heard only by intended listeners.

Risk: The workflow depends on a Gmail OAuth token file.

Mitigation: Protect the Gmail OAuth token file and restrict workspace access to trusted users.

## Reference(s):


## Skill Output:

**Output Type(s):** [Text, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with inline shell commands and configuration details]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces portfolio summaries that may be delivered as HTML email content and spoken audio through configured external services.]

## Skill Version(s):

99.99.99 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

skill.yaml

name: stock_announcement
version: 1.1.0
description: Daily stock portfolio analysis with Gmail report delivery and Sonos voice announcement
author: openclaw-workspace
homepage: https://clawhub.ai
changelog: |
  - Fix: Gmail send now uses absolute token path resolved from script directory, preventing credential-not-found failures when run from different working directories
  - Fix: Sonos announcement replaced unsupported `sonos say` command with TTS audio generation (gtts/espeak) + `sonos queue play` playback
  - Fix: Added retry with exponential backoff for both Gmail send and Sonos announcement (3 retries, 5s base delay)
  - Fix: Script exits with non-zero code when either critical step fails, enabling cron/monitoring detection
tags:
  - stocks
  - finance
  - gmail
  - sonos
  - announcement
  - portfolio
requires:
  bins:
    - sonos
  python:
    - yfinance
    - pandas
    - google-api-python-client
    - google-auth-oauthlib
    - gtts
  env:
    - RECIPIENT_EMAIL
    - SONOS_SPEAKER
files:
  - scripts/daily_stock_announcement.py
  - config/clawhub.json
entry: scripts/daily_stock_announcement.py

Sponsored

Ads related to Stock Announcement and adjacent AI workflows.