Brickset
/install brickset
Brickset
Use this skill for real Brickset API v3 operations with either raw JSON output or readable text summaries.
Requirements
BRICKSET_API_KEYmust be set in the environment or workspace.env, or passed with--api-key- Python 3.10+
What works well
check-key— validate the API keyusage-stats— inspect 30-day API usagethemes— list Brickset themessubthemes— list subthemes for a themeyears— list release years, globally or per themesearch— simple wrapper aroundgetSetsget-sets— rawgetSetsaccess with JSON paramsinstructions2— fetch instructions by set numberadditional-images— fetch extra image URLs by BricksetsetIDraw— call any Brickset method directly when the built-in subcommands are not enough
Output modes
- Default: JSON for scripting and automation
--format text: readable summaries for humans
Commands
# Validate key
python {{baseDir}}/scripts/brickset.py --format text check-key
# Usage stats
python {{baseDir}}/scripts/brickset.py --format text usage-stats
# Browse catalog metadata
python {{baseDir}}/scripts/brickset.py --format text themes
python {{baseDir}}/scripts/brickset.py --format text subthemes Technic
python {{baseDir}}/scripts/brickset.py --format text years
python {{baseDir}}/scripts/brickset.py --format text years --theme Space
# Search sets
python {{baseDir}}/scripts/brickset.py --format text search "Galaxy Explorer" --page-size 5
python {{baseDir}}/scripts/brickset.py --format text search Blacktron --theme Space --page-size 10 --order-by YearFromDESC
python {{baseDir}}/scripts/brickset.py get-sets --params '{"setNumber":"6990-1","extendedData":1}'
# Instructions and images
python {{baseDir}}/scripts/brickset.py --format text instructions2 10497-1
python {{baseDir}}/scripts/brickset.py --format text additional-images 1700
# Direct/raw API access
python {{baseDir}}/scripts/brickset.py raw getReviews --param setID=1700
python {{baseDir}}/scripts/brickset.py --format text raw getCollection --param userHash=\x3Chash>
Notes
getSetsconsumes Brickset API quota.- Brickset's
getSetsendpoint is happier whenuserHashis present, so the CLI sends an empty one automatically for anonymous searches. - Use
rawfor methods likelogin,checkUserHash,getReviews,getCollection, or collection-management calls that are not wrapped yet.
Reference
- Read
references/api.mdwhen you need the compact parameter guide forgetSetsor a reminder of which methods are available.
Script
scripts/brickset.py— main CLI entrypoint
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install brickset - After installation, invoke the skill by name or use
/brickset - Provide required inputs per the skill's parameter spec and get structured output
What is Brickset?
Human-friendly Brickset API v3 access for LEGO set lookup and Brickset automation. Use when you need to search LEGO sets, browse themes, years, or subthemes,... It is an AI Agent Skill for Claude Code / OpenClaw, with 71 downloads so far.
How do I install Brickset?
Run "/install brickset" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Brickset free?
Yes, Brickset is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Brickset support?
Brickset is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Brickset?
It is built and maintained by Stanislav Stankovic (@stanestane); the current version is v1.1.0.