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 agentmods add commands/secondsky/claude-skills/validate-configgit clone --depth 1 https://github.com/secondsky/claude-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/commands/secondsky/claude-skills/validate-config)<a href="https://agentmods.dev/commands/secondsky/claude-skills/validate-config"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/validate-config.svg" alt="Measured on agentmods" 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 | $0.00043 | $0.03823 |
| Opus 5 | $0.00022 | $0.01912 |
| Sonnet 5 | $0.00009 | $0.00765 |
| Haiku 4.5 | $0.00004 | $0.00382 |
Grade A, and why
cloudflare-images:validate-config 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 yesterday.
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.
IMAGES_TEST=$(curl -s \ How it starts
The opening of the file, as written. The whole thing — 525 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Validate Cloudflare Images Configuration
Comprehensive validation of wrangler.jsonc, environment variables, and Cloudflare Images bindings for Workers integration.
What This Command Does
When you run /validate-config, Claude will:
- Check if
wrangler.jsoncexists and has valid JSON - Verify images binding configuration
- Validate environment variables (
.env,.dev.vars) - Test API token permissions
- Check account ID matches binding
- Verify Worker can access IMAGES binding
- Validate transformation endpoints
- Check for common configuration issues
Usage
/validate-config
Run from your Cloudflare Worker project root (where wrangler.jsonc is located).
Implementation
Run the following validation checks:
1. Check wrangler.jsonc Exists
echo "📁 Checking project structure..."
if [ ! -f "wrangler.jsonc" ]; then
echo "❌ wrangler.jsonc not found"
echo " Run: wrangler init"
exit 1
else
echo "✅ wrangler.jsonc found"
fi
echo ""
2. Validate wrangler.jsonc Syntax
echo "📝 Validating wrangler.jsonc syntax..."
# Check if valid JSON (with comments allowed for JSONC)
if jq empty wrangler.jsonc 2>/dev/null; then
echo "✅ Valid JSON syntax"
else
# Try stripping comments and validating
if grep -v '^\s*//' wrangler.jsonc | jq empty 2>/dev/null; then
echo "✅ Valid JSONC syntax (with comments)"
else
echo "❌ Invalid JSON syntax in wrangler.jsonc"
echo " Check for trailing commas, missing quotes, etc."
exit 1
fi
fi
echo ""
3. Verify Images Binding Configuration
echo "🔗 Checking images binding..."
BINDING_EXISTS=$(jq -r 'has("images")' wrangler.jsonc 2>/dev/null)
if [ "$BINDING_EXISTS" = "true" ]; then
echo "✅ images binding configured"
# Validate binding structure
BINDING_COUNT=$(jq -r '.images | length' wrangler.jsonc)
echo " Bindings configured: $BINDING_COUNT"
# Check each binding
for i in $(seq 0 $(($BINDING_COUNT - 1))); do
BINDING_NAME=$(jq -r ".images[$i].binding" wrangler.jsonc)
BINDING_ACCOUNT=$(jq -r ".images[$i].account_id" wrangler.jsonc)
if [ "$BINDING_NAME" != "null" ]; then
echo " • Binding: $BINDING_NAME"
else
echo " ⚠️ Binding $i missing 'binding' field (default: IMAGES)"
fi
if [ "$BINDING_ACCOUNT" != "null" ]; then
echo " Account: ${BINDING_ACCOUNT:0:8}..."
else
echo " ⚠️ No account_id specified (will use account from wrangler auth)"
fi
done
else
echo "❌ No images binding configured"
echo ""
echo " Add to wrangler.jsonc:"
echo ' {
"images": [
{
"binding": "IMAGES",
"account_id": "your_account_id"
}
]
}'
exit 1
fi
echo ""
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.
- yesterday First seen · 525 lines · 43 tokens per session scan A bcda12317537
cloudflare-images:validate-config is a command published in the GitHub repository secondsky/claude-skills (214 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 3,823 once invoked, about $0.0002 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-09-03.
Other commands, from other repositories
correlate
Find related failures through pattern matching.
diff
Compare two command outputs with intelligent diff.
open
Open/retrieve an offloaded output by ID or shortcut.
search
Search through offloaded outputs with hard caps.
stats
Show FewWord session statistics with rich output and token savings.
timeline
Visual timeline of command outputs in current session.