wikimedia-auth-oauth

Authenticate Wikimedia API clients using OAuth and bot passwords.

15|6|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill wikimedia-auth-oauth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wikimedia-auth-oauth
Source: https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/wikimedia-auth-oauth
Command: npx skills add https://github.com/fuzheado/Wikipedia-AI-Skills --skill wikimedia-auth-oauth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, mwoauth, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of authenticating Wikimedia API clients for editing, patrol, uploading, and user-specific operations, ensuring secure access and compliance with policies.

Core Features & Use Cases

  • OAuth Authentication: Support for OAuth 1.0a/2.0 flows, consumer registration, and token management.
  • Bot Passwords: Handling bot passwords for personal bots, cron jobs, and single-user scripts.
  • CSRF Tokens: Managing CSRF tokens for secure editing actions.
  • Permission Checks: Implementing permission checks for bot accounts and OAuth users.
  • Secure Credential Storage: Best practices for storing and managing credentials securely.
  • Use Case: For instance, automate account creation and API access for bots on Wikipedia, ensuring compliance with policies and secure credential management.

Quick Start

Use the wikimedia-auth-oauth skill to log in with a bot password for editing Wikipedia pages.

Frequently Asked Questions about wikimedia-auth-oauth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate a bot to edit Wikipedia pages using OAuth?

To authenticate a bot for editing Wikipedia pages, you can use OAuth 1.0a/2.0 flows or create bot passwords. This involves registering an OAuth consumer, managing tokens, and securely storing credentials to ensure compliant API access.

What is the best way to manage CSRF tokens for Wikimedia API editing?

Managing CSRF tokens for Wikimedia API editing requires requesting tokens through authenticated sessions before performing write actions. This skill handles CSRF token management automatically to ensure secure editing and prevent cross-site request forgery.

When should I use bot passwords instead of OAuth for Wikimedia API clients?

Use bot passwords instead of OAuth for personal bots, cron jobs, and single-user scripts where full OAuth consumer registration is unnecessary. Bot passwords provide simpler credential management for individual automated tasks on Wikimedia APIs.

Does this approach support both OAuth 1.0a and 2.0 for Wikimedia API authentication?

Yes, Wikimedia API authentication supports both OAuth 1.0a and 2.0 flows. This includes consumer registration, token management, and permission checks to ensure secure access for editing, patrolling, and uploading operations.

How do I securely store API credentials and bot passwords for Wikimedia scripts?

Securely storing API credentials and bot passwords requires following best practices for credential management. This skill implements secure storage practices to protect OAuth tokens and bot passwords used by Wikimedia API clients.

Why does my Wikimedia bot fail permission checks during API editing?

Wikimedia bots fail permission checks during API editing when OAuth scopes or bot account rights are insufficient. This skill implements permission checks for bot accounts and OAuth users to ensure compliance with editing policies.