cognitive_map

A command for drawing relationships between ideas, concepts, and practical examples in a visual map.

In plain words
What is it for?
Use it to organize a topic into hierarchies, connect related concepts, explain levels of abstraction, and identify patterns or links that are easy to miss in text.
Why use it?
It makes abstract or unfamiliar subjects easier to follow by showing how information is grouped, connected, and developed from basic principles to details.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/dotclaude/marketplace/cognitive_map
Clone the repo
git clone --depth 1 https://github.com/dotclaude/marketplace
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00008 $0.03528
Opus 5 $0.00004 $0.01764
Sonnet 5 $0.00002 $0.00706
Haiku 4.5 $0.00001 $0.00353

Measured 3d ago against content hash b0ac3135807f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cognitive_map scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/adaptive-learning/commands/cognitive_map.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cognitive Mapping Engine

Create visual representations of knowledge relationships, conceptual bridges, and understanding pathways to facilitate learning transfer and pattern recognition. Transform abstract knowledge into concrete visual structures that reveal hidden connections and support deep comprehension.

Mapping Style Framework

Hierarchical Style (Tree-like knowledge organization)

[Extended thinking: Organize concepts in structured hierarchy with clear parent-child relationships and logical categorization. Optimal for understanding domains with clear organizational structure.]

Structure Characteristics:

  • Root Concepts: Fundamental principles that anchor entire knowledge domain
  • Branch Categories: Major subdivisions that organize related concepts
  • Leaf Details: Specific implementations, examples, and concrete applications
  • Inheritance Patterns: How properties and characteristics flow from general to specific
  • Abstraction Levels: Clear distinction between conceptual levels and detail depths

Visual Representation:

Domain Architecture
├── Foundational Principles
│   ├── Core Concept A
│   │   ├── Implementation Pattern 1
│   │   ├── Implementation Pattern 2
│   │   └── Real-world Application
│   └── Core Concept B
│       ├── Variation A
│       └── Variation B
├── Advanced Applications
│   ├── Complex Pattern 1
│   └── Complex Pattern 2
└── Integration Strategies
    ├── Cross-domain Application
    └── Future Evolution Paths

Network Style (Interconnected concept relationships)

[Extended thinking: Map complex interdependencies where concepts connect in multiple ways without clear hierarchy. Optimal for understanding systems with rich interconnections.]

Connection Types:

  • Causal Relationships: How concepts influence or cause other concepts
  • Dependency Links: What concepts require or depend on others
  • Similarity Bridges: How concepts share characteristics or patterns
  • Opposition Tensions: Where concepts create productive tensions or conflicts
  • Emergence Paths: How simple concepts combine to create complex phenomena

Read the full file on GitHub · 355 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 355 lines · 8 tokens per session scan A b0ac3135807f

Subscribe to this mod's changes

cognitive_map is a command published in the GitHub repository dotclaude/marketplace (42 stars, last pushed 4mo ago), licensed MIT. It adds 8 tokens to every session and 3,528 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.