cli
Simple CLI for LLM agents — fetch, search, and read commands.
fetch
def fetch(
url:str, # URL to fetch
sel:str=None, # CSS selector to extract (None = full page)
heavy:bool=False, # JS rendering via headless browser
stealthy:bool=False, # Anti-bot stealth fetcher
as_json:bool=False, # Output JSON instead of markdown
):
Fetch a URL and print as markdown.
search
def search(
query:str, # search query
n:int=10, # number of results
as_json:bool=False, # output JSON
):
Search the web via SearXNG; prints title, URL, and snippet.
read_arxiv
def read_arxiv(
url:str, # arXiv URL or paper ID
source:bool=False, # include full paper text
chars:int=4000, # max source chars to include
as_json:bool=False, # output JSON
):
Fetch arXiv paper metadata, authors, and summary.
read_yt
def read_yt(
url:str, # YouTube URL or video ID
as_json:bool=False, # output JSON
):
Fetch YouTube metadata and full transcript.
search_yt
def search_yt(
query:str, # search query
n:int=10, # number of results
as_json:bool=False, # output JSON
):
Search YouTube; prints title, URL, and channel.
install
def install(
):
Install fossick SKILL.md to .agents/skills/fossick/ and .claude/skills/fossick/.
sniff
def sniff(
url:str, # URL to navigate to in Chrome
pattern:str='*', # URL pattern to filter captured requests (glob or regex)
timeout:int=15, # seconds to wait for network activity
as_json:bool=False, # output JSON
):
Capture network requests fired by a page using a real Chrome session.
main
def main(
):
Entry point for the fossick CLI command.