jina
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseJina
Jina
Extract content from URLs and search with Jina. Use when you need to: (1) read and extract content from any URL, (2) perform site-specific searches, or (3) scrape web page content.
使用Jina从URL提取内容并进行搜索。适用于以下场景:(1) 读取并提取任意URL的内容;(2) 执行特定站点搜索;(3) 抓取网页内容。
Input
输入
Provide input as JSON:
json
{
"url": "URL to read and extract content from (e.g., https://example.com/article)",
"query": "Search query for finding relevant content (e.g., 'AI workflow automation')",
"site": "Optional: specific site to search within (e.g., 'github.com' to search only GitHub)"
}请以JSON格式提供输入:
json
{
"url": "URL to read and extract content from (e.g., https://example.com/article)",
"query": "Search query for finding relevant content (e.g., 'AI workflow automation')",
"site": "Optional: specific site to search within (e.g., 'github.com' to search only GitHub)"
}Execution (Pattern B: Text/Data)
执行(模式B:文本/数据)
Step 1: Run the Skill and Get Run ID
步骤1:运行Skill并获取运行ID
bash
RESULT=$(refly skill run --id skpi-jqzppbf80ss2qz3kx7wtqwsw --input '{
"url": "https://example.com/article",
"query": "AI workflow"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')bash
RESULT=$(refly skill run --id skpi-jqzppbf80ss2qz3kx7wtqwsw --input '{
"url": "https://example.com/article",
"query": "AI workflow"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')RUN_ID is we-xxx format, use this for workflow commands
RUN_ID is we-xxx format, use this for workflow commands
undefinedundefinedStep 2: Open Workflow in Browser and Wait for Completion
步骤2:在浏览器中打开工作流并等待完成
bash
open "https://refly.ai/workflow/c-ee1nlrsdlebaodpn5fvs3sj2"
refly workflow status "$RUN_ID" --watch --interval 30000bash
open "https://refly.ai/workflow/c-ee1nlrsdlebaodpn5fvs3sj2"
refly workflow status "$RUN_ID" --watch --interval 30000Step 3: Extract Text Content
步骤3:提取文本内容
bash
undefinedbash
undefinedGet text content from toolcalls
Get text content from toolcalls
CONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"
undefinedCONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"
undefinedExpected Output
预期输出
- Type: Text content
- Format: Extracted URL content or search results
- Action: Display content to user
- 类型:文本内容
- 格式:提取的URL内容或搜索结果
- 操作:向用户展示内容
Rules
规则
Follow base skill workflow:
~/.claude/skills/refly/SKILL.md遵循基础Skill工作流:
~/.claude/skills/refly/SKILL.md