Skills Plugins MCP Prompt Model 博客 我的中心
内容创作 #python #image #video #agent

ddgs

Use when an agent needs to search the web, find images/news/videos/books, or extract content from a URL. Covers the ddgs Python library, CLI, and MCP server integration.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=deedy5-ddgs-skills-ddgs-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name ddgs description Use when an agent needs to search the web, find images/news/videos/books, or extract content from a URL. Covers the ddgs Python library, CLI, and MCP server integration. ddgs — Web Search for Agents Overview ddgs (Dux Distributed Global Search) is a Python metasearch library that aggregates results from multiple search engines. Agents can use it via Python API, CLI, or MCP server. Python API from ddgs import DDGS # Text search results = DDGS().text( "python async" , max_results= 5 ) # Images, news, videos, books images = DDGS().images( "butterfly" , max_results= 5 ) news = DDGS().news( "ai regulation" , timelimit= "w" ) videos = DDGS().videos( "rust programming" ) books = DDGS().books( "machine learning" ) # Extract content from a URL page = DDGS().extract( "https://example.com" ) page[ "content" ] # Markdown text (default) page = DDGS().extract( "https://example.com" , fmt= "text_plain" ) page = DDGS().extract( "https://example.com" , fmt= "content" ) # raw bytes All search methods return list[dict[str, Any]] . Each dict has keys depending on category: Method Keys text() title , href , body images() title , image , thumbnail , url , height , width , source videos() title , content , description , duration , embed_url , images , publisher news() date , title , body , url , image , source books() title , author , publisher , info , url , thumbnail CLI # Text search ddgs text -q "python async" --max_results 5 # Other categories ddgs images -q "cats" --color Blue ddgs news -q "tech" --timelimit d ddgs videos -q "cars" --duration medium ddgs books -q "sea wolf" # Extract content ddgs extract -u https://example.com ddgs extract -u https://example.com -f text_plain # Save results ddgs text -q "dogs" -o results.json ddgs text -q "dogs" -o results.csv # Version ddgs version CLI for Agents Agents can also use ddgs as a CLI tool via subprocess. Auto-detects non-TTY — outputs plain text without colors or interactive pauses. To discover available options: ddgs -- help ddgs text -- help ddgs images -- help MCP Server stdio (for local MCP clients like Cursor, Claude Desktop) pip install ddgs[mcp] ddgs mcp # stdio MCP server ddgs mcp - pr socks5h://127.0.0.1:9150 # with proxy Client configuration: { "mcpServers" : { "ddgs" : { "command" : "ddgs" , "args" : [ "mcp" ] } } } Available MCP Tools Tool Description search_text Web text search search_images Image search search_news News search search_videos Video search search_books Book search extract_content Extract content from a URL Quick Reference Parameter Values Default region us-en , uk-en , ru-ru , de-de , etc. us-en safesearch on , moderate , off moderate timelimit d (day), w (week), m (month), y (year) None max_results int 10 page int 1 backend auto , all , or engine name auto Available backends by method: Method Backends text() bing , brave , duckduckgo , google , grokipedia , mojeek , startpage , yandex , yahoo , wikipedia images() bing , duckduckgo videos() duckduckgo news() bing , duckduckgo , yahoo books() annasarchive Tips Proxy (Python) : DDGS(proxy="socks5h://127.0.0.1:9150") or set env DDGS_PROXY Proxy (MCP) : ddgs mcp -pr socks5h://127.0.0.1:9150 or export DDGS_PROXY=... Proxy (API) : ddgs api -pr socks5h://127.0.0.1:9150 or export DDGS_PROXY=... SSL verification : DDGS(verify=False) or DDGS(verify="/path/to/cert.pem") Timeout : DDGS(timeout=10) (default: 5 seconds) Errors : catches DDGSException , RatelimitException , TimeoutException Multiple backends : backend="bing,google" (comma-separated)
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。