Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

eae-skill-routerEAE 技能路由器

Agent Skill

eae-skill-router 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

848

周安装

35

GitHub Stars

公开资料未说明

下载量

277
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add sapiencezk/eae-skills --skill "eae-skill-router"

简介

eae-skill-router 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 支持基于关键词、任务场景或来源线索进行信息匹配与路由分发。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限与维护状态。
  • 使用前应核实是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 文档进一步验证具体功能边界与使用方式。

SKILL.md

name
eae-skill-router
description
>
license
MIT
compatibility
Designed for EcoStruxure Automation Expert, Python 3.8+, PowerShell (Windows)
metadata
version
5.0.0
author
Claude
domain
industrial-automation
platform
EcoStruxure Automation Expert
user-invocable
true
standard
IEC-61499

EAE Skills Router

Router skill for EAE (EcoStruxure Automation Expert) development.

CRITICAL RULE - NEVER BYPASS SKILLS: - ALWAYS use an EAE skill for ANY operation on EAE files (.fbt, .adp, .dt, .cfg, .dfbproj, etc.) - This applies to BOTH creating AND modifying existing blocks - NEVER directly read, edit, or write EAE files outside of a skill context - When modifying an existing block, invoke the appropriate skill with the modification request - The skill will handle reading, validating, and updating all related files correctly

What Are You Doing?

ActionUse This Skill
Create OR modify a CAT block/eae-cat
Create OR modify a Basic FB/eae-basic-fb
Create OR modify a Composite FB/eae-composite-fb
Create OR modify a DataType/eae-datatype
Create OR modify an Adapter/eae-adapter
Fork block from SE library to custom library/eae-fork
Find/use Runtime.Base standard blocks/eae-runtime-base
Find/use SE process blocks (motors, valves, PID)/eae-se-process
Analyze project overview, quality, protocols/eae-sln-overview
Validate naming conventions/eae-naming-validator
Analyze performance/event storms/eae-performance-analyzer

What Are You Creating?

NeedBlock TypeUse This Skill
Full-featured block with HMI + OPC-UA + persistenceCAT Block/eae-cat
State machine with algorithms (ST code)Basic FB/eae-basic-fb
Network of existing FBs wired togetherComposite FB/eae-composite-fb
Custom data structure (struct/enum/array)DataType/eae-datatype
Reusable bidirectional interfaceAdapter/eae-adapter

Quick Decision Tree

What are you doing?
│
├── Forking/copying block from SE library to custom library?
│   └── YES → /eae-fork (handles namespace migration)
│
├── Creating a NEW block from scratch?
│   │
│   ├── Full block with HMI visualization, OPC-UA, or persistence?
│   │   └── YES → /eae-cat (most common)
│   │
│   ├── Need algorithms or state logic?
│   │   └── YES → /eae-basic-fb
│   │
│   ├── Composing existing FBs together (no HMI)?
│   │   └── YES → /eae-composite-fb
│   │
│   ├── Custom data type (enum, struct, array)?
│   │   └── YES → /eae-datatype
│   │
│   └── Reusable interface pattern (socket/plug)?
│       └── YES → /eae-adapter
│
└── Looking up existing blocks?
    ├── Runtime.Base library → /eae-runtime-base
    └── SE process blocks → /eae-se-process

Triggers

Block Creation/Modification

  • /eae-cat - Create CAT block with HMI (most common)
  • /eae-basic-fb - Create Basic FB
  • /eae-composite-fb - Create Composite FB
  • /eae-datatype - Create DataType
  • /eae-adapter - Create Adapter
  • /eae-fork - Fork block from SE library to custom library with namespace migration

Library Reference

  • /eae-runtime-base - Find/reference Runtime.Base standard library blocks
  • /eae-se-process - Find/reference SE.App2Base and SE.App2CommonProcess blocks

Analysis & Validation

  • /eae-sln-overview - Project overview, quality score, protocols, libraries
  • /eae-naming-validator - Validate SE naming conventions
  • /eae-performance-analyzer - Detect event storms, analyze performance

Router

  • /eae-skill-router - This router (shows decision tree)

Quick Reference

TypeExtensionLocationIEC61499TypeFeatures
CAT.cfgIEC61499/{Name}/CATHMI + OPC-UA + Persistence
Basic FB.fbtIEC61499/BasicECC + Algorithms
Composite FB.fbtIEC61499/CompositeFBNetwork
DataType.dtIEC61499/DataType/DataTypeStruct/Enum/Array
Adapter.adpIEC61499/AdapterSocket/Plug Interface

Common Rules

These rules apply to ALL block types. See common-rules.md for full details.

ID Generation

All Events and VarDeclarations need 16-character hex IDs:

# Generate GUID for FBType
[guid]::NewGuid()

# Generate hex ID for elements (16 chars)
[guid]::NewGuid().ToString("N").Substring(0,16).ToUpper()

dfbproj Registration

Every block must be registered in the library's .dfbproj file:

<ItemGroup>
  <Compile Include="BlockName.fbt">
    <IEC61499Type>Basic</IEC61499Type>
  </Compile>
</ItemGroup>

Critical XML Rules

RuleApplies To
NO xmlns on root elementFBType, AdapterType, DataType
DOCTYPE must reference correct DTDAll blocks
Format="2.0" requiredComposite FB, CAT FB only
GUID requiredAll except DataType

Troubleshooting

IssueSolution
<FBType xmlns=...> was not expectedRemove xmlns attribute from FBType
Block not in Solution ExplorerRegister in .dfbproj file
DataType not foundMust be in DataType/ subfolder with .dt extension
Adapter won't loadUse .adp extension, not .fbt
CAT block brokenEnsure all files in {Name}/ subfolder

Scripts

Helper scripts for agentic operation are in scripts/. These are shared infrastructure used by all child skills.

Register Block in dfbproj (Universal)

Register any block type in the library's dfbproj file. All child skills should use this script.

# Register with explicit type
python scripts/register_dfbproj.py MyBlock MyLib --type cat
python scripts/register_dfbproj.py MyBlock MyLib --type composite
python scripts/register_dfbproj.py MyBlock MyLib --type basic
python scripts/register_dfbproj.py MyBlock MyLib --type adapter
python scripts/register_dfbproj.py MyBlock MyLib --type datatype

# Auto-detect type from existing files
python scripts/register_dfbproj.py MyBlock MyLib

# Verify registration
python scripts/register_dfbproj.py MyBlock MyLib --verify

# Dry run (show what would happen)
python scripts/register_dfbproj.py MyBlock MyLib --dry-run

# Output as JSON
python scripts/register_dfbproj.py MyBlock MyLib --json

Supported types:

TypeIEC61499TypeExtensionSubfolder
catCAT.fbt + .cfg{Name}/
compositeComposite.fbt{Name}/
basicBasic.fbt{Name}/
adapterAdapter.adp{Name}/
datatypeDataType.dtDataType/

Exit codes:

  • 0 - Registration successful
  • 1 - General error
  • 11 - Registration issue

Generate IDs

Generate GUIDs and hex IDs for blocks:

# Generate 1 GUID + 1 hex ID (default)
python scripts/generate_ids.py

# Generate 5 hex IDs for Events/VarDeclarations
python scripts/generate_ids.py --hex 5

# Generate 2 GUIDs for multiple blocks
python scripts/generate_ids.py --guid 2

# Output as JSON for automation
python scripts/generate_ids.py --hex 4 --guid 1 --json

Validate Block

Validate .fbt, .adp, .dt files against EAE rules:

# Auto-detect block type and validate
python scripts/validate_block.py MyBlock.fbt

# Validate a CAT folder
python scripts/validate_block.py IEC61499/MyCAT/

# Specify block type explicitly
python scripts/validate_block.py --type basic MyBasicFB.fbt

# Output as JSON
python scripts/validate_block.py --json MyBlock.fbt

Exit codes:

  • 0 - Validation passed
  • 1 - Error running validation
  • 10 - Validation failed (errors found)

Cross-Validate Consistency

Verify consistency between files on disk and dfbproj registration:

# Validate a single block
python scripts/validate_consistency.py MyBlock SE.ScadapackWWW

# Validate all blocks in a library
python scripts/validate_consistency.py --all SE.ScadapackWWW

# Show fix commands for issues
python scripts/validate_consistency.py --fix --all SE.ScadapackWWW

# Output as JSON
python scripts/validate_consistency.py --json --all SE.ScadapackWWW

# Specify expected block type
python scripts/validate_consistency.py --type cat MyCAT SE.ScadapackWWW

What it checks:

CheckDescription
Files existRequired files present for block type
RegistrationBlock registered in dfbproj
Type matchFile type matches registration type
OrphansBlocks in one location but not other

Exit codes:

  • 0 - Validation passed (all consistent)
  • 1 - Error running validation
  • 10 - Validation failed (inconsistencies found)
  • 11 - Registration issues (missing or wrong entries)

Track Blocks (State Management)

Track blocks created/forked during a session for rollback and audit:

# Add a block to tracking
python scripts/track_block.py add MyBlock SE.ScadapackWWW --type cat --operation fork --source SE.App2CommonProcess

# Add a created block
python scripts/track_block.py add MyBlock SE.ScadapackWWW --type basic --operation create

# Check block status
python scripts/track_block.py status MyBlock SE.ScadapackWWW

# Update status (e.g., mark as failed)
python scripts/track_block.py update MyBlock SE.ScadapackWWW --status failed --error "Build failed"

# Remove from tracking
python scripts/track_block.py remove MyBlock SE.ScadapackWWW

List Tracked Blocks

View all tracked blocks with filtering:

# List all tracked blocks
python scripts/list_tracked_blocks.py SE.ScadapackWWW

# Filter by status
python scripts/list_tracked_blocks.py SE.ScadapackWWW --status failed

# Filter by type
python scripts/list_tracked_blocks.py SE.ScadapackWWW --type cat

# Filter by operation
python scripts/list_tracked_blocks.py SE.ScadapackWWW --operation fork

# Show summary only
python scripts/list_tracked_blocks.py SE.ScadapackWWW --summary

# Clear tracking (start fresh)
python scripts/list_tracked_blocks.py SE.ScadapackWWW --clear

# JSON output
python scripts/list_tracked_blocks.py SE.ScadapackWWW --json

Tracking manifest location: {Library}/IEC61499/.eae-tracking/manifest.json

Rollback Operations

Undo failed or unwanted fork/create operations:

# Rollback a single block
python scripts/rollback_operation.py MyBlock SE.ScadapackWWW

# Rollback all failed blocks
python scripts/rollback_operation.py --all-failed SE.ScadapackWWW

# Preview without making changes
python scripts/rollback_operation.py --dry-run MyBlock SE.ScadapackWWW

# Skip confirmation prompt
python scripts/rollback_operation.py --force MyBlock SE.ScadapackWWW

# Specify block type if not tracked
python scripts/rollback_operation.py --type cat MyBlock SE.ScadapackWWW

# JSON output
python scripts/rollback_operation.py --json MyBlock SE.ScadapackWWW

What rollback does:

ActionDescription
Delete foldersIEC61499/{Block}/ and HMI/{Block}/
Delete filesFor DataTypes: .dt and .doc.xml files
Remove dfbprojRemoves ItemGroup entries
Remove csprojFor CAT blocks: removes HMI entries
Update trackingMarks block as "rolled_back"

Exit codes:

  • 0 - Rollback successful
  • 1 - Error
  • 10 - Block not found in tracking
  • 11 - Rollback partially failed

Related Skills

SkillDescription
eae-catCAT blocks with HMI, OPC-UA, persistence
eae-basic-fbBasic FB with ECC and algorithms
eae-composite-fbComposite FB with FBNetwork
eae-datatypeDataTypes (struct, enum, array, subrange)
eae-adapterAdapter interfaces
eae-forkFork blocks from SE libraries with namespace migration
eae-runtime-baseRuntime.Base standard library reference
eae-se-processSE.App2Base and SE.App2CommonProcess reference

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.47%
按下载量换算76

OpenCode

25.39%
按下载量换算70

windsurf

19.41%
按下载量换算54

trae

13.37%
按下载量换算37

Cursor

7.61%
按下载量换算21

Codex

3.39%
按下载量换算9

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills