Cc API Proxy Safety
doccker/cc-use-exp
网关/代理/WAF/CDN 中间件响应判定与关键词匹配安全规范。适用于 proxy/gateway/waf/cdn/nginx/openresty/rewrite/redirect 等代码,防止把正常长正文中的 Cloudflare、502、bad gateway、error 等技术术语误判为上游错误。
HTTP caching header analyzer that checks Cache-Control directives, ETag/Last-Modified freshness, Vary correctness, CDN cache status (X-Cache, CF-Cache-Status, Age), and stale-while-revalidate…
$ npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills phy-http-cache-audit --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/phy-http-cache-audit .claude/skills/phy-http-cache-audit && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "phy-http-cache-audit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-audit into .claude/skills/phy-http-cache-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phy-http-cache-audit", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-auditType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills phy-http-cache-audit --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/phy-http-cache-audit .agents/skills/phy-http-cache-audit && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "phy-http-cache-audit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-audit into .agents/skills/phy-http-cache-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phy-http-cache-audit", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills phy-http-cache-audit --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/phy-http-cache-audit .cursor/skills/phy-http-cache-audit && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "phy-http-cache-audit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-audit into .cursor/skills/phy-http-cache-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phy-http-cache-audit", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/phy-http-cache-audit--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills phy-http-cache-audit --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/phy-http-cache-audit .gemini/skills/phy-http-cache-audit && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "phy-http-cache-audit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-audit into .gemini/skills/phy-http-cache-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phy-http-cache-audit", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills phy-http-cache-auditInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/phy-http-cache-audit .github/skills/phy-http-cache-audit && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "phy-http-cache-audit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-audit into .github/skills/phy-http-cache-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phy-http-cache-audit", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills phy-http-cache-audit --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/phy-http-cache-audit .opencode/skills/phy-http-cache-audit && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "phy-http-cache-audit" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-http-cache-audit into .opencode/skills/phy-http-cache-audit/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "phy-http-cache-audit", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
phy-http-cache-auditHTTP caching header analyzer that checks Cache-Control directives, ETag/Last-Modified freshness, Vary correctness, CDN cache status (X-Cache, CF-Cache-Status, Age), and stale-while-revalidate…
Phy HTTP Cache Audit is an agent skill from LeoYeAI/openclaw-master-skills. HTTP caching header analyzer that checks Cache-Control directives, ETag/Last-Modified freshness, Vary correctness, CDN cache status (X-Cache, CF-Cache-Status, Age), and stale-while-revalidate opportunities for any URL or local dev server. Identifies assets that should be cached but aren't, misconfigured max-age values, cache poisoning risks (dangerous Vary headers), and missing immutable flags on hashed static files. Supports nginx, Apache, Cloudflare, Fastly, and Next.js config generation. Zero external API —…
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `_meta.json`).
It sits in DevOps & Cloud, covering Cloud networking and Caching. It works with Cloudflare, NGINX and Next.js. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Phy HTTP Cache Audit loads about 4.1k tokens when it runs. Until then it costs about 177 tokens; SKILL.md has 316 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its Apache-2.0 licence (© LeoYeAI). 316 words, ~4,119 tokens.
.claude/skills/phy-http-cache-audit/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Your Lighthouse score says "Serve static assets with an efficient cache policy." You have Cache-Control: no-store on your 2MB vendor.js because you copied an API middleware header.
This skill fetches response headers for your URLs, classifies each resource's caching behavior, identifies what should be cached but isn't, and generates the exact config lines for nginx/Apache/Cloudflare/Next.js.
Works against any URL via curl. Zero external API.
# Option 1: Audit a single URL
/cache-audit https://myapp.com/static/app.abc123.js
# Option 2: Audit multiple asset types for a site
/cache-audit https://myapp.com --scan-assets
# Option 3: Audit local dev server
/cache-audit http://localhost:3000/api/users
# Option 4: Check specific resource type
/cache-audit https://myapp.com/api/products # Should be short-lived
/cache-audit https://myapp.com/logo.png # Should be immutable
# Option 5: Generate config for missing cache headers
/cache-audit https://myapp.com --output nginx
/cache-audit https://myapp.com --output cloudflare
# Option 6: Audit all resources loaded by a page (via HAR analysis)
/cache-audit https://myapp.com --har-file network.harimport subprocess
import re
from urllib.parse import urlparse
from dataclasses import dataclass, field
from typing import Optional
@dataclass
class CacheAnalysis:
url: str
resource_type: str # js, css, image, font, api, html, other
cache_control: Optional[str]
etag: Optional[str]
last_modified: Optional[str]
vary: Optional[str]
age: Optional[int] # seconds since cached by CDN
cdn_cache_hit: Optional[str] # HIT / MISS / EXPIRED / BYPASS
expires: Optional[str]
pragma: Optional[str]
# Derived
max_age: Optional[int] = None
s_maxage: Optional[int] = None
is_cacheable: bool = False
has_validation: bool = False
grade: str = 'F' # A/B/C/F
issues: list[str] = field(default_factory=list)
fixes: list[str] = field(default_factory=list)
def fetch_response_headers(url: str) -> dict[str, str]:
"""Fetch HTTP response headers via curl."""
result = subprocess.run(
['curl', '-sI', url, '--max-time', '10', '-L',
'--user-agent', 'CacheAuditor/1.0',
'-H', 'Accept-Encoding: gzip, deflate, br'],
capture_output=True, text=True
)
headers = {}
for line in result.stdout.splitlines():
if ':' in line and not line.startswith('HTTP/'):
key, _, value = line.partition(':')
headers[key.strip().lower()] = value.strip()
return headers
def detect_resource_type(url: str, content_type: str = '') -> str:
"""Classify resource type from URL path and Content-Type."""
path = urlparse(url).path.lower()
ct = content_type.lower()
if re.search(r'\.(js|mjs|cjs)(\?|$)', path) or 'javascript' in ct:
return 'js'
if re.search(r'\.css(\?|$)', path) or 'text/css' in ct:
return 'css'
if re.search(r'\.(png|jpg|jpeg|gif|webp|avif|svg|ico)(\?|$)', path) or 'image/' in ct:
return 'image'
if re.search(r'\.(woff|woff2|ttf|otf|eot)(\?|$)', path) or 'font' in ct:
return 'font'
if re.search(r'\.(html|htm)(\?|$)', path) or 'text/html' in ct:
return 'html'
if '/api/' in path or 'json' in ct:
return 'api'
return 'other'
def parse_max_age(cc: str) -> Optional[int]:
"""Extract max-age value from Cache-Control header."""
m = re.search(r'\bmax-age\s*=\s*(\d+)', cc, re.I)
return int(m.group(1)) if m else None
def parse_s_maxage(cc: str) -> Optional[int]:
"""Extract s-maxage (CDN TTL) from Cache-Control header."""
m = re.search(r'\bs-maxage\s*=\s*(\d+)', cc, re.I)
return int(m.group(1)) if m else None
def parse_cdn_cache_status(headers: dict) -> Optional[str]:
"""Detect CDN cache hit/miss from vendor headers."""
# Cloudflare
if 'cf-cache-status' in headers:
return headers['cf-cache-status'].upper()
# Generic CDN (Fastly, Akamai, AWS CloudFront, Nginx proxy)
if 'x-cache' in headers:
val = headers['x-cache'].upper()
if 'HIT' in val:
return 'HIT'
if 'MISS' in val:
return 'MISS'
# Nginx proxy_cache
if 'x-proxy-cache' in headers:
return headers['x-proxy-cache'].upper()
return None# Recommended cache durations by resource type
RECOMMENDED_MAX_AGE = {
'js': 31536000, # 1 year (must use content hash in filename)
'css': 31536000, # 1 year (content hash required)
'image': 2592000, # 30 days
'font': 31536000, # 1 year (fonts rarely change)
'html': 0, # no-cache (always revalidate)
'api': 0, # no-store or very short
'other': 86400, # 1 day default
}
# Hashed filename patterns — these should be immutable
HASH_PATTERN = re.compile(r'[._-][a-f0-9]{6,16}[._](js|css|woff2?|png|jpg)$', re.I)
def analyze_caching(url: str) -> CacheAnalysis:
"""Full cache analysis for a single URL."""
headers = fetch_response_headers(url)
cc = headers.get('cache-control', '')
ct = headers.get('content-type', '')
resource_type = detect_resource_type(url, ct)
path = urlparse(url).path
analysis = CacheAnalysis(
url=url,
resource_type=resource_type,
cache_control=cc or None,
etag=headers.get('etag'),
last_modified=headers.get('last-modified'),
vary=headers.get('vary'),
age=int(headers['age']) if headers.get('age', '').isdigit() else None,
cdn_cache_hit=parse_cdn_cache_status(headers),
expires=headers.get('expires'),
pragma=headers.get('pragma'),
)
if cc:
analysis.max_age = parse_max_age(cc)
analysis.s_maxage = parse_s_maxage(cc)
analysis.has_validation = bool(analysis.etag or analysis.last_modified)
# ── Check: no-store on cacheable resource ────────────────────────────────
cc_lower = cc.lower()
if 'no-store' in cc_lower and resource_type in ('js', 'css', 'image', 'font'):
analysis.issues.append(
f"no-store on {resource_type} asset — browser cannot cache, every request re-downloads"
)
rec_age = RECOMMENDED_MAX_AGE[resource_type]
if HASH_PATTERN.search(path):
analysis.fixes.append(
f"Filename has content hash → safe to add: "
f"Cache-Control: public, max-age={rec_age}, immutable"
)
else:
analysis.fixes.append(
f"Add content hash to filename, then: "
f"Cache-Control: public, max-age={rec_age}, immutable"
)
# ── Check: no-cache without ETag/Last-Modified ───────────────────────────
elif 'no-cache' in cc_lower and not analysis.has_validation:
if resource_type not in ('api', 'html'):
analysis.issues.append(
"no-cache without ETag or Last-Modified — "
"revalidation always results in full re-download (no 304)"
)
analysis.fixes.append("Add ETag generation or Last-Modified header to enable 304 responses")
# ── Check: missing Cache-Control entirely ─────────────────────────────────
elif not cc:
if resource_type in ('js', 'css', 'image', 'font'):
analysis.issues.append(
f"No Cache-Control on {resource_type} — "
f"browser applies heuristic caching (typically ~10% of Last-Modified age)"
)
rec_age = RECOMMENDED_MAX_AGE[resource_type]
if HASH_PATTERN.search(path):
analysis.fixes.append(
f"Cache-Control: public, max-age={rec_age}, immutable"
)
else:
analysis.fixes.append(
f"Cache-Control: public, max-age={rec_age}"
)
# ── Check: max-age too short for hashed static assets ────────────────────
elif analysis.max_age is not None:
rec_age = RECOMMENDED_MAX_AGE.get(resource_type, 86400)
if resource_type in ('js', 'css', 'font') and analysis.max_age < 86400:
analysis.issues.append(
f"max-age={analysis.max_age}s is very short for {resource_type} "
f"(recommend {rec_age}s with content hash)"
)
if HASH_PATTERN.search(path):
analysis.fixes.append(
f"Filename has content hash → increase to: "
f"max-age={rec_age}, immutable"
)
# ── Check: missing immutable on hashed assets ────────────────────────────
if (HASH_PATTERN.search(path) and 'immutable' not in cc_lower
and resource_type in ('js', 'css', 'font')):
analysis.issues.append(
"Filename has content hash but missing 'immutable' directive — "
"browser may still revalidate during page load"
)
analysis.fixes.append("Add immutable: Cache-Control: public, max-age=31536000, immutable")
# ── Check: Vary header risks ──────────────────────────────────────────────
vary = (analysis.vary or '').lower()
if 'user-agent' in vary:
analysis.issues.append(
"Vary: User-Agent — CDN creates separate cache entry per user agent string, "
"effectively disabling CDN caching (thousands of variants)"
)
analysis.fixes.append("Remove User-Agent from Vary; use separate URL parameters or paths for device variants")
if '*' in vary:
analysis.issues.append("Vary: * — CDN cannot cache this resource at all")
analysis.fixes.append("Replace Vary: * with specific header names")
# ── Check: s-maxage missing on cacheable assets ──────────────────────────
if resource_type in ('js', 'css', 'image') and analysis.max_age and not analysis.s_maxage:
if analysis.cdn_cache_hit == 'MISS':
analysis.issues.append(
"CDN returning MISS — s-maxage not set, CDN may not be caching this resource"
)
analysis.fixes.append("Add s-maxage=31536000 to allow CDN caching independently of browser TTL")
# ── Check: API endpoint with no-store missing ────────────────────────────
if resource_type == 'api' and cc and 'no-store' not in cc_lower and 'private' not in cc_lower:
analysis.issues.append(
"API response missing no-store/private — may be cached by proxy/CDN with user data"
)
analysis.fixes.append(
"Add: Cache-Control: no-store OR Cache-Control: private, no-cache"
)
# ── Assign grade ─────────────────────────────────────────────────────────
if not analysis.issues:
analysis.grade = 'A'
analysis.is_cacheable = True
elif len(analysis.issues) == 1:
analysis.grade = 'B'
elif len(analysis.issues) == 2:
analysis.grade = 'C'
else:
analysis.grade = 'F'
return analysis# Discover all assets loaded by a page using curl + grep
URL="https://myapp.com"
# Method 1: Scan common static asset paths
PATHS=(
"/static/js/main.js"
"/static/css/main.css"
"/favicon.ico"
"/logo.png"
"/api/health"
"/api/users"
)
for path in "${PATHS[@]}"; do
echo "=== $URL$path ==="
curl -sI "$URL$path" | grep -iE "cache-control|etag|last-modified|vary|cf-cache|x-cache|age"
echo ""
done
# Method 2: From a saved HAR file (browser DevTools → Network → Save as HAR)
python3 -c "
import json, sys
har = json.load(open('network.har'))
urls = [e['request']['url'] for e in har['log']['entries']
if e['response']['status'] == 200]
for url in urls[:50]:
print(url)
"## HTTP Cache Audit
Site: https://myapp.com | Resources checked: 23
---
### Summary
| Grade | Count | Examples |
|-------|-------|---------|
| 🔴 F (uncacheable/misconfigured) | 8 | vendor.abc123.js, app.def456.js |
| 🟠 C (partially correct) | 5 | logo.png, hero.webp |
| 🟡 B (minor issues) | 4 | fonts/inter.woff2 |
| ✅ A (correctly cached) | 6 | favicon.ico, og-image.png |
**Estimated cache performance impact: ~2.4MB re-downloaded on every page load**
---
### 🔴 Critical Issues
**vendor.abc123.js** — `Cache-Control: no-store`
- URL has content hash `abc123` → safe for long-term caching
- Every visitor re-downloads this 847KB file on every page load
**Fix:**
```nginx
location ~* \.[a-f0-9]{8,}\.(js|css)$ {
add_header Cache-Control "public, max-age=31536000, immutable";
expires 1y;
}app.def456.js — No Cache-Control header
Fix: Same nginx location block above.
logo.png — Cache-Control: max-age=3600, public
Fix: Cache-Control: public, max-age=2592000 (30 days)
Use filename versioning (logo-v2.png) if you need instant invalidation.
fonts/inter.woff2 — Cache-Control: public, max-age=604800
immutable directiveFix: Cache-Control: public, max-age=31536000, immutable
/api/users — Vary: User-Agent, Accept-Encoding
User-Agent in Vary creates thousands of cache variants in CDNFix: Remove User-Agent from Vary: Vary: Accept-Encoding
# Static assets with content hash — immutable 1 year
location ~* \.[a-f0-9]{6,16}\.(js|css|woff2?)(\?.*)?$ {
add_header Cache-Control "public, max-age=31536000, immutable";
add_header Vary "Accept-Encoding";
expires 1y;
}
# Images — 30 days
location ~* \.(png|jpg|jpeg|webp|avif|gif|svg|ico)$ {
add_header Cache-Control "public, max-age=2592000";
add_header Vary "Accept-Encoding";
expires 30d;
}
# HTML — always revalidate
location ~* \.(html?)$ {
add_header Cache-Control "no-cache";
}
# API — never cache
location /api/ {
add_header Cache-Control "no-store";
}Verify:
curl -sI https://myapp.com/static/js/vendor.abc123.js | grep -i cache
# Should return: cache-control: public, max-age=31536000, immutable
# Should return: cf-cache-status: HIT (after Cloudflare warms up)
---
## Quick Mode Output
Cache Audit: https://myapp.com (23 resources)
🔴 8 resources with no-store or no Cache-Control on hashed static files → ~2.4MB re-downloaded every page load 🟠 5 resources with max-age too short (< 1 week for static assets) ✅ 6 resources correctly configured
Top fix: Add Cache-Control: public, max-age=31536000, immutable to hashed JS/CSS
→ Estimated improvement: 2.4MB cached, ~600ms faster repeat visits
CDN status: 8 MISS, 6 HIT (Cloudflare) Vary issues: /api/users has Vary: User-Agent (prevents CDN caching)
© LeoYeAI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/phy-http-cache-audit of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Phy HTTP Cache Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Phy HTTP Cache Audit this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.1k | Automated safety check: Pass | Apache-2.0 | |
| Cc API Proxy Safetydoccker/cc-use-exp | 1.1k | — | ~717 | Automated safety check: Pass | Custom licence | |
| Nginx C Module Perfpproenca/dot-skills | 214 | — | ~2k | Automated safety check: Pass | MIT | |
| NGINX Ingress Policy CRD Guidenginx/kubernetes-ingress | 5.1k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Cloudflare Nextjssecondsky/claude-skills | 227 | — | ~5.3k | Automated safety check: Notes | MIT | |
| Openfdd Railway CLIbbartling/open-fdd | 172 | — | ~2.3k | Automated safety check: Notes | Custom licence |
doccker/cc-use-exp
网关/代理/WAF/CDN 中间件响应判定与关键词匹配安全规范。适用于 proxy/gateway/waf/cdn/nginx/openresty/rewrite/redirect 等代码,防止把正常长正文中的 Cloudflare、502、bad gateway、error 等技术术语误判为上游错误。
pproenca/dot-skills
nginx C module performance optimization and reliability guidelines based on the official nginx development guide.
nginx/kubernetes-ingress
Step-by-step checklist for adding a new Policy CRD type to the NGINX Ingress Controller, from the Go types and validation to config generation and templates.
secondsky/claude-skills
Deploy Next.js to Cloudflare Workers via the OpenNext adapter (@opennextjs/cloudflare).
bbartling/open-fdd
A skill your agent uses when installing, authenticating, linking, or re-pinning the Open-FDD Railway hub (central/mqtt/web) via the Railway CLI on bensbench.
olorehq/olore
Local opennext documentation reference (latest). An agent skill from olorehq/olore.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Works with
Categories
HTTP caching header analyzer that checks Cache-Control directives, ETag/Last-Modified freshness, Vary correctness, CDN cache status (X-Cache, CF-Cache-Status, Age), and stale-while-revalidate…. Phy HTTP Cache Audit is an agent skill from LeoYeAI/openclaw-master-skills. HTTP caching header analyzer that checks Cache-Control directives, ETag/Last-Modified freshness, Vary correctness, CDN cache status (X-Cache, CF-Cache-Status, Age), and stale-while-revalidate opportunities for any URL or local dev server.
Phy HTTP Cache Audit fits situations like: no-cache no-store; immutable assets.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a claude-code`. Or copy the skill folder (skills/phy-http-cache-audit in LeoYeAI/openclaw-master-skills) into .claude/skills/phy-http-cache-audit in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a codex`. Or copy the skill folder (skills/phy-http-cache-audit in LeoYeAI/openclaw-master-skills) into .agents/skills/phy-http-cache-audit in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill phy-http-cache-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/phy-http-cache-audit, .gemini/skills/phy-http-cache-audit, .github/skills/phy-http-cache-audit and .opencode/skills/phy-http-cache-audit in your project.
Going by SKILL.md and its folder, Phy HTTP Cache Audit needs the command-line tools its instructions call (curl and python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Phy HTTP Cache Audit is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Phy HTTP Cache Audit: Cc API Proxy Safety (doccker/cc-use-exp, 1.1k stars), Nginx C Module Perf (pproenca/dot-skills, 214 stars), NGINX Ingress Policy CRD Guide (nginx/kubernetes-ingress, 5.1k stars) and Cloudflare Nextjs (secondsky/claude-skills, 227 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,158 GitHub stars. The repository holds 1,215 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.