# cli


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L22"
target="_blank" style="float:right; font-size:smaller">source</a>

### fetch

``` python

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.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L36"
target="_blank" style="float:right; font-size:smaller">source</a>

### search

``` python

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.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L53"
target="_blank" style="float:right; font-size:smaller">source</a>

### read_arxiv

``` python

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.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L74"
target="_blank" style="float:right; font-size:smaller">source</a>

### read_yt

``` python

def read_yt(
    url:str, # YouTube URL or video ID
    as_json:bool=False, # output JSON
):

```

*Fetch YouTube metadata and full transcript.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L88"
target="_blank" style="float:right; font-size:smaller">source</a>

### search_yt

``` python

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.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L105"
target="_blank" style="float:right; font-size:smaller">source</a>

### install

``` python

def install(
    
):

```

*Install fossick SKILL.md to .agents/skills/fossick/ and
.claude/skills/fossick/.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L111"
target="_blank" style="float:right; font-size:smaller">source</a>

### sniff

``` python

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.*

------------------------------------------------------------------------

<a
href="https://github.com/vedicreader/fossick/blob/main/fossick/cli.py#L143"
target="_blank" style="float:right; font-size:smaller">source</a>

### main

``` python

def main(
    
):

```

*Entry point for the `fossick` CLI command.*
