Agent skill

Histograms

by nwjs in nwjs/chromium.src

Manage Chromium histograms and enums metadata. An agent skill from nwjs/chromium.src.

BSD-3-ClauseAuto-check passed

Install Histograms

skills CLI
$ npx skills add nwjs/chromium.src --skill histograms -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nwjs/chromium.src histograms --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nwjs/chromium.src.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/histograms .claude/skills/histograms && rm -rf skills-src

Use ~/.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/

Facts

Skill name
histograms
GitHub stars
160
Token cost
~483 tokens
SKILL.md length
236 words
Files
2
Skills in repo
64
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Manage Chromium histograms and enums metadata. An agent skill from nwjs/chromium.src.

  • Works in 2 steps: The user who requested the change… → A relevant team (if possible). If you're…
  • Adding code that logs a histogram
  • SKILL.md covers Overview, Guidelines and Workflow
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Histograms is an agent skill from nwjs/chromium.src. Manage Chromium histograms and enums metadata. Use this skill when adding code that logs a histogram or when updating metadata in histograms.xml or enums.xml.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

The repository describes itself as: Chromium codebase with NW.js modifications. Based on https://chromium.googlesource.com/chromium/src.git. The licence is BSD-3-Clause.

When your agent uses it

  • Adding code that logs a histogram
  • Updating metadata in histograms.xml

Example prompts

  • “/histograms”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. The user who requested the change (usually the primary owner).
  2. A relevant team (if possible). If you're unsure who to list as the second

What it can do on your machine

Read from SKILL.md and the folder at commit a9e8946. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Histograms loads about 483 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 236 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~483

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from nwjs/chromium.src at commit a9e8946, republished under its BSD-3-Clause licence (© nwjs). 236 words, ~483 tokens.

Download SKILL.mdSave it as .claude/skills/histograms/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
histograms
description
Manage Chromium histograms and enums metadata. Use this skill when adding code that logs a histogram or when updating metadata in histograms.xml or enums.xml.

Histograms

This skill provides guidance and workflows for logging histograms and managing their metadata in the Chromium codebase.

Overview

When adding code that logs a histogram, you must also add metadata about that histogram and any associated enums to ensure they are properly tracked and interpreted.

Guidelines

Metadata Files
  • Histograms: Metadata goes in histograms.xml.
  • Enums: Metadata about enums goes in enums.xml in the same directory as the corresponding histograms.xml.
Directory Structure

Metadata files are located in subdirectories of //tools/metrics/histograms/metadata/. The subdirectory name is based on the first part of the histogram name (e.g., Platform.Foo would likely be in metadata/platform/). If the correct subdirectory is unclear, ask the user.

Ownership

Histograms must have at least two owners:

  1. The user who requested the change (usually the primary owner).
  2. A relevant team (if possible). If you're unsure who to list as the second owner, ask the user.
Expiry Date

Set the expiry date to 3 months in the future from the date you add the histogram, unless a specific date is more appropriate.

Workflow

  1. Identify the Histogram: Determine the name of the histogram being logged or updated.
  2. Locate Metadata Directory: Find the appropriate subdirectory in //tools/metrics/histograms/metadata/.
  3. Update histograms.xml: Add or update the <histogram> entry.
  4. Update enums.xml (if applicable): If the histogram uses an enum, ensure the corresponding <enum> and its <int> values are defined in enums.xml.
  5. Verify: Check //tools/metrics/histograms/README.md for additional policies.

© nwjs, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in agents/skills/histograms of nwjs/chromium.src.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit a9e8946

Compare with similar skills

Histograms 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.

Histograms compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Histograms this skillnwjs/chromium.src160—~483Automated safety check: PassBSD-3-Clause
Enumsidavidov13/agentic-playwright225—~3kAutomated safety check: PassMIT
Adinfo Enumwgpsec/AboutSecurity1.8k—~383Automated safety check: PassNone
Create Enumshopsys/shopsys350—~1.9kAutomated safety check: PassCustom licence
Unreal Enum and Struct Editorkevinpbuckley/VibeUE726—~2.3kAutomated safety check: PassMIT
Bpx Enumwilddogjp/openbpx101—~268Automated safety check: PassApache-2.0

Similar skills

  • Enums

    idavidov13/agentic-playwright

    TypeScript enum conventions for the Playwright scaffold — PascalCase enum names, SCREAMINGSNAKECASE members, location rules for app-specific (enums/{area}/) vs shared/utility (enums/util/)…

    225 GitHub stars~3k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Adinfo Enum

    wgpsec/AboutSecurity

    使用 Adinfo 进行 Active Directory 信息收集。当获得域用户凭据后需要快速收集域环境信息时使用。Adinfo 是一个快速 AD 信息收集工具,一条命令输出域控列表、域管用户、信任关系、GPO、SPN、委派配置等关键信息——比手动 LDAP 查询快得多。发现域环境后第一步信息收集使用此技能

    1.8k GitHub stars~383 tokensUpdated yesterday
    SecurityAuto-check passed
  • Create Enum

    shopsys/shopsys

    Create a Shopsys-style enum (a class extending AbstractEnum with public typed constants, NOT a native PHP enum).

    350 GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Unreal Enum and Struct Editor

    kevinpbuckley/VibeUE

    Creates, edits and inspects Unreal Engine UserDefinedEnums and UserDefinedStructs through Python, including adding values or members and reading internal versus display names.

    726 GitHub stars~2.3k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Bpx Enum

    wilddogjp/openbpx

    BPX enum command skill. An agent skill from wilddogjp/openbpx.

    101 GitHub stars~268 tokensUpdated 3 mo ago
    Auto-check passed
  • Subdomain Enum

    CommonHuman-Lab/nyxstrike

    Subdomain and DNS enumeration workflow using subfinder, amass, dnsenum, fierce, theharvester, gau, and waybackurls

    157 GitHub stars~858 tokensUpdated 2 days ago
    SecurityAuto-check passed

More from nwjs/chromium.src

All 64 skills in this repo
  • Analyzing SQL Traces

    nwjs/chromium.src

    Extracts raw trace data from Perfetto traces, runs arbitrary SQL queries for custom follow-up analysis, and applies expert cognitive principles (Tiered Flow Analysis, Semantic Mismatch, Redundancy)…

    160 GitHub stars~2.9k tokensUpdated 5 days ago
    Auto-check passed
  • Autonomous multi-agent performance optimization loop for Chromium and V8.

    160 GitHub stars~4.2k tokensUpdated 5 days ago
    Auto-check passed
  • Automated Tracing

    nwjs/chromium.src

    Automated Tracing & Performance Telemetry in Chromium using Perfetto and Telemetry benchmarks.

    160 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • Chrome Releases

    nwjs/chromium.src

    Queries Chrome commit, version, release, and milestone metadata.

    160 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed
  • Chromium Docs

    nwjs/chromium.src

    Search and reference Chromium documentation from the local docs index, including design docs, APIs, and development guides.

    160 GitHub stars~1.2k tokensUpdated 5 days ago
    Auto-check passed
  • Gn Deps Debugging

    nwjs/chromium.src

    Diagnose Chromium GN dependency and include-visibility failures, including BUILD.gn deps/publicdeps, DEPS include rules, private headers, and circular dependencies.

    160 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed

Questions about Histograms

What does Histograms do?

Manage Chromium histograms and enums metadata. An agent skill from nwjs/chromium.src. src. Manage Chromium histograms and enums metadata.

When should I use Histograms?

Histograms fits situations like: adding code that logs a histogram; updating metadata in histograms.xml.

How do I install Histograms in Claude Code?

Run `npx skills add nwjs/chromium.src --skill histograms -a claude-code`. Or copy the skill folder (agents/skills/histograms in nwjs/chromium.src) into .claude/skills/histograms in your project. Claude Code loads it when a task matches its description.

How do I install Histograms in Codex?

Run `npx skills add nwjs/chromium.src --skill histograms -a codex`. Or copy the skill folder (agents/skills/histograms in nwjs/chromium.src) into .agents/skills/histograms in your project. Codex loads it when a task matches its description.

Can I use Histograms in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nwjs/chromium.src --skill histograms -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/histograms, .gemini/skills/histograms, .github/skills/histograms and .opencode/skills/histograms in your project.

What does Histograms need to run?

SKILL.md names no scripts, command-line tools or credentials: Histograms is instructions for the agent only.

Does Histograms access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Histograms safe to install?

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.

What licence does Histograms use?

Histograms is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Histograms use?

About 483 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Histograms?

Skills that share tags, products or a category with Histograms: Enums (idavidov13/agentic-playwright, 225 stars), Adinfo Enum (wgpsec/AboutSecurity, 1.8k stars), Create Enum (shopsys/shopsys, 350 stars) and Unreal Enum and Struct Editor (kevinpbuckley/VibeUE, 726 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Histograms?

nwjs (a GitHub organization) maintains it in nwjs/chromium.src, which has 160 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 3, 2026.

Source: nwjs/chromium.src on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.