Community코딩 & 개발github.com

claude-to-deerflow

DeerFlow AI 에이전트 플랫폼과 HTTP API를 통해 상호작용합니다. 사용자가 DeerFlow에 메시지나 질문을 보내거나, 스레드를 시작하거나, 상태를 확인하거나, 모델/스킬/에이전트 목록을 조회하거나, 메모리를 관리하거나, 파일을 업로드하거나, 복잡한 연구 작업을 위임하려 할 때 이 스킬을 사용하세요.

claude-to-deerflow란 무엇인가요?

이 스킬은 DeerFlow AI 에이전트 플랫폼과 통신하여 복잡한 연구, 코드 실행, 웹 브라우징 등의 작업을 수행할 수 있게 해줍니다. DeerFlow는 LangGraph 기반의 AI 에이전트 플랫폼으로, 여러 하위 에이전트를 조율하여 사용자를 대신해 깊이 있는 분석과 실행을 처리합니다. 주요 기능으로는 메시지 전송(스트리밍), 스레드 생성 및 대화 이어가기, 상태 확인, 모델/스킬/에이전트 목록 조회, 메모리 관리, 파일 업로드 등이 있습니다. 특히 스트리밍 응답은 SSE(Server-Sent Events) 형식으로 제공되며, Flash, Standard, Pro, Ultra 등 다양한 컨텍스트 모드를 지원하여 작업의 복잡도에 따라 적절한 모드를 선택할 수 있습니다. 이 스킬은 Claude Code, Cursor, Codex 등 모든 AI 에이전트 플랫폼에서 사용할 수 있으며, 환경 변수(DEERFLOW_URL, DEERFLOW_GATEWAY_URL, DEERFLOW_LANGGRAPH_URL)를 통해 연결 대상을 유연하게 설정할 수 있습니다. 또한 도우미 스크립트(chat.sh)를 통해 간편하게 메시지를 보내고 전체 응답을 수집할 수 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bytedance/deer-flow/tree/main/skills/public/claude-to-deerflow

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

DeerFlow Skill

HTTP API를 통해 실행 중인 DeerFlow 인스턴스와 통신합니다. DeerFlow는 LangGraph 기반의 AI 에이전트 플랫폼으로, 연구, 코드 실행, 웹 브라우징 등을 위한 하위 에이전트를 조율합니다.

아키텍처

DeerFlow는 Nginx 리버스 프록시 뒤에서 두 개의 API 인터페이스를 제공합니다.

서비스직접 포트프록시 경로목적
게이트웨이 API8001$DEERFLOW_GATEWAY_URLREST 엔드포인트 및 임베디드 에이전트 런타임
LangGraph 호환 API8001$DEERFLOW_LANGGRAPH_URL에이전트 스레드, 실행, 스트리밍

환경 변수

모든 URL은 환경 변수를 통해 설정 가능합니다. 요청을 보내기 전에 이 환경 변수들을 읽으십시오.

변수기본값설명
DEERFLOW_URLhttp://localhost:2026통합 프록시 기본 URL
DEERFLOW_GATEWAY_URL${DEERFLOW_URL}게이트웨이 API 기본 URL (모델, 스킬, 메모리, 업로드)
DEERFLOW_LANGGRAPH_URL${DEERFLOW_URL}/api/langgraphLangGraph API 기본 URL (스레드, 실행)

curl 호출 시 항상 다음과 같이 URL을 확인하십시오.

# 환경 변수에서 기본 URL 확인 (모든 API 호출 전에 먼저 수행)
DEERFLOW_URL="${DEERFLOW_URL:-http://localhost:2026}"
DEERFLOW_GATEWAY_URL="${DEERFLOW_GATEWAY_URL:-$DEERFLOW_URL}"
DEERFLOW_LANGGRAPH_URL="${DEERFLOW_LANGGRAPH_URL:-$DEERFLOW_URL/api/langgraph}"

사용 가능한 작업

1. 상태 확인

DeerFlow가 실행 중인지 확인합니다.

curl -s "$DEERFLOW_GATEWAY_URL/health"

2. 메시지 보내기 (스트리밍)

이것이 기본 작업입니다. 스레드를 생성하고 에이전트의 응답을 스트리밍합니다.

1단계: 스레드 생성

curl -s -X POST "$DEERFLOW_LANGGRAPH_URL/threads" \
  -H "Content-Type: application/json" \
  -d '{}'

응답: {"thread_id": "<uuid>", ...}

2단계: 실행 스트리밍

curl -s -N -X POST "$DEERFLOW_LANGGRAPH_URL/threads/<thread_id>/runs/stream" \
  -H "Content-Type: application/json" \
  -d '{
    "assistant_id": "lead_agent",
    "input": {
      "messages": [
        {
          "type": "human",
          "content": [{"type": "text", "text": "YOUR MESSAGE HERE"}]
        }
      ]
    },
    "stream_mode": ["values", "messages-tuple"],
    "stream_subgraphs": true,
    "config": {
      "recursion_limit": 1000
    },
    "context": {
      "thinking_enabled": true,
      "is_plan_mode": true,
      "subagent_enabled": true,
      "thread_id": "<thread_id>"
    }
  }'

응답은 SSE 스트림입니다. 각 이벤트의 형식은 다음과 같습니다.

event: <event_type>
data: <json_data>

주요 이벤트 유형:

  • metadata — run_id를 포함한 실행 메타데이터
  • values — messages 배열이 포함된 전체 상태 스냅샷
  • messages-tuple — 증분 메시지 업데이트 (AI 텍스트 청크, 도구 호출, 도구 결과)
  • end — 스트림 완료

컨텍스트 모드 (context를 통해 설정):

  • 플래시 모드: thinking_enabled: false, is_plan_mode: false, subagent_enabled: false
  • 표준 모드: thinking_enabled: true, is_plan_mode: false, subagent_enabled: false
  • 프로 모드: thinking_enabled: true, is_plan_mode: true, subagent_enabled: false
  • 울트라 모드: thinking_enabled: true, is_plan_mode: true, subagent_enabled: true

3. 대화 이어가기

후속 메시지를 보내려면 2단계의 동일한 thread_id를 재사용하고 새 메시지로 다른 실행을 POST 하십시오.

4. 모델 목록

curl -s "$DEERFLOW_GATEWAY_URL/api/models"

반환값: {"models": [{"name": "...", "provider": "...", ...}, ...]}

5. 스킬 목록

curl -s "$DEERFLOW_GATEWAY_URL/api/skills"

반환값: {"skills": [{"name": "...", "enabled": true, ...}, ...]}

6. 스킬 활성화/비활성화

curl -s -X PUT "$DEERFLOW_GATEWAY_URL/api/skills/<skill_name>" \
  -H "Content-Type: application/json" \
  -d '{"enabled": true}'

7. 에이전트 목록

curl -s "$DEERFLOW_GATEWAY_URL/api/agents"

반환값: {"agents": [{"name": "...", ...}, ...]}

8. 메모리 가져오기

curl -s "$DEERFLOW_GATEWAY_URL/api/memory"

사용자 컨텍스트, 사실 및 대화 기록 요약을 반환합니다.

9. 스레드에 파일 업로드

curl -s -X POST "$DEERFLOW_GATEWAY_URL/api/threads/<thread_id>/uploads" \
  -F "files=@/path/to/file.pdf"

PDF, PPTX, XLSX, DOCX를 지원하며, 자동으로 Markdown으로 변환합니다.

10. 업로드된 파일 목록

curl -s "$DEERFLOW_GATEWAY_URL/api/threads/<thread_id>/uploads/list"

11. 스레드 기록 가져오기

curl -s "$DEERFLOW_LANGGRAPH_URL/threads/<thread_id>/history"

12. 스레드 목록

curl -s -X POST "$DEERFLOW_LANGGRAPH_URL/threads/search" \
  -H "Content-Type: application/json" \
  -d '{"limit": 20, "sort_by": "updated_at", "sort_order": "desc"}'

사용 스크립트

메시지를 보내고 전체 응답을 수집하려면 도우미 스크립트를 사용하십시오.

bash /path/to/skills/claude-to-deerflow/scripts/chat.sh "Your question here"

구현 내용은 scripts/chat.sh를 참조하십시오. 스크립트는 다음을 수행합니다.

  1. 상태 확인
  2. 스레드 생성
  3. 실행 스트리밍 및 최종 AI 응답 수집
  4. 결과 출력

SSE 출력 파싱

스트림은 SSE 이벤트를 반환합니다. values 이벤트에서 최종 AI 응답을 추출하려면:

  • 마지막 event: values 블록을 찾습니다.
  • 해당 data JSON을 파싱합니다.
  • messages 배열에는 모든 메시지가 포함되어 있습니다. type: "ai"인 마지막 메시지가 응답입니다.
  • 해당 메시지의 content 필드가 AI의 텍스트 응답입니다.

오류 처리

  • 상태 확인에 실패하면 DeerFlow가 실행 중이 아닙니다. 사용자에게 시작해야 한다고 알리십시오.
  • 스트림이 오류 이벤트를 반환하면 오류 메시지를 추출하여 표시하십시오.
  • 일반적인 문제: 포트가 열려 있지 않음, 서비스가 아직 시작 중, 구성 오류.

팁

  • 빠른 질문에는 플래시 모드를 사용하십시오 (가장 빠르며 계획 없음).
  • 연구 작업에는 프로 또는 울트라 모드를 사용하십시오 (계획 및 하위 에이전트 활성화).
  • 먼저 파일을 업로드한 다음 메시지에서 참조할 수 있습니다.
  • 스레드 ID는 유지됩니다 — 나중에 대화로 돌아갈 수 있습니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bootstrap

Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up, or initialize their AI partner's identity — e.g., "create my SOUL.md", "bootstrap my agent", "set up my AI partner", "define who you are", "let's do onboarding", "personalize this AI", "make you mine", or when a SOUL.md is missing. Also trigger for updates: "update my SOUL.md", "change my AI's personality", "tweak the soul".

bytedance/academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bytedance/chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

bytedance/claude-to-deerflow

Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to DeerFlow for research/analysis, start a DeerFlow conversation thread, check DeerFlow status or health, list available models/skills/agents in DeerFlow, manage DeerFlow memory, upload files to DeerFlow threads, or delegate complex research tasks to DeerFlow. Also use when the user mentions deerflow, deer flow, or wants to run a deep research task that DeerFlow can handle.

bytedance/consulting-analysis

Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

bytedance/data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to CSV/JSON/Markdown.

bytedance/deep-research

Use this skill instead of WebSearch for ANY question requiring web research. Trigger on queries like "what is X", "explain X", "compare X and Y", "research X", or before content generation tasks. Provides systematic multi-angle research methodology instead of single superficial searches. Use this proactively when the user's question needs online information.

bytedance/find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

bytedance/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

bytedance/github-deep-research

Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

bytedance/image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

bytedance/podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/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 existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

bytedance/surprise-me

Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

bytedance/vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/video-generation

Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.

bytedance/web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

관련 스킬