An Openclaw Skills wrapper for TianAPI that translates OBD fault codes into bilingual, technician-friendly diagnostics from the command line.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tianapi-obdcode
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tianapi-obdcode using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This Openclaw Skills integration wraps TianAPI's OBD fault-code endpoint so you can turn codes like P0101 or P267B into practical diagnostics in seconds. It returns the code, Chinese and English meanings, applicable vehicle scope, fault category, and a detailed description in a consistent, script-friendly format.
Built for developers, mechanics, and support workflows, Openclaw Skills makes OBD lookup fast, repeatable, and easy to embed in terminal tools, service assistants, and maintenance automations. Instead of maintaining a local fault-code database, you query a maintained API and get standardized results on demand.
scripts/fetch_obdcode.py sends a request to https://apis.tianapi.com/obdcode/index with key and code parameters, or you can call the REST endpoint directly.python3.# Option 1: export an environment variable
export TIANAPI_OBDCODE_KEY=your_api_key
# Option 2: create a local .env file for scripts
mkdir -p scripts
echo 'TIANAPI_OBDCODE_KEY=your_api_key' > scripts/.env
# Option 3: pass the key at runtime
python3 scripts/fetch_obdcode.py your_api_key --code P267B
python3 scripts/fetch_obdcode.py your_api_key --code P267B
curl 'https://apis.tianapi.com/obdcode/index?key=YOUR_API_KEY&code=P267B'
The skill is intentionally lightweight: it does not require a local database and does not generate persistent artifacts by default. The core inputs and outputs are organized as follows.
| Layer | Field / File | Purpose |
|---|---|---|
| Config | TIANAPI_OBDCODE_KEY |
Primary environment variable for the TianAPI key |
| Config | scripts/.env |
Optional local file for storing the API key during script execution |
| Input | code |
Required OBD fault code to query, such as P267B |
| Input | key |
Required TianAPI credential passed via env, file, or CLI |
| Endpoint | https://apis.tianapi.com/obdcode/index |
REST lookup endpoint used by the script or direct calls |
| Script | scripts/fetch_obdcode.py |
CLI wrapper that packages the fault-code lookup flow |
| Output | stdout | Human-readable diagnostic result for terminal use or piping |
| Field | Meaning |
|---|---|
code |
Fault code identifier |
descr |
Detailed fault description |
ennote |
English meaning of the code |
zhnote |
Chinese meaning of the code |
carmodel |
Applicable vehicle scope |
category |
Fault category or system area |
| Status | Meaning |
|---|---|
150 |
API quota exhausted |
160 |
API not yet applied for |
230 |
Invalid API key |
240 |
Missing key parameter |
250 |
Empty response data |
280 |
Missing code parameter |
| Timeout | Network issue; retry the request |
| Metadata key | Value | Purpose |
|---|---|---|
metadata.openclaw.emoji |
🚙 |
Visual identifier for the skill |
metadata.openclaw.requires.bins |
python3 |
Runtime requirement |
metadata.openclaw.requires.env |
TIANAPI_OBDCODE_KEY |
Required environment variable |
metadata.openclaw.primaryEnv |
TIANAPI_OBDCODE_KEY |
Primary credential source |
For Openclaw Skills consumers, the most important contract is stable field names and deterministic CLI behavior, which makes the output easy to parse in automation.
.env file, or per-command key argument.scripts/fetch_obdcode.py execution.Loading
Openclaw Skills for TianAPI barcode lookup converts a product barcode into structured product metadata in seconds.

Openclaw Skills for Huawei Cloud OBS lets you safely list buckets, upload files or directories, and automate periodic syncs from the CLI.

A read-only Huawei Cloud resource query skill in Openclaw Skills for inspecting EVS, OBS, SFS Turbo, and CBR data via local Python scripts.

A frontend troubleshooting skill in Openclaw Skills for diagnosing and fixing mobile responsiveness, navigation, and cross-device layout issues.

An Openclaw Skills integration that fetches city vehicle restriction rules, tail-number limits, zones, and penalty details from TianAPI.

Openclaw Skills for querying ancient Chinese classic chapters by ID through TianAPI, with script and direct HTTP access.








































