Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Search and fetch Tenor GIFs (free Tenor API key required)
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 142% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 22% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 37% | 0% |
Search and fetch GIFs using the Tenor API. Obtain a free API key at https://developers.google.com/tenor/guides/quickstart (takes 2 minutes) and set it as the TENOR_API_KEY environment variable. All examples below use $env:TENOR_API_KEY (PowerShell) or os.environ["TENOR_API_KEY"] (Python).
powershellfunction Search-Gif($query, $limit = 5) { $q = [Uri]::EscapeDataString($query) $url = "https://tenor.googleapis.com/v2/search?q=$q&limit=$limit&key=$env:TENOR_API_KEY" $resp = Invoke-RestMethod -Uri $url $resp.results | ForEach-Object { [PSCustomObject]@{ Title = $_.title GifUrl = $_.media_formats.gif.url PreviewUrl = $_.media_formats.tinygif.url } } } # Usage Search-Gif "excited celebration" | Format-Table -AutoSize
pythonimport requests, urllib.parse def search_gif(query, limit=5, api_key=None): api_key = api_key or os.environ.get("TENOR_API_KEY", "") params = {"q": query, "limit": limit, "key": api_key} resp = requests.get("https://tenor.googleapis.com/v2/search", params=params) resp.raise_for_status() results = resp.json().get("results", []) return [{"title": r["title"], "url": r["media_formats"]["gif"]["url"]} for r in results] gifs = search_gif("happy dancing") for g in gifs: print(g["title"]) print(g["url"]) print()
powershell$url = "https://tenor.googleapis.com/v2/featured?limit=10&key=$env:TENOR_API_KEY" $resp = Invoke-RestMethod -Uri $url $resp.results | Select-Object title, @{N="url";E={$_.media_formats.gif.url}}
powershell$gifUrl = "https://media.tenor.com/your-gif.gif" $outPath = "C:\Users\<you>\Downloads\reaction.gif" Invoke-WebRequest -Uri $gifUrl -OutFile $outPath Write-Host "Downloaded: $outPath"
powershell# Categories: happy, sad, angry, love, funny, wow, thumbsup, facepalm, etc. $category = "facepalm" Search-Gif $category -limit 3 | Select-Object GifUrl
Register at https://developers.google.com/tenor/guides/quickstart — free, takes 2 minutes.
powershell$env:TENOR_API_KEY = "your_api_key_here" function Search-Gif($query, $limit = 5) { $q = [Uri]::EscapeDataString($query) $url = "https://tenor.googleapis.com/v2/search?q=$q&limit=$limit&key=$env:TENOR_API_KEY" (Invoke-RestMethod -Uri $url).results | Select-Object title, @{N="url";E={$_.media_formats.gif.url}} }
"Find me a GIF for when tests are passing" → Use step 2 with query "success celebration cheering" and return the top result URL.
"What are trending GIFs right now?" → Use step 3 to fetch featured/trending GIFs.
"Download the first result for 'thumbs up'" → Use step 1 to search, then step 4 to download the GifUrl of the first result.
Other measured skills in the registry, with their headline benchmark lift.