Chromium docs

From nwjs/chromium.src · View interactive version

Chromium docs is an AI agent skill from the GitHub repository nwjs/chromium.src. Search and reference Chromium documentation from the local docs index, including design docs, APIs, and development guides. Use when the user asks to find, locate, browse, or learn from Chromium docs about architecture, APIs, testing, GPU, networking, or other Chromium topics.

How to use this skill

Skill file

Chromium Documentation Search

When to activate

Activate this skill when the user:

docs?", "find the site-isolation design doc")

expects documentation references (e.g. "how to learn mojom", "how to

understand site isolation docs")

"network stack references")

Do NOT activate when:

documentation references.

explained.

general programming Q&A).

Usage

Build the index (required before first search; rebuild after major syncs):

python3 agents/skills/chromium-docs/scripts/chromium_docs.py \
  --build-index

Search documentation:

python3 agents/skills/chromium-docs/scripts/chromium_docs.py \
  "your query"

Index maintenance

The index should be rebuilt when:

The index covers ~2000+ markdown files and builds in about 30 seconds.

Error handling

If the search returns "index needs to be built first":

  1. Run the --build-index command shown above
  2. Retry the original search

Available categories

Documents are classified into the following categories. Use these names to

understand result groupings:

| Category | Covers |

| ------------- | ------------------------------------------ |

| android | Android-specific code and build docs |

| ios | iOS-specific docs |

| chromeos | ChromeOS / Ash docs |

| gpu | Graphics, WebGL, Vulkan, OpenGL |

| media | Audio, video, codecs |

| security | Sandbox, site-isolation, crypto, CORS |

| network | Net stack, QUIC, TCP, DNS, SSL/TLS |

| testing | Unit tests, browser tests, test frameworks |

| ui | Views, Aura, UI toolkit |

| accessibility | a11y, screen readers |

| build | GN, Ninja, compilation |

| performance | Benchmarks, memory, speed |

| api | Mojo/mojom interfaces |

| architecture | Design documents, multi-process model |

| development | DevTools, debugging, tools |

| general | Everything else |

Interpreting results

Search results are returned as markdown with:

When presenting results to the user:

  1. Show the top 3-5 most relevant results
  2. Include the file path so the user can open or read the document directly
  3. Briefly note what each document covers, based on the excerpt
  4. If no results are found, suggest alternative search terms or a different

category

Examples

User asks: "How does Chromium's multi-process architecture work?"

Search "multi-process architecture" and return the top design docs with file

paths and summaries.

User asks: "Find all testing-related docs"

Search "testing guide" to surface testing guides and frameworks.

User asks: "Where are the Mojo IPC docs?"

Search "mojo ipc" and return linked paths to the Mojo binding and interface

documentation.

User asks: "GPU rendering best practices"

Search "gpu rendering" and present GPU-category results with excerpts.

Resources

agents/skills/chromium-docs/data/configs/search_config.json

*/docs/*.md across the entire Chromium source tree

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.