activitypub-c2s

Guide developers in implementing ActivityPub Client-to-Server interactions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/UtakataKyosui/C2Lab --skill activitypub-c2s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activitypub-c2s
Source: https://github.com/UtakataKyosui/C2Lab/tree/main/plugins/activitypub/skills/activitypub-c2s
Command: npx skills add https://github.com/UtakataKyosui/C2Lab --skill activitypub-c2s

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and reference for implementing ActivityPub's Client-to-Server (C2S) interactions, simplifying the development of decentralized social applications.

Core Features & Use Cases

  • Protocol Understanding: Explains the core concepts of ActivityPub, including JSON-LD, Actors, and Activity types.
  • Implementation Guidance: Details the flow of C2S interactions, focusing on Inbox/Outbox behavior and server-side processing.
  • Reference Materials: Links to official specifications, community guides, and useful tools for developers.
  • Use Case: A developer building a new federated social platform can use this Skill to understand how to correctly structure and send activities (like creating a post or following a user) from their client application to the server.

Quick Start

Provide a detailed explanation of the ActivityPub 'Create' activity type.

Frequently Asked Questions about activitypub-c2s

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

FAQPage Schema
How do I implement ActivityPub Client-to-Server interactions for a decentralized social app?

To implement ActivityPub C2S interactions, you need to structure client activities like posts or follows and send them to the server's Inbox or Outbox endpoints using JSON-LD formats compliant with the federation protocol.

What is an ActivityPub Outbox and how does messaging flow work in C2S?

An ActivityPub Outbox is where client activities originate. In C2S messaging flow, the client sends an activity to the Outbox, and the server processes it before federating it to recipients or delivering it to remote Inboxes.

How do I structure a Create activity in ActivityPub using JSON-LD?

To structure a Create activity in ActivityPub, define a JSON-LD document specifying the actor, the object being created, and the target destination, ensuring it adheres to the decentralized social protocol specifications for server-side processing.

Does ActivityPub C2S require specific server-side processing for federation?

Yes, ActivityPub C2S requires server-side processing to handle incoming and outgoing activities. The server must parse JSON-LD payloads, validate actor structures, and manage the routing of activities to local and remote Inboxes for federation.

What is the difference between ActivityPub C2S and S2S protocols?

ActivityPub C2S handles interactions between a client and its server, focusing on submitting activities to an Outbox. The S2S protocol manages server-to-server federation, delivering activities across different decentralized instances via remote Inboxes.

When do I need to use JSON-LD in ActivityPub actor structures?

You need to use JSON-LD in ActivityPub actor structures whenever defining client payloads for the C2S protocol. It ensures that activities, actors, and objects are semantically understood by servers during decentralized social federation.