cli-setup▌
auto.dev/cli-setup-4j68kq · updated May 21, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Install, authenticate, and verify the @auto.dev/sdk npm package so a downstream agent can run any Auto.dev automotive data task (VIN decode, listings, photos, specs, recalls, payments, APR, TCO, plate-to-VIN, taxes) via the global `auto` CLI, the bundled stdio MCP server, or the JS/TS SDK.
| name | cli-setup |
| title | Auto.dev CLI Setup |
| description | >- Install, authenticate, and verify the @auto.dev/sdk npm package so a downstream agent can run any Auto.dev automotive data task (VIN decode, listings, photos, specs, recalls, payments, APR, TCO, plate-to-VIN, taxes) via the global `auto` CLI, the bundled stdio MCP server, or the JS/TS SDK. |
| website | auto.dev |
| category | developer-tools |
| tags | - automotive - cli - mcp - sdk - vin - setup - npm |
| source | 'browserbase: agent-runtime 2026-05-19' |
| updated | '2026-05-19' |
| recommended_method | cli |
| alternative_methods | - method: mcp rationale: >- When the calling agent is an MCP-capable host (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code Copilot), `auto mcp install` registers Auto.dev as a tool provider so the model calls `auto_decode`, `auto_listings`, etc. natively. Remote MCP at https://mcp.auto.dev/mcp is the zero-Node-install variant; local stdio is the low-latency one. - method: api rationale: >- Bare HTTP against api.auto.dev with an `Authorization: Bearer <key>` header is the lowest-level fallback when npm is unavailable. You lose CLI response-stripping, plan-tier introspection, parameter shorthand, and offline `explore`/`docs`. - method: cli rationale: >- For code-generation contexts, importing `AutoDev` from `@auto.dev/sdk` programmatically gives the same auth surface as the CLI plus typed responses. Use full dotted API keys (e.g. `vehicle.make`) — the CLI shorthand (`--make`) is a CLI-layer convenience that the SDK does not honor. |
| verified | false |
| proxies | true |
Auto.dev CLI Setup
Purpose
Install, authenticate, and verify the @auto.dev/sdk npm package so a downstream agent can run any Auto.dev automotive data task — VIN decode, photos, listings search, specs, OEM build data, recalls (safety + open), monthly payment / APR / TCO calculations, license-plate-to-VIN, taxes & fees, and account usage — via the global auto CLI binary, the bundled stdio MCP server, or the JS/TS SDK. Read-only against Auto.dev's API surface; the CLI does not mutate vehicle records — it only fetches data and writes local config to ~/.auto-dev/config.json.
When to Use
- An agent needs to pull automotive data once or repeatedly from Auto.dev and you want to avoid hand-rolling HTTP requests against
api.auto.dev. - The calling agent is an MCP-capable client (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code Copilot) and the cleanest path is to register Auto.dev as a tool provider so the model can call
auto_decode,auto_listings, etc. natively. - A CI job or headless runtime needs Auto.dev data via shell —
AUTODEV_API_KEY+auto <command>is the lowest-overhead integration. - Code-generation contexts where you want the agent to emit TypeScript that imports
@auto.dev/sdkand callsauto.decode(...)/auto.listings(...)against the same auth.
Workflow
The fastest reliable setup for a non-interactive agent is (1) global install of @auto.dev/sdk from npm, (2) auth via the AUTODEV_API_KEY environment variable (the browser-based auto login OAuth flow does not work headless), and (3) smoke-test with auto whoami + a free-tier call like auto decode 1HGCM82633A004352 --json. If the agent is running inside an MCP-capable host (Claude Code / Desktop, Cursor, Windsurf, VS Code Copilot), run npx @auto.dev/sdk mcp install afterward — it edits the host's MCP config file in place so the model can call auto_* tools without shelling out. The bare HTTP API at https://api.auto.dev is the lowest-level fallback if npm is unavailable, but you lose the CLI's response-stripping, plan-tier guards, parameter shorthand, and offline explore/docs introspection.
-
Verify prerequisites.
node --versionmust be>= 18.0.0(the package'senginesfield; verified against0.1.23).npm≥ 8 is fine. -
Install globally. Use
npm i -g, notnpx, so theautobinary is on$PATHfor follow-up calls in the same session:npm install -g @auto.dev/sdk auto --version # → 0.1.23 (or newer)In sandboxed environments without root, fall back to a project-local install + the
node_modules/.bin/autoshim:mkdir -p /tmp/autodev && cd /tmp/autodev && npm init -y >/dev/null && \ npm install --no-audit --no-fund @auto.dev/sdk alias auto="$PWD/node_modules/.bin/auto" -
Authenticate. Three options, in order of preference for an agent:
AUTODEV_API_KEYenv var (preferred for headless / CI). Get a key fromhttps://auto.dev/dashboard→ API Keys → Create New Key. Format starts withsk_ad_. Export it for the session:The CLI, SDK, and stdio MCP server all read this variable. Noexport AUTODEV_API_KEY=sk_ad_...auto loginstep needed.--api-key <key>flag. Per-invocation override, useful when juggling multiple Auto.dev accounts or for one-off tests:auto decode 1HGCM82633A004352 --api-key sk_ad_...auto login(interactive only). Opens a browser tab atid.org.aifor OAuth. Stores refresh tokens in~/.auto-dev/config.json. Do not invoke this from a headless agent — it will block waiting for a browser callback that never arrives. There is noauto login --device-codeflow at v0.1.23.
-
Smoke-test. Three offline-friendly probes confirm install + auth without burning API quota:
auto --version # confirms the binary resolves auto explore # offline; prints the endpoint table by plan tier auto config list # offline; reads ~/.auto-dev/config.jsonThen one live call against the free-tier VIN-decode endpoint to confirm auth works end-to-end:
auto decode 1HGCM82633A004352 --json | head -20A successful response prints stripped vehicle data (make/model/year/trim/engine). A
No API key found. Set AUTODEV_API_KEY or run: auto loginerror means step 3 didn't take. A401/403means the key is invalid or the account is suspended. -
(Optional) Install the MCP server into the host agent. If the calling agent is one of the supported MCP clients, run:
auto mcp install # or: npx @auto.dev/sdk mcp install auto mcp status # verify which clients are configuredThis writes to the appropriate config file(s):
- Claude Code —
~/.claude.json - Claude Desktop —
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - Cursor —
~/.cursor/mcp.json
Manual MCP config (equivalent):
{ "mcpServers": { "auto-dev": { "command": "auto", "args": ["--mcp"] } } }For remote MCP (hosted, OAuth-only — useful for Claude Desktop without a local Node install), point the client at
https://mcp.auto.dev/mcpinstead. Both transports expose the sameauto_*tool set. - Claude Code —
-
Drive the API. With auth configured, the agent invokes one command per task. Each subcommand accepts
--json,--yaml,--table(default), and--raw(un-strips API metadata).auto decode <vin> # Starter plan auto photos <vin> # Starter auto listings --make Toyota --year 2024 --price 10000-40000 --state CA # Starter auto specs <vin> # Growth auto build <vin> # Growth auto recalls <vin> # Growth auto payments <vin> --price 35000 --zip 90210 --down-payment 5000 # Growth auto apr <vin> --year 2024 --make Honda --model Accord --zip 90210 --credit-score 750 # Growth auto tco <vin> --zip 90210 # Growth auto open-recalls <vin> # Scale auto plate <state-code> <plate> # Scale e.g. auto plate CA ABC1234 auto taxes <vin> --price 35000 --zip 90210 # Scale auto usage # any planFor discoverability mid-task:
auto explorelists every endpoint by tier;auto explore listingsshows each filter, whether it's required, and the underlying API field it maps to (e.g.--make→vehicle.make).auto docs <name>browses bundled documentation when it's been built; on a fresh global install it may printNo bundled docs found— fall back to the hosted docs athttps://docs.auto.dev/v2/products/. -
(Optional) Code-generation path with the SDK. When the downstream task wants TypeScript instead of shell, import directly:
import { AutoDev } from '@auto.dev/sdk' const auto = new AutoDev({ apiKey: process.env.AUTODEV_API_KEY }) const { data, meta } = await auto.decode('1HGCM82633A004352') // data = stripped vehicle object; meta = { requestId, tier, usage: { remaining } } // Pass { raw: true } on the constructor to disable stripping globally.Filter-style methods take an object whose keys are the full API field names (
'vehicle.make','retailListing.price', etc.) — the CLI shorthand (--make) is a CLI-layer convenience only; the SDK does not rewrite keys. Runauto explore listingsto see the shorthand-to-field mapping before authoring an SDK call. -
(Optional, fallback) Bare HTTP API. If npm is unavailable:
curl -H "Authorization: Bearer $AUTODEV_API_KEY" \ https://api.auto.dev/vin/1FTFW3LDXRFB40317You lose all CLI conveniences. Note that the bare API response includes the
api/links/user/examples/discover/actionsmetadata that the CLI strips by default — equivalent to--raw.
Site-Specific Gotchas
- Browser-based
auto loginblocks headless agents. It launches a system browser toid.org.aiand waits for an OAuth callback. There is no device-code or copy-paste-token variant in v0.1.23. For any non-interactive runtime, useAUTODEV_API_KEY(env var) or--api-key <key>(per-call). The error path when nothing is set is explicit:No API key found. Set AUTODEV_API_KEY or run: auto login. - Plan-tier gating is enforced server-side, not client-side.
auto explorecheerfully prints every endpoint regardless of plan, but a call to a higher-tier endpoint on a Starter account returns an error from the API, not from the CLI. Tier mapping at the time of writing: Starter = decode, photos, listings (1,000 calls/mo free); Growth = +specs, build, recalls, payments, apr, tco ($299/mo, 14-day trial); Scale = +open-recalls, plate, taxes ($599/mo).auto usagereports remaining-call counts; agents should check it before bulk loops. - Rate limits by plan: Starter 5 req/s, Growth 10 req/s, Scale 50 req/s. The CLI does not back-off automatically — an agent looping over a list of VINs must throttle itself.
- Response stripping is on by default.
auto decode <vin>returns clean vehicle fields; the API'sapi/links/user/examples/discover/actionsenvelope is dropped. Pass--raw(CLI) ornew AutoDev({ raw: true })(SDK) when you need the metadata — e.g. for HATEOAS link traversal or quota inspection from a single call.auto config set raw trueflips the default persistently in~/.auto-dev/config.json, which is shared across CLI, SDK, and stdio MCP. - SDK response envelope is
{ data, meta }— not the bare object. Forgetting to destructure is the most common SDK foot-gun.meta.usage.remainingis the canonical place to read quota. - CLI shorthand ≠ SDK keys.
auto listings --make Toyotaworks;auto.listings({ make: 'Toyota' })does not — the SDK requires the full dotted path{ 'vehicle.make': 'Toyota' }. Useauto explore <endpoint>to see the mapping table. auto docsships empty on the npm tarball. On a freshnpm i -g @auto.dev/[email protected],auto docsandauto docs <query>printNo bundled docs found · Run: npm run build:docs— the build step only runs in the package's source repo. Treat the hosted docs athttps://docs.auto.dev/v2/products/as the source of truth for endpoint reference.auto explore <endpoint>still works offline and is the next-best discoverability tool.- MCP install rewrites config files in place.
auto mcp installmutates~/.claude.json,~/.cursor/mcp.json, etc. without dry-run or backup. Diff the file before/after if the host config is hand-maintained.auto mcp uninstallreverses it. - Two MCP transports, same tools, different auth. Local stdio (
auto --mcpinvoked by the host) inheritsAUTODEV_API_KEYfrom the host's env or~/.auto-dev/config.jsonfromauto login. Remote (https://mcp.auto.dev/mcp) does its own OAuth atid.org.aion first tool call — no env var needed, but the user must complete a browser flow once. For shared/CI Claude Code installs, prefer local stdio withAUTODEV_API_KEY. - Plate lookup needs a US state code, not name.
auto plate California ABC1234will fail;auto plate CA ABC1234works. State codes are 2-letter USPS abbreviations. - VIN format is not validated client-side. The CLI passes the VIN straight to the API. A malformed 17-char VIN (or one with
I/O/Q, which never appear in real VINs) returns a 4xx from the API, not a friendly local error. - No retries on transient errors. A 5xx or a connection reset bubbles up immediately; wrap calls in your own retry loop if reliability matters. The Node
fetchunderneath surfacesgetaddrinfo ENOTFOUND api.auto.devif your runtime has no egress to that host — relevant in restricted sandboxes. npx @auto.dev/sdk mcp installis the documented one-shot, but it installs a per-run binary, not a global one. If the agent will run more than oneautocommand in the same session, prefer the explicit two-step (npm i -g @auto.dev/sdkthenauto mcp install) so subsequent shell calls don't have to re-fetch the package each time.- Config lives at
~/.auto-dev/config.jsonand is shared. Editing it (or runningauto config set <k> <v>) affects every laterauto,AutoDevSDK import, and stdio MCP invocation under the same$HOME. Multi-tenant setups should pass--api-keyper call instead of relying on the file.
Expected Output
The skill's "output" is a verified-working install. The agent should observe each of these in order — the JSON example at the end is what a downstream automotive-data task will then see:
# Step 2 verification
$ auto --version
0.1.23
# Step 4 offline smoke-tests (no API call)
$ auto explore | head -3
[STARTER]
decode /vin/{vin} Decode a VIN — returns make, model, year, trim, engine, drivetrain
photos /photos/{vin} Get vehicle photos by VIN
$ auto config list
(empty on a fresh install; or printed key/value pairs after `auto config set`)
// Step 4 live VIN-decode response (auto decode 1HGCM82633A004352 --json),
// with default response-stripping on. Shape is approximate — fields vary by VIN.
{
"vin": "1HGCM82633A004352",
"year": 2003,
"make": "Honda",
"model": "Accord",
"trim": "EX",
"bodyStyle": "Coupe",
"engine": { "displacement": "3.0L", "cylinders": 6, "fuelType": "Gasoline" },
"drivetrain": "FWD",
"transmission": "Automatic"
}
// MCP-installed state (after step 5). `auto mcp status` prints a tick per
// detected client, e.g.:
// ✔ Claude Code installed
// ✔ Cursor installed
// ✖ Claude Desktop not installed
//
// The relevant section of the host's MCP config file:
{
"mcpServers": {
"auto-dev": {
"command": "auto",
"args": ["--mcp"]
}
}
}
// SDK-style envelope (step 7). All SDK methods return this shape.
{
"data": { "vin": "1HGCM82633A004352", "year": 2003, "make": "Honda", ... },
"meta": {
"requestId": "req_01HXYZ...",
"tier": "starter",
"usage": { "remaining": 998 }
}
}
// Failure shapes the calling agent should branch on:
// 1. Missing/unset auth:
Error: No API key found. Set AUTODEV_API_KEY or run: auto login
// 2. Invalid key:
HTTP 401 Unauthorized (body: { "error": "invalid_api_key" })
// 3. Plan-tier denied (e.g. `auto specs` on Starter):
HTTP 403 Forbidden (body: { "error": "plan_required", "required": "growth" })
// 4. Quota exhausted:
HTTP 429 Too Many Requests (body: { "error": "rate_limited" } or { "error": "monthly_quota_exceeded" })
// 5. Network/runtime can't reach api.auto.dev (sandboxed egress):
TypeError: fetch failed
cause: Error: getaddrinfo ENOTFOUND api.auto.dev
How to use cli-setup on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add cli-setup
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches cli-setup from GitHub repository auto.dev/cli-setup-4j68kq and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate cli-setup. Access the skill through slash commands (e.g., /cli-setup) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★52 reviews- ★★★★★Diego Liu· Dec 20, 2024
cli-setup is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Anika Patel· Dec 12, 2024
Useful defaults in cli-setup — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Charlotte Gill· Nov 15, 2024
cli-setup reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Layla Johnson· Nov 11, 2024
cli-setup fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Fatima Ndlovu· Nov 3, 2024
cli-setup has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Li Jackson· Oct 22, 2024
Solid pick for teams standardizing on skills: cli-setup is focused, and the summary matches what you get after install.
- ★★★★★Li Park· Oct 6, 2024
Registry listing for cli-setup matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Diego Dixit· Oct 2, 2024
We added cli-setup from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Mei Choi· Sep 25, 2024
cli-setup is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Piyush G· Sep 21, 2024
I recommend cli-setup for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 52