Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

lexicons

Skill by hyperlink-academy

Lexicon reference skill for the AT Protocol lexicon system, used in the Leaflet project. It covers adding record types and modifying pub.leaflet and site.standard schemas.

  • Score 74
  • 528 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install lexicons

Built from the published package, never by AI.

git clone --depth 1 https://github.com/hyperlink-academy/leaflet /tmp/leaflet && mkdir -p ~/.claude/skills && cp -r /tmp/leaflet/.claude/skills/lexicons ~/.claude/skills/lexicons

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install lexicons in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference for the AT Protocol lexicon system, which defines the schema for AT Protocol records. It covers two namespaces: pub.leaflet.* lexicons for Leaflet, and site.standard.* lexicons for interoperability. The source explains where each lexicon lives. pub.leaflet lexicons are written as TypeScript in lexicons/src/ and built to JSON. site.standard lexicons are maintained as JSON directly.

The skill walks through the steps for adding a new lexicon. These include creating the definition, adding it to the build, updating the lexgen script, and regenerating types with npm run lexgen. It also covers common patterns such as refs, unions and blobs, plus normalization between formats and handling records in the appview firehose consumer. It is written for developers working on the Leaflet codebase who need to add or change AT Protocol record types.

Written from the project's SKILL.md and checked against it.

What it can do

  • Adding pub.leaflet lexiconsWalks through creating a TypeScript source definition, adding it to the build, and registering record types.
  • Adding site.standard lexiconsShows how to create a JSON lexicon definition in lexicons/site/standard/ and regenerate types.
  • Regenerating typesExplains the npm run lexgen command, which builds JSON and generates TypeScript types and client code.
  • Common lexicon patternsCovers refs to other lexicons, union types including open unions, blob types, and color types.
  • Format normalizationDescribes normalize.ts functions that convert documents and publications between pub.leaflet and site.standard formats.
  • Appview firehose handlingShows how to filter firehose collections and store or delete validated records in the appview.
  • Publishing lexiconsNotes the npm run publish-lexicons command that publishes lexicons to a configured PDS.

What you need

  • npm

Try asking

  • Add a new pub.leaflet record type for bookmarks in this project
  • Show me how to reference another lexicon from a pub.leaflet schema
  • Regenerate the lexicon types after I change a lexicon definition

Good to know

  • The site.standard JSON files are maintained by hand, not generated from TypeScript.
  • Top-level pub/leaflet files must be added to the lexgen script in package.json manually.
  • Record types that users should manage also need an entry in authFullPermissions.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/lexicons/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to lexicons

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

lexicons: common questions

How do I add a new AT Protocol record type to Leaflet?

The source gives steps for creating a lexicon definition in lexicons/src/, adding it to the build, and adding it to authFullPermissions for record types. Running npm run lexgen then regenerates the types.

What is the difference between pub.leaflet and site.standard lexicons?

The source says pub.leaflet.* holds Leaflet-specific lexicons, while site.standard.* holds standard site lexicons for interoperability.

Does this skill convert records between Leaflet and standard formats?

Yes. The source describes normalize.ts, which converts documents and publications from either format into site.standard shapes.

How do I install lexicons?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is lexicons free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is lexicons safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality A. 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 lexicons?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

lexicons Install

Add to stack

Loading.