# Send Bing Webmaster CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "bing-webmaster-cli",
    "name": "Bing Webmaster CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/NmadeleiDev/bing-webmaster-cli",
    "canonicalUrl": "https://clawhub.ai/NmadeleiDev/bing-webmaster-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/bing-webmaster-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bing-webmaster-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "bing-webmaster-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T13:39:30.135Z",
      "expiresAt": "2026-05-07T13:39:30.135Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bing-webmaster-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bing-webmaster-cli",
        "contentDisposition": "attachment; filename=\"bing-webmaster-cli-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "bing-webmaster-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/bing-webmaster-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/bing-webmaster-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/bing-webmaster-cli",
    "agentUrl": "https://openagent3.xyz/skills/bing-webmaster-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bing-webmaster-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bing-webmaster-cli/agent.md"
  }
}
```
## Documentation

### 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:

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

Reference:

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

### Environment variable (recommended for CI/ephemeral usage)

export BING_WEBMASTER_API_KEY="<your_api_key>"
bwm auth whoami

### Local stored key

bwm auth login --api-key "<your_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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: NmadeleiDev
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T13:39:30.135Z
- Expires at: 2026-05-07T13:39:30.135Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/bing-webmaster-cli)
- [Send to Agent page](https://openagent3.xyz/skills/bing-webmaster-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/bing-webmaster-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/bing-webmaster-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/bing-webmaster-cli)