
modal-projects/claude-slack-gif-creator
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
이 repo는 Claude에 의해 구동되는 봇을 구축하는 방법을 보여줍니다. 사용자 정의 Slackmoji-ready GIF를 만듭니다.
개요
이 repo는 Claude에 의해 구동되는 봇을 구축하는 방법을 보여줍니다. 사용자 정의 Slackmoji-ready GIF를 만듭니다. 봇은 Modal에서 실행되며 Anthropic의 slack-gif-creator 기술을 사용하여 Claude Agent SDK를 사용합니다. - : 원하는 것을 설명하고 Claude는 128x128 이모티콘 최적화 GIF를 만들 것입니다 - : 각 슬랙 스레드는 대화 컨텍스트를 생성, 모달에 지속 - : GIF에 통합하기 위해 봇에 이미지를 업로드 - : rembg 도구를 사용하여 제거 된 배경, 그래서 당신은 당신의 친구의 GIF를 만들 수 있습니다 - : Slack 스레드의 도구 사용 참조 봇은 Slack Bot Server, Claude Agent Sandbox, Anthropic API Proxy로 구성되어 있습니다. 이 구성 요소는 Slack 이벤트 (mentions and thread replies)를 처리하고 Modal Sandboxes를 관리합니다. Modal에서 호스팅되는 간단한 FastAPI ASGI 앱입니다. 이 구성 요소는 Claude 클라이언트를 실행하고 Bash 실행 및 GIF 생성과 같은 Claude 기술을 실행합니다.
개요(AI 번역)
이 repo 빌드 방법 사용자 정의 Slackmoji-ready GIF를 만드는 Claude에 의해 구동되는 봇.
또는 GIF 형태로:
봇은 Modal에서 실행되며 Claude Agent SDK를 사용합니다.
slack-gif-creator] Anthropic의 기술.
특징
- Natural Language GIF Generation: 원하는 것을 설명하고 Claude는 128x128 이모티콘 최적화 GIF를 만들 것입니다.
- ** 영구 스레드 ** : 각 슬랙 스레드는 대화 컨텍스트를 생성, Modal에 지속
- ** 이미지 업로드 지원**: 봇에 이미지를 업로드하면 GIF로 통합됩니다.
- ** 배경 제거 ** :
rembg도구를 사용하여 제거 된 배경, 그래서 당신은 당신의 친구의 GIF를 만들 수 있습니다 -Real-time Tool Logging: Slack Thread에서 Claude의 공구 사용량 참조
건축
봇은 세 가지 주요 구성 요소로 구성됩니다. Slack Bot 서버, a 클로드 에이전트 Sandbox, Anthropic API 프록시.
Slack Bot 서버
이 구성 요소는 Slack 이벤트 (mentions and thread replies)를 처리하고 Modal Sandboxes를 관리합니다. Modal에서 호스팅되는 간단한 FastAPI ASGI 앱입니다.
Claude 에이전트 샌드박스
이 구성 요소는 Claude 클라이언트를 실행하고 Claude 기술을 실행합니다. Bash 실행 및 GIF 생성과 같은.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Claude Slack GIF Creator
This repo shows how to build a bot powered by Claude that creates custom Slackmoji-ready GIFs.
Or, in GIF form:

The bot runs on Modal and uses the Claude Agent SDK
with the slack-gif-creator skill from Anthropic.
Features
- Natural Language GIF Generation: Describe what you want and Claude will create a 128x128 emoji-optimized GIF
- Persistent Threads: Each Slack thread creates a conversation context, persisted on Modal
- Image Upload Support: Upload images to the bot to incorporate them into your GIFs
- Background Removal: Backgrounds removed using the
rembgtool, so you can make GIFs of your friends - Real-time Tool Logging: See Claude’s tool usage in the Slack thread as it works
Architecture
The bot consists of three main components: a Slack Bot Server, a Claude Agent Sandbox, and an Anthropic API Proxy.
Slack Bot Server
This component handles Slack events (mentions and thread replies) and manages Modal Sandboxes. It’s a simple FastAPI ASGI app hosted on Modal.
Claude Agent Sandbox
This component runs a Claude client and executes Claude skills, like Bash execution and GIF creation.
Because these skills are tantamount to giving the agent total control over the computing environment and we are going to allow anyone who can access the bot to prompt the agent, we need to isolate and secure this component. To that tend, it runs inside a Modal Sandbox. Modal can readily scale to hundreds or thousands of Sandboxes.
Each Slack thread gets its own persistent Modal Sandbox with a dedicated Volume for storing generated GIFs and session data.
Anthropic API Proxy
This component proxies requests to the Anthropic API.
The proxy keeps the API key out of the Sandbox. It’s included so that Claude can’t leak your API key when a naughty prompt hacker asks for a GIF containing it, as in the (mock) example below.

Prerequisites
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add modal-projects/claude-slack-gif-creator