← 返回 Skills 市场
jason-ats

EdgeComputing ATS Analyzer

作者 Jason-ATS · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
103
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install edgecomputing-ats
功能描述
Analyzes EdgeComputing ATS (Automatic Ticket System) codebase architecture, device protocols, and business logic. Invoke when user asks about ATS project str...
使用说明 (SKILL.md)

ATS (Automatic Ticket System) Analyzer

Analyzes the EdgeComputing ATS project for architecture understanding, device management, and codebase navigation.

ATS Project Overview

ATS is an edge computing gateway for automatic ticket systems, managing multiple hardware devices (IC card readers, QR scanners, LED/LCD displays, card dispensers/collectors, etc.) and communicating with cloud platforms.

Project Location

/home/forlinx/Documents/trae_projects/workspace/EdgeComputing/ats/

Key Documentation

  • docs/系统架构文档.md - System architecture (layered architecture, modules, communication)
  • docs/项目概述文档.md - Project overview (features, users, components)
  • docs/用户操作手册.md - User operation manual
  • docs/设计说明书.md - Design specification (interfaces, protocols, algorithms)

Architecture Layers

Layer 1: Application Layer

  • robot/ats-robot-server/ - Main service (core business logic)
  • robot/ats-robot-lcd-app/ - LCD application (HMI)

Layer 2: Common Libraries

  • common/ats_common/ - Serial, network, database utilities
  • common/ats_common_device/ - Device abstraction layer (20+ device types)
  • common/ats_media/ - Video capture/encoding
  • common/ats_protocol_api/ - Uplink protocol (cloud communication)
  • common/ats_protocol_robot/ - Downlink protocol (device communication)

Layer 3: Device Drivers

  • device/io/ - IO devices (GPIO, relay)
  • device/ic/ - IC card readers (multiple vendors: dy, hh, jt, yc, robot)
  • device/qr/ - QR/barcode scanners
  • device/led/ - LED displays
  • device/provide/ - Card dispensers
  • device/collect/ - Card collectors
  • device/plate/ - License plate recognition
  • And more (printer, env, aircond, alarm, etc.)

Core Device Types

Device Type Class Description
IO CATSIODevice Digital input/output control
IC Card CATSICDevice Card read/write (M1, CPU)
QR Code CATSQRDevice Barcode/QR scanning
LED CATSLEDDevice Information display
LCD CATSLCDDevice Human-machine interface
Provide CATSProvideDevice Card dispensing
Collect CATSCollectDevice Card collection
Plate CATSPlateDevice License plate recognition
Printer CATSPrinterDevice Receipt printing

Key Classes

CNodeService (Main Service)

class CNodeService : public CService {
    // Device management
    CATSIODevice*        m_pIODevice;
    CATSProvideDevice*   m_pProvideDevice;
    CATSCollectDevice*   m_pCollectDevice;
    CATSQRDevice*        m_pQRDevice1;
    CATSLEDDevice*       m_pATSLEDDevice;

    // Business management
    CCoilManager*        m_pCoilManager;
    CKioskManager*       m_pKioskManager;

    // Communication
    CMQTTServer*         m_pMQTTServer;
    CDYProtocolServer*   m_pDYProtocolServer;
};

Device Base Class

class CATSBaseDevice : public CBaseInterface {
    virtual BOOL Open(...) = 0;
    virtual void Close() = 0;
    void SetStatusHandle(CATSBaseDeviceStatusHandle* pHandle);
};

Communication Architecture

Cloud Communication (Uplink)

  • HTTP Server (Port 8080)
  • WebSocket (Port 8081)
  • MQTT (Port 1883)
  • GB28181 (Port 5060)
  • RTSP (Port 554)

Device Communication (Downlink)

  • Serial (RS232/RS485/UART)
  • TCP/UDP Network
  • CAN Bus
  • GPIO

Message Protocol Examples

Heartbeat (Uplink)

struct ATSCmdHeartonline {
    unsigned int dwDeviceId;
    unsigned char byStatus;
    unsigned char byNetwork;
    unsigned short wDeviceType;
    unsigned int dwOnlineTime;
};

Card Provide Command

struct ATSCmdCardProvide {
    unsigned int dwCardType;
    unsigned int dwCardNum;
    unsigned char byAction;  // 1-issue, 2-recycle
};

Compilation

cd ats/build-aarch64
./build.sh

Usage Guidelines

  1. When user asks about ATS architecture, reference the documentation in docs/
  2. When analyzing device code, look in device/{type}/ for vendor-specific implementations
  3. When analyzing protocol code, look in common/ats_protocol_*/
  4. Device abstraction is in common/ats_common_device/

Triggers

  • User asks about ATS project structure
  • User needs help understanding device protocols
  • User wants to add new device support
  • User asks about system design or architecture
安全使用建议
This skill is coherent for analyzing a local ATS project, but before installing consider: (1) The SKILL.md points to a hard-coded path (/home/forlinx/...), which may be someone else's machine — confirm and edit that path to match your project or remove it if you don't want the skill to access your filesystem. (2) The doc references include build commands (./build.sh); avoid giving the agent run/execute permissions on your system unless you trust it — prefer to run builds yourself. (3) Because the skill is instruction-only, it won't install anything, but it implies reading local files; restrict the agent's file access or run this skill in an isolated environment if you have sensitive files. If you want a reusable skill, request the author generalize path handling (accept user-provided project path) and remove hard-coded user-specific paths.
功能分析
Type: OpenClaw Skill Name: edgecomputing-ats Version: 1.0.0 The skill bundle provides architectural documentation and code navigation guidance for a specific C++ project (EdgeComputing ATS). The content in SKILL.md is purely descriptive, outlining project paths, class structures, and communication protocols without any instructions for data exfiltration, unauthorized execution, or malicious behavior.
能力评估
Purpose & Capability
The name/description (analyzes an ATS codebase) align with the instructions which point to documentation and source folders for that project. However, the skill is written for a specific local checkout (/home/forlinx/.../EdgeComputing/ats/) rather than a generic project location, which is unusual for a reusable skill and suggests it's tailored to a particular developer's environment.
Instruction Scope
SKILL.md instructs the agent to examine files under a specific filesystem path and references doc and source directories. This is coherent for a local-code-analysis skill, but the hard-coded absolute path and explicit build step (cd ats/build-aarch64; ./build.sh) could lead the agent to attempt to read or execute local files/scripts. The instructions do not request unrelated system files or external endpoints, but they do implicitly require access to the user's filesystem and potentially to run build scripts.
Install Mechanism
No install spec and no code files — instruction-only. Nothing will be written to disk by an installer (lowest install risk).
Credentials
No environment variables, credentials, or config paths are required. The skill does not request unrelated secrets or cloud credentials.
Persistence & Privilege
always is false and model invocation is allowed (normal behavior). The skill does not request permanent/system-wide presence or to modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install edgecomputing-ats
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /edgecomputing-ats 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the ATS (Automatic Ticket System) Analyzer skill. - Provides in-depth analysis of the ATS project structure, device management, and communication protocols. - Supports guidance on architecture layers, device types, and key code modules. - Helps navigate project documentation and offers usage guidelines for code analysis and feature extension.
元数据
Slug edgecomputing-ats
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

EdgeComputing ATS Analyzer 是什么?

Analyzes EdgeComputing ATS (Automatic Ticket System) codebase architecture, device protocols, and business logic. Invoke when user asks about ATS project str... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 EdgeComputing ATS Analyzer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install edgecomputing-ats」即可一键安装,无需额外配置。

EdgeComputing ATS Analyzer 是免费的吗?

是的,EdgeComputing ATS Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

EdgeComputing ATS Analyzer 支持哪些平台?

EdgeComputing ATS Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 EdgeComputing ATS Analyzer?

由 Jason-ATS(@jason-ats)开发并维护,当前版本 v1.0.0。

💬 留言讨论