Memento-Skills web-search
Web search and content fetching. Use when the user needs to search the web for information or fetch content from URLs.
install
source · Clone the upstream repo
git clone https://github.com/Memento-Teams/Memento-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Memento-Teams/Memento-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/builtin/skills/web-search" ~/.claude/skills/memento-teams-memento-skills-web-search && rm -rf "$T"
manifest:
builtin/skills/web-search/SKILL.mdsource content
Web Search
Search the web and fetch content from URLs.
Setup
Set
TAVILY_API_KEY in config env to enable web search. Get your API key at https://tavily.com.
Available Scripts
scripts/search.py
- Web Search
scripts/search.pySearch the web via Tavily API and return LLM-friendly markdown.
# Search from command line python scripts/search.py "quantum computing" 5 # From Python from scripts.search import tavily_search output = tavily_search("quantum computing", max_results=5) print(output)
Parameters:
(str): Search query (keep under 400 chars)query
(str): ultra-fast | fast | basic | advanced (defaultsearch_depth
)basic
(int): Maximum results, default 3max_results
(bool): Include full page content when availableinclude_raw_content
Returns: Markdown string with formatted results
scripts/fetch.py
- Fetch URL Content
scripts/fetch.pyFetch and extract markdown content from a URL. No API key required.
# Fetch from command line python scripts/fetch.py "https://example.com" # From Python from scripts.fetch import fetch content = fetch("https://example.com") print(content)
Parameters:
(str): URL to fetchurl
Returns: Markdown content string
Workflow
- Search: Use
to find relevant pagestavily_search() - Fetch: Use
to get full content from specific URLsfetch() - Extract: Parse the content to find the information you need
Requirements
must be set in config env for search functionalityTAVILY_API_KEY
works without any API keyfetch- Dependencies:
,httpx
,beautifulsoup4
(auto-installed)markdownify