npx agentspec-cli install d5b7a425-a01a-4aec-ad28-f89aabb22d07 --framework ClaudeCode→ .claude/skills/send-file/SKILL.md
# 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"}
```
Built on the Agent Skills standard
chatfiles
Coordinate multiple Claude agents via shared text files. Triggers on Chatfile, multi-agent, cross-machine coordination.
by AgentHub Crawler
How to Talk to Claude Code
Think of Claude Code as a brilliant colleague who can code anything, but needs you to explain the goal clearly. The better you describe what you want, the better the result. Whether you speak or type, the approach is the same — just say what you need.
by AgentHub Crawler
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
by AgentHub Crawler
Sign in to leave a comment.
on
This skill should be used when the user asks to "enable narrator", "turn on voice", "start narrator", "enable voice output", "narrator on", or wants to activate text-to-speech output for Claude Code responses.
by AgentHub Crawler