NO

nop-file-converter

Converts XDSL models between multiple data formats including JSON, YAML, and Excel using the NOP CLI.

Install

mkdir -p .claude/skills/nop-file-converter && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6399" && unzip -o skill.zip -d .claude/skills/nop-file-converter && rm skill.zip

Installs to .claude/skills/nop-file-converter

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

使用 NOP CLI 工具进行XLang模型文件格式转换,支持 XDSL 模型文件在不同格式(XML/JSON/YAML/XLSX)之间转换
70 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Convert model files between formats
  • Extract attachments from docx
  • Handle Nop fileType identification

How it works

It uses the NOP CLI to transform model files between XML, JSON, YAML, and XLSX formats.

Inputs & outputs

You give it
Model file
You get back
Converted model file

When to use nop-file-converter

  • Convert XML model to JSON
  • Export model to XLSX for review
  • Transform configuration between YAML and JSON

About this skill

我会做什么

  • 使用 NOP CLI 的 convert 命令在不同 DSL 模型文件格式之间进行转换
  • 支持 XML、JSON、YAML、XLSX 等格式之间的相互转换
  • 从 Word 文档(docx)中提取附件(如图片)到指定目录
  • 正确处理 Nop 框架的 fileType 概念,确保模型文件类型识别准确

什么时候用我

当用户要求进行以下操作时,直接使用本技能,无需额外探索代码库:

  • 将 ORM 模型文件从 XLSX 转换为 XML(或反向)
  • 将 API 模型文件在不同格式间转换(XML/JSON/YAML/XLSX)
  • 转换任何 XDSL 模型文件的格式

本技能提供 nop-cli convert 命令的标准用法,已在技能描述中包含完整示例。

核心功能

文件格式转换

  • 命令: nop-cli convert
  • 参数:
    • inputFile: 输入文件路径(必填)
    • -o: 输出文件路径(必填)
    • -a: 附件目录路径(可选,用于 docx 文件)

重要概念:fileType

Nop 框架使用 fileType 来识别文件类型,与普通文件扩展名不同:

  • 复合文件类型:对于 orm.xmlapi.xlsx 等文件名,fileType 取最后两个部分
  • 简单文件类型:对于 xlsxxml 等文件名,fileType 就是文件扩展名

为什么重要:Nop 框架大量使用复合文件名(如 app.orm.xml),fileType 能区分普通文件和专用于特定模型的文件。ResourceComponentManager 根据 fileType 查找对应的 FileLoader,确保模型文件正确解析。

使用示例

转换 ORM 模型文件

nop-cli convert input.orm.xml -o output.orm.json

转换 API 模型文件

nop-cli convert input.api.xlsx -o output.api.yaml

转换 Word 文档并提取附件

nop-cli convert input.docx -o output.md -a media

When not to use it

  • Non-XDSL models
  • Non-Nop framework environments

Prerequisites

NOP CLI tool

Limitations

  • Requires NOP CLI
  • Specific to Nop framework

How it compares

It handles Nop-specific fileType concepts for accurate model parsing compared to generic converters.

Compared to similar skills

nop-file-converter side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
nop-file-converter (this skill)16moReviewIntermediate
command-development169moReviewIntermediate
skill-forge119moReviewIntermediate
codex-skill125moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

command-development

anthropics

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

16133

skill-forge

WilliamSaysX

Automated skill creation workshop with intelligent source detection, smart path management, and end-to-end workflow automation. This skill should be used when users want to create a new skill or convert external resources (GitHub repositories, online documentation, or local directories) into a skill. Automatically fetches, organizes, and packages skills with proactive cleanup management.

11115

codex-skill

feiskyer

Use when user asks to leverage codex, gpt-5, or gpt-5.1 to implement something (usually implement a plan or feature designed by Claude). Provides non-interactive automation mode for hands-off task execution without approval prompts.

12110

agent-factory

alirezarezvani

Claude Code agent generation system that creates custom agents and sub-agents with enhanced YAML frontmatter, tool access patterns, and MCP integration support following proven production patterns

8109

subagent-driven-development

davila7

Use when executing implementation plans with independent tasks in the current session

1493

peekaboo

openclaw

Capture and automate macOS UI with the Peekaboo CLI.

1486

Search skills

Search the agent skills registry