ag-cartographer

Trace formula and shadow dependencies across Excel workbooks into Mermaid flowcharts.

1|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/Sampi314/Sam-Plugin-Marketplace --skill ag-cartographer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ag-cartographer
Source: https://github.com/Sampi314/Sam-Plugin-Marketplace/tree/main/Audit%20General/skills/ag-cartographer
Command: npx skills add https://github.com/Sampi314/Sam-Plugin-Marketplace --skill ag-cartographer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Excel workbooks, especially complex financial or operational models, often act as black boxes where it is nearly impossible to trace how calculations flow between sheets, or identify hidden structural dependencies like named ranges, data validations, and conditional formatting rules. This makes auditing, debugging, and documenting models extremely time-consuming and error-prone.

Core Features & Use Cases

  • Full Dependency Tracing: Maps both visible formula-layer references (direct cell and cross-sheet links) and hidden shadow-layer dependencies (data validations, named ranges, tables, conditional formatting) across entire workbooks.
  • Automated Flowchart Generation: Produces Mermaid flowcharts for workbook-level maps, sheet-level section maps, critical calculation paths, and shadow dependency maps for easy visualisation.
  • Comprehensive Documentation: Generates a full dependency register and shadow inventory to support model audits, governance reviews, and onboarding for new team members.
  • Use Case: For a 30-sheet financial model used for company forecasting, use this skill to quickly map how input assumptions flow through revenue and cost calculations to final output metrics, and flag any broken named ranges that could cause silent errors in dropdown menus.

Quick Start

Use the ag-cartographer skill to map all dependency flows and generate Mermaid flowcharts for the uploaded Excel model file.

Frequently Asked Questions about ag-cartographer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace hidden shadow dependencies in an Excel financial model?

Shadow dependencies in Excel, such as data validations and named ranges, are mapped alongside direct formula-layer references to eliminate opaque model structure risk. This full dependency tracing exposes cross-sheet calculation flows and structural relationships across entire workbooks.

What is the best way to map cross-sheet calculation flows in Excel?

Cross-sheet calculation flows are mapped by tracing both direct formula-layer references and hidden shadow-layer dependencies across the entire workbook. This generates a comprehensive dependency register and visual Mermaid flowcharts documenting structural relationships.

Can I automatically generate Mermaid flowcharts from an Excel workbook?

Mermaid flowcharts are automatically generated from an Excel workbook to visualize calculation flows. The process produces workbook-level maps, sheet-level section maps, critical calculation paths, and shadow dependency maps for complex multi-sheet files.

How do I document Excel named ranges and data validations for an internal audit?

Excel named ranges and data validations are documented for internal audit by generating a comprehensive shadow inventory. This documentation supports model governance reviews and flags broken named ranges that could cause silent errors in dropdown menus.

Does Excel dependency tracing work for complex multi-sheet operational models?

Dependency tracing works for complex multi-sheet operational models by mapping both direct formula-layer and hidden shadow-layer dependency chains across the entire workbook. It provides full visibility into cross-sheet calculation flow for model governance workflows.