본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

tg-media-resolve

kurinzo 제작

Coding Agents & IDEs
743clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Resolve Telegram <media:image>, <media:document>, <media:video> and other media placeholders into actual files.

설명

이 스킬이 하는 일

Resolves Telegram media placeholders like `<media:image>` or `<media:video>` into actual downloaded files. When a Telegram message contains a media reference the agent cannot directly see, this skill uses the Bot API to forward, download, and clean up the file. Returns a local file path ready for vision analysis or further processing.

Directly bridges the gap between opaque media placeholders in Telegram message context and usable local files, without requiring manual download steps.

사용 시점

  • Analyzing an image shared in a Telegram group chat
  • Reading a document sent as a reply in a bot conversation
  • Inspecting a video or GIF from a forwarded Telegram message
  • Running OCR on a photo referenced in group history
  • Processing voice messages or stickers from Telegram chats

예시 워크플로

입력

User asks: 'What does the image in that replied message show?'

에이전트
  1. 1

    Extract chat_id and message_id from the message context format [id:CHAT_ID] [id:MSG_ID]

  2. 2

    Read bot token from ~/.openclaw/openclaw.json

  3. 3

    Run fetch_media.py with --bot-token, --chat-id, --message-id, and --forward-to a private DM chat

  4. 4

    Receive local file path of the downloaded image

  5. 5

    Pass file path to the image tool for vision analysis

출력

Description of the image content from the downloaded file

요구 사항

  • Telegram Bot API token (configured in OpenClaw as channels.telegram.botToken)
  • Telegram bot must be a member of the target chat

설치

clawhub install kurinzo/tg-media-resolve

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크