Loading...
Loading...
Converts agent definitions between Markdown (with YAML frontmatter) and TOML formats. Use when transforming agent configurations for different agent systems — MD format for rich tool restrictions, TOML format for Codex-style agents with sandbox modes.
npx skill4agent add qredence/skills agent-converter.md.toml.mdtomlmdpython3 skills/agent-converter/scripts/convert_agent.py <input.md> [--output <dir>]python3 skills/agent-converter/scripts/convert_agent.py --batch <input_dir> [--output <dir>]python3 skills/agent-converter/scripts/convert_agent.py <input.toml> --to-md [--output <dir>]| MD Frontmatter | TOML Field |
|---|---|
| (derived from filename) |
| Included in |
| Mapped to |
| Markdown body | |
| Tools | Sandbox Mode |
|---|---|
| |
| Any Write/Edit tools | |
| No tools specified | |
| Sandbox Mode | Tools |
|---|---|
| |
| |
explorer.md---
name: explorer
description: >
Read-only codebase explorer.
tools:
- Read
- Grep
- Glob
---
# Explorer — Read-Only Codebase Navigator
You are a read-only explorer agent...explorer.tomlsandbox_mode = "read-only"
developer_instructions = """
Role: Read-only codebase explorer.
Tools: Read, Grep, Glob
---
# Explorer — Read-Only Codebase Navigator
You are a read-only explorer agent...
"""| Error | Resolution |
|---|---|
| Missing frontmatter | Treat as plain markdown, use defaults |
| Invalid TOML | Report parse error with line number |
| Unknown tools | Warn and include in output as-is |
| File exists | Prompt user or use |
skills/agent-converter/references/format-spec.md.agents/sub-agents/