Receber por email
← Voltar para o catálogo

bsky

Utilize esta ferramenta ao trabalhar com BlueSky para buscar threads, ler posts e criar conteúdo. Ela demonstra como usar as ferramentas pdsx MCP para essa tarefa.

556estrelas
Atualizado há 2 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add majiayu000/claude-skill-registry

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/bsky/svg)](https://www.skillteca.com.br/skills/bsky)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

BlueSky with pdsx

Use the pdsx MCP tools (list_records, get_record, create_record, etc.) for BlueSky tasks.

Quick Reference

| Task | Tool | Example | |------|------|---------| | get a post | get_record | get_record(uri="at://did:plc:xxx/app.bsky.feed.post/abc123") | | list someone's posts | list_records | list_records("app.bsky.feed.post", repo="handle.bsky.social") | | get a profile | get_record | get_record(uri="app.bsky.actor.profile/self", repo="handle.bsky.social") | | create a post | create_record | create_record("app.bsky.feed.post", {"text": "hello"}) |

Following Threads

Threads span multiple users. Pattern:

  1. Get the root post to see its content and who posted it:

``python get_record(uri="at://did:plc:xxx/app.bsky.feed.post/abc123") ``

  1. List the OP's posts to find replies:

``python list_records("app.bsky.feed.post", repo="did:plc:xxx") ` Look for posts with reply` fields pointing back to the thread.

  1. Extract DIDs from the URIs (format: at://DID/collection/rkey)
  1. Query each participant's posts for their contributions to the thread:

``python list_records("app.bsky.feed.post", repo="did:plc:other") ` Filter the results locally to find posts where reply.root.uri` matches the thread root.

Collections

| Collection | Purpose | |------------|---------| | app.bsky.feed.post | posts | | app.bsky.actor.profile | profile (rkey is always self) | | app.bsky.feed.like | likes | | app.bsky.feed.repost | reposts | | app.bsky.graph.follow | follows |

Post Structure

Posts reference other posts via reply:

{
  "text": "reply text",
  "reply": {
    "root": {"uri": "at://did/collection/rkey", "cid": "bafyrei..."},
    "parent": {"uri": "at://did/collection/rkey", "cid": "bafyrei..."}
  }
}
  • reply.root - thread's original post
  • reply.parent - immediate parent being replied to

Creating Posts

Simple:

create_record("app.bsky.feed.post", {"text": "hello world"})

Reply (requires both uri AND cid from the parent/root posts):

create_record("app.bsky.feed.post", {
    "text": "my reply",
    "reply": {
        "root": {"uri": "at://...", "cid": "..."},
        "parent": {"uri": "at://...", "cid": "..."}
    }
})

Gotchas

  1. strongRef needs uri AND cid - when creating replies, you need both from the parent post
  2. profile rkey is always self - use app.bsky.actor.profile/self
  3. byte indices for facets - links/mentions use UTF-8 byte positions, not character positions
Compartilhar X LinkedIn