with one click
teslamate
TeslaMate 只读车况助手。查询 TeslaMate PostgreSQL 数据库里的车辆电量、最新车况、行程、充电记录和近期统计。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
TeslaMate 只读车况助手。查询 TeslaMate PostgreSQL 数据库里的车辆电量、最新车况、行程、充电记录和近期统计。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
生成长文或图文发布稿,也支持直接基于本地 md/txt 素材写作;可自动搜索资料、生成配图,并支持多渠道发布,当前已支持微信公众号和小红书发布通道。支持按阶段(search/write/illustrate/publish)单独执行或全流程编排。
**自选股助手**。通过内置股票服务管理当前用户的自选股,并查询实时行情。
管理周期性定时任务(Cron),支持添加、查看、删除任务。
提供日常基础查询能力,支持天气、时间、加密货币价格和法币汇率。
**文生图**。根据提示词生成图片并返回图片文件。
Ikaros-side unfinished-task tracker for listing open tasks, inspecting closure contracts, updating task follow-up state, and explicitly closing tasks (completed/failed).
| api_version | v3 |
| name | teslamate |
| description | TeslaMate 只读车况助手。查询 TeslaMate PostgreSQL 数据库里的车辆电量、最新车况、行程、充电记录和近期统计。 |
| triggers | ["teslamate","TeslaMate","特斯拉","电量","车况","行程","开车","驾驶","车程","轨迹","去了哪里","最近去哪","行驶记录","充电"] |
| allowed_roles | ["ikaros"] |
| policy_groups | ["management","integration"] |
| platform_handlers | false |
| tool_exports | [{"name":"teslamate_query","description":"Query TeslaMate for vehicle battery/status, recent drives, charges, and summary statistics.","prompt_hint":"用户询问 TeslaMate、特斯拉车辆电量、车况、最近行程、开车去了哪里、驾驶轨迹、行驶记录、充电记录、近期里程或用车统计时,调用 `teslamate_query`。这是只读查询,不会写入 TeslaMate 数据库。","policy_groups":["integration"],"parameters":{"type":"object","properties":{"action":{"type":"string","description":"status | drives | charges | summary"},"car_id":{"type":"integer","description":"Optional TeslaMate cars.id filter"},"car_name":{"type":"string","description":"Optional car name, VIN, or model fuzzy filter"},"limit":{"type":"integer","description":"Max rows for drives/charges, 1-20"},"days":{"type":"integer","description":"Summary window in days, 1-365"}}}}] |
| input_schema | {"type":"object","properties":{"action":{"type":"string","enum":["status","drives","charges","summary"]},"car_id":{"type":"integer"},"car_name":{"type":"string"},"limit":{"type":"integer"},"days":{"type":"integer"}}} |
| permissions | {"filesystem":"workspace","shell":true,"network":"limited"} |
| entrypoint | scripts/execute.py |
通过 TeslaMate 的 PostgreSQL 数据库做只读查询,支持车辆电量、最近行程、充电记录和近期统计。
优先设置完整连接串:
export TESLAMATE_DATABASE_URL="postgresql://teslamate:password@127.0.0.1:5432/teslamate"
也可以拆成环境变量:
export TESLAMATE_DB_HOST=127.0.0.1
export TESLAMATE_DB_PORT=5432
export TESLAMATE_DB_NAME=teslamate
export TESLAMATE_DB_USER=teslamate
export TESLAMATE_DB_PASSWORD=password
建议在 TeslaMate PostgreSQL 中单独建一个只读账号给 Ikaros 使用。
python scripts/execute.py statuspython scripts/execute.py drives --limit 5python scripts/execute.py charges --limit 5python scripts/execute.py summary --days 30python scripts/execute.py status --car-name Modelstatus:查询车辆最新电量、状态、续航、里程和最后更新时间。drives:查询最近行程,包含时间、距离、时长、起止地点和电量变化。charges:查询最近充电记录,包含电量变化、增加电量、耗电、时长、费用和地点。summary:聚合最近 N 天的里程、驾驶时长、充电次数和充电电量。