url2pdf
Convert URL to PDF suitable for mobile reading.
معلومات المصدر
- المستودع
- guoqiao/skills
- آخر نشاط في المصدر
- ١٩ فبراير ٢٠٢٦ في ٢٠:٥٤
- لغة SKILL.md المكتشفة
- الإنجليزية
- النجوم
- ٠
- التفرعات
- ٠
خيارات التثبيت
يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.
مراجعة ملفات المصدر
اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.
مستكشف الملفات
2 ملفاتعرض SKILL.md
SKILL.md
تعليمات المصدر · معاينة للقراءة فقط- name
- url2pdf
- description
- Convert URL to PDF suitable for mobile reading.
- author
- guoqiao
- metadata
- {"openclaw":{"always":false,"emoji":"🦞","homepage":"https://clawhub.ai/guoqiao/url2pdf","os":["darwin","linux","win32"],"requires":{"bins":"[Truncated]"}}}
- triggers
- ["/url2pdf <url>","Save this url as pdf","Convert to pdf for mobile"]
# URL to PDF
Given a url for a webpage, convert it to pdf suitable for mobile reading.
See [examples](https://github.com/guoqiao/skills/tree/main/url2pdf/examples).
## Requirements
- `uvx`
## Installation
`uvx` will install `shot-scraper` automatically on first run.
No explicit installation needed.
## Usage
```bash
bash ${baseDir}/url2pdf.sh "${url}"
```
Path to pdf will be printed to stdout.
### Agent Instructions
1. **Run the script**: Pass the url as an argument.
2. **Handle Output**: The script will output a path to a pdf file.
3. Use the `message` tool to send the pdf file to the user as a document message:
```json
{
"action": "send",
"filePath": "<filepath>"
}
```
عرض على GitHub