atproto-ingest
БесплатноБез исполняемых скриптовНе проверенLayer 1 - Data Acquisition for Bluesky/AT Protocol social graph and content.
от plurigrid★ 73 звезды на GitHubОб этом скилле
AT Protocol Data Ingestion
Layer 1 - Data Acquisition for Bluesky/AT Protocol social graph and content.
GF(3) Trit: +1 (Generator) — Produces data streams for downstream processing.
Authentication
App Password (Recommended for scripts)
# Create session
curl -X POST https://bsky.social/xrpc/com.atproto.server.createSession \
-H "Content-Type: application/json" \
-d '{"identifier": "handle.bsky.social", "password": "app-password-here"}'
# Response contains accessJwt and refreshJwt
export BSKY_TOKEN="eyJ..."
OAuth (For apps)
# Authorization endpoint: https://bsky.social/oauth/authorize
# Token endpoint: https://bsky.social/oauth/token
# Scopes: atproto, transition:generic
Capabilities
1. fetch-user-posts
Get all posts from a user by handle or DID.
# Resolve handle to DID
curl "https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=user.bsky.social"
# Get author feed (paginated)
curl "https://bsky.social/xrpc/app.bsky.feed.getAuthorFeed?actor=did:plc:xxx&limit=100&cursor=$CURSOR" \
-H "Authorization: Bearer $BSKY_TOKEN"
Pagination loop:
def fetch_all_posts(actor: str, token: str) -> list:
posts, cursor = [], None
while True:
url = f"https://bsky.social/xrpc/app.bsky.feed.getAuthorFeed?actor={actor}&limit=100"
if cursor:
url += f"&cursor={cursor}"
resp = requests.get(url, headers={"Authorization": f"Bearer {token}"})
data = resp.json()
posts.extend(data.get("feed", []))
cursor = data.get("cursor")
if not cursor:
break
time.sleep(0.5) # Rate limit respect
return posts
2. get-engagement-graph
Map likes, reposts, replies, and quotes for a post.
# Get likes
curl "https://bsky.social/xrpc/app.bsky.feed.getLikes?uri=at://did:plc:xxx/app.bsky.feed.post/yyy&limit=100" \
-H "Authorization: Bearer $BSKY_TOKEN"
# Get reposts
curl "https://bsky.social/xrpc/app.bsky.feed.getRepostedBy?uri=at://did:plc:xxx/app.bsky.feed.post/yyy&limit=100" \
-H "Authorization: Bearer $BSKY_TOKEN"
# Get quotes (search for post URI)
curl "https://bsky.social/xrpc/app.bsky.feed.getQuotes?uri=at://did:plc:xxx/app.bsky.feed.post/yyy&limit=100" \
-H "Authorization: Bearer $BSKY_TOKEN"
Engagement record schema:
CREATE TABLE engagement (
post_uri VARCHAR PRIMARY KEY,
author_did VARCHAR,
like_count INTEGER,
repost_count INTEGER,
reply_count INTEGER,
quote_count INTEGER,
likers VARCHAR[], -- Array of DIDs
reposters VARCHAR[],
indexed_at TIMESTAMP
);
3. stream-mentions
Real-time monitoring via Firehose or polling.
# Firehose (WebSocket) - all network events
wscat -c wss://bsky.network/xrpc/com.atproto.sync.subscribeRepos
# Polling fallback - notifications endpoint
curl "https://bsky.social/xrpc/app.bsky.notification.listNotifications?limit=50" \
-H "Authorization: Bearer $BSKY_TOKEN"
Firehose filter (Python):
import websocket
import cbor2
def on_message(ws, message):
header, body = cbor2.loads(message)
if header.get("op") == 1: # Commit
for op in body.get("ops", []):
if "app.bsky.feed.post" in op.get("path", ""):
record = op.get("record", {})
# Check for mentions in facets
for facet in record.get("facets", []):
for feature in facet.get("features", []):
if feature.get("$type") == "app.bsky.richtext.facet#mention":
if feature.get("did") == TARGET_DID:
yield record
ws = websocket.WebSocketApp("wss://bsky.network/xrpc/com.atproto.sync.subscribeRepos",
on_message=on_message)
4. extract-thread-tree
Full conversation tree from a post.
curl "https://bsky.social/xrpc/app.bsky.feed.getPostThread?uri=at://did:plc:xxx/app.bsky.feed.post/yyy&depth=10&parentHeight=10" \
-H "Authorization: Bearer $BSKY_TOKEN"
Thread tree structure:
def extract_thread_tree(thread_data: dict) -> dict:
"""Flatten thread to adjacency list for DuckDB."""
nodes = []
edges = []
def walk(node, parent_uri=None):
post = node.get("post", {})
uri = post.get("uri")
nodes.append({
"uri": uri,
"author_did": post.get("author", {}).get("did"),
"text": post.get("record", {}).get("text"),
"created_at": post.get("record", {}).get("createdAt"),
"depth": node.get("depth", 0)
})
if parent_uri:
edges.append({"parent": parent_uri, "child": uri})
for reply in node.get("replies", []):
walk(reply, uri)
walk(thread_data.get("thread", {}))
return {"nodes": nodes, "edges": edges}
5. get-follower-network
First and second-order connections.
# Followers
curl "https:
Установить atproto-ingest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл atproto-ingest?
Layer 1 - Data Acquisition for Bluesky/AT Protocol social graph and content.
Как установить скилл atproto-ingest?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл atproto-ingest запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic