webspec-indexlisted
Install: claude install-skill jnjaeschke/webspec-index
# webspec-index
Query WHATWG, W3C, and TC39 web specifications from the command line.
Use `webspec-index` whenever you need to understand what a web spec says — algorithm steps, section content, cross-references, or whether a spec anchor exists. Specs are fetched and cached locally on first use.
## Available specs
Assume that all specs from WHATWG, W3C and TC39 are indexed. If in doubt, run `webspec-index specs` to list all spec names and their base URLs.
## Installation
If `webspec-index` is not already available in your environment, you can install it via cargo:
```bash
cargo binstall webspec-index
# or
cargo install webspec-index
```
## Commands
Always put the section identifier in quotes to avoid shell interpretation of `#`.
See `webspec-index --help` for full command list and options.
### Look up a spec section
```bash
webspec-index query 'HTML#navigate'
webspec-index query 'DOM#concept-tree'
webspec-index query 'CSS-GRID#grid-container'
webspec-index query 'https://html.spec.whatwg.org/#navigate'
webspec-index query 'https://w3c.github.io/webappsec-permissions-policy/#permissions-policy-header'
```
Returns the section's title, type (heading/algorithm/definition), full content as markdown, navigation tree (parent/prev/next/children), and cross-references. This is the primary command — use it to read what a spec section says.
Use `--format markdown` for human-readable output, or default `--format json` for structured data.
For non-hardcoded specs, URL querie