pexels-cli

pexels-cli is a skill for Claude Code, Codex from ItamarZand88/CLI-Anything-WEB. It costs 94 tokens per session (769 once invoked), scanned A, original, MIT.

A command-line tool for finding and downloading free stock photos and videos from Pexels, a media library with searchable creator uploads.

In plain words
What is it for?
Use it to search photos or videos by keyword, filter results by properties such as orientation or size, inspect details, download media, and view creator collections.
Why use it?
It lets scripts and agents retrieve media with filters instead of downloading files manually through a browser.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/itamarzand88/cli-anything-web/pexels-cli
Any agent
npx skills add ItamarZand88/CLI-Anything-WEB --skill pexels-cli
Clone the repo
git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pexels-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/pexels-cli.svg)](https://agentmods.dev/skills/itamarzand88/cli-anything-web/pexels-cli)
Your own site
<a href="https://agentmods.dev/skills/itamarzand88/cli-anything-web/pexels-cli"><img src="https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/pexels-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 769 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00094 $0.00769
Opus 5 $0.00047 $0.00385
Sonnet 5 $0.00019 $0.00154
Haiku 4.5 $0.00009 $0.00077

Measured 4d ago against content hash 90539ff1d421, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pexels-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/pexels-cli/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

cli-web-pexels

Search and download Pexels stock photos and videos (no auth, Cloudflare bypass built in). Install: pip install cli-web-pexels

Commands

Command Purpose Key options
photos search QUERY Search photos --orientation landscape|portrait|square, --size large|medium|small, --color HEX_OR_NAME, --page N
photos get SLUG Photo details (image URLs, EXIF, location) slug or numeric ID
photos download SLUG Download a photo (JPEG) --size small|medium|large|original, -o/--output PATH
videos search QUERY Search videos --orientation, --page N
videos get SLUG Video details (video_files[] with quality/fps/link) slug or numeric ID
videos download SLUG Download a video (MP4) --quality sd|hd|uhd (default hd), -o/--output PATH
users get USERNAME Photographer profile
users media USERNAME A user's uploaded photos/videos --page N
collections get SLUG Collection detail + media --page N
collections discover Popular and curated collections

Examples

# Landscape nature photos; grab the first download URL
cli-web-pexels photos search "mountain lake" --orientation landscape --json | jq '.data[0].download_url'

# Photo details by slug (slug comes from search results)
cli-web-pexels photos get green-leaves-1072179 --json

# Download original size to a path
cli-web-pexels photos download green-leaves-1072179 --size original -o leaves.jpg

# Search videos and inspect HD renditions
cli-web-pexels videos get long-narrow-road-856479 --json | jq '.video_files[] | select(.quality=="hd")'

# Photographer profile
cli-web-pexels users get catiamatos --json

JSON output

Read commands accept --json and return the data directly — search returns {"data": [{id, title, slug, photographer, image_url, download_url, ...}]}, get returns the photo/video object. Errors return {"error": true, "code": "...", "message": "..."}. Download commands write the file and print the path (no --json flag).

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 57 lines · 94 tokens per session scan A 90539ff1d421

Subscribe to this mod's changes

pexels-cli is a skill published in the GitHub repository ItamarZand88/CLI-Anything-WEB (216 stars, last pushed 10d ago), licensed MIT. It adds 94 tokens to every session and 769 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

digitalsamba/claude-code-video-toolkit · 53 tokens

playwright-test-generator

Use when someone wants to add, write, create, or scaffold new Playwright end-to-end tests for a page, flow, form, component, uncovered route, or first-project setup. The skill analyzes coverage gaps, explores live pages only on local/disposable or externally isolated approved non-production targets, proposes scenarios…

voidmatcha/e2e-skills · 140 tokens

playwright-test-generator

Use this skill to generate new Playwright end-to-end tests from scratch — for a page, a user flow, a form, or a component — taking them from zero to reviewed, passing specs. Reach for it whenever someone wants to add, write, create, or scaffold Playwright E2E coverage, fill coverage gaps for uncovered routes, or…

voidmatcha/e2e-skills · 202 tokens

playwright-gif-capture

Specialization of playwright-harness for capturing an ANIMATED GIF of web content: drive a page/canvas/WebGL animation, grab a sequence of frames, and encode a looping GIF. Use when the task is "make a gif of this", "grab a gif of the demo/animation/shader", "record the canvas as a gif", or "capture a looping clip for…

simiancraft/simiancraft-skills · 167 tokens

qa-explore

Exploratory end-to-end QA with a team of agents that drive a real browser like human testers — they click through the whole app, create/fill/submit, screenshot and visually judge rendering + data correctness, capture trace/HAR/console/video evidence, adversarially verify each finding, learn from rejected findings, and…

victoraguilarsantamariadev/qa-explore · 158 tokens

capturing-flows

Use when motion is the evidence, such as demonstrating a multi-step flow, a transition, a loading state, or a bug that only shows while it happens, by recording a browser session and delivering it as a GIF.

m4ttstack/fast-browser · 48 tokens