pexels-stock-photos

pexels-stock-photos is a skill for Claude Code, Codex from moonlight-lupin/agent-skills. It costs 173 tokens per session (1,780 once invoked), scanned A, original, MIT.

A search-and-download tool for real stock photos from Pexels, an online photo library. It is for finding existing photographs rather than generating new artwork.

In plain words
What is it for?
Use it to find and download photos for presentations, articles, websites, or other materials, such as images of offices, desks, or places.
Why use it?
It helps when a project needs an authentic image and searching a stock library is more suitable than creating an AI-generated picture.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find and download photos for presentations, articles, websites, or other materials, such as images of offices, desks, or places.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moonlight-lupin/agent-skills/pexels-stock-photos
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.

Any agent
npx skills add moonlight-lupin/agent-skills --skill pexels-stock-photos
Clone the repo
git clone --depth 1 https://github.com/moonlight-lupin/agent-skills

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-stock-photos

README.md
[![agentmods](https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/pexels-stock-photos/github.svg)](https://agentmods.dev/skills/moonlight-lupin/agent-skills/pexels-stock-photos)
Your own site
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/pexels-stock-photos"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/pexels-stock-photos/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pexels-stock-photos

Your own site · 80×15
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/pexels-stock-photos"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/pexels-stock-photos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 56
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 98
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.1 $0.00173 $0.01780
Opus 5 $0.00086 $0.00890
Sonnet 5 $0.00035 $0.00356
Haiku 4.5 $0.00017 $0.00178

Measured 12d ago against content hash 7679d7770d1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pexels-stock-photos scanned grade A with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/test_skill.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "Authorization: $PEXELS_API_KEY" \
creative/pexels-stock-photos/SKILL.md · 175 lines

How it starts

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

Pexels Stock Photos

Search and download free stock photos from the Pexels API (200 req/hr, 20k/month free). All content is free for commercial and non-commercial use; just credit the photographer and link to Pexels.

Routing: Pexels vs AI Generation

User says... Tool
"find a photo of Singapore" / "search for office pictures" / "stock image of a desk" Pexels (this skill)
"I need a real photo for this slide" / "find pictures for my article" Pexels (this skill)
"generate an image of a cat" / "create a picture of..." / "make me an illustration" Host's image generation tool
"upscale this" / "remove background" / "edit: make warmer" Host's AI image editing skill
"production-ready hero image" / "let's do this properly" Host's multi-stage image generation skill

The key word test: if the user says photo, picture, stock image, or find/search → Pexels. If the user says generate, create, make, draw, or illustration → AI generation.

When to Use

  • User asks for a "photo of X" or "stock image of Y"
  • Building presentations (PPTX) that need real imagery
  • Article/blog illustrations needing authentic photos
  • Social media posts requiring professional photography
  • Any request for "real" images vs AI-generated

Don't use for:

  • AI art / creative generation → host's image generation tool
  • Editing existing images → host's image editing skill
  • Screenshots or diagrams → use appropriate tools

API Reference

Base URL: https://api.pexels.com/v1/ Auth: Authorization: <PEXELS_API_KEY> header

Endpoints

Endpoint Method Purpose
/search GET Search photos by query
/curated GET Curated trending photos
/photos/:id GET Get a specific photo by ID

Search Parameters

Param Type Default Notes
query string required e.g. "singapore skyline"
orientation string landscape, portrait, square
size string large (24MP), medium (12MP), small (4MP)
color string red, orange, blue, ... or hex #ffffff
locale string en-US zh-CN, ja-JP, etc.
per_page int 15 Max 80
page int 1 Pagination

Read the full file on GitHub · 175 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 175 lines · 173 tokens per session scan A 7679d7770d1f

Subscribe to this mod's changes

pexels-stock-photos is a skill published in the GitHub repository moonlight-lupin/agent-skills (64 stars, last pushed 5d ago), licensed MIT. It adds 173 tokens to every session and 1,780 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.