{"id":"ec4dd2c0-9046-46de-b44a-3ac4a0509828","slug":"clawhub-xddcode-insentek-api-skill","name":"insentek-api-skill","description":"通过自然语言查询 insentek（东方智感）物联网设备数据。 支持土壤墒情仪、气象站、见厘液位计等多种设备类型的实时数据、 历史数据、趋势分析、跨设备对比与数据导出。","canonicalUrl":"https://www.xpersona.co/agent/clawhub-xddcode-insentek-api-skill","sourceUrl":"https://clawhub.ai/xddcode/insentek-api-skill","homepage":"https://clawhub.ai/xddcode/skills/insentek-api-skill","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/xddcode/skills/insentek-api-skill"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.2.2","freshnessAt":"2026-10-11T17:16:29.255Z","freshnessLabel":"Oct 11, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 11, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.2.2"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/xddcode/skills/insentek-api-skill","sourceUrl":"https://clawhub.ai/xddcode/skills/insentek-api-skill","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T17:16:29.334Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-xddcode-insentek-api-skill/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-xddcode-insentek-api-skill/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-11T17:16:29.334Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"1K downloads","href":"https://clawhub.ai/xddcode/insentek-api-skill","sourceUrl":"https://clawhub.ai/xddcode/insentek-api-skill","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T17:16:29.334Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.2.2","href":"https://clawhub.ai/xddcode/insentek-api-skill","sourceUrl":"https://clawhub.ai/xddcode/insentek-api-skill","sourceType":"release","confidence":"medium","observedAt":"2026-05-26T09:35:14.742Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-xddcode-insentek-api-skill/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-xddcode-insentek-api-skill/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["1K downloads","Trust evidence available"],"agentCard":{"name":"insentek-api-skill","description":"通过自然语言查询 insentek（东方智感）物联网设备数据。 支持土壤墒情仪、气象站、见厘液位计等多种设备类型的实时数据、 历史数据、趋势分析、跨设备对比与数据导出。","source":"CLAWHUB","sourceId":"clawhub:s1776e0bqhtsht8hhbrm0y6dvh874b9c:insentek-api-skill","homepage":"https://clawhub.ai/xddcode/skills/insentek-api-skill","repository":"https://clawhub.ai/xddcode/insentek-api-skill","documentation":"https://www.xpersona.co/agent/clawhub-xddcode-insentek-api-skill","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"text","snippet":"v1.2.0 | 2026-05-25T09:33:41.213Z | user\n\n## What's Changed\r\n* feat: 持久化存储访问凭据，避免会话间重复输入 by @fre2d0m in https://github.com/insentek/insentek-api-skills/pull/6\r\n\r\n## New Contributors\r\n* @fre2d0m made their first contribution in https://github.com/insentek/insentek-api-skills/pull/6\r\n\r\n**Full Changelog**: https://github.com/insentek/insentek-api-skills/compare/v1.1.0...v1.2.0\n\nv1.1.0 | 2026-05-22T07:45:06.058Z | user\n\n1. skill.md 模块化重构\r\n    - 从 1100+ 行瘦身至 241 行（Runtime Contract 风格）\r\n    - 拆分出 docs/interaction.md（交互规范）和 docs/analysis.md（分析策略）\r\n    - 解决 Prompt Token 爆炸和 MUST 密度过高问题\r\n  2. 分析策略语气降级\r\n    - 安全/护栏规则保持 MUST\r\n    - 分析方法从 MUST 改为 SHOULD / RECOMMENDED / PREFER\r\n    - 提升 Agent 分析灵活性和创造力\r\n  3. 数据可用性校验\r\n    - query_data 返回后自动检查实际数据范围 vs 请求范围\r\n    - 覆盖不足 50% 或少于 7 天时，必须向用户确认后才生成报告\r\n    - 防止\"请求近3个月但设备只有13天数据\"的误导性报告\r\n  4. CSV 导出修复\r\n    - 修复长数字 SN 在 Excel 中显示为科学计数法的问题\r\n    - SN 字段加前导制表符强制文本格式\r\n  5. API 文档统一\r\n    - 删除 docs/api-reference.md\r\n    - 统一使用 reference/api-doc.md 作为权威源\n\nv1.0.2 | 2026-05-21T07:50:57.649Z | user\n\n- Removed deprecated `report` / `chart` / `export --format html` from `scripts/insentek_cli.py`\r\n  - Deleted `generate_report()`, `generate_chart()`, `get_device_info()`, `extract_param_names()` (~480 lines)\r\n  - HTML reports are now fully Agent-generated; no hard-coded templates\r\n  - Updated docstring and argparse to reflect only csv/json export\r\n\r\n- Updated `skill.md`\r\n  - Replaced Section 6.4 `generate_report (DEPRECATED)` with 6.4 `write_html`\r\n  - Added `write_html.py` to environment check items (non-critical)\r\n  - Changed API doc reference from active guidance to fallback note in Notes\r\n  - Updated `--dry-run` note to remove `report` and `chart`\r\n\r\n- Updated `.planning/STATE.md`\r\n  - Added `write_html.py` to Utility Scripts list\r\n  - Removed HTML export from `insentek_cli.py` description\n\nv1.0.1 | 2026-05-21T06:04:04.070Z | user\n\n- --dry-run preview mode (scripts/insentek_cli.py)\n  - data, export (csv/json/html), report, chart subcommands all suppo"},{"kind":"example","language":"text","snippet":"> npm 包名为 `@insentek/openapi-skill`（已发布到 npm registry）。`insentek-api-skill` 是它的可执行别名，**仅在该包已被安装时**可用。**所有 `npx` 调用都应使用 scoped 包名** `@insentek/openapi-skill`，否则未安装的用户机器会得到 \"npm ERR! 404\"。\n\n### 命令分工（MUST）\n\n| 用途 | 工具 | 示例 |\n|------|------|------|\n| 安装 / 更新 skill | `npx @insentek/openapi-skill` | `install -r openclaw -s workspace -y` |\n| 配置 / 清除凭据 | `npx @insentek/openapi-skill login/logout` | `npx @insentek/openapi-skill login` |\n| 查连接状态 | `npx @insentek/openapi-skill auth status` | — |\n| 查安装路径 / 脚本位置 | `npx @insentek/openapi-skill info/status/doctor --json` | 见下方「脚本路径解析」 |\n| **查询 API** | `python3 <SKILL_ROOT>/scripts/insentek_cli.py` | `python3 .../insentek_cli.py devices` |\n\n### 脚本路径解析（MUST，API 调用前）\n\nAgent 工作目录通常**不是** skill 安装目录。**禁止**使用相对路径 `python3 scripts/insentek_cli.py ...`。\n\n**首次 API 调用前**，或脚本路径未知 / 返回「文件找不到」时，**必须先**查实际安装位置。`info --json` 会列出所有 runtime × scope 的解析结果及 `installed` 标记，无需提前知道用户是哪种安装："}]}}