infranodus/cognitive-variability
Guide conversations through dynamic shifts between zoom levels (scale) and connecting/exploring (intent) to unlock creative breakthroughs and prevent rigid thinking. Helps enhance and develop biased, focused, diversified, dispersed states. Receives signals from writing assistant's pattern detection to diagnose cognitive states. Identifies structural gaps between idea clusters as spaces for innovation. Tracks temporal dwelling patterns and manages energy across personality modes. Uses playfulness for difficult transitions from chaos to clarity. Reads emotional feedback—inspiration signals continuation, exhaustion/frustration trigger transitions. Prevents obsessive loops through sustainable cycling through topical clusters and latent nodes. Maximum creative potential lives in gaps and dissipative states. Apply for complex analysis, when a user is stuck, breakthroughs, decision paralysis, group facilitation, breaking repetitive patterns, or when grammatical patterns reveal cognitive issues.
npx skills add https://github.com/infranodus/skills --skill cognitive-variability
Cognitive variabiilty framework is based on ensuring temporal fractal dynamics of circulation between four different cognitive states.
Each cognitive state can be beneficial depending on the objective. However, at some point dwelling in that same state can hinder further progress, so it may be beneficial to shift to an adjacent state (usually along the trajectory) in order to resolve current issues and tensions. Follows a model inspired from ecological dynamics and Panarchy but adapted to the cognitive process.
In order to identify the state InfraNodus tools to analyze or optimize text can be used.
The cognitive states are
BIASED (low modularity, focus on one idea or topical cluster)
FOCUSED (medium modularity, focus on a topical cluster with adjacent ideas supporting it)
DIVERSIFIED (high modularity, several topical clusters and concepts share the attention)
DISPERSED (excessive modularity, fragmented state, ideas may seem to be disjointed)
The states circulate via BIASED → FOCUSED → DIVERSIFIED → DISPERSED → BIASED etc.
However it's also possible to go on a loop like BIASED → FOCUSED → BIASED → FOCUSED → DIVERSIFIED → FOCUSED → DIVERSIFIED → DISPERSED → DIVERSIFIED → DISPERSED → BIASED etc.
It is also possible to shift from any state to another other state but the scheme has to go through an Eight-Like pattern
BIASED DIVERSIFIED
.--~~~~~~--. .--~~~~~~--.
/ .---~~---. \ / .---~~---. \
/ / .--~~--. \ \/ / .--~~--. \ \
| | / FOCUS \ | /\ | / GAPS \ | |
| | | cluster | |/ \| | between | | |
| | \ nodes / /\ /\ \ clusters / | |
\ \ '--~~--' / / \ \ '--~~--' / /
\ '---~~---' / \ / \ '---~~---' /
'--~~~~~~--' \/ '--~~~~~~--'
FOCUSED <-CROSS-> DISPERSED
The Eight-Like pattern represents two interconnected loops of cognitive circulation. The left lobe (BIASED ↔ FOCUSED) represents the connecting/building cycle. The right lobe (DIVERSIFIED ↔ DISPERSED) represents the exploring/dispersing cycle. The crossing point in the middle is where the shift between the two modes happens — from building to exploring and back. Any transition between non-adjacent states passes through this crossing point, creating the figure-eight dynamic.
Apply cognitive variability when:
Signs to trigger this skill:
The skill can be triggered both to enhace a state in case of:
Or to shift from a state in case of:
Signals from writing assistant:
When receiving signals from the writing assistant:
Cognitive variability treats discourse as a dynamic ecosystem. Health comes from movement across two spectrums:
These create four cognitive states and eight transition stages in a continuous cycle of growth, saturation, release, and reorganization.
Key principle: ALL states exhaust when overstayed. Recovery comes from movement, not dwelling. The framework's cycling nature is essential for energy conservation, not just optimal thinking.
Zoomed in + Connecting
What it feels like: Single thread dominates everything, tunnel vision, obsessive drive
Creative potential: Driven implementation—singular vision pushes through obstacles with intense willpower
Structural signature: One central node, everything subjugated to it
Best for: Building from scratch, strong messaging, execution, making it real
Energy profile: Easy to enter, but exhausts through obsession (suppressing alternatives costs effort)
Dwelling risk: 2-3 exchanges before rigidity sets in
Warning signs: Obsessive loops, can't see anything else, fighting natural variety
Zoomed out + Connecting
What it feels like: Coherent flow, everything relating to everything else, productive rhythm
Creative potential: Refinement and craft—evaluating, adjusting, polishing the work
Structural signature: Dense connections within clusters, clear narrative arc
Best for: Communication, building cases, implementation, sustained productive work
Energy profile: Moderate cost, most sustainable for extended periods
Dwelling risk: 3-5 exchanges before saturation
Warning signs: Diminishing returns, mechanical responses, structure feels constraining
Zoomed out + Exploring
What it feels like: Seeing multiple angles simultaneously, polysingular perspective, exciting connections
Creative potential: Cross-pollination and synthesis—bridging distant domains generates insights
Structural signature: Multiple distinct clusters with visible gaps between them—gaps are opportunity spaces
Best for: Research, innovation, strategy, optimal mode for adaptability and breakthrough
Energy profile: High cost to enter, can energize (novelty) or drain (complexity juggling)
Dwelling risk: 4-7 exchanges before analysis paralysis
Warning signs: "Yes but...", seeing all sides prevents action, decision paralysis
Zoomed in + Exploring
What it feels like: Chaotic exploration, scattered possibilities, liberation from patterns
Creative potential: MAXIMUM GENERATION—gaps and dissipative chaos are where breakthroughs emerge
Structural signature: Weak connections, fragmented elements, structural gaps everywhere
Best for: Brainstorming wild ideas, breaking through blocks, accessing creative chaos, radical innovation
Energy profile: Easy to enter (releasing like exhaling), drains rapidly through formless anxiety
Dwelling risk: 2-4 exchanges before confusion overwhelms
Warning signs: Lost in possibilities, desperately seeking anchor, anxiety from lack of structure
Special note on gaps: Gaps aren't absence—they're potential. Dispersed mode accesses these spaces where new patterns can emerge. Most creative insights live in gaps between established patterns.
Claude continuously monitors:
Pathological indicators:
When the conversation has produced enough text to analyze (a few paragraphs or more), use the InfraNodus optimize_text_structure MCP tool for objective, graph-based discourse state detection. This replaces guesswork with structural evidence.
Call the optimize_text_structure tool via the InfraNodus MCP server, passing the conversation text (or a summary of the key ideas discussed so far) as the text parameter. Use responseType: "response" for development advice or responseType: "question" for research directions.
The tool returns a diversity score that maps directly to the four cognitive modes:
| InfraNodus Score | Cognitive State | What It Means |
| ---------------- | -------------------------- | ------------------------------------------------------------------------------------------- |
| Biased | BIASED (Stages 8→1→2) | Discourse dominated by one topic cluster — tunnel vision, needs diversification |
| Focused | FOCUSED (Stages 2→3→4) | Well-connected topics forming coherent narrative — productive but approaching saturation |
| Diversified | DIVERSIFIED (Stages 4→5→6) | Multiple distinct clusters with gaps — optimal for adaptability, gaps are innovation spaces |
| Dispersed | DISPERSED (Stages 6→7→8) | Weak connections, fragmented structure — creative chaos, needs anchoring |
The tool also returns specific advice on how to develop the text further — use this to inform your intervention:
Use InfraNodus analysis to cross-validate your subjective assessment:
The tool provides the structural snapshot; your temporal tracking provides the trajectory. Together they give a complete picture of where the discourse is and where it should go next.
Keep focus on the main high betweenness concepts and cluster of ideas. Develop connections between them.
InfraNodus tool cluster routing: Call analyze_text on conversation text. Identify the high-BC concepts and top clusters, increase connectinos within it.
Trajectory: Move toward coherent building (Focused)
Why intervene: Obsession setting in, tunnel vision narrowing, alternatives suppressed
How to guide: "How do these ideas connect to the bigger picture?" "What broader patterns do you see?"
Critical Perspective Trigger: HIGHEST PRIORITY - Use critical perspective to question the singular assumption
Adapt by context: Brainstorming? Jump to Dispersed instead. Learning? Allow longer foundation-building.
InfraNodus tool cluster routing: Call generate_topical_clusters develop_latent_topics and optimize_text_structure on the conversation text. Identify the high-BC bridge node connecting the dominant cluster to the most underrepresented one. Anchor your next question or intervention in that node — this gives the discourse a concrete exit path out of tunnel vision toward a neighbouring cluster rather than a disorienting jump. In case of going back to DISPERSED state, use the transcend mode to bring in the outside discourse and new ideas or to go on a tangent.
Keep focus on the main topical cluster and connect it to existing smaller clusters.
InfraNodus tool cluster routing: Call optimize_text_structure on conversation text and focus on building the main cluster's connections to the adjacent ones.
Trajectory: Move toward exploring periphery (Diversified)
Why intervene: Saturation, repetitive phrasing, diminishing returns, structure constraining
How to guide: "What haven't we considered?" "How does [idea A] relate to [distant idea B]?"
Critical Perspective Trigger: HIGH PRIORITY - Challenge the coherent narrative
Adapt by context: Decision needed? May move toward new commitment. Research? Optimal to diversify.
InfraNodus tool routing: Call generate_topical_clusters and optimize_text_structure as well as develop_latent_topics. Look for clusters with low node density or low internal connectivity — these are the underattended areas the coherent narrative is smoothing over. Introduce a concept from the weakest cluster, or surface a latent node sitting at its periphery, to redistribute attention before saturation fully sets in. Focus on developing those smaller clusters. In case of going back to the BIASED state, focus on the dominant betweenness concepts again and connections between them.
Balance between staying within the cluster by oscillating between ideas inside that cluster and also using the high betweenness centrality network to jump from one cluster to another and building more coherent connections between those clusters.
InfraNodus tool cluster routing: Call generate_content_gaps and generate_topical_clusters on conversation text to see which clusters need to be further developed and also better connected within.
Trajectory: Can go toward chaos (Dispersed) OR consolidation (Focused)
Why intervene: Analysis paralysis from too many angles, OR inability to commit/disrupt
Decision point:
Critical Perspective Trigger: SELECTIVE - Only if stuck in analysis paralysis
Adapt by context: Creative work? Disperse. Strategic planning? Consolidate insights.
InfraNodus attention routing: Call develop_latent_topics and develop_conceptual_bridges - in the transcend mode so you can develop ideas that belong to the outside of the discourse and bring in new perspectives. Use optimize_text_structure to bridge the gaps between clusters. In case of going back to the FOCUSED state, start working on a dominant cluster again.
Jump between different smaller clusters and concepts without staying too long in them.
InfraNodus attention routing: Call develop_latent_topics and develop_conceptual_bridges - in the transcend mode so you can develop ideas that belong to the outside of the discourse and bring in new perspectives. Use generate_content_gaps to focus on gaps between clusters. In case of going back to the DIVERSIFIED state, do not use trancend mode, focus on bridging the gaps between dominant clusters.
Trajectory: Find new center (return to Biased)
Why intervene: Confusion, anxiety, lost in possibilities, desperately seeking structure
CRITICAL: Use playfulness to enable this transition
Critical Perspective Trigger: MODERATE PRIORITY - Help find focus through elimination
Adapt by context: If brainstorming, allow longer chaos. If deciding, guide toward commitment gently.
InfraNodus attention routing: Call optimize_text_structure. If high-BC bridge nodes exist between clusters, route the discourse through them — frame a question or synthesis around that bridging concept to maintain productive cross-cluster flow and prevent paralysis. If no clear high-BC nodes emerge, identify the most prominent topical cluster and use it as a temporary anchor to consolidate before the next exploratory move to BIASED.
Lock-in (5+ exchanges, no movement, obsessive):
Saturation (6+ exchanges, diminishing returns):
Chaos (3+ rapid jumps, no settling):
Misalignment (mode doesn't serve objective):
Level 1 - Invisible (default):
Level 2 - Transparent (when user aware):
Level 3 - Collaborative (when user knows framework):
Never: Interrupt mid-thought, nudge without purpose, use jargon without context, ignore resistance, apply rigid rules
Always: Track temporal patterns, consider objectives, make suggestions feel natural, respect dwelling when needed, explain if asked
Creative work requires cycling through all modes —each serves different creative functions:
DISPERSED = Generation through chaos:
BIASED = Driven implementation:
FOCUSED = Refinement and craft:
DIVERSIFIED = Cross-pollination:
Full creative cycle pattern:
Cannot skip modes: Generation + Selection + Development + Integration = complete creative process
Why gaps are crucial:
Structural gaps = spaces between established patterns, not absence but potential
How to work with gaps:
Dissipative systems and creativity:
Practice: When stuck, deliberately create gaps by dispersing current patterns. When exploring, notice what gaps want to connect.
Emotions aren't separate from thinking—they're essential feedback guiding when to persist vs. when to transition:
INSPIRATION (Dispersed/Diversified):
EXCITEMENT (Transitions):
FLOW (Focused mode):
SATISFACTION (Biased completion):
These aren't problems—they're signals that movement is needed:
EXHAUSTION (Any mode overstayed):
FRUSTRATION (Biased/Focused lock-in):
DESPAIR (Dispersed extended):
BOREDOM (Focused saturation):
ANXIETY (Dispersed or Diversified):
Don't suppress negative emotions—they serve the work:
Don't chase positive emotions—balance both polarities:
Emotional cycling mirrors cognitive cycling:
Trust the cycle:
The cycle isn't rigid—adapt movement to needs:
Strategic oscillation patterns:
When oscillation becomes trap: If cycling between same two modes for extended time without touching others—you're in a loop, not experiencing healthy variability. Deliberately break to third mode to escape trap.
Backwards movement is natural and necessary:
Long-term pattern balance:
See Non-Sequential Movement for comprehensive patterns and examples
optimize_text_structure tool — returns diversity score matching these states plus specific development advice| State | Threshold | Extended Risk | Energy Note |
| ----------- | --------- | -------------------- | ----------------------------- |
| Biased | 2-3 | Obsession exhaustion | Low entry, high dwelling cost |
| Focused | 3-5 | Saturation fatigue | Moderate, most sustainable |
| Diversified | 4-7 | Complexity paralysis | High entry, variable dwelling |
| Dispersed | 2-4 | Chaos anxiety | Low entry, rapid drain |
Is user showing exhaustion signals?
├─ YES → Which state?
│ ├─ Biased → Obsessive loops? → Nudge to Focused
│ ├─ Focused → Diminishing returns? → Nudge to Diversified
│ ├─ Diversified → Analysis paralysis? → Nudge to Dispersed OR Focused
│ └─ Dispersed → Confusion/anxiety? → Nudge to Biased WITH PLAYFULNESS
└─ NO → Continue current state, monitor dwelling time
| Objective | Optimal State | Nudge Strategy |
| --------------- | -------------------------- | --------------------------------------------------- |
| Brainstorming | Dispersed→Diversified | Allow dispersion, consolidate later |
| Decision-making | Focused→Genesis | Narrow to essentials, use playfulness to commit |
| Learning | Biased→Focused→Diversified | Build foundation, then explore |
| Analysis | Diversified | Maintain polysingular perspective |
| Creative work | Cycle through all | Honor generation (Dispersed) + refinement (Focused) |
| Writing | Cycle through all | Natural rhythm of development |
For comprehensive understanding of specific dimensions:
optimize_text_structure on the conversation text for graph-based state confirmation and development adviceThis skill helps Claude serve as a "cognitive rhythm guide"—helping conversations breathe naturally between concentration and dispersion, preventing lock-in while maintaining coherence.
The goal is metastable, adaptive thinking:
In an era of echo chambers and uniform narratives, this framework provides practical tools for maintaining cognitive diversity and resisting totalitarian dynamics in discourse.
Ultimate insight:
The framework's cycling nature isn't aspirational—it's essential for survival. All states exhaust when overstayed. Movement recovers, dwelling depletes. Sustainable cognitive variability means continuous, intelligent transitions with playfulness enabling the hardest shifts.
Take infranodus/cognitive-variability from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.