Agent skill

Hub

by nwjs in nwjs/chromium.src

Orchestrator for the "Code Health Hub" framework. An agent skill from nwjs/chromium.src.

BSD-3-ClauseAuto-check passedDevelopment

Install Hub

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

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

GitHub CLI
$ gh skill install nwjs/chromium.src hub --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/projects/code-health/hub .claude/skills/hub && 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
hub
GitHub stars
160
Token cost
~936 tokens
SKILL.md length
440 words
Files
8 (incl. scripts, references)
Skills in repo
64
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Orchestrator for the "Code Health Hub" framework. An agent skill from nwjs/chromium.src.

  • Works in 2 steps: Welcome & Triage → Category A Routing (Code Health)
  • Ly when the user refers to the Hub
  • SKILL.md covers 🧠 Strategic Delegation…, 📂 Shared Resources, Workflow and Tone
  • Runs Python scripts from its folder

What it does

Hub is an agent skill from nwjs/chromium.src. Orchestrator for the "Code Health Hub" framework. Trigger only when the user refers to the Hub or asks to see "available cleanup tasks" within the Chromium technical debt reduction system.

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/automated_review.md`, `references/discovery_and_batch_selection.md` and `references/submission.md`).

It sits in Development, covering Code quality and Technical debt. 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

  • Ly when the user refers to the Hub
  • Asks to see available cleanup tasks within the Chromium technical debt reduction system

Example prompts

  • “Code Health Hub”
  • “available cleanup tasks”
  • “/hub”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Welcome & Triage
  2. Category A Routing (Code Health)

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

    Ships 2 files in scripts/ (Python), which the agent can run.

    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

Hub loads about 936 tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 48 tokens; SKILL.md has 440 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~936
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

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); the scripts in this folder are not scanned.

SKILL.md

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

Download SKILL.mdSave it as .claude/skills/hub/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
hub
description
Orchestrator for the "Code Health Hub" framework. Trigger only when the user refers to the Hub or asks to see "available cleanup tasks" within the Chromium technical debt reduction system.

🛠️ Chrome Code Health Hub

Act as the Orchestrator for Chrome/Clank Code Healths. The goal is to make it frictionless for engineers to contribute outside their immediate area.

🧠 Strategic Delegation (Efficiency & Context Management)

To maintain a fast and efficient session, MUST delegate heavy-lifting tasks to sub-agents:

  • Exhaustive Search & Usage Analysis: For finding all occurrences of a string, flag, or histogram, use the generalist sub-agent. It is faster and more reliable for high-volume text searches in Chromium using rg and cs.
  • Architectural Mapping & Bug Analysis: For complex, unknown systems (e.g., "How does the UI layer interact with the backend?"), use the codebase_investigator sub-agent.
  • Batch Operations: For repetitive edits across more than 3 files, use the generalist sub-agent.
  • Validation: When running verbose builds or exhaustive test suites, use the generalist sub-agent to summarize output.

By delegating, the main chat context remains lean.

📂 Shared Resources

Generic instructions for workspace preparation, review, validation, and submission are available in:

Workflow

1. Welcome & Triage

When activated, immediately greet the user and use the ask_user tool to present a menu of contribution categories.

Options to present:

  1. 🧹 Routine Cleanup (Code Health) - Remove expired histograms, old feature flags, or add LINT guards.
  2. 🔍 Technical Debt & Polish - Fix specific bugs, address flaky tests, or improve UI components. (Coming soon)
  3. 🌱 Discovery & Citizenship - Find open bugs to claim or browse tech rotations. (Coming soon)

If the user selects a category marked as (Coming soon), clearly inform them that this workflow is still under development and ask them to choose another option.

Show full SKILL.md (176 more words)Show less
2. Category A Routing (Code Health)

If the selection is Category A, use the ask_user tool again to prompt for a specific Code Health task:

  1. Histogram Cleanup - Remove metadata and recording sites for expired metrics.
  2. Feature Flag Cleanup - Safely remove code for fully launched or abandoned flags. (Coming soon)
  3. Lint Sync Guards - Add IfChange/ThenChange guards to keep enums in sync.
Handoff for Category A:

If the user selects an option marked as (Coming soon), clearly inform them that the skill is not yet available and ask them to choose another task.

For available tasks, do not instruct the user to activate the skill manually. Seamlessly transition into the selected skill's workflow by retrieving its instructions and immediately executing its initial steps:

  • For Histogram Cleanup: Execute the activate_skill tool with name="histogram-cleanup".
  • For Lint Sync Guards: Execute the activate_skill tool with name="lint-sync".

Immediately begin executing the retrieved workflow without waiting for further user prompts.

Tone

  • Enthusiastic, helpful, and highly structured.
  • Use the ask_user tool for presenting menus to avoid manual typing from the user. r.

© 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 7 other files (scripts, references) in agents/projects/code-health/hub of nwjs/chromium.src.

  • SKILL.md
  • references/automated_review.md
  • references/discovery_and_batch_selection.md
  • references/submission.md
  • references/verification.md
  • references/workspace_preparation.md
  • scripts/candidate_finder.py
  • scripts/hub_utils.py

Open the folder on GitHubat commit a9e8946

Compare with similar skills

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

Hub compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hub this skillnwjs/chromium.src160—~936Automated safety check: PassBSD-3-Clause
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Code Refactoring Workflowluongnv89/claude-howto42k—~3.1kAutomated safety check: PassMIT
Tech Debt Analyzerailabs-393/ai-labs-claude-skills4542 repos~3.9kAutomated safety check: PassMIT
FIXME Resolvertailcallhq/forgecode7.6k—~1.1kAutomated safety check: PassApache-2.0
DesloppifyGit-on-my-level/codex-autorunner875—~3.4kAutomated safety check: PassMIT

Similar skills

  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Tech Debt Analyzer

    ailabs-393/ai-labs-claude-skills

    This skill should be used when analyzing technical debt in a codebase, documenting code quality issues, creating technical debt registers, or assessing code maintainability.

    454 GitHub starsUsed in 2 repos~3.9k tokens
    DevelopmentAuto-check passed
  • FIXME Resolver

    tailcallhq/forgecode

    Finds every FIXME comment in a codebase, groups related ones across files into one task, implements the work they describe and removes the comments once it is done.

    7.6k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Desloppify

    Git-on-my-level/codex-autorunner

    Codebase health scanner and technical debt tracker. An agent skill from Git-on-my-level/codex-autorunner.

    875 GitHub stars~3.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Quality Gate

    fengshao1227/ccg-workflow

    Scans code for complexity, long functions, duplicated blocks, naming problems and code smells with a Node script, then reports and suggests refactors.

    5.9k GitHub stars~593 tokensUpdated 22 days ago
    DevelopmentAuto-check: notes

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 4 days ago
    Auto-check passed
  • Autonomous multi-agent performance optimization loop for Chromium and V8.

    160 GitHub stars~4.2k tokensUpdated 4 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 4 days ago
    Auto-check passed
  • Chrome Releases

    nwjs/chromium.src

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

    160 GitHub stars~1.3k tokensUpdated 4 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 4 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 4 days ago
    Auto-check passed

Categories

Questions about Hub

What does Hub do?

Orchestrator for the "Code Health Hub" framework. An agent skill from nwjs/chromium.src. src. Orchestrator for the "Code Health Hub" framework.

When should I use Hub?

Hub fits situations like: ly when the user refers to the Hub; asks to see available cleanup tasks within the Chromium technical debt reduction system.

How do I install Hub in Claude Code?

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

How do I install Hub in Codex?

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

Can I use Hub 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 hub -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hub, .gemini/skills/hub, .github/skills/hub and .opencode/skills/hub in your project.

What does Hub need to run?

Going by SKILL.md and its folder, Hub needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Hub 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 Hub 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Hub use?

Hub 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 Hub use?

About 936 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to Hub?

Skills that share tags, products or a category with Hub: Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Code Refactoring Workflow (luongnv89/claude-howto, 42k stars), Tech Debt Analyzer (ailabs-393/ai-labs-claude-skills, 454 stars) and FIXME Resolver (tailcallhq/forgecode, 7.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hub?

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.