atproto-publish-lexicon
Skill by hipstersmoothie
Guides publishing an AT Protocol lexicon as a com.atproto.lexicon.schema record and resolving NSIDs back to lexicon documents. Aimed at developers who publish or consume AT Protocol lexicons.
Install atproto-publish-lexicon
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hipstersmoothie/standard-reader /tmp/standard-reader && mkdir -p ~/.claude/skills && cp -r /tmp/standard-reader/.agents/skills/atproto-publish-lexicon ~/.claude/skills/atproto-publish-lexiconRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install atproto-publish-lexicon in Claude Code
git clone --depth 1 https://github.com/hipstersmoothie/standard-reader /tmp/standard-reader && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/standard-reader/.agents/skills/atproto-publish-lexicon ~/.gemini/antigravity-cli/skills/atproto-publish-lexiconAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install atproto-publish-lexicon in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The atproto-publish-lexicon skill guides publishing an AT Protocol lexicon as a com.atproto.lexicon.schema record. It describes a seven-step pipeline: form the record, validate the lexicon body, check NSID authority through the _lexicon TXT record, compare against any prior revision, compute the canonical CID, publish with putRecord, and verify resolution end to end.
It also covers the consumer side, where an NSID is resolved to a lexicon document through its authority's DNS TXT record, the DID, the PDS and getRecord. The procedure calls the lexicon-garden and atpmcp MCP tools and points to sibling skills for authoring JSON, identity resolution, repositories and CIDs. It is intended for developers who publish lexicons or resolve them at runtime.
Written from the project's SKILL.md and checked against it.
What it can do
- Publish pipelineWalks through forming, validating, checking authority, diffing, computing the CID, publishing and verifying a lexicon.
- Record shapeExplains the com.atproto.lexicon.schema fields, including what id must equal and what lexicon: 1 means.
- Authority checkDerives the authority domain from an NSID and matches the publishing DID against the _lexicon TXT record.
- Revision disciplineCovers monotonic integer revisions and how to gate breaking changes before publishing.
- Resolution flowShows how a consumer resolves an NSID to a lexicon document through DNS, DID and PDS lookups.
- validate_lexiconValidates a lexicon document through lexicon-garden, or validate_lexicon_schema through atpmcp.
- check_compatibilityCompares an old and new lexicon document from lexicon-garden to flag breaking changes.
- describe_lexiconResolves an NSID to its published lexicon in one lexicon-garden call for verification.
What you need
- Access to the lexicon-garden MCP server
- Access to the atpmcp MCP server
- A publishing DID with a PDS
- A _lexicon TXT record in DNS for the authority domain
Try asking
- Publish my lexicon com.example.foo.getBar to my PDS
- Check whether my new lexicon revision breaks the old one
- Resolve the lexicon for app.bsky.feed.post and show its record
Good to know
- The PDS does not enforce NSID authority; consumers do.
- The revision field is a social signal, not a gate.
- Authoring the lexicon JSON is handled by the sibling atproto-lexicon skill.
- A script to verify authority is listed in the backlog and is not included in v0.1.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/atproto-publish-lexicon/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to atproto-publish-lexicon
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
atproto-publish-lexicon: common questions
What is a com.atproto.lexicon.schema record?
It is a record that wraps a lexicon document with a $type of com.atproto.lexicon.schema. The skill says a lexicon is not published until it exists as this record.
How does a consumer find a lexicon from its NSID?
The client reverse-DNS the NSID to get the authority, reads the _lexicon TXT record for the DID, resolves the DID to a PDS, and calls getRecord with the NSID as rkey.
Why does publishing succeed even when the DID does not match?
The source says the PDS does not enforce authority. If the publishing DID does not match the _lexicon TXT record, the publish succeeds but silently fails at resolution time.
How do I install atproto-publish-lexicon?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is atproto-publish-lexicon free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is atproto-publish-lexicon safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to atproto-publish-lexicon?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
