inspect-web-config

Indexes nginx and Apache virtual hosts and journals CORS and security-header findings per site.

2|Updated Jun 14, 2026
One-click install
npx skills add https://github.com/odysseyalive/claude-watchman --skill inspect-web-config-odysseyalive
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: inspect-web-config
Source: https://github.com/odysseyalive/claude-watchman/tree/main/skills/grammar/inspect-web-config
Command: npx skills add https://github.com/odysseyalive/claude-watchman --skill inspect-web-config-odysseyalive

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Web servers often accumulate many virtual hosts with inconsistent CORS policies and missing security headers, and manually auditing each config file is slow and error-prone. This Skill builds a per-site index of every nginx server block and Apache VirtualHost so misconfigurations are recorded once and tracked across runs. ## Core Features & Use Cases - Per-site config index: Records each site's defining file and line, listen port, and resolved log paths as a stable journal entry. - CORS auditing: Flags Access-Control-Allow-Origin wildcard policies with the exact file:line and a review-tier remediation suggestion. - Security header checks: Detects missing HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Content-Security-Policy headers per site. - Use Case: During a server audit, run this after service inventory to get a deduplicated journal of every site's header and CORS posture, which the fixer skill can then remediate with operator confirmation. ## Quick Start Ask the AI to inspect the web server configuration on this machine and journal any CORS or missing security header findings per site.

Frequently Asked Questions about inspect-web-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit nginx and Apache configs for missing security headers?▼

Parse each server block or VirtualHost and check for HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Content-Security-Policy headers. This Skill journals one finding per missing header per site with the exact file and line to fix.

How to detect wildcard CORS policies on a web server?▼

Scan each site's config for Access-Control-Allow-Origin set to an asterisk, which is most serious on authenticated sites. The finding is journaled at review tier with a remediation suggesting explicit allowed origins chosen by the operator.

Does this work on both nginx and Apache servers?▼

Yes, it detects which web servers are present and parses nginx server blocks across nginx.conf, sites-enabled, and conf.d, plus Apache VirtualHost blocks, honoring include directives without hard-coding distro paths.

Will this skill modify my web server configuration?▼

No, it is strictly read-only and only observes and journals findings. Applying any fix is delegated to a separate remediation skill that asks for explicit per-action confirmation before changing anything.

Why does the skill do nothing on a workstation profile?▼

Web CORS and security-header checks are server-direction checks, so on a workstation profile both are disabled and the skill exits. A workstation actually serving public traffic is surfaced separately by the service inventory step.