Provider Bug Review
mondoohq/mql
Deep static code review of an mql provider for logic errors, nil-handling bugs, pagination truncation, caching/id collisions, and other defects that silently give users wrong data.
Stand up a brand-new RunWhen Local discovery platform / indexer from scratch (a new cloud or resource source) following the native SDK pattern used by azureapi and gcpapi.
$ npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install runwhen-contrib/runwhen-local add-discovery-type --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/runwhen-contrib/runwhen-local.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/add-discovery-type .claude/skills/add-discovery-type && rm -rf skills-srcUse ~/.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/
Install the "add-discovery-type" agent skill from https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-type into .claude/skills/add-discovery-type/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-discovery-type", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-typeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install runwhen-contrib/runwhen-local add-discovery-type --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/runwhen-contrib/runwhen-local.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/add-discovery-type .agents/skills/add-discovery-type && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-discovery-type" agent skill from https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-type into .agents/skills/add-discovery-type/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-discovery-type", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install runwhen-contrib/runwhen-local add-discovery-type --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/runwhen-contrib/runwhen-local.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/add-discovery-type .cursor/skills/add-discovery-type && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-discovery-type" agent skill from https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-type into .cursor/skills/add-discovery-type/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-discovery-type", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/runwhen-contrib/runwhen-local.git --path .cursor/skills/add-discovery-type--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install runwhen-contrib/runwhen-local add-discovery-type --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/runwhen-contrib/runwhen-local.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/add-discovery-type .gemini/skills/add-discovery-type && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-discovery-type" agent skill from https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-type into .gemini/skills/add-discovery-type/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-discovery-type", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install runwhen-contrib/runwhen-local add-discovery-typeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/runwhen-contrib/runwhen-local.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/add-discovery-type .github/skills/add-discovery-type && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-discovery-type" agent skill from https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-type into .github/skills/add-discovery-type/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-discovery-type", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install runwhen-contrib/runwhen-local add-discovery-type --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/runwhen-contrib/runwhen-local.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/add-discovery-type .opencode/skills/add-discovery-type && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-discovery-type" agent skill from https://github.com/runwhen-contrib/runwhen-local/tree/main/.cursor/skills/add-discovery-type into .opencode/skills/add-discovery-type/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-discovery-type", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-discovery-typeStand up a brand-new RunWhen Local discovery platform / indexer from scratch (a new cloud or resource source) following the native SDK pattern used by azureapi and gcpapi.
Add Discovery Type is an agent skill from runwhen-contrib/runwhen-local. Stand up a brand-new RunWhen Local discovery platform / indexer from scratch (a new cloud or resource source) following the native SDK pattern used by azureapi and gcpapi. Use when asked to add a new platform, new cloud provider, or new top-level discovery source. Covers the parity registry, indexer modules, platform handler, tag/hierarchy templates, pipeline wiring, tests, and docs.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Meeting notes and agendas. It works with Google Cloud, Kubernetes and Microsoft Azure. The repository describes itself as: RunWhen Local provides a tailored troubleshooting cheat sheet for Kubernetes environments. The licence is Apache-2.0.
2 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ecf77b7. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Discovery Type loads about 2k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 573 words of instructions outside code blocks.
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.
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.
The full file from runwhen-contrib/runwhen-local at commit ecf77b7, republished under its Apache-2.0 licence (© runwhen-contrib). 573 words, ~1,970 tokens.
.claude/skills/add-discovery-type/SKILL.md (or your agent's skills folder).Use this to add a new platform (a new cloud provider or discovery source).
To add a single resource type to an existing indexer, use the
extend-discovery-type skill instead.
gcpapi is the most recent end-to-end example — read
docs/architecture/gcp-indexer-internals.md first; it documents every piece you
are about to replicate. azureapi is the second reference. The mandate is to
build native SDK indexers so CloudQuery can eventually be removed entirely.
scripts/<platform>/
├── <platform>_cloudquery_tables.txt # parity source (CloudQuery hub table list)
├── <platform>_resource_type_overrides.yaml # hand-curated overrides
└── sync_<platform>_resource_type_registry.py # registry generator
src/indexers/
├── <platform>_resource_type_registry.yaml # GENERATED catalog (never hand-edit)
├── <platform>_resource_type_registry.py # read-only loader
├── <platform>_common.py # credentials + scope resolution + tag filters
├── <platform>api_normalizers.py # raw SDK/API -> CloudQuery-shaped dict
├── <platform>api_resource_types.py # generic collector + typed collectors + specs
├── <platform>api.py # orchestration loop
└── test_<platform>*.py # unit tests
src/enrichers/<platform>.py # PlatformHandler.parse_resource_data
src/templates/<platform>-tags.yaml # tag template
src/templates/<platform>-hierarchy.yaml # hierarchy template
docs/architecture/<platform>-indexer-internals.md
docs/authoring/indexed-resources/<platform>.mdresource_type. The native indexer normalizes payloads into the same
shape so rules don't change when the backend flips.resources.list(), GCP Cloud Asset Inventory, AWS Cloud Control API).- [ ] 1. Obtain upstream CloudQuery table list -> scripts/<p>/<p>_cloudquery_tables.txt
- [ ] 2. Author the overrides YAML (type remaps, aliases, typed flags, anchor, nulls)
- [ ] 3. Write the sync script (heuristic table-name -> native-type mapping)
- [ ] 4. Generate the registry YAML + write the read-only loader
- [ ] 5. Add SDK deps to pyproject + regenerate lock in python:3.14-slim
- [ ] 6. Write <p>_common.py (credentials, scope/LOD, tag filters)
- [ ] 7. Write <p>api_normalizers.py (raw -> CloudQuery-shaped dict)
- [ ] 8. Write <p>api_resource_types.py (generic collector + typed + specs)
- [ ] 9. Write <p>api.py orchestrator (phases: bootstrap -> anchors -> typed -> generic)
- [ ] 10. Add/confirm the enricher PlatformHandler.parse_resource_data
- [ ] 11. Add src/templates/<p>-tags.yaml + <p>-hierarchy.yaml
- [ ] 12. Wire pipeline: component.py, run.sh, run.py setting, cloudquery skip
- [ ] 13. Tests: registry + normalizers + selective
- [ ] 14. Docs: indexer-internals + indexed-resources + READMEs
- [ ] 15. Run the full indexer test suiteMirror scripts/gcp/:
.txt with a header noting source + version. This is the parity source.aliases, typed_collectors,
the mandatory anchor type (e.g. GCP gcp_projects, Azure
azure_resources_resource_groups), and null native types for tables with
no API equivalent.<plugin>_<service>_<entity_plural> ->
<host>/<EntitySingularPascal>, plus override application. Copy
sync_gcp_resource_type_registry.py and adapt the heuristic.<platform>_resource_type_registry.py): copy the GCP loader;
provide load_registry, find, and a find_by_<native>_type lookup.<platform>_common.py: resolve credentials (K8s secret, inline key, ADC /
env) and the account/project/subscription scope; provide has_included_tags /
has_excluded_tags label filters.<platform>api_normalizers.py: convert raw SDK/API objects to the
CloudQuery-shaped dict the handler expects; hoist the full payload, map cloud
labels/tags to tags, normalize names/IDs/regions. Include a
make_<anchor>_resource_data helper for the synthesized anchor.<platform>api_resource_types.py: a *ResourceTypeSpec dataclass, the
generic collector over the broad API, typed collectors (lazy-import SDK
clients), _TYPED_COLLECTORS keyed by canonical table name, and
find_spec / find_spec_by_<native>_type.<platform>api.py index(ctx) phases:<platform>IndexerBackend, resolve creds + scope, mirror
into the enricher, resolve LOD (skip scopes with LOD none).handler.parse_resource_data
-> writer.add_resource.src/enrichers/<platform>.py parse_resource_data consumes
the normalized dict and links children to the anchor.src/templates/<platform>-tags.yaml and -hierarchy.yaml following the
template-tags-hierarchy rule exactly (hierarchy ends with
resource_name; emit platform, resource_type, resource_name,
child_resource; specificity-ordered resource_name; dedup loop).src/component.py: add "<platform>api" to the INDEXER stage.src/run.sh: include <platform>api in COMPONENTS.src/run.py: coalesce <platform>IndexerBackend from workspaceInfo or
WB_<PLATFORM>_INDEXER_BACKEND into request data.src/indexers/cloudquery.py: skip this platform when the native backend is
selected (mutual exclusion).test_gcp*.py: registry loader contract, normalizer +
handler round-trip, selective discovery + generic-pass filter dispatch.docs/architecture/<platform>-indexer-internals.md (link it from
docs/architecture/README.md).docs/authoring/indexed-resources/<platform>.md documenting both backends,
the matchable types, and the stable generation-rule contract.README.md / docs indexes if the platform is newly listed.cd src && python -m unittest discover -s indexers -p 'test_*.py'
python scripts/<platform>/sync_<platform>_resource_type_registry.py --dry-runThe sync dry-run must report 0 drift (registry matches overrides + table list).
© runwhen-contrib, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/add-discovery-type of runwhen-contrib/runwhen-local.
Open the folder on GitHubat commit ecf77b7
Add Discovery Type 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Discovery Type this skillrunwhen-contrib/runwhen-local | 163 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Provider Bug Reviewmondoohq/mql | 411 | — | ~2.9k | Automated safety check: Pass | Custom licence | |
| Kcli Cluster Deploymentkarmab/kcli | 653 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Kclikarmab/kcli | 653 | — | ~2.6k | Automated safety check: Warn | Apache-2.0 | |
| Kcli Configurationkarmab/kcli | 653 | — | ~1.5k | Automated safety check: Warn | Apache-2.0 | |
| Multi Cloud ArchitectureHermeticOrmus/LibreUIUX-Claude-Code | 112 | 11 repos | ~1.2k | Automated safety check: Pass | MIT |
mondoohq/mql
Deep static code review of an mql provider for logic errors, nil-handling bugs, pagination truncation, caching/id collisions, and other defects that silently give users wrong data.
karmab/kcli
Guides deployment and management of Kubernetes clusters with kcli.
karmab/kcli
Comprehensive guide for kcli usage. An agent skill from karmab/kcli.
karmab/kcli
Guides kcli configuration and provider setup. An agent skill from karmab/kcli.
HermeticOrmus/LibreUIUX-Claude-Code
Design multi-cloud architectures using a decision framework to select and integrate services across AWS, Azure, and GCP.
mondoohq/mql
Add staged discovery support to a provider. An agent skill from mondoohq/mql.
runwhen-contrib/runwhen-local
Add or enrich a resource type in an existing RunWhen Local discovery indexer (Azure azureapi, GCP gcpapi, AWS, or Kubernetes).
runwhen-contrib/runwhen-local
Write generation rules using bundled references in this repo (airgap).
Works with
Categories
Stand up a brand-new RunWhen Local discovery platform / indexer from scratch (a new cloud or resource source) following the native SDK pattern used by azureapi and gcpapi. Add Discovery Type is an agent skill from runwhen-contrib/runwhen-local. Stand up a brand-new RunWhen Local discovery platform / indexer from scratch (a new cloud or resource source) following the native SDK pattern used by azureapi and gcpapi.
Add Discovery Type fits situations like: asked to add a new platform; new cloud provider; new top-level discovery source.
Run `npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a claude-code`. Or copy the skill folder (.cursor/skills/add-discovery-type in runwhen-contrib/runwhen-local) into .claude/skills/add-discovery-type in your project. Claude Code loads it when a task matches its description.
Run `npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a codex`. Or copy the skill folder (.cursor/skills/add-discovery-type in runwhen-contrib/runwhen-local) into .agents/skills/add-discovery-type in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add runwhen-contrib/runwhen-local --skill add-discovery-type -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-discovery-type, .gemini/skills/add-discovery-type, .github/skills/add-discovery-type and .opencode/skills/add-discovery-type in your project.
Going by SKILL.md and its folder, Add Discovery Type needs the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
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.
Add Discovery Type is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Discovery Type: Provider Bug Review (mondoohq/mql, 411 stars), Kcli Cluster Deployment (karmab/kcli, 653 stars), Kcli (karmab/kcli, 653 stars) and Kcli Configuration (karmab/kcli, 653 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
runwhen-contrib (a GitHub organization) maintains it in runwhen-contrib/runwhen-local, which has 163 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.
Source: runwhen-contrib/runwhen-local on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.