activitypub-federation

Explain ActivityPub actors, activities, and federation mechanics.

576|90|Updated Jul 10, 2018
One-click install
npx skills add https://github.com/Automattic/wordpress-activitypub --skill activitypub-federation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activitypub-federation
Source: https://github.com/Automattic/wordpress-activitypub/tree/main/.claude/skills/activitypub-federation
Command: npx skills add https://github.com/Automattic/wordpress-activitypub --skill activitypub-federation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The ActivityPub protocol can be complex, making it difficult to understand how federated social networks communicate and how to implement or debug features. This Skill breaks down the core concepts and mechanics, empowering you to work confidently with the fediverse.

Core Features & Use Cases

  • Core Concepts: Explains Actors, Activities, and Objects, including their structure, required properties, and purpose in the ActivityPub ecosystem.
  • Federation Mechanics: Details server-to-server communication, inbox forwarding, shared inbox optimization, and how activities are delivered and processed.
  • Security & Extensions: Covers critical security considerations like content verification and HTTP signatures, along with supported protocol extensions (FEPs).

Quick Start

Explain the three core building blocks of the ActivityPub protocol (Actors, Activities, Objects) and their roles in federation.

Frequently Asked Questions about activitypub-federation

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

FAQPage Schema
How does ActivityPub federation work between servers?

ActivityPub federation enables server-to-server communication through HTTP POST delivery of activities to actor inboxes. Servers resolve recipient addresses, verify content origin via HTTP signatures, and process activities through inbox forwarding and optional shared inbox optimization to synchronize state across the fediverse.

What are the core building blocks of ActivityPub?

ActivityPub's three core building blocks are Actors (users or services with inbox/outbox collections), Activities (actions like Create or Announce), and Objects (content items like notes or images). Each has required properties defining structure, relationships, and behavior in federated networks.

How do I implement a conformant ActivityPub server?

Implement standard actor structures with required collections (Inbox, Outbox, Followers, Following), support public addressing for visibility, deliver activities via HTTP POST with correct content types, resolve recipients, discover inboxes, verify origin signatures, and optionally optimize with shared inbox endpoints.

What security considerations apply to ActivityPub implementations?

ActivityPub implementations must verify content origin and validate HTTP Signatures to prevent spoofing and unauthorized activity injection. Proper signature verification ensures only legitimate federated servers can deliver activities to your actor's inbox.

Can I extend ActivityPub with custom protocol features?

ActivityPub supports protocol extensions through Fediverse Enhancement Proposals (FEPs). Extensions allow custom properties and behaviors while maintaining compatibility with standard ActivityPub actors and activities across federated servers.

What happens when ActivityPub inbox or outbox processing fails?

When inbox or outbox processing fails, debugging requires examining server-to-server messaging, recipient resolution, activity delivery logs, and HTTP signature validation. Understanding these mechanics helps identify whether failures stem from malformed activities, missing collections, or security verification issues.