Lab: is the SDK you're about to install real?
Query the npm registry directly, with no 1Claw endpoint involved at all, and confirm the package this course tells you to install is a live, maintained, versioned artifact rather than a name someone typed into a lesson.
Nothing so far has asked you to trust this course's word for what a package is. This lab checks the one claim every SDK lesson rests on: that @1claw/sdk is a real thing you can safely add to a project.
- 1
Ask the registry directly, the same one npm install itself queries.
codecurl -s https://registry.npmjs.org/@1claw/sdk/latest | python3 -c ' import json, sys d = json.load(sys.stdin) print("name: ", d["name"]) print("version: ", d["version"]) print("deps: ", d.get("dependencies", {})) print("unpacked: ", d["dist"]["unpackedSize"], "bytes") ' - 2
A real, versioned package, published by an account, with zero runtime dependencies and a size you can inspect before you pull it in.
textname: @1claw/sdk version: 0.60.0 deps: {} unpacked: 2529522 bytes - 3
Check the two packages this course tells you to trust with far more, the CLI and the MCP server, and note something they have in common.
codefor pkg in @1claw/cli @1claw/mcp; do curl -s "https://registry.npmjs.org/$pkg/latest" | python3 -c ' import json, sys d = json.load(sys.stdin) print(d["name"], d["version"], len(d.get("dependencies", {})), "deps") ' done - 4
All three release together.
text@1claw/cli 0.60.0 7 deps @1claw/mcp 0.60.0 7 deps
Every 1Claw package this course has told you to install version-locks to the same release. That is worth noticing on its own: an SDK, a CLI, and an MCP server that all ship 0.60.0 together are a single product surface, not three independently maintained tools that happen to share a name.
- A registry lookup costs one HTTP request and answers a question worth asking before any install: is this maintained, and by whom.
- @1claw/sdk has zero runtime dependencies. That is a deliberate, checkable property, and a smaller dependency tree is a smaller supply chain to inherit trust in.
- The version match across packages is what makes 'pin an exact version' meaningful advice from the ecosystem lessons. If the packages did not release in lockstep, pinning one and not the others could put you on an incompatible combination.
This is the same registry query a malicious typosquat cannot fake convincingly at scale. @1claw/sdk and @1c1aw/sdk return genuinely different, independently checkable answers, which is why this five-second habit is worth keeping before any npm install of a package handling credentials.
The version numbers you see here will have moved on by the time you read this. The property that will not have moved is that a registry lookup is always available and always cheap, for any package, from any publisher, before you decide to trust it.
Check your understanding
3 questionsWhat did checking the dependency count of @1claw/sdk tell you?
Why does it matter that the SDK, CLI, and MCP packages all show the same version number?
What can a registry lookup catch that reading a course cannot?