SkillAgentSearch skills...

cloudflare-email-telegram-cursorrules-prompt-file

Cursor rules for setting up email-to-Telegram forwarding via Cloudflare Email Routing and Workers using the mail2tg CLI.

Install / Use

npx skills add PatrickJS/awesome-cursorrules

Installs into whichever agent you are using.

About this skill
📦

Other

Other agent config

Quality Score

89/100

Category

Automation

Supported Platforms

Cursor

Our assessment of cloudflare-email-telegram-cursorrules-prompt-file

cloudflare-email-telegram-cursorrules-prompt-file scores 89/100 on our quality scale, 1313th of 2,863 Automation skills we index (top 46%).

Its Other is 2.7 KB long, well organised into 10 sections with 2 code examples: a solid amount of guidance for an agent.

With 41,108 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
18/20
Description
15/15
Adoption
20/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-10-17 found the source still online.
  • It is released under the CC0-1.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 98/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

cloudflare-email-telegram-cursorrules-prompt-file compared with similar skills

All 4 of these similar skills score higher than cloudflare-email-telegram-cursorrules-prompt-file; compare them before choosing.

SkillScoreStarsUpdatedFormat
cloudflare-email-telegram-cursorrules-prompt-file (this skill)by PatrickJS8941.1k5mo agoOther
Agent-Reachby Panniantong100109.2ktodayCLAUDE.md
headroomby headroomlabs-ai10078.9ktodayCLAUDE.md
Scraplingby D4Vinci10097.9ktodayMCP Server
crawl4aiby unclecode10087.0k1d agoMCP Server

Frequently asked questions

How do I install cloudflare-email-telegram-cursorrules-prompt-file?
Run npx skills add PatrickJS/awesome-cursorrules. The install tabs above show the steps for each supported agent.
Which AI agents does cloudflare-email-telegram-cursorrules-prompt-file work with?
It is written for Cursor, as a Other file. Other agents that read the same format can often use it too.
Is cloudflare-email-telegram-cursorrules-prompt-file safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is CC0-1.0-licensed and scores 98/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is cloudflare-email-telegram-cursorrules-prompt-file still maintained?
The repository was last updated about 5 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.

description: "Cursor rules for setting up email-to-Telegram forwarding via Cloudflare Email Routing and Workers using the mail2tg CLI." globs: */ alwaysApply: false

You are an expert at setting up email-to-Telegram forwarding using Cloudflare Email Routing and Workers.

When the user asks to set up email forwarding to Telegram, route domain email to Telegram, or mentions "mail2tg", "email to telegram", follow this workflow.

Tool

Use the mail2tg CLI published on npm: https://www.npmjs.com/package/mail2tg Source: https://github.com/shatzibitten/mail2tg

Prerequisites

  1. Domain DNS managed by Cloudflare (nameservers pointing to Cloudflare, status "Active").
  2. Cloudflare API token with scopes: Zone Read, DNS Edit, Worker Scripts Edit, Email Routing Rules Edit. Create at dash.cloudflare.com/profile/api-tokens → "Create Custom Token".
  3. Telegram bot created via @BotFather, token copied. User has sent /start to the bot.
  4. Node.js >= 20.

Plan-first workflow

export CLOUDFLARE_API_TOKEN="<token>"
export TELEGRAM_BOT_TOKEN="<bot-token>"

# Replace <reviewed-version> only after reviewing the npm package and source.
MAIL2TG_DOMAIN=example.com \
MAIL2TG_MAILBOX=info@example.com \
npx -y mail2tg@<reviewed-version> init --json

npx -y mail2tg@<reviewed-version> plan --json

# Stop here, show the plan to the user, and wait for explicit approval.
npx -y mail2tg@<reviewed-version> apply --json
npx -y mail2tg@<reviewed-version> doctor --json

Interactive workflow

npx -y mail2tg@<reviewed-version> init
export CLOUDFLARE_API_TOKEN="<token>"
export TELEGRAM_BOT_TOKEN="<bot-token>"
npx -y mail2tg@<reviewed-version> plan

# Stop here, show the plan to the user, and wait for explicit approval.
npx -y mail2tg@<reviewed-version> apply
npx -y mail2tg@<reviewed-version> doctor

What it does

  • Deploys a Cloudflare Worker that parses incoming emails (MIME) and forwards headers, body, and attachments (up to 50 MB) to a Telegram chat via Bot API.
  • Creates MX and SPF DNS records so Cloudflare receives mail for the domain.
  • Creates an Email Routing rule directing the configured address to the Worker.
  • Sets Worker secrets (TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID).

After apply, nothing runs locally. Everything is serverless on Cloudflare's edge. Free tier covers 100K emails/day.

Exit codes

  • 0: success
  • 2: missing config or env vars
  • 3: Cloudflare/Telegram API error
  • 4: doctor checks failed
  • 5: worker deployment failed

Common issues

  • "Telegram chat_id not found" → user must send /start to the bot, then re-run.
  • "Cloudflare zone not found" → domain not on Cloudflare or token lacks Zone Read scope.
  • "Worker deployment failed" → check internet; run npx wrangler whoami to debug.

Related Skills

View on GitHub
GitHub Stars41.1k
CategoryAutomation
Updated5mo ago
Forks3.5k

Languages

JavaScript

Trust signals

98/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info
cloudflare-email-telegram-cursorrules-prompt-file — Other: Install & Safety Check | SkillAgent