相关实践
用 Google Data Agent Kit 给 Coding Agent 接入 Data Cloud 插件和 MCP
GoogleCloudPlatform/data-agent-kit 官方仓库把 Google Data Cloud 能力整理成插件、Gemini CLI extensions 和 MCP 配置索引,适合数据工程团队让 Gemini CLI、Claude Code、Codex、Antigravity CLI 或 LangGraph agent 安全地管理数据资产、查询数据库和部署数据流水线。输入是需要操作 BigQuery、Spanner、Cloud SQL、AlloyDB、Dataflow、dbt、Looker 等数据系统的项目,以及目标 coding agent 的插件或 marketplace 环境。执行过程是在 Claude Code 中添加 `GoogleCloudPlatform/data-agent-kit` marketplace 后安装插件并 reload,或在 Codex 中执行 `codex plugin marketplace add GoogleCloudPlatform/data-agent-kit` 后 `codex plugin add <plugin-name>@data-agent-kit`,或用 Gemini/Antigravity 直接安装对应 extension;需要 raw MCP 时按 mcp-servers 配置接入。产物是带产品专用 Skills、Prompts 和 MCP Servers 的数据 Agent 工作台。验证来自官方 README 对多客户端安装路径、Data Agent Kit Starter Pack、BigQuery/Dataflow/Spark/Knowledge Catalog 场景、产品插件清单和 MCP/monitoring 指南的说明。
用 Gemini Enterprise Agent Evaluation Skill 建立 Agent 质量飞轮
Gemini Enterprise Agent Platform 官方 Agent evaluation 文档给出从 eval cases、inference traces、metrics scoring 到 prompt/tool optimization 的闭环,并提供面向 AI coding assistant 的 Agent skills 安装入口。输入是 ADK agent 或已部署 agent、任务与期望结果、可选历史 traces、工具定义和需要验证的质量/安全/工具调用指标。执行过程是先定义 eval cases 或用 scenario generation/user simulation 生成多轮测试;运行 inference 生成不可变 traces;用 Task Success、Safety、Tool Use Quality、自定义 code/LLM metric 等评分;用 failure clusters 和 loss taxonomy 分析问题;最后让 eval-fix loop 迭代 instructions/tools 并复测。产物是一套可本地迭代也可线上监控的 Agent eval suite。验证来自官方文档对 evaluation process、scenario/user/environment simulation、multi-turn evaluation、prompt optimization,以及 `npx skills add https://github.com/google/agents-cli --skill google-agents-cli-eval` 和 `agent-platform-eval-flywheel` 安装命令的说明。
用 Microsoft Agent Framework 组合文件型、代码型和 MCP 型 Skills
Microsoft Agent Framework 官方 samples 展示了 Agent Skills 的多种定义和执行方式,适合需要把同一类能力在本地文件、Python 代码和远程 MCP 之间灵活组织的 Agent 工程团队。输入是一个 Microsoft Foundry 项目、已部署模型、Azure CLI 登录、`.env` 环境变量,以及待封装的 skill resources/scripts。执行过程是先用 file_based_skill 把 SKILL.md、references 和 scripts 放到磁盘并通过 `skill_paths` 自动发现;再用 code_defined_skill 或 class_based_skill 把动态资源和脚本以 Python decorator 暴露;复杂场景用 mixed_skills 合并多种定义方式,或用 mcp_based_skill 通过 MCPSkillsSource 从远程 MCP server 发现 `skill://` 资源;对可执行脚本默认保留人工审批,需要读操作提效时使用 ToolApprovalMiddleware 配置 auto approval。产物是一套可分层加载的 SkillsProvider:系统提示只注入 name/description,触发后才加载 SKILL.md、资源和脚本,减少上下文浪费并保留审批边界。验证来自 microsoft/agent-framework samples 对 file/code/class/mixed/MCP skills、progressive disclosure、script_runner、approval middleware 和运行前置条件的说明。
用 Spotify Xirp 统一 Claude Code、Codex 和 Gemini 的并行会话
Spotify 官方 Xirp 文档和发布博客把 Xirp 定位为 macOS 桌面端 agentic development environment,可在多个项目、多个 AI coding agent 和多个 Git worktree 之间管理持久会话,适合企业把 Claude Code、Codex、Gemini CLI 等工具从散落终端收敛成统一工作台。输入是本地仓库、已完成原生 CLI 认证的 Claude Code/Codex/Gemini、需要并行推进的任务,以及可选的 Spotify Portal 组织上下文。执行过程是在 Xirp 中添加本地项目或从 Portal Workspace / catalog entity 启动 session,为每个任务创建独立 Git worktree,在同一控制面切换 agent、终端、文件、rules、skills、session status 和 layout;接入 Portal 后,通过 MCP 把 software catalog、Workspace wiki、ownership、dependencies、architectural decisions 和 prior sessions 注入会话,并在完成后手动上传 Workspace session。产物是一个 vendor-neutral 的多 Agent 会话治理面:同一代码库可并行运行多个互不干扰的 agent session,项目状态和组织上下文可跨 harness 延续。验证来自 Spotify 官方博客对 50+ parallel sessions、worktree、vendor-neutral harness、36,000+ internal sessions 的说明,以及 Xirp docs 对 macOS beta、Claude Code/Codex/Gemini、Portal context、projects、worktrees、rules、skills 和 session upload 的定义。
用 Microsoft Agent-Skills 给多种 Coding Agent 安装 Azure 知识包
MicrosoftDocs/Agent-Skills 官方仓库把 Azure 相关 Microsoft Learn 知识预编译成 193+ 个符合 SKILL.md open standard 的 Agent Skills,并同时提供 VS Code、Claude Code、Codex 等生态的 plugin manifest,适合团队把 Azure 开发经验从重复提示词升级为可安装、可更新、可复用的知识包。输入是一个需要在 Claude Code、Codex、GitHub Copilot、Cursor、Gemini CLI 等工具中复用 Azure 指南的团队,以及可安装插件或复制 skills 目录的开发环境。执行过程是用 VS Code `Chat: Install Plugin From Source` 粘贴仓库地址,或在 Claude Code 执行 `/plugin marketplace add MicrosoftDocs/agent-skills` 后安装 `azure-agent-skills@microsoft-agent-skills`,或在 Codex 中执行 `codex plugin marketplace add MicrosoftDocs/agent-skills` 后从 `/plugins` 安装;无法走插件时 clone 仓库并把 `skills/` 复制到目标 agent 的 skills path。产物是跨工具可触发的 Azure Agent Skills 集合:agent 按 description 发现技能、按需加载 SKILL.md,再读取 references/scripts,实现 progressive disclosure。验证来自官方 README 对 Agent Skills open standard、plugin install、手动安装路径、Claude/Codex/VS Code 兼容方式、progressive disclosure 和 plugin manifests 的说明。
用 Claude Code monitoring 把企业 Agent 使用量接入治理报表
Anthropic Claude Code monitoring 官方文档提供 OpenTelemetry 指标和日志接入路径,适合企业把 AI coding agent 的使用量、成本、错误和工具调用从聊天黑盒变成可观测数据。输入是一个集中部署 Claude Code 的团队、可接收 OpenTelemetry 的后端,以及需要统计的 sessions、API usage、tool calls、errors、costs 和 latency。执行过程是按文档配置 telemetry 环境变量和 OTLP exporter,把 Claude Code 指标发送到现有 observability 后端;同时结合 costs 文档设置预算、模型选择和 token 使用策略,对异常高成本、失败率、工具调用模式做告警。产物是企业 Agent 使用看板:能按团队或仓库观察 Claude Code 使用趋势、错误、延迟和成本,辅助决定哪些 agent workflow 应继续推广或收紧。验证来自 Anthropic docs 对 monitoring usage、OpenTelemetry metrics/logs/events、exporter 配置、dashboard 用途,以及 costs 文档对预算、usage limits 和成本优化建议的定义。