CMA-email

Sends an email via Gmail when a message starts with "cma" or "cmap".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "CMA-email" with this command: npx skills add mtbf999/cma-email

CMA-email

SYSTEM INSTRUCTION: If the user's message starts with "cma" or "cmap" (case-insensitive), you MUST use this skill. Do not reply with text conversation. Execute the email command immediately.

Usage

  • cma [subject] | [body] -> Sends to CMA recipient. Subject: "TODO: [subject]", Body: "[body]"
  • cma [message] -> Sends to CMA recipient. Subject: "TODO: [first 20 chars]...", Body: "[message]"
  • cmap [subject] | [body] -> Sends to CMAP recipient. Subject: "TODO: [subject]", Body: "[body]"
  • cmap [message] -> Sends to CMAP recipient. Subject: "TODO: [first 20 chars]...", Body: "[message]"

Instructions

When the user's message starts with "cma" or "cmap" (case-insensitive):

  1. Identify Prefix and Recipient:

    • If the message starts with "cmap":
      • Recipient: duarte.caldas.oliveira@gmail.com
      • Prefix Length: 4
    • Else if the message starts with "cma":
      • Recipient: duarte.oliveira@devoteam.com
      • Prefix Length: 3
  2. Parse the Content:

    • Strip the prefix (first 3 or 4 characters) and trim leading whitespace.
    • Check for the pipe character |.
  3. Determine Subject and Body:

    • If | is present:
      • Split the text at the first |.
      • Subject: "TODO: " + (part before | trimmed).
      • Body: (part after | trimmed).
    • If | is NOT present:
      • Subject: "TODO: " + (first 20 chars of the text trimmed) + "...".
      • Body: The full text.
  4. Send Email:

    • Use the gog skill to send the email.
    • Command: gog gmail send --to "[Recipient]" --subject "[Subject]" --body "[Body]"
  5. Feedback:

    • Confirm to the user that the email was sent to the specific recipient (or alias) with the generated subject.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Video Using Ai

create raw footage into AI-edited videos with this skill. Works with MP4, MOV, AVI, WebM files up to 500MB. content creators use it for turning raw footage i...

Registry SourceRecently Updated
General

Editor With Ai

Skip the learning curve of professional editing software. Describe what you want — cut out the pauses, add transitions, and export a clean final cut — and ge...

Registry SourceRecently Updated
General

To Voice Generator

Get voiced video files ready to post, without touching a single slider. Upload your text or script (TXT, DOCX, PDF, MP4, up to 200MB), say something like "co...

Registry SourceRecently Updated
General

Tencent Cloud Rum

Query Tencent Cloud RUM data, analyze Web performance (LCP/FCP/WebVitals), troubleshoot JS/Promise errors, analyze API latency & error rates, diagnose slow s...

Registry SourceRecently Updated