/pdsx:experimental-spacesfrom pdsx
Reads permissioned data (com.atproto.space.*) from a Bluesky PDS using pdsx. Useful for working with private records in spaces or checking PDS support for permissioned data.
Ships in pdsx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Experimental. The permissioned-data proposal is still moving, and almost no PDS implements it. Expect the shape of this to change.
pdsx spaces needs 0.1.7 or newer — check with pdsx --version if the
subcommand is missing.
Permissioned data lives outside the public repo. Records in a space are not
in listRecords, do not appear on the firehose, and require a credential to
read. pdsx exposes the read side:
pdsx spaces ls # spaces you own or write to
pdsx spaces records --space <uri> --repo <did> # records in one space
pdsx spaces get --space <uri> --repo <did> --collection <nsid> --rkey <rkey>
All of these require authentication. Reads are scoped to the authenticated account.
Assume the target does not support this. spaces ls reports the reason and
exits 0 with an empty result, because "you have no spaces here" is an
honest answer as long as it says why:
$ pdsx spaces ls
permissioned data unavailable: https://pds.example does not serve
permissioned data (it may be unimplemented, or disabled by the operator)
# exit 0
$ pdsx spaces ls -o json
{ "supported": false, "spaces": [] }
Branch on supported rather than on an empty list — an empty spaces array
means something different on a PDS that does serve the namespace.
spaces records and spaces get name a specific space, so on an unsupporting
PDS they exit 1 instead. There is no honest empty answer to "give me this
record."
On a PDS that does serve permissioned data, ordinary failures come back as themselves:
$ pdsx spaces get --space at://… --rkey does-not-exist
error: RecordNotFound: Record not found # exit 1
$ pdsx spaces records --space at://…/no-such-space --repo did:plc:…
error: NotPermitted: Not permitted to read this space
Never read a 404 as "this PDS can't do permissioned data" — a working host returns 404 for a record that simply isn't there.
PDS implementations run auth middleware before method dispatch, so an anonymous probe returns 401 whether or not the namespace exists. There is no way to feature-detect from outside.
The authoritative signal is an authenticated call returning
501 MethodNotImplemented. And even that cannot distinguish a server that
never implemented permissioned data from one where the operator switched it
off — the wire genuinely doesn't say. That's why the message names both.
at://{authorityDid}/space/{spaceType}/{skey}
A record inside a space appends the author DID, collection and rkey to that
root. --repo is the writer's DID within the space, not the space
authority — in a single-writer space they are the same, which makes it easy to
miss when they aren't.
Get both from spaces ls -o json rather than assembling them by hand.
--exclude-values returns collection, rkey and CID without materializing
record JSON — use it to survey a space before pulling content:
pdsx spaces records --space at://… --repo did:plc:… --exclude-values -o json
Both records and ls paginate with --cursor, same discipline as
reading-records: one page at a time, and the
absence of a cursor is what tells you you're done.
Writes. createRecord, putRecord, deleteRecord and the simplespace
membership surface are not implemented in pdsx. Reads only, while the proposal
settles.
Blobs in a space are fetched through com.atproto.space.getBlob and are
deliberately excluded from space repo exports — pdsx does not wrap that yet.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub zzstoatzz/pdsx --plugin pdsx3 skills in this plugin
/reading-recordsRead AT Protocol records and blobs from any repo with pdsx — authenticated or not, including pagination, identity resolution, and fetching blob content. Use when inspecting what an account has published, pulling records out of a PDS, or exploring an unfamiliar lexicon./writing-recordsCreate, update and delete AT Protocol records with pdsx, including blob upload and batch operations over JSONL. Covers what the server fills in for you, how updates merge rather than replace, and how to verify a write actually did what you meant.