返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
b

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 index checks with explanation, URL submission, and troubleshooting.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
321
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

bing-webmaster-cli

# 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): ```bash python3 -m pip install --user pipx python3 -m pipx ensurepath pipx install bing-webmaster-cli bwm --version ``` From source (development): ```bash python3 -m venv .venv source .venv/bin/activate pip install -e ".[dev]" bwm --help ``` From source (`pipx`, editable): ```bash 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) ```bash export BING_WEBMASTER_API_KEY="<your_api_key>" bwm auth whoami ``` ### Local stored key ```bash bwm auth login --api-key "<your_api_key>" bwm auth whoami ``` Interactive prompt: ```bash bwm auth login ``` Clear local key: ```bash bwm auth clear ``` ## Optional: Set Default Site ```bash 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 ```bash # 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`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bing-webmaster-cli-1776299047 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bing-webmaster-cli-1776299047 技能

通过命令行安装

skillhub install bing-webmaster-cli-1776299047

下载

⬇ 下载 bing-webmaster-cli v1.0.0(免费)

文件大小: 2.3 KB | 发布时间: 2026-4-16 18:32

v1.0.0 最新 2026-4-16 18:32
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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部