[{"data":1,"prerenderedAt":290},["ShallowReactive",2],{"docs-page-skills":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":284,"_id":285,"_source":286,"_file":287,"_stem":288,"_extension":289},"\u002Fdocs\u002Fskills","docs",false,"","Agent Skill","不支持 MCP 时用 KlineShare Agent Skill + REST 查 A 股行情；发给 Agent 安装后优先 MCP、否则 curl。",{"type":11,"children":12,"toc":279},"root",[13,22,45,57,67,74,210,215,221,257,274],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"agent-skill-skills",[19],{"type":20,"value":21},"text","Agent Skill {#skills}",{"type":14,"tag":23,"props":24,"children":25},"p",{},[26,28,34,36,43],{"type":20,"value":27},"Skill 是一份给 AI Agent 的",{"type":14,"tag":29,"props":30,"children":31},"strong",{},[32],{"type":20,"value":33},"操作说明书",{"type":20,"value":35},"（Markdown），不是远程服务。装好后，Agent 查行情时会按说明优先用 MCP；没有 MCP 时走 REST（",{"type":14,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":20,"value":42},"curl",{"type":20,"value":44}," + API Key）。",{"type":14,"tag":23,"props":46,"children":47},{},[48,50,55],{"type":20,"value":49},"适合：客户端",{"type":14,"tag":29,"props":51,"children":52},{},[53],{"type":20,"value":54},"不支持 MCP",{"type":20,"value":56},"、MCP 连接失败，或希望 Agent 遵守沪深 \u002F 北交所 \u002F ETF 路由规则。",{"type":14,"tag":23,"props":58,"children":59},{},[60,65],{"type":14,"tag":29,"props":61,"children":62},{},[63],{"type":20,"value":64},"说明：",{"type":20,"value":66}," 安装在你自己的 Agent 本地，不是写在我们服务器上；调用仍走同一套 API Key、scope、限流。下方可一键复制提示词，发给 Agent 自行安装。",{"type":14,"tag":68,"props":69,"children":71},"h2",{"id":70},"与-mcp-rest-怎么选-skills-compare",[72],{"type":20,"value":73},"与 MCP \u002F REST 怎么选 {#skills-compare}",{"type":14,"tag":75,"props":76,"children":77},"table",{},[78,102],{"type":14,"tag":79,"props":80,"children":81},"thead",{},[82],{"type":14,"tag":83,"props":84,"children":85},"tr",{},[86,92,97],{"type":14,"tag":87,"props":88,"children":89},"th",{},[90],{"type":20,"value":91},"方式",{"type":14,"tag":87,"props":93,"children":94},{},[95],{"type":20,"value":96},"作用",{"type":14,"tag":87,"props":98,"children":99},{},[100],{"type":20,"value":101},"何时用",{"type":14,"tag":103,"props":104,"children":105},"tbody",{},[106,131,160,189],{"type":14,"tag":83,"props":107,"children":108},{},[109,121,126],{"type":14,"tag":110,"props":111,"children":112},"td",{},[113,119],{"type":14,"tag":37,"props":114,"children":116},{"className":115},[],[117],{"type":20,"value":118},"\u002Fv1\u002F*",{"type":20,"value":120}," REST",{"type":14,"tag":110,"props":122,"children":123},{},[124],{"type":20,"value":125},"程序、脚本、用户中心沙箱",{"type":14,"tag":110,"props":127,"children":128},{},[129],{"type":20,"value":130},"自己写代码调接口",{"type":14,"tag":83,"props":132,"children":133},{},[134,143,155],{"type":14,"tag":110,"props":135,"children":136},{},[137],{"type":14,"tag":37,"props":138,"children":140},{"className":139},[],[141],{"type":20,"value":142},"llms-full.txt",{"type":14,"tag":110,"props":144,"children":145},{},[146,148,153],{"type":20,"value":147},"让模型",{"type":14,"tag":29,"props":149,"children":150},{},[151],{"type":20,"value":152},"读懂",{"type":20,"value":154},"接口与参数",{"type":14,"tag":110,"props":156,"children":157},{},[158],{"type":20,"value":159},"粘贴\u002F附加为上下文",{"type":14,"tag":83,"props":161,"children":162},{},[163,179,184],{"type":14,"tag":110,"props":164,"children":165},{},[166],{"type":14,"tag":167,"props":168,"children":172},"a",{"href":169,"rel":170},"https:\u002F\u002Fmarket-api.cn\u002Fdocs\u002Fmcp",[171],"nofollow",[173],{"type":14,"tag":37,"props":174,"children":176},{"className":175},[],[177],{"type":20,"value":178},"\u002Fmcp",{"type":14,"tag":110,"props":180,"children":181},{},[182],{"type":20,"value":183},"已配置 MCP 的客户端自动调工具查数",{"type":14,"tag":110,"props":185,"children":186},{},[187],{"type":20,"value":188},"支持 MCP 的客户端",{"type":14,"tag":83,"props":190,"children":191},{},[192,200,205],{"type":14,"tag":110,"props":193,"children":194},{},[195],{"type":14,"tag":29,"props":196,"children":197},{},[198],{"type":20,"value":199},"本 Skill",{"type":14,"tag":110,"props":201,"children":202},{},[203],{"type":20,"value":204},"教 Agent 如何查数（MCP 优先，否则 REST）",{"type":14,"tag":110,"props":206,"children":207},{},[208],{"type":20,"value":209},"不支持 MCP，或要统一工作流",{"type":14,"tag":23,"props":211,"children":212},{},[213],{"type":20,"value":214},"支持 MCP 时仍推荐先配 MCP；Skill 可与 MCP 并存。",{"type":14,"tag":68,"props":216,"children":218},{"id":217},"鉴权说明-skills-auth",[219],{"type":20,"value":220},"鉴权说明 {#skills-auth}",{"type":14,"tag":23,"props":222,"children":223},{},[224,226,232,234,240,242,248,250,255],{"type":20,"value":225},"与 REST \u002F MCP 相同：请求头 ",{"type":14,"tag":37,"props":227,"children":229},{"className":228},[],[230],{"type":20,"value":231},"X-API-Key: tg_xxx",{"type":20,"value":233},"。Skill 约定读取 ",{"type":14,"tag":37,"props":235,"children":237},{"className":236},[],[238],{"type":20,"value":239},"EXT_API_KEY",{"type":20,"value":241},"；可用 ",{"type":14,"tag":37,"props":243,"children":245},{"className":244},[],[246],{"type":20,"value":247},"EXT_API_BASE_URL",{"type":20,"value":249}," 覆盖默认基址，但",{"type":14,"tag":29,"props":251,"children":252},{},[253],{"type":20,"value":254},"必须与签发 Key 的本站一致",{"type":20,"value":256},"。",{"type":14,"tag":23,"props":258,"children":259},{},[260,262,273],{"type":20,"value":261},"本站 Skill 文件：",{"type":14,"tag":167,"props":263,"children":266},{"href":264,"rel":265},"https:\u002F\u002Fmarket-api.cn\u002Fskills\u002Fklineshare\u002FSKILL.md",[171],[267],{"type":14,"tag":37,"props":268,"children":270},{"className":269},[],[271],{"type":20,"value":272},"\u002Fskills\u002Fklineshare\u002FSKILL.md",{"type":20,"value":256},{"type":14,"tag":23,"props":275,"children":276},{},[277],{"type":20,"value":278},"不要把 Key 提交到版本库或贴进公开对话。装好后直接问：「查 600519.SS 最近 20 根日 K」即可。",{"title":7,"searchDepth":280,"depth":280,"links":281},2,[282,283],{"id":70,"depth":280,"text":73},{"id":217,"depth":280,"text":220},"markdown","content:docs:skills.md","content","docs\u002Fskills.md","docs\u002Fskills","md",1787299860395]