convert

convert is a command for Claude Code from yezannnnn/agentGroup. It costs 0 tokens per session (984 once invoked), scanned A, original, MIT.

A command that converts source documents into structured formats such as product requirements, user-interface, or API documents. It also extracts a business dictionary explaining domain terms and abbreviations.

In plain words
What is it for?
Use it to structure a document, extract defined business concepts, convert diagrams or lengthy content into clearer points, and produce development guidance.
Why use it?
It makes unstructured documents easier for an AI or developer to understand while showing which terminology is certain, inferred, or unclear.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/yezannnnn/agentgroup/convert
Clone the repo
git clone --depth 1 https://github.com/yezannnnn/agentGroup

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for convert

README.md
[![agentmods](https://agentmods.dev/badge/commands/yezannnnn/agentgroup/convert.svg)](https://agentmods.dev/commands/yezannnnn/agentgroup/convert)
Your own site
<a href="https://agentmods.dev/commands/yezannnnn/agentgroup/convert"><img src="https://agentmods.dev/badge/commands/yezannnnn/agentgroup/convert.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 984 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00984
Opus 5 $0.00000 $0.00492
Sonnet 5 $0.00000 $0.00197
Haiku 4.5 $0.00000 $0.00098

Measured 3d ago against content hash 86613160dc24, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

convert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

jarvis/.claude/commands/convert.md · 131 lines

What it actually says

/convert - 文档结构化转换

将原始文档转换为AI友好的结构化格式,同时提取业务词典

使用方式

/convert [文档路径或内容]
/convert prd [文档]     # 转为PRD格式
/convert ui [文档]      # 转为UI格式
/convert api [文档]     # 转为API格式

输出内容

1. 结构化文档(主体)

按对应模板格式输出

2. 业务词典(自动提取)

从文档中提取业务术语及其含义

业务词典提取规则

提取来源

  1. 名词解释章节 - 最准确,优先提取
  2. 首次出现的专有名词 - 带引号或加粗的术语
  3. 缩写和全称 - 如 "DMS(经销商管理系统)"
  4. 状态/等级定义 - 如 "H级线索表示低意向"
  5. 业务实体 - 如 "一网"、"二网"、"吉行驿"

提取格式

## 业务词典

| 术语 | 含义 | 来源 |
|------|------|------|
| 吉行驿 | 支持全品牌共同经营的二网模式 | 名词解释 |
| 二网 | 二级经销商网络,归属于一网 | 名词解释 |
| 一网 | 一级经销商(主网) | 上下文推断 |
| H级线索 | 低意向潜客 | 4.5章节 |

置信度标记

  • ✅ 文档明确定义
  • ⚠️ 上下文推断(需人工确认)
  • ❓ 不确定(需人工补充)

执行步骤

1. 识别文档类型

根据内容自动判断或使用用户指定的类型

2. 提取业务词典

扫描文档
    ↓
找"名词解释"章节 → 直接提取
    ↓
找专有名词(加粗/引号/首次定义)→ 提取术语+上下文
    ↓
找缩写说明 → 提取全称
    ↓
找状态/等级定义 → 提取含义
    ↓
生成业务词典表格

3. 结构化转换

按模板转换主体内容(删冗余、提要点、图转文)

4. 输出结果

# [文档标题]

## META
...

## 业务词典
| 术语 | 含义 | 置信度 | 来源 |
|------|------|--------|------|
| xxx | xxx | ✅ | 名词解释 |
| xxx | xxx | ⚠️ | 上下文推断 |

---

[结构化的主体内容]

---

## AI开发指引
> 开发此PRD功能时注意:
> 1. 先理解上述业务词典中的术语
> 2. 术语在代码中保持一致命名

示例

输入: G助手3.3.16-吉行驿支持.pdf

输出:

# PRD: G助手3.3.16

## META
名称: G助手3.3.16-吉行驿支持
...

## 业务词典

| 术语 | 含义 | 置信度 | 来源 |
|------|------|--------|------|
| 吉行驿 | 支持全品牌共同经营的全新销售模式二网,可与多个一网(4-5家)绑定授权 | ✅ | 名词解释 |
| 普通二网 | 原正常二网,只归属于一家一网,授权仅来源于归属一网 | ✅ | 名词解释 |
| 一网 | 一级经销商网络 | ⚠️ | 上下文推断 |
| 二网 | 二级经销商网络 | ⚠️ | 上下文推断 |
| DMS | 经销商管理系统,提供授权数据接口 | ⚠️ | 5.DMS相关改造 |

---

[PRD主体内容]

存储位置

转换后的文档存储到:

../shared/docs/[文档名].md

业务词典作为文档的一部分,不单独存储。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 131 lines · 0 tokens per session scan A 86613160dc24

Subscribe to this mod's changes

convert is a command published in the GitHub repository yezannnnn/agentGroup (149 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 984 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.