excel2pdf
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
从音频文件中提取文字(语音转文字),需要腾讯云 API 凭据。当用户提到音频转文字、语音识别、ASR、音频转字幕时使用。
$ npx -y skills add coderwanfeng/python-office --skill audio2txt --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/audio2txtContext preview
The summary Claude sees to decide when to auto-load this skill.
从音频文件中提取文字(语音转文字),需要腾讯云 API 凭据。当用户提到音频转文字、语音识别、ASR、音频转字幕时使用。
name: audio2txt description: 从音频文件中提取文字(语音转文字),需要腾讯云 API 凭据。当用户提到音频转文字、语音识别、ASR、音频转字幕时使用。
> 从音频里提取文字
使用语音识别 API 从音频中提取文字。
> ⚠️ 注意:本地语音文件不能大于 5MB。
`office/skills/video/audio2txt/`
from skills.video import audio2txt
audio2txt(
audio_path='./test.mp3',
appid='your_appid',
secret_id='your_secret_id',
secret_key='your_secret_key'
)| 参数 | 类型 | 必填 | 默认值 | 说明 | |------|------|------|--------|------| | `audio_path` | str | 是 | - | 音频文件路径 | | `appid` | str | 是 | - | 语音识别 API 的应用 ID | | `secret_id` | str | 是 | - | 语音识别 API 的密钥 ID | | `secret_key` | str | 是 | - | 语音识别 API 的密钥 |
`None`
from skills.video import audio2txt
audio2txt(
audio_path='./audio.mp3',
appid='your_appid',
secret_id='your_secret_id',
secret_key='your_secret_key'
)`office.api.video.audio2txt`
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
在 Excel 文件中搜索指定关键词并返回文件、行号、详情。当用户提到搜索 Excel、Excel 查找、Excel 搜索内容时使用。
将多个 Excel 文件合并到一个 Excel 的不同 sheet 中。当用户提到合并 Excel、合并多个表格、多个 Excel 合并时使用。
将同一个 Excel 文件的多个 sheet 拆分为独立文件。当用户提到拆分 sheet、Excel 按表拆分、拆 sheet 时使用。