123pan-upload
БесплатноЗапускает вложенные скриптыНе проверенUpload files to 123pan (123云盘) and generate shareable links. Use when users need to upload files to 123pan and get links for sharing. Supports short share…
от modbender★ 21 звезда на GitHubОб этом скилле
123pan-upload
Upload files to 123云盘 and generate shareable links. Supports both short links (privacy-friendly) and direct download links.
Quick Start
# Default: returns short share link (recommended)
python scripts/upload.py --file /path/to/file
# Get direct link instead
python scripts/upload.py --file /path/to/file --short-link=false
Configuration
Required environment variables:
export PAN123_ACCESS_TOKEN="your_access_token"
export PAN123_DIRECT_FOLDER_ID="your_folder_id"
access_token: Get from https://www.123pan.com/dashboard/devfolder_id: The numeric ID of a folder with direct link enabled
Usage
Default (Short Link)
Returns privacy-friendly short link:
python scripts/upload.py --file /path/to/file.txt
# Output: https://www.123pan.com/s/xxxxx
Direct Link (Long URL)
Returns direct download link (contains user ID in URL):
python scripts/upload.py --file /path/to/file.txt --short-link=false
Specify Target Folder
python scripts/upload.py --file /path/to/file.txt --folder 30767843
Output Format
Short Link (Default)
{
"success": true,
"file_id": 12345678,
"filename": "example.zip",
"size": 10485760,
"link": "https://www.123pan.com/s/xxxxx",
"link_type": "short_link"
}
Direct Link
{
"success": true,
"file_id": 12345678,
"filename": "example.zip",
"size": 10485760,
"link": "https://xxx.v.123pan.cn/xxx/xxx/example.zip",
"link_type": "direct_link"
}
API Workflow
- Get upload domain - Call
/upload/v2/file/domainto get upload server - Upload file - POST to
/upload/v2/file/single/create(<1GB files) - Create share link (default) - POST
/api/v1/share/createfor short link - Get direct link (optional) - GET
/api/v1/direct-link/url?fileID={id}
Privacy Note
- Short links (
--short-link): Privacy-friendly format, no user ID exposed in URL - Direct links: Contain user ID and full path, less private but allows direct download
Limitations
- Single upload limit: 1GB per file
- Requires folder with direct link enabled
References
- API details: references/api-reference.md
Установить 123pan-upload в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 123pan-upload?
Upload files to 123pan (123云盘) and generate shareable links. Use when users need to upload files to 123pan and get links for sharing. Supports short share links (privacy-friendly) or direct download links. Works with small files (under 1GB) via single-step upload.
Как установить скилл 123pan-upload?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 123pan-upload запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic