Dependency Map Audit logo

Dependency Map Audit

Community
panpanc
dependency-map-audit

Audit a dependency map markdown file for structural and semantic correctness, then produce concrete edge fixes

Overview

Publisherpanpanc
Repositorymath-skills
Skill namedependency-map-audit
Stars
42
Forks
2
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by panpanc on GitHub. Read the source before you install it.

Installation

Install the Dependency Map Audit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/panpanc/math-skills/tree/main/.claude/skills/dependency-map-audit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panpanc/math-skills.git /tmp/math-skills
mkdir -p .claude/skills
cp -r /tmp/math-skills/.claude/skills/dependency-map-audit .claude/skills/dependency-map-audit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dependency Map Audit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dependency Map Audit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dependency Map Audit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Audit a dependency map markdown file to determine whether concept/theorem dependencies are credible, directionally correct, and pedagogically coherent. Produce a concrete review report and actionable fixes.

Perspective

Write as a mathematically rigorous reviewer who:

  • Treats edge claims as falsifiable prerequisite statements
  • Separates "provably malformed" issues from "judgment calls"
  • Flags missing load-bearing prerequisites and over-strong edges
  • Prioritizes high-confidence fixes over speculative rewrites

Instructions

  1. Parse arguments: The user provides $ARGUMENTS, typically:

    • A dependency map markdown file (*_dependency_map.md) (required)
    • Optional focus scope ("duality edges", "geometry section", "target strong duality")
    • Optional strictness hints ("conservative", "aggressive")
  2. Load source map:

    • Read the file.
    • Extract:
      • Section 2) Node Inventory
      • Section 3) Dependency Edge Ledger
      • Section 5) Layered Learning Order
      • Section 8) Ambiguities and Alternative Edges (if present)
  3. Run deterministic checks first:

    • Run:
      • node .claude/skills/dependency-map/scripts/verify_dependency_map.js <map_file>
      • node .claude/skills/dependency-map/scripts/generate_dependency_map_html.js <map_file> --strict-structure
    • Include results in the audit report.
    • If deterministic checks fail, continue auditing but mark deterministic failures as priority-0 fixes.
  4. Perform semantic audit (no API calls):

    • Evaluate every edge category:
      • concept -> concept
      • concept -> theorem
      • theorem -> theorem
      • theorem -> concept (rare)
    • Identify:
      • Missing edges: load-bearing prerequisites implied by surrounding map structure
      • Wrong-direction edges: dependencies that appear reversed
      • Over-strong edges: edges that seem optional or school-dependent
      • Dead-end concepts: concept nodes that unlock nothing without justification
    • Use confidence levels (high, medium, low) for each finding.
  5. Write audit report with these mandatory sections:

    1) Scope and Inputs

    • Input file
    • Focus scope
    • Audit mode (conservative/aggressive)

    2) Deterministic Verification Results

    • verify_dependency_map.js summary
    • generate_dependency_map_html.js --strict-structure summary
    • Explicit PASS/FAIL for each

    3) High-Confidence Semantic Findings

    • Table: type | from | to | issue | suggested_fix | confidence
    • Include only high-confidence issues

    4) Medium/Low Confidence Findings

    • Table: type | from | to | concern | alternative | confidence
    • Clearly mark uncertain items

    5) Proposed Edge Patch Set

    • List concrete edits:

      • add A -> B
      • remove A -> B
      • relabel rationale for A -> B
    • Keep this as the minimal patch set that resolves the high-confidence findings

    • Include a machine-readable patch directive block immediately after the human-readable list, using this exact format:

      text
      action|from|to|rationale|confidence
      add|node_a|node_b|short rationale|high
      remove|node_c|node_d|short rationale|medium
      relabel|node_e|node_f|updated rationale text|high
    • If no changes are needed, still include the header and a single noop row:

      text
      action|from|to|rationale|confidence
      noop|-|-|no patch required|high

    6) Layer and Terminal-Node Review

    • Check whether terminal concepts are plausible terminals
    • Identify concepts that should unlock downstream content
    • Recommend layer adjustments if needed

    7) Re-verification Checklist

    • Exact commands to rerun after patching
    • Expected pass criteria

    8) Final Verdict

    • Verdict: pass, pass-with-notes, or needs-revision
    • One paragraph on overall trust level of the map
  6. Output naming:

    • Save audit as <map_slug>_audit.md in current working directory.
  7. Verification of the audit file:

    • Ensure all 8 sections exist and are non-empty
    • Ensure section 5 contains a machine-readable patch directive block
    • No unclosed fenced code blocks
    • No unclosed LaTeX delimiters
    • Read and fix issues
  8. Progress output: Audited dependency map <map_file>: deterministic checks + semantic edge review + patch recommendations

  9. Follow-up suggestions:

What's next?

  • Apply high-confidence patch set to the map and regenerate HTML
  • Re-audit after edits: /dependency-map-audit <map_file>
  • Expand corrected map into a course: /course-from-map <map_file> <target>

Use actual filenames from the audit.

Example usage

/dependency-map-audit convex_analysis_dependency_map.md
/dependency-map-audit real_analysis_dependency_map.md focus on convergence theorems
/dependency-map-audit optimization_dependency_map.md conservative

Frequently asked questions

What does the Dependency Map Audit AI skill do?

Audit a dependency map markdown file for structural and semantic correctness, then produce concrete edge fixes

Why use Dependency Map Audit on TypingMind?

Because you install it once and use it with any model. Dependency Map Audit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dependency Map Audit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/panpanc/math-skills/tree/main/.claude/skills/dependency-map-audit. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dependency Map Audit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dependency Map Audit?

As many as you like. As long as a model supports skills, you can use Dependency Map Audit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dependency Map Audit AI skill free?

It is published on GitHub by panpanc. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇