Convert instruction files
convert_rulesConverts agent instructions (CLAUDE.md, AGENTS.md, Cursor rules) into files read by Claude Code, Codex CLI, Cursor, and Gemini CLI, returning paths, contents, and shell command without writing files.
Instructions
Convert agent instructions (CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc, .cursorrules, GEMINI.md) into the files Claude Code, Codex CLI, Cursor and Gemini CLI read. Returns file paths + contents and a shell command; writes nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "convert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Share one AGENTS.md: symlink CLAUDE.md -> AGENTS.md, or CLAUDE.md with @AGENTS.md import | none |
| text | Yes | Contents of the source instruction file | |
| source | No | Source tool/format (codex = AGENTS.md, cursor = .mdc rule) | auto |
| targets | No |