Skip to content llms.txt

syllago convert

syllago convert <file-or-name> [flags]

Transform content between provider formats using syllago’s hub-and-spoke conversion model (source -> canonical -> target).

Accepts either a file path or a library item name:

  • File path: reads the file directly (requires —from and —to)
  • Library name: looks up the item in your library (—from is optional)

Output goes to stdout by default, or to a file with —output.

FlagTypeDefaultRequiredDescription
--diffboolNoShow unified diff between source and converted output
--fromstringNoSource provider (required for file input, optional for library items)
-o, --outputstringNoWrite output to this file path (default: stdout)
--tostringYesTarget provider (required)
--typestringrulesNoContent type for file input (rules, hooks, skills, agents, commands, mcp)
FlagTypeDefaultRequiredDescription
--jsonboolNoOutput in JSON format
--no-colorboolNoDisable color output
-q, --quietboolNoSuppress non-essential output
-v, --verboseboolNoVerbose output
Terminal window
# Convert a Cursor rule to Claude Code format
syllago convert ./my-rule.mdc --from cursor --to claude-code
# Convert a library item to Windsurf format
syllago convert my-rule --to windsurf
# Convert and save to a file
syllago convert my-rule --to cursor --output ./cursor-rule.mdc
# Convert a Copilot instructions file to Cursor
syllago convert ./.github/copilot-instructions.md --from copilot-cli --to cursor --type rules

Source