Token导航 LogoToken导航

Agent Skill · 开发

ocpp(ocpp 命令行)

ocpp 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ocpp 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 17,122。

总安装 441周安装 18GitHub Stars 8下载 141核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ocpp(ocpp 命令行)
来源仓库:https://github.com/alexeimoisseev/ocpp.md
仓库路径:skills/ocpp
安装命令:
npx skills add https://github.com/alexeimoisseev/ocpp.md --skill ocpp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alexeimoisseev/ocpp.md --skill ocpp

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于处理 GitHub 仓库、Issue 和 Pull Request 信息,适合围绕代码变更和协作事项进行整理。适用于 OCPP(开放充电协议)相关开发、配置管理和通信调试等场景。通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和命令执行环境。

安装前建议检查仓库维护状态,以及是否会触发联网或文件读写操作。ocpp 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/ocpp

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/alexeimoisseev/ocpp.md --skill ocpp;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ocpp 怎么安装?

在终端执行 npx skills add https://github.com/alexeimoisseev/ocpp.md --skill ocpp。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ocpp 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ocpp 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

ocpp 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ocpp 用的人多吗?

公开数据是累计安装 441 次,近一周安装 18 次,下载 141 次,GitHub 8 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ocpp 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
ocpp

ocpp 命令行 · 本页

4418需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

OCPP — AI Agent Reference

You are assisting a developer working on EV charging infrastructure using OCPP. This skill covers both OCPP 2.0.1 and OCPP 1.6J. Use it to provide accurate schema references, implementation guidance, and to flag areas where the spec is silent.

Version Detection

Detect the OCPP version from the developer's code:

  • 1.6J indicators: StartTransaction, StopTransaction, RemoteStartTransaction, RemoteStopTransaction, Charge Point, Central System, idTag (string), connectorId without evseId, .req / .conf naming
  • 2.0.1 indicators: TransactionEvent, RequestStartTransaction, RequestStopTransaction, Charging Station, CSMS, IdTokenType (object), evseId, Request / Response naming

If unclear, ask the developer which version they're using.

Quick Reference

What is OCPP: Open Charge Point Protocol — communication between EV Charging Stations and a management backend over WebSocket + JSON. The station initiates the connection. Both sides can send messages.

OCPP 2.0.1

  • Roles: Charging Station (CS) ↔ CSMS
  • Device Model: Charging Station → EVSE(s) → Connector(s). evseId and connectorId are 1-indexed. evseId=0 means the whole station.
  • 64 messages, organized by Functional Block

OCPP 1.6J

  • Roles: Charge Point (CP) ↔ Central System (CS)
  • Device Model: Charge Point → Connector(s). connectorId is 1-indexed. connectorId=0 means the whole Charge Point. No EVSE concept.
  • 28 messages, organized by Feature Profile (Core, Smart Charging, Firmware, Local Auth List, Reservation, Remote Trigger)

Message Frame (both versions): JSON-RPC-like. Three types:

  • CALL — [2, messageId, action, payload]
  • CALLRESULT — [3, messageId, payload]
  • CALLERROR — [4, messageId, errorCode, errorDescription, errorDetails]

All 64 OCPP 2.0.1 Messages

Provisioning & Lifecycle

  • BootNotification (CS→CSMS) — Station registers on connect
  • Heartbeat (CS→CSMS) — Keepalive
  • StatusNotification (CS→CSMS) — Connector/EVSE status changes
  • GetVariables (CSMS→CS) — Read configuration
  • SetVariables (CSMS→CS) — Write configuration
  • GetBaseReport (CSMS→CS) — Request full variable inventory
  • NotifyReport (CS→CSMS) — Variable inventory response (paginated)
  • SetNetworkProfile (CSMS→CS) — Configure network connection profiles
  • Reset (CSMS→CS) — Reboot station

Authorization

  • Authorize (CS→CSMS) — Validate ID token
  • ClearCache (CSMS→CS) — Clear authorization cache
  • SendLocalList (CSMS→CS) — Push local auth list
  • GetLocalListVersion (CSMS→CS) — Query local auth list version

Transactions

  • TransactionEvent (CS→CSMS) — Started/Updated/Ended events
  • RequestStartTransaction (CSMS→CS) — Remote start
  • RequestStopTransaction (CSMS→CS) — Remote stop
  • GetTransactionStatus (CSMS→CS) — Query outstanding transaction messages
  • MeterValues (CS→CSMS) — Send meter values outside transaction context

Remote Control

  • TriggerMessage (CSMS→CS) — Request CS to send a specific message
  • UnlockConnector (CSMS→CS) — Physically unlock connector
  • ChangeAvailability (CSMS→CS) — Set EVSE operative/inoperative

Smart Charging

  • SetChargingProfile (CSMS→CS) — Install charging profile
  • GetChargingProfiles (CSMS→CS) — Query installed profiles
  • ClearChargingProfile (CSMS→CS) — Remove profiles
  • ClearedChargingLimit (CS→CSMS) — External limit cleared
  • NotifyChargingLimit (CS→CSMS) — External limit notification
  • ReportChargingProfiles (CS→CSMS) — Profile query response
  • GetCompositeSchedule (CSMS→CS) — Calculate effective schedule
  • NotifyEVChargingSchedule (CS→CSMS) — EV-proposed schedule (ISO 15118)
  • NotifyEVChargingNeeds (CS→CSMS) — Report EV charging needs (ISO 15118)

Firmware

  • UpdateFirmware (CSMS→CS) — Trigger firmware update
  • FirmwareStatusNotification (CS→CSMS) — Update progress
  • PublishFirmware (CSMS→CS) — Make firmware available to local network
  • PublishFirmwareStatusNotification (CS→CSMS) — Publish progress
  • UnpublishFirmware (CSMS→CS) — Remove published firmware

Security & Certificates

  • Get15118EVCertificate (CS→CSMS) — EV certificate request
  • GetCertificateStatus (CS→CSMS) — OCSP status check
  • SignCertificate (CS→CSMS) — CSR for station certificate
  • CertificateSigned (CSMS→CS) — Signed certificate delivery
  • InstallCertificate (CSMS→CS) — Install CA certificate
  • DeleteCertificate (CSMS→CS) — Remove certificate
  • GetInstalledCertificateIds (CSMS→CS) — List installed certs
  • SecurityEventNotification (CS→CSMS) — Report security-related event

Diagnostics & Monitoring

  • GetLog (CSMS→CS) — Request log upload
  • LogStatusNotification (CS→CSMS) — Log upload progress
  • NotifyEvent (CS→CSMS) — Component/variable events
  • SetMonitoringBase (CSMS→CS) — Set monitoring baseline
  • SetVariableMonitoring (CSMS→CS) — Configure variable monitors
  • SetMonitoringLevel (CSMS→CS) — Set monitoring severity level
  • GetMonitoringReport (CSMS→CS) — Query active monitors
  • ClearVariableMonitoring (CSMS→CS) — Remove monitors
  • NotifyMonitoringReport (CS→CSMS) — Monitor query response
  • CustomerInformation (CSMS→CS) — Request customer data
  • NotifyCustomerInformation (CS→CSMS) — Customer data response

Display Messages

  • CostUpdated (CSMS→CS) — Update displayed cost
  • SetDisplayMessage (CSMS→CS) — Show message on display
  • GetDisplayMessages (CSMS→CS) — Query displayed messages
  • ClearDisplayMessage (CSMS→CS) — Remove displayed message
  • NotifyDisplayMessages (CS→CSMS) — Display message query response

Reservation

  • ReserveNow (CSMS→CS) — Create reservation
  • CancelReservation (CSMS→CS) — Cancel reservation
  • ReservationStatusUpdate (CS→CSMS) — Reservation expired/removed

Data Transfer

  • DataTransfer (CS↔CSMS) — Bidirectional vendor extension

All 28 OCPP 1.6J Messages

Core (required profile)

  • Authorize (CP→CS) — Validate idTag
  • BootNotification (CP→CS) — Charge Point registers after (re)boot
  • ChangeAvailability (CS→CP) — Set connector operative/inoperative
  • ChangeConfiguration (CS→CP) — Set a configuration key
  • ClearCache (CS→CP) — Clear authorization cache
  • DataTransfer (CP↔CS) — Vendor-specific data exchange
  • GetConfiguration (CS→CP) — Read configuration keys
  • Heartbeat (CP→CS) — Keepalive
  • MeterValues (CP→CS) — Periodic meter readings
  • RemoteStartTransaction (CS→CP) — Remote start
  • RemoteStopTransaction (CS→CP) — Remote stop
  • Reset (CS→CP) — Reboot Charge Point
  • StartTransaction (CP→CS) — Transaction started
  • StatusNotification (CP→CS) — Connector status/error change
  • StopTransaction (CP→CS) — Transaction ended
  • UnlockConnector (CS→CP) — Physically unlock connector

Smart Charging

  • SetChargingProfile (CS→CP) — Install charging profile
  • ClearChargingProfile (CS→CP) — Remove profiles
  • GetCompositeSchedule (CS→CP) — Get effective schedule

Firmware Management

  • GetDiagnostics (CS→CP) — Request diagnostic log upload
  • DiagnosticsStatusNotification (CP→CS) — Upload progress
  • UpdateFirmware (CS→CP) — Trigger firmware update
  • FirmwareStatusNotification (CP→CS) — Update progress

Local Auth List Management

  • SendLocalList (CS→CP) — Push local authorization list
  • GetLocalListVersion (CS→CP) — Query list version

Reservation

  • ReserveNow (CS→CP) — Reserve a connector
  • CancelReservation (CS→CP) — Cancel reservation

Remote Trigger

  • TriggerMessage (CS→CP) — Request CP to send a specific message

Key Data Types (OCPP 2.0.1)

  • IdTokenType — User identification (eMAID, RFID, etc.) with optional groupIdToken
  • ChargingProfileType — Charging limits: id, stackLevel, purpose, kind, chargingSchedule
  • MeterValueType — Timestamped array of SampledValue (energy, power, current, voltage, SoC)
  • EVSEType — EVSE identifier (id + optional connectorId)
  • StatusInfoType — Reason code + additional info for status responses
  • TransactionType — Transaction state: transactionId, chargingState, stoppedReason
  • ChargingScheduleType — Time-based power/current limits with periods
  • IdTokenInfoType — Authorization result: status, cacheExpiryDateTime, groupIdToken

Escalation Model

When implementing OCPP behavior, you will encounter areas where the specification does not fully define what to do. These are categorized as:

SPEC-SILENT

The OCPP specification does not define behavior for this case. You MUST flag this to the developer. Do NOT silently pick a default.

VENDOR-DEPENDENT

Behavior depends on the Charging Station hardware or firmware. Ask which hardware/firmware is targeted.

POLICY-DEPENDENT

Behavior depends on business rules, site configuration, or grid operator requirements. Ask about the business/operational context.

Escalation Strictness

Check the developer's project CLAUDE.md for escalation preferences. They may write something like:

For OCPP: use pragmatic escalation mode.

or:

OCPP escalation: strict — always ask before assuming spec-silent behavior.

Two modes:

  • strict (default): Stop and ask the developer before proceeding. Present specific options. Do not write code for the ambiguous area until answered.
  • pragmatic: Flag the ambiguity but pick a reasonable default. Leave a visible annotation: // OCPP SPEC-SILENT: [description of assumption]. Verify this matches your requirements.

If no escalation preference is found in CLAUDE.md, default to strict.

Documentation File Map

When you need detailed field-level schemas, sequence diagrams, or worked examples, read the relevant file from the plugin's docs/ directory. Use ${CLAUDE_PLUGIN_ROOT} to resolve the path.

TopicFile to read
All shared data types (enums + composites)${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-DataTypes.md
Authorization schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Authorization.md
Availability schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Availability.md
Diagnostics schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Diagnostics.md
Display schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Display.md
Firmware schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Firmware.md
Provisioning schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Provisioning.md
Reservation schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Reservation.md
Security schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Security.md
Smart Charging schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-SmartCharging.md
Transaction schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Schemas/OCPP-2.0.1-Schemas-Transactions.md
Boot, auth, transaction sequences${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Sequences/OCPP-2.0.1-Sequences.md
Offline, firmware, diagnostics sequences${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-Sequences/OCPP-2.0.1-Sequences-Operational.md
Smart Charging deep-dive${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-SmartCharging/OCPP-2.0.1-SmartCharging.md
Smart Charging worked examples${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-SmartCharging/OCPP-2.0.1-SmartCharging-Examples.md
ISO 15118 + Smart Charging${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1-SmartCharging/OCPP-2.0.1-SmartCharging-ISO15118.md
OCPP 2.0.1 overview + migration guide${CLAUDE_PLUGIN_ROOT}/docs/OCPP-2.0.1.md
Documentation methodology + trust model${CLAUDE_PLUGIN_ROOT}/docs/METHODOLOGY.md
OCPP 1.6J overview + config keys${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J.md
1.6J Core schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Schemas/OCPP-1.6J-Schemas-Core.md
1.6J Smart Charging schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Schemas/OCPP-1.6J-Schemas-SmartCharging.md
1.6J Firmware schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Schemas/OCPP-1.6J-Schemas-Firmware.md
1.6J Local Auth List schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Schemas/OCPP-1.6J-Schemas-LocalAuthList.md
1.6J Reservation schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Schemas/OCPP-1.6J-Schemas-Reservation.md
1.6J Remote Trigger schemas${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Schemas/OCPP-1.6J-Schemas-RemoteTrigger.md
1.6J Message sequences${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-Sequences/OCPP-1.6J-Sequences.md
1.6J Smart Charging deep-dive${CLAUDE_PLUGIN_ROOT}/docs/OCPP-1.6J-SmartCharging/OCPP-1.6J-SmartCharging.md

How to use the file map

  1. Identify the topic from the developer's question
  2. Read the relevant file(s) using the Read tool
  3. Cite specific fields, constraints, and enum values from the docs
  4. Flag any ESCALATE markers you encounter in the docs

Topic argument routing

If invoked with /ocpp <topic>, immediately read the relevant files:

OCPP 1.6J topics:

  • /ocpp 1.6 or /ocpp 1.6j → read OCPP-1.6J.md overview
  • /ocpp 1.6 smart-charging → read 1.6J SmartCharging schemas + deep-dive
  • /ocpp 1.6 schemas → read all 1.6J Schema files
  • /ocpp 1.6 sequences → read 1.6J Sequences file
  • /ocpp 1.6 core → read 1.6J Core schemas
  • /ocpp 1.6 firmware → read 1.6J Firmware schemas
  • /ocpp 1.6 auth-list → read 1.6J LocalAuthList schemas
  • /ocpp 1.6 reservation → read 1.6J Reservation schemas

OCPP 2.0.1 topics (default):

  • /ocpp smart-charging → read all 3 SmartCharging files
  • /ocpp authorize or /ocpp authorization → read Authorization schemas
  • /ocpp transactions → read Transaction schemas + Sequences
  • /ocpp provisioning or /ocpp boot → read Provisioning schemas + Sequences
  • /ocpp schemas → read all Schema files
  • /ocpp sequences → read both Sequence files
  • /ocpp types or /ocpp data-types → read DataTypes
  • /ocpp firmware → read Firmware schemas + Operational sequences
  • /ocpp diagnostics → read Diagnostics schemas + Operational sequences
  • /ocpp reservation → read Reservation schemas
  • /ocpp display → read Display schemas
  • /ocpp security or /ocpp certificates → read Security schemas
  • /ocpp availability → read Availability schemas
  • Any other topic → search across all docs using grep

Behavioral Guidelines

  1. Always cite the source. When referencing a field, type, or constraint, mention which doc it comes from. Distinguish schema-derived facts (high confidence) from AI interpretation (lower confidence).
  2. Respect the escalation model. When you encounter an > **ESCALATE:** marker in the docs, follow the escalation strictness rules above.
  3. Detect version from context. Use the version detection rules above. If the code uses StartTransaction/StopTransaction, it's 1.6J — read 1.6J docs. If it uses TransactionEvent, it's 2.0.1. If no version indicators are present, assume 2.0.1 and mention the assumption.
  4. Don't invent protocol behavior. If you're unsure whether something is spec-defined, check the docs first. If the docs don't cover it, say so explicitly rather than guessing.
  5. Use the schemas for validation. When the developer writes OCPP message payloads, validate field names, types, required/optional status, and constraints against the schema docs.

平台分布

Codex

37.41%
按下载量换算53

Claude

31.69%
按下载量换算45

Cursor

17.25%
按下载量换算24

Gemini CLI

9.22%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills