federation
Skill by Automattic
Explains the ActivityPub protocol and federation concepts for Automattic's WordPress ActivityPub plugin. Useful for developers building or debugging ActivityPub features.
Install federation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Automattic/wordpress-activitypub /tmp/wordpress-activitypub && mkdir -p ~/.claude/skills && cp -r /tmp/wordpress-activitypub/.agents/skills/federation ~/.claude/skills/federationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Automattic/wordpress-activitypub /tmp/wordpress-activitypub && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/wordpress-activitypub/.agents/skills/federation ~/.gemini/antigravity-cli/skills/federationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The federation skill gives an AI assistant background on the ActivityPub protocol and how federation works. It covers actors, activities, objects, collections, and the steps for delivering activities between servers. It also covers addressing and visibility, content verification, and common federation issues such as activities not being received or replies not federated.
The skill also describes the WordPress ActivityPub plugin's own features, including actor types (User, Blog, Application), transformers and handlers. It documents OAuth 2.0 client-to-server authentication with PKCE and loopback redirect URIs. It points to FEDERATION.md and AGENTS.md for the supported FEPs and code details. It suits developers who build or debug ActivityPub features.
Written from the project's SKILL.md and checked against it.
What it can do
- Actor and object modelExplains actors, activities and objects, with the required inbox and outbox properties.
- Activity typesCovers Create, Follow, Like, Announce, Update, Delete and Undo with JSON examples.
- Delivery processDescribes resolving recipients, discovering inboxes and delivering activities via HTTP POST.
- Inbox forwarding and shared inboxExplains how forwarding fixes ghost replies and when sharedInbox reduces requests.
- Addressing and visibilityShows to, cc, bto and bcc patterns for public, followers-only and direct messages.
- Security checksLists guidance on verifying origins, preventing spoofing and limiting recursive dereferencing.
- OAuth 2.0 client-to-serverCovers RFC 7591 registration, RFC 7636 PKCE, CIMD metadata and loopback redirect URIs.
- Federation testingProvides curl commands to test the actor endpoint, WebFinger and NodeInfo.
- Common issuesGives a checklist for activities not received, replies not federated and follower sync problems.
What you need
- The ActivityPub plugin for WordPress
Try asking
- Explain how inbox forwarding fixes ghost replies in ActivityPub
- Show the JSON for a followers-only ActivityPub post
- Why might my ActivityPub server not receive incoming activities?
Good to know
- Covers protocol concepts, not the full code. Code details are in AGENTS.md.
- Loopback CIMD metadata origins are not supported, even on dev installs.
- The full list of supported FEPs is in FEDERATION.md, not in this file.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/federation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to federation
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
federation: common questions
What does the ActivityPub federation skill cover?
It describes the ActivityPub protocol, where actors send activities such as Create, Follow and Like between servers. It also covers how those activities are delivered and verified.
Does it support OAuth for third-party apps?
Yes, when the ActivityPub API option is enabled, third-party clients can authenticate via OAuth 2.0 under activitypub/1.0/oauth/. The source says PKCE is S256 only.
How should public posts be addressed?
Public posts use the ActivityStreams Public collection in to or cc fields. The source says not to deliver to that URI, and to remove bto and bcc before delivery.
How do I install federation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is federation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is federation safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to federation?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
