agentleFS
ray5273ray5273/kr-research-kit/skills/telegram-report-sender/SKILL.md

telegram-report-sender

Skill2 starsChanged 8 days agoMITView on GitHub

Send generated research artifacts to Telegram as an explicit post-processing step, using credentials from the sender skill folder or CLI flags.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill only when the user explicitly asks to send a generated report or preview a Telegram send plan.

    line 8
  2. Very specific:

    Read Telegram credentials from this sender skill folder's gitignored .env, or accept --token and --chat-id flags:

    line 18
  3. Very specific:

    Remove --dry-run only after explicit user approval.

    line 31
  4. Distinctive:

    Never auto-send as part of collection, Naver publishing, scheduled report generation, or validation.

    line 43
  5. Distinctive:

    Do not assume the user is working from the source repository.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Telegram Report Sender

Use this skill only when the user explicitly asks to send a generated report or preview a Telegram send plan.

Workflow

  1. Confirm the report artifact path exists. Supported inputs include Markdown and JSON artifacts from:
    • kr-market-leaders
    • kr-analyst-report-watch
    • kr-daily-market-news
    • us-daily-market-news
    • generic JSON or Markdown research artifacts
  2. Read Telegram credentials from this sender skill folder's gitignored .env, or accept --token and --chat-id flags:

    TELEGRAM_BOT_TOKEN=123456789:replace_with_your_bot_token
    TELEGRAM_CHAT_ID=123456789
  3. Preview first unless the user already approved sending:

    node skills/telegram-report-sender/scripts/send-telegram.js --input <artifact> --dry-run
  4. Remove --dry-run only after explicit user approval. The sender posts a short summary and, unless --summary-only is used, attaches the matching Markdown file when the input is JSON and a same-basename .md exists.

Options

  • --summary-only: send only the summary text.
  • --document-only: send only the attachment.
  • --attach <path>: attach a specific file instead of the auto-detected artifact.
  • --token <token> and --chat-id <id>: override .env.
  • TELEGRAM_API_BASE: optional Bot API-compatible gateway.

Safety

  • Never auto-send as part of collection, Naver publishing, scheduled report generation, or validation.
  • Redact bot tokens in errors and chat output.
  • Do not assume the user is working from the source repository. Locate this sender skill folder and run the script from there or by absolute path.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.