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.
npx skills add Lonsdale201/wp-agent-skills --skill lw-img-operations-integrationgit clone --depth 1 https://github.com/Lonsdale201/wp-agent-skillsWrote 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.
[](https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-img-operations-integration)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-img-operations-integration"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-img-operations-integration/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.
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/lw-img-operations-integration"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/lw-img-operations-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00122 | $0.03536 |
| Opus 5.5 | $0.00049 | $0.01414 |
| Sonnet 5.5 | $0.00024 | $0.00707 |
| Haiku 4.5 | $0.00012 | $0.00354 |
Grade A, and why
lw-img-operations-integration 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 28d 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.
How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LW Image 2.0: operations and integration
Use LW Image's admin screen, WP-CLI commands, and public hooks. Preserve originals, API credits, attachment metadata, and content URLs when changing an existing library.
Binding requirements and current surface
Read the installed plugin header before applying this reference:
| Contract | Version 2.0.2 |
|---|---|
| WordPress | 6.6 or newer |
| PHP | 8.0 or newer |
| Main option | lw_img_options |
| Admin screen | LW Plugins -> Image |
| WP-CLI namespace | wp lw-img |
| Admin REST namespace | lw-img/v1 |
| Backup root | wp-content/uploads/lw-img-backups/ |
| External service | HelloImg API |
The React admin needs WordPress 6.6's react-jsx-runtime registration. On an older WordPress release the settings page can be blank, so do not treat the declared minimum as a cosmetic header value.
Version 2.0.2 does not register WordPress Abilities or LW Site Manager abilities. Automate it through WP-CLI or a purpose-built integration using its public hooks. The lw-img/v1/admin/* routes belong to the cookie-authenticated admin application and all require manage_options.
Start with read-only checks
Run these before changing settings or processing media:
wp plugin list --name=lw-img --fields=name,status,version,update,update_version
wp lw-img status
wp lw-img doctor --format=json
wp lw-img leftovers --format=json
status reports the current queue, outcomes, savings, and backup size. doctor checks database engines, PHP, cURL, the image editor, output-format support, writable directories, disk space, cron loopback, old-image redirects, and API reachability. It exits non-zero when a critical check fails, so capture both output and exit status.
Version 2.0.2 has one machine-output edge case: when no competitor leftovers are found, wp lw-img leftovers --format=json prints a human Success: No leftovers found... line and exits zero instead of returning []. Accept either form in 2.0.2 automation, and remove the workaround after the command is fixed upstream.
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.
- 28d ago First seen · 297 lines · 122 tokens per session scan A 58984337bae0
lw-img-operations-integration is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (24 stars, last pushed 4d ago), licensed MIT. It adds 122 tokens to every session and 3,536 once invoked, about $0.0005 per session on Opus 5.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-09-27.
Other skills, from other repositories
wp-readme-optimizer
Reviews and rewrites WordPress.org plugin readme.txt files for maximum quality. Use this skill whenever a user pastes, uploads, or references a WordPress plugin readme.txt, or asks to improve, audit, review, score, or optimize a plugin's WordPress.org listing page. Also trigger when the user says things like "make my…
astro-seo
Audits and improves SEO for Astro sites. Use when the user asks to audit, set up, or improve SEO on an Astro site, or mentions head metadata, structured data, JSON-LD, sitemaps, IndexNow, Open Graph images, schema endpoints, NLWeb, hreflang, or search engine indexing in an Astro project. Produces drop-in code routed…
static-seo
Audits and improves SEO for static HTML sites. Use when the user asks to audit, set up, or improve SEO on a static site (Hugo, Jekyll, 11ty, Gatsby, Next.js static export, hand-rolled HTML, or wp-static-clone output), or mentions head metadata, structured data, JSON-LD, sitemaps, IndexNow, Open Graph images, schema…
readability-check
Runs a readability audit on a blog post draft or other multi-paragraph prose, calibrated for readers who read English as a second language. Checks ten categories — overall structure and topic order, paragraph structure, opening paragraph strength, tiered sentence length, passive voice, difficult words, filler and…
wp-static-clone
Clones a live WordPress (or other CMS-driven) site into a static HTML site deployable on any static host (Cloudflare Pages, Netlify, Vercel, S3+CloudFront, plain Apache/nginx). Use when the user wants to "scrape", "freeze", "archive", "static-ify", or "move to [host]" a WordPress site, or asks to turn a sitemap into…
content-seo
Audits a blog post draft or page copy for content-level SEO: search intent fit, focus keyphrase placement, E-E-A-T signals (experience, expertise, authoritativeness, trustworthiness), helpfulness and originality, content freshness, and internal linking. Use when the user asks "will this rank", "SEO check this post"…