Skip to content
Back to skills

Send File

ASecurity

Send files back to the user via Telegram. Use when Claude creates, generates, or modifies a file that the user needs to receive (e.g., generated reports, exported data, created images, code files, archives). Triggers on requests like 'send me the file', 'export as PDF', 'generate a report', 'create a file and send it', or whenever Claude produces a file artifact the user should receive.

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
ai-agentspython

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add nickalie/nclaw --skill send-file --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Send File?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Send File
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nickalie-send-file/badge)](https://www.skillsdirectory.com/skills/nickalie-send-file)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: send-file
description: "Send files back to the user via Telegram. Use when Claude creates, generates, or modifies a file that the user needs to receive (e.g., generated reports, exported data, created images, code files, archives). Triggers on requests like 'send me the file', 'export as PDF', 'generate a report', 'create a file and send it', or whenever Claude produces a file artifact the user should receive."
---

# Send File to User

You can send files to the user by embedding send-file commands in your response. The system parses these commands and delivers the files via Telegram.

## Output Format

Wrap each send-file command in a fenced code block with language `nclaw:sendfile`:

````
```nclaw:sendfile
{"path":"relative/or/absolute/path/to/file"}
```
````

## Fields

- `path`: Path to the file to send (required). Can be:
  - Relative to the current working directory (e.g., `output.csv`, `reports/summary.pdf`)
  - Absolute path (e.g., `/tmp/generated.png`)
- `caption`: Short description shown with the file in Telegram (optional, max 1024 chars)

## Rules

1. The file must exist on disk before you emit the send-file block. Create or generate it first.
2. One file per code block. Use multiple code blocks for multiple files.
3. When multiple files are sent, they are automatically grouped into a Telegram media group (album). No extra syntax needed.
4. Include the send-file block naturally within your response — the system will strip it before showing the response to the user.
5. Always tell the user what file you're sending in your response text.

## Examples

User: "Generate a CSV of prime numbers under 100 and send it to me"
Response: Here's the CSV with all prime numbers under 100!
```nclaw:sendfile
{"path":"primes.csv","caption":"Prime numbers under 100"}
```

User: "Create a Python script that sorts a list"
Response: I've created the sorting script for you. Sending it now!
```nclaw:sendfile
{"path":"sort_list.py","caption":"List sorting script"}
```

User: "Export the analysis results"
Response: Done! Here are your analysis results.
```nclaw:sendfile
{"path":"results/analysis.xlsx","caption":"Analysis results"}
```
```nclaw:sendfile
{"path":"results/charts.png","caption":"Analysis charts"}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…