mars-schema 0.28.0

Pure schema reader and editor for Mars agent packages
Documentation
{
  "kind": "skill-tree",
  "packages": [
    {
      "id": "Some Repo",
      "provenance": {
        "translator": "{version}",
        "dialect": "agent-skills",
        "source": {
          "name": "Some Repo"
        },
        "selected_items": [
          "SKILL.md"
        ]
      },
      "prepared": {
        "classification": {
          "kind": "foreign",
          "dialect": "agent-skills",
          "evidence": {
            "source": "predicted",
            "paths": []
          }
        },
        "manifest": {
          "output_path": "mars.toml",
          "reading": {
            "frontmatter": [
              [
                "schema",
                1
              ],
              [
                "name",
                "Some Repo"
              ]
            ],
            "fields": {
              "name": "Some Repo",
              "version": "",
              "schema": 1
            },
            "body": null,
            "diagnostics": []
          },
          "change": {
            "kind": "generated"
          }
        },
        "definitions": [
          {
            "kind": "skill",
            "slug": "my-skill",
            "source_path": "SKILL.md",
            "output_path": "skills/my-skill/SKILL.md",
            "reading": {
              "frontmatter": [
                [
                  "name",
                  "my-skill"
                ],
                [
                  "description",
                  "A root skill."
                ]
              ],
              "fields": {
                "name": "my-skill",
                "description": "A root skill.",
                "model-invocable": true,
                "user-invocable": true,
                "license": null,
                "compatibility": null,
                "metadata": null
              },
              "body": "# Body\n",
              "diagnostics": []
            },
            "change": {
              "kind": "none"
            }
          }
        ],
        "payload": [
          {
            "source_path": "notes.md",
            "output_path": "skills/my-skill/notes.md"
          },
          {
            "source_path": "scripts/run.sh",
            "output_path": "skills/my-skill/scripts/run.sh"
          }
        ],
        "selection": {
          "definitions": [
            {
              "kind": "skill",
              "slug": "my-skill",
              "output_path": "skills/my-skill/SKILL.md",
              "skills": []
            }
          ],
          "edges": [],
          "uses_providers": []
        },
        "diagnostics": {}
      }
    }
  ],
  "diagnostics": {}
}