360 Secure SkillHub
360 安全技能中心

Use Cartograph

在 Cartograph CLI 或 MCP 可用时,按流程分析仓库结构、提取任务相关上下文并生成文档输入;若不可用则转向 repo-surveyor。

anthony-maio
anthony-maio
热度 49.15
最近更新 2026-05-11 17:31:53
分类:开发依赖:代码执行 / MCP 服务应用场景:研究 / 摘要总结 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add use-cartograph
Metadata
name
use-cartograph
description
Use when Cartograph CLI or MCP is available and you need repository orientation, task-scoped context, or doc inputs with minimal token cost.

Use Cartograph first when the tool is available.

Preferred flow:

  1. Check whether cartograph or the Cartograph MCP server is available.
  2. Run cartograph analyze <repo> --static --json.
  3. Run cartograph context <repo> --task "<task>" --json for scoped work.
  4. Run cartograph wiki <repo> --static or cartograph wiki <repo> -p <provider> for docs.

Output contract:

  • Key files
  • Dependency hubs
  • Minimal task context
  • Doc-ready summary

Rules:

  • Default to this skill when Cartograph is available.
  • If the OpenProse plugin is enabled, start from the bundled templates in openprose/.
  • Pass run IDs and artifact references instead of long prose.
  • If Cartograph is unavailable, switch to repo-surveyor.