claude-to-deerflow
Skill này làm gì
Skill này kết nối AI của bạn với một nền tảng agent DeerFlow đang chạy, thông qua HTTP API của nền tảng đó. Skill dành cho những ai muốn gửi công việc nghiên cứu hoặc phân tích đến DeerFlow và nhận lại câu trả lời.
Khi nào nên dùng
- ✓Khi người dùng muốn gửi một câu hỏi hoặc tác vụ nghiên cứu đến DeerFlow.
- ✓Khi người dùng muốn kiểm tra DeerFlow có đang chạy không, hoặc liệt kê các model và skill của nó.
- ✓Khi người dùng muốn tải file lên một luồng hội thoại trong DeerFlow.
Liên kết skill
https://github.com/bytedance/deer-flow/blob/main/skills/public/claude-to-deerflow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Gửi câu hỏi nghiên cứu này đến thiết lập DeerFlow của tôi và mang câu trả lời về.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill gọi dịch vụ web DeerFlow tại địa chỉ đặt trong biến môi trường. Nó có thể tạo một luồng hội thoại, gửi tin nhắn và quản lý tải lên cùng bộ nhớ trên nền tảng đó.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
DeerFlow Skill
Communicate with a running DeerFlow instance via its HTTP API. DeerFlow is an AI agent platform built on LangGraph that orchestrates sub-agents for research, code execution, web browsing, and more.
Architecture
DeerFlow exposes two API surfaces behind an Nginx reverse proxy:
| Service | Direct Port | Via Proxy | Purpose |
|---|---|---|---|
| Gateway API | 8001 | $DEERFLOW_GATEWAY_URL |
REST endpoints and embedded agent runtime |
| LangGraph-compatible API | 8001 | $DEERFLOW_LANGGRAPH_URL |
Agent threads, runs, streaming |
Environment Variables
All URLs are configurable via environment variables. Read these env vars before making any request.
| Variable | Default | Description |
|---|---|---|
DEERFLOW_URL |
http://localhost:2026 |
Unified proxy base URL |
DEERFLOW_GATEWAY_URL |
${DEERFLOW_URL} |
Gateway API base (models, skills, memory, uploads) |
DEERFLOW_LANGGRAPH_URL |
${DEERFLOW_URL}/api/langgraph |
LangGraph API base (threads, runs) |
When making curl calls, always resolve the URL like this:
# Resolve base URLs from env (do this FIRST before any API call)
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}"
Available Operations
1. Health Check
Verify DeerFlow is running:
curl -s "$DEERFLOW_GATEWAY_URL/health"
2. Send a Message (Streaming)
This is the primary operation. It creates a thread and streams the agent's response.
Step 1: Create a thread
curl -s -X POST "$DEERFLOW_LANGGRAPH_URL/threads" \
-H "Content-Type: application/json" \
-d '{}'
Response: {"thread_id": "<uuid>", ...}
Step 2: Stream a run
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>"
}
}'
The response is an SSE stream. Each event has the format:
event: <event_type>
data: <json_data>
Key event types:
metadata— run metadata includingrun_idvalues— full state snapshot withmessagesarraymessages-tuple— incremental message updates (AI text chunks, tool calls, tool results)end— stream is complete
Context modes (set via context):
- Flash mode:
thinking_enabled: false, is_plan_mode: false, subagent_enabled: false - Standard mode:
thinking_enabled: true, is_plan_mode: false, subagent_enabled: false - Pro mode:
thinking_enabled: true, is_plan_mode: true, subagent_enabled: false - Ultra mode:
thinking_enabled: true, is_plan_mode: true, subagent_enabled: true
3. Continue a Conversation
To send follow-up messages, reuse the same thread_id from step 2 and POST another run
with the new message.
4. List Models
curl -s "$DEERFLOW_GATEWAY_URL/api/models"
Returns: {"models": [{"name": "...", "provider": "...", ...}, ...]}
5. List Skills
curl -s "$DEERFLOW_GATEWAY_URL/api/skills"
Returns: {"skills": [{"name": "...", "enabled": true, ...}, ...]}
6. Enable/Disable a Skill
curl -s -X PUT "$DEERFLOW_GATEWAY_URL/api/skills/<skill_name>" \
-H "Content-Type: application/json" \
-d '{"enabled": true}'
7. List Agents
curl -s "$DEERFLOW_GATEWAY_URL/api/agents"
Returns: {"agents": [{"name": "...", ...}, ...]}
8. Get Memory
curl -s "$DEERFLOW_GATEWAY_URL/api/memory"
Returns user context, facts, and conversation history summaries.
9. Upload Files to a Thread
curl -s -X POST "$DEERFLOW
Câu hỏi thường gặp
Tôi có cần máy chủ DeerFlow không?
Có. Skill làm việc với một instance DeerFlow đã chạy sẵn và có thể truy cập tại địa chỉ của nó.
Skill dùng địa chỉ nào?
Skill đọc địa chỉ từ biến môi trường, và mặc định là một địa chỉ cục bộ trên cổng 2026.
Skill có quản lý được bộ nhớ không?
Có. Skill nói nó có thể quản lý bộ nhớ DeerFlow, cùng với việc liệt kê các model, skill và agent có sẵn.
Chi tiết
Mô tả gốc của tác giả
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.
repo: bytedance/deer-flow
Độ phổ biến
- Sao GitHub
- 85k
- Vị trí xếp hạng
- #1377
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
engineer-system-change
85kGiúp agent của bạn đánh giá xem một thay đổi phần mềm có thật sự cần thiết trước khi xây dựng, bằng cách kiểm tra vấn đề, người dùng và rủi ro.
academic-paper-review
85kGiúp agent của bạn đánh giá một bài báo khoa học như một người phản biện, gồm phương pháp, điểm mạnh, điểm yếu và các bước tiếp theo.
bootstrap
85kHướng dẫn một cuộc trò chuyện làm quen thân thiện để tạo file SOUL.md cá nhân, xác định đối tác AI của bạn là ai và cách nó hành xử.
chart-visualization
85kBiến số liệu của bạn thành ảnh biểu đồ, chọn từ 26 loại biểu đồ như đường, cột, tròn, bản đồ và phễu.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.