{
  "schema_version": 1,
  "diagram_type": "architecture",
  "meta": {
    "title": "\u5065\u5eb7\u7ba1\u7406 Agent \u7cfb\u7edf\u67b6\u6784",
    "subtitle": "6 \u6b65 Meta-Skill \u7f16\u6392",
    "quality_profile": "standard"
  },
  "components": [
    {
      "id": "user",
      "type": "external",
      "label": "\u7528\u6237",
      "pos": [
        40,
        300
      ],
      "size": [
        100,
        60
      ]
    },
    {
      "id": "chat",
      "type": "cloud",
      "label": "\u804a\u5929\u754c\u9762",
      "pos": [
        200,
        300
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "orch",
      "type": "backend",
      "label": "\u7f16\u6392\u5c42",
      "sublabel": "Meta-Skill",
      "pos": [
        380,
        300
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "col",
      "type": "backend",
      "label": "\u6570\u636e\u91c7\u96c6",
      "sublabel": "HealthFit",
      "pos": [
        580,
        100
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "sum",
      "type": "backend",
      "label": "\u6458\u8981\u751f\u6210",
      "sublabel": "Health-Report",
      "pos": [
        580,
        200
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "anl",
      "type": "backend",
      "label": "\u6df1\u5ea6\u5206\u6790",
      "sublabel": "Score+Checkup",
      "pos": [
        580,
        300
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "jrn",
      "type": "backend",
      "label": "\u6863\u6848\u8bb0\u5f55",
      "sublabel": "Health-Journal",
      "pos": [
        580,
        400
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "trk",
      "type": "backend",
      "label": "\u6301\u7eed\u8ddf\u8e2a",
      "sublabel": "Health-Manager",
      "pos": [
        580,
        500
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "tcm",
      "type": "database",
      "label": "TCM-RAG",
      "sublabel": "\u4e2d\u533b\u77e5\u8bc6\u5e93",
      "pos": [
        780,
        200
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "db",
      "type": "database",
      "label": "\u7528\u6237\u6570\u636e\u5e93",
      "sublabel": "SQLite",
      "pos": [
        780,
        500
      ],
      "size": [
        120,
        60
      ]
    },
    {
      "id": "llm",
      "type": "cloud",
      "label": "LLM API",
      "pos": [
        380,
        500
      ],
      "size": [
        120,
        60
      ]
    }
  ],
  "connections": [
    {
      "id": "c1",
      "from": "user",
      "to": "chat",
      "label": "\u8f93\u5165",
      "variant": "emphasis"
    },
    {
      "id": "c2",
      "from": "chat",
      "to": "orch"
    },
    {
      "id": "c3",
      "from": "orch",
      "to": "col",
      "label": "S1",
      "fromSide": "top",
      "toSide": "left",
      "via": [
        [
          440,
          240
        ],
        [
          440,
          130
        ],
        [
          580,
          130
        ]
      ]
    },
    {
      "id": "c4",
      "from": "col",
      "to": "sum",
      "label": "S2",
      "labelDy": 24
    },
    {
      "id": "c5",
      "from": "sum",
      "to": "anl",
      "label": "S3+4",
      "labelDy": 24
    },
    {
      "id": "c6",
      "from": "anl",
      "to": "jrn",
      "label": "S5",
      "labelDy": 24
    },
    {
      "id": "c7",
      "from": "jrn",
      "to": "trk",
      "label": "S6",
      "labelDy": 24
    },
    {
      "id": "c8",
      "from": "col",
      "to": "tcm",
      "label": "\u4e2d\u533b\u67e5\u8be2",
      "variant": "dashed",
      "fromSide": "right",
      "toSide": "left"
    },
    {
      "id": "c9",
      "from": "anl",
      "to": "tcm",
      "label": "\u6df1\u5ea6\u67e5\u8be2",
      "variant": "dashed",
      "fromSide": "right",
      "toSide": "left"
    },
    {
      "id": "c10",
      "from": "trk",
      "to": "db",
      "label": "\u8bfb\u5199\u6570\u636e",
      "variant": "dashed",
      "fromSide": "right",
      "toSide": "left"
    },
    {
      "id": "c11",
      "from": "orch",
      "to": "llm",
      "label": "\u8c03\u7528 LLM",
      "variant": "dashed",
      "fromSide": "bottom",
      "toSide": "top",
      "labelDy": 48
    }
  ],
  "cards": [
    {
      "dot": "emerald",
      "title": "\u6838\u5fc3\u5de5\u4f5c\u6d41",
      "items": [
        "6 \u6b65 Pipeline\uff1aS1\u91c7\u96c6\u2192S2\u6458\u8981\u2192S3+4\u5206\u6790\u2192S5\u5b58\u6863\u2192S6\u8ddf\u8e2a",
        "Meta-Skill \u7edf\u4e00\u8c03\u5ea6\uff0c13 \u4f4d\u987e\u95ee\u77e9\u9635"
      ]
    },
    {
      "dot": "cyan",
      "title": "\u6570\u636e\u5c42",
      "items": [
        "TCM-RAG \u4e2d\u533b\u77e5\u8bc6\u5e93 + SQLite \u7528\u6237\u6570\u636e\u5e93",
        "LLM API \u9a71\u52a8\u81ea\u7136\u8bed\u8a00\u7406\u89e3\u4e0e\u751f\u6210"
      ]
    },
    {
      "dot": "rose",
      "title": "\u4e0d\u8db3",
      "items": [
        "\u65e0\u7edf\u4e00\u6570\u636e\u603b\u7ebf\uff0c6 \u6a21\u5757\u5404\u6709\u72ec\u7acb\u6570\u636e",
        "\u65e0\u53ef\u7a7f\u6234\u8bbe\u5907\u63a5\u5165\uff0c\u65e0\u72ec\u7acb\u7528\u6237\u7aef"
      ]
    }
  ]
}