ソース情報
- リポジトリ
- JohnNuwan/EVA_CORE
- ソースの最終更新活動
- 2026年7月18日 08:30
- 検出された SKILL.md の言語
- フランス語
- スター
- 0
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/JohnNuwan/EVA_CORE --skill industrial-ai-pipelineコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
Concevoir et maintenir un watchdog auto-correcteur pour services HTTP — checks de santé, auto-restart, état persistant, rapports et pièges bash.
Serveur de messagerie sécurisé auto-hébergé (Signal-like) avec Flask + WebSocket + AES-256-GCM + pont EVA
ADAM-SENTINEL — Veilleur technologique 24h/24h. Scanne 10 domaines, cree des rapports, met a jour les skills, alerte sur les CVE et breaking changes.
SOC 職業分類に基づく
SKILL.md を表示中
| name | industrial-ai-pipeline |
| description | Pipeline IA réutilisable pour données industrielles. |
| version | 1.0.0 |
| author | EVA |
| license | Privée EVA St-Étienne |
| metadata | {"EVA":{"maturity":"production","tags":["industrial-ai","pipeline","plc","s7-communication","scl","grafana","api-integration"],"related_skills":["siemens-scl-expert","opc-ua-nodeset-architect"]}} |
Vous êtes un ingénieur principal en automatisation industrielle et un architecte en IA Edge. Votre rôle est de concevoir et de déployer des pipelines d'intégration de modèles d'apprentissage automatique (comme la détection d'anomalies visuelles ou vibratoires) au sein d'architectures d'atelier, assurant la communication temps réel avec les automates (PLC) et la visualisation des métriques sur Grafana.
L'intégration de l'IA dans l'industrie exige des garanties de temps de cycle, de robustesse réseau, et de traçabilité. Ce skill fournit un template standardisé de bout en bout pour connecter un modèle prédictif Edge à un automate de contrôle (Siemens/Beckhoff) et à une plateforme de supervision opérationnelle.
[Capteurs Physiques] ──► Automate (PLC)
│ (OPC UA / TCP)
▼
[Passerelle FastAPI] (Inférence locale)
│
┌───────────────────────┴───────────────────────┐
▼ (Rétroaction Automate) ▼ (Supervision)
[Commande PLC / Arrêt] [Base InfluxDB / Grafana]
Ce script expose le modèle de détection d'anomalies sous forme de service web REST accessible par l'automate.
# Inference Gateway API
import uvicorn
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel
import numpy as np
app = FastAPI(title="Edge Industrial AI Gateway", version="1.0.0")
class SensorPayload(BaseModel):
device_id: str
readings: list[float]
class PredictionResponse(BaseModel):
anomaly_flag: bool
confidence_score: float
# Fonction d'inférence statistique (remplaçable par un modèle ONNX)
def analyze_vibrations(readings: np.ndarray) -> tuple[bool, float]:
if len(readings) == 0:
return False, 0.0
rms = np.sqrt(np.mean(readings**2))
peak = np.max(np.abs(readings))
score = float(rms * 0.7 + peak * 0.3)
return score > 2.8, score
@app.post("/api/v1/predict", response_model=PredictionResponse)
def get_prediction(payload: SensorPayload):
:
data = np.array(payload.readings)
anomaly, score = analyze_vibrations(data)
PredictionResponse(anomaly_flag=anomaly, confidence_score=score)
Exception e:
HTTPException(status_code=, detail=(e))
__name__ == :
uvicorn.run(app, host=, port=)
Ce bloc fonctionnel Structured Control Language (SCL) pour automate Siemens S7-1500 gère l'appel à l'API Edge à l'aide de la bibliothèque standard LHTTP.
FUNCTION_BLOCK "FB_Inference_Sync"
{ S7_Optimized_Access := 'TRUE' }
VERSION : 1.0
VAR_INPUT
Trigger : Bool;
URL : String;
Sensor_Values : Array[0..4] of Real;
END_VAR
VAR_OUTPUT
Anomaly_Detected : Bool;
Inference_Score : Real;
Error : Bool;
Error_Status : Word;
END_VAR
VAR
inst_HTTP_Post : "LHTTP_Post";
send_Data : Array[0..512] of Byte;
recv_Data : Array[0..512] of Byte;
json_Request : String;
json_Response : String;
step : Int := 0;
END_VAR
BEGIN
IF #Trigger AND #step = 0 THEN
#step := 1;
END_IF;
CASE #step OF
1: // Construction du payload JSON
#json_Request := CONCAT(IN1:='{"device_id": "motor_01", "readings": [',
IN2:=REAL_TO_STRING(#Sensor_Values[0]));
#json_Request := CONCAT(IN1:=#json_Request, IN2:=',');
#json_Request := CONCAT(IN1:=#json_Request, IN2:=REAL_TO_STRING(#Sensor_Values[1]));
#json_Request := CONCAT(IN1:=#json_Request, IN2:=']}');
StringToChars(IN:=#json_Request, OUT:=#send_Data);
#step := 2;
2: // Exécution de la requête HTTP
#inst_HTTP_Post(execute := TRUE,
url := #URL,
data := #send_Data,
response => #recv_Data,
error => #Error,
status => #Error_Status);
IF #inst_HTTP_Post.done THEN
#step := 3;
ELSIF #Error THEN
#step := 99;
END_IF;
3: // Extraction des résultats du JSON
CharsToString(IN:=#recv_Data, OUT:=#json_Response);
IF FIND(IN1:=#json_Response, IN2:='"anomaly_flag":true') > 0 THEN
#Anomaly_Detected := TRUE;
ELSE
#Anomaly_Detected := FALSE;
END_IF;
#step := 0;
99: // Gestion des erreurs de communication
#Anomaly_Detected := FALSE;
IF NOT #Trigger THEN
#step := 0;
END_IF;
END_CASE;
END_FUNCTION_BLOCK
String) possèdent un en-tête de longueur sur 2 octets. Toujours utiliser StringToChars pour convertir en tableau d'octets brut (Array of Byte) avant l'envoi.