{ "name": "user-context-loader", "description": "用户上下文加载器示例 Skill。演示如何使用 Claude Plugins 模式的 hooks 机制在 agent 执行的不同阶段注入自定义逻辑。", "hooks": { "PrePrompt": [ { "type": "command", "command": "python hooks/pre_prompt.py" } ], "PostAgent": [ { "type": "command", "command": "python hooks/post_agent.py" } ], "PreSave": [ { "type": "command", "command": "python hooks/pre_save.py" } ] }, "mcpServers": { "user-context-example": { "command": "echo", "args": ["Example MCP server for user context loader"], "comment": "这是一个示例 MCP 配置,实际使用时替换为真实的 MCP 服务器" } } }