atproto

Describes how to build on the AT Protocol with Lexicons, XRPC, and firehose.

27|2|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/maragudk/fabrik --skill atproto-maragudk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: atproto
Source: https://github.com/maragudk/fabrik/tree/main/skills/atproto
Command: npx skills add https://github.com/maragudk/fabrik --skill atproto-maragudk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a structured guide to building on the AT Protocol (atproto), covering Lexicons, DIDs, app views, and OAuth to accelerate productive development.

Core Features & Use Cases

  • High-level mental model of repositories, Lexicons, and identity; guidance on creating scalable app architectures with an app view and firehose integration.
  • Practical workflows for authoring Lexicons, resolving DIDs/handles bidirectionally, and consuming or producing XRPC calls in production systems.
  • Real-world usage scenarios include building a Bluesky-style app, integrating PDSs, and implementing moderation/labels with Lexicons.

Quick Start

Define a minimal Lexicon, wire up a basic XRPC endpoint, and subscribe to a relay's firehose to seed an index.

Frequently Asked Questions about atproto

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

FAQPage Schema
How do I build an app on the AT Protocol?

Building Bluesky-style apps on the AT Protocol involves designing Lexicons, resolving DIDs, and wiring up XRPC endpoints. This guide outlines end-to-end workflows from schema design to firehose consumption for robust implementations.

What is the best way to consume the firehose in an AT Protocol app view?

Subscribing to a relay's firehose seeds an index for your app view. This guide describes firehose consumption workflows to build scalable architectures and integrate Personal Data Servers (PDS).

How do Lexicons work in the AT Protocol?

Lexicons define the schema for data in the AT Protocol. This guide provides practical workflows for authoring minimal Lexicons and using them to structure XRPC calls and repository data.

Can I resolve DIDs and handles bidirectionally with XRPC?

Yes, you can resolve DIDs and handles bidirectionally. The guide covers practical workflows for identity resolution and producing or consuming XRPC calls in production systems.

Does the AT Protocol support moderation and labels via Lexicons?

Yes, the AT Protocol supports moderation and labels. Real-world usage scenarios include implementing moderation labels with Lexicons, integrating PDSs, and building scalable app architectures.

When do I need OAuth for an AT Protocol implementation?

OAuth is needed to secure user authentication and access in AT Protocol applications. This guide covers Lexicons, identity, app views, and OAuth to accelerate productive development.