← Back to Skills Marketplace
nmadeleidev

Bing Webmaster CLI

by Gregory Potemkin · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
345
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bing-webmaster-cli
Description
Use this skill when working with this repository's `bwm` CLI, including Bing Webmaster API key setup, CLI authentication, site listing, traffic stats, URL in...
README (SKILL.md)

Bing Webmaster CLI Skill

Use this skill to operate and troubleshoot the bwm CLI in this repository.

When To Use

Use this skill when the task involves any of:

  • creating or rotating a Bing Webmaster API key
  • authenticating this CLI with env var or local stored key
  • listing sites in Bing Webmaster
  • fetching site/URL traffic stats
  • checking whether a URL is indexed and why not
  • submitting URLs for indexing

Prerequisites

  • Python environment with this project installed (bwm command available)
  • Bing Webmaster Tools account with access to at least one site
  • Bing Webmaster API key

Install This CLI

Recommended (pipx, global bwm command):

python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install bing-webmaster-cli
bwm --version

From source (development):

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
bwm --help

From source (pipx, editable):

pipx install -e /absolute/path/to/bing_webmaster_cli
bwm --help

Create API Key (Bing Webmaster)

As of February 26, 2026, create a Bing Webmaster API key using these steps:

  1. Open Bing Webmaster Tools: https://www.bing.com/webmasters/
  2. Sign in and open account/API access settings.
  3. Generate a new API key.
  4. Copy and securely store the key.

Reference:

  • https://learn.microsoft.com/en-us/bingwebmaster/getting-access

Authenticate This CLI

Environment variable (recommended for CI/ephemeral usage)

export BING_WEBMASTER_API_KEY="\x3Cyour_api_key>"
bwm auth whoami

Local stored key

bwm auth login --api-key "\x3Cyour_api_key>"
bwm auth whoami

Interactive prompt:

bwm auth login

Clear local key:

bwm auth clear

Optional: Set Default Site

bwm config set default-site https://example.com/
bwm config get default-site

When set, commands that accept --site can omit it.

Command Reference

Top-level:

  • bwm --version
  • bwm --help

auth

  • bwm auth login [--api-key TEXT]
  • bwm auth whoami [--output table|json]
  • bwm auth clear

config

  • bwm config set default-site SITE_URL
  • bwm config get default-site

site

  • bwm site list [--output table|json|csv] [--csv-path FILE]

stats

  • bwm stats site [--site SITE] [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD] [--output table|json|csv] [--csv-path FILE]
  • bwm stats url [--site SITE] --url URL [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD] [--output table|json|csv] [--csv-path FILE]

url

  • bwm url check-index [--site SITE] --url URL [--output table|json] [--explain]
  • bwm url submit [--site SITE] [--url URL]... [--file FILE] [--output table|json]

Quick Examples

# List sites
bwm site list --output json

# Site stats for a date window
bwm stats site \
  --site https://example.com/ \
  --start-date 2026-02-01 \
  --end-date 2026-02-26

# URL stats
bwm stats url \
  --site https://example.com/ \
  --url https://example.com/page \
  --output json

# URL index check with richer explanation
bwm url check-index \
  --site https://example.com/ \
  --url https://example.com/page \
  --output json \
  --explain

# Submit one URL
bwm url submit --site https://example.com/ --url https://example.com/new-page

# Submit batch from file
bwm url submit --site https://example.com/ --file ./urls.txt

Troubleshooting

  • Auth error: No API key found...

    • set BING_WEBMASTER_API_KEY or run bwm auth login.
  • No site specified. Pass --site or set one...

    • pass --site or set default site with bwm config set default-site ....
  • URL appears blocked in Bing UI while simple API fields are sparse

    • run bwm url check-index --explain ... to get best-effort diagnostics from API signals.

Config Paths And Overrides

Defaults:

  • credentials: ~/.config/bing-webmaster-cli/credentials.json
  • app config: ~/.config/bing-webmaster-cli/config.json

Env overrides:

  • BING_WEBMASTER_API_KEY
  • BWM_CONFIG_DIR
  • BWM_CREDENTIALS_FILE
  • BWM_APP_CONFIG_FILE
  • BWM_API_BASE_URL
Usage Guidance
This skill appears to be a straightforward usage guide for a local 'bwm' (Bing Webmaster) CLI. Before installing or using it: 1) Verify the bwm package source (PyPI project page or upstream repo) before running pipx install or pip install -e; 2) Confirm where credentials will be stored (~/.config/bing-webmaster-cli/credentials.json) and set restrictive file permissions (600) so API keys aren't world-readable; 3) Prefer injecting BING_WEBMASTER_API_KEY via CI secrets or ephemeral env variables rather than pasting into shared machines; 4) Check BWM_API_BASE_URL if you must override it — ensure it points to Microsoft endpoints, not a custom host; 5) Note the metadata omission: the SKILL.md references env vars and config paths that the registry did not declare — treat that as a documentation/metadata mismatch and verify the CLI behavior locally before granting credentials.
Capability Analysis
Type: OpenClaw Skill Name: bing-webmaster-cli Version: 1.0.0 The skill bundle is benign. It provides instructions for installing and using a command-line interface (CLI) tool for Bing Webmaster. All commands and instructions in SKILL.md are standard for Python package management (pipx, pip) and for interacting with a CLI tool, including setting environment variables for API keys. There is no evidence of prompt injection attempts, data exfiltration, persistence mechanisms, or other malicious behaviors. The documentation of configuration paths and environment variables is for user information, not an instruction for the agent to access or exfiltrate sensitive data.
Capability Assessment
Purpose & Capability
Name/description match the content: the skill documents use of a local 'bwm' CLI for API key setup, auth, site listing, stats, index checks and URL submission. Nothing in the instructions asks for unrelated cloud or system privileges.
Instruction Scope
SKILL.md instructs the agent/operator to set/use environment variables (BING_WEBMASTER_API_KEY, BWM_* overrides) and read/write config files under ~/.config/bing-webmaster-cli — but the skill metadata declared no required env vars or config paths. Instructions otherwise stay within the CLI's scope and do not request unrelated data exfiltration or external endpoints.
Install Mechanism
No install spec in the registry; the SKILL.md recommends standard pipx/pip installation commands. There are no downloads from arbitrary URLs or extract steps in the skill itself.
Credentials
The skill describes using/storing a Bing Webmaster API key and lists env overrides and credential/config file paths — this is proportional to the stated purpose. However, the registry metadata did not list these env vars or config paths as required, creating a mismatch the user should be aware of.
Persistence & Privilege
Skill is instruction-only, not always-enabled, and does not request persistent or elevated platform privileges. It does reference storing credentials under the user's config directory (expected for a CLI).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bing-webmaster-cli
  3. After installation, invoke the skill by name or use /bing-webmaster-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of bing-webmaster-cli skill. - Provides guidance for installing and authenticating the `bwm` CLI tool. - Supports listing sites, fetching site/URL stats, and URL index status/explanation. - Includes instructions for Bing Webmaster API key setup. - Details usage of CLI commands for common tasks, including troubleshooting tips. - Explains config options and environment variable overrides.
Metadata
Slug bing-webmaster-cli
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Bing Webmaster CLI?

Use this skill when working with this repository's `bwm` CLI, including Bing Webmaster API key setup, CLI authentication, site listing, traffic stats, URL in... It is an AI Agent Skill for Claude Code / OpenClaw, with 345 downloads so far.

How do I install Bing Webmaster CLI?

Run "/install bing-webmaster-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bing Webmaster CLI free?

Yes, Bing Webmaster CLI is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Bing Webmaster CLI support?

Bing Webmaster CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bing Webmaster CLI?

It is built and maintained by Gregory Potemkin (@nmadeleidev); the current version is v1.0.0.

💬 Comments