xiaohongshu
xiaohongshu
cognitive-mode
Comprehensive cognitive mode management skill for the VERILINGUA x VERIX x DSPy x GlobalMOO integration. Enables automatic mode selection, frame configuration, VERIX epistemic notation, and GlobalMOO optimization. Use this skill when configuring AI behavior for specific task types, optimizing pro...
Full skill instructions
A comprehensive skill for managing cognitive modes, VERILINGUA frames, VERIX epistemic notation, and GlobalMOO optimization in the Context Cascade plugin system.
This skill integrates four major systems:
Select and configure cognitive modes:
/mode # List available modes
/mode <name> # Select mode by name
/mode auto "<task>" # Auto-select based on task
/mode info <name> # Show mode details
/mode recommend "<task>" # Get top-3 recommendations
Available Modes:
strict: Maximum epistemic consistency (research, legal, medical)balanced: Good tradeoff for general use (default)efficient: Optimized for token efficiency (high-volume APIs)robust: Edge case handling (security, adversarial)minimal: Lightweight with no frames (simple Q&A)Evaluate tasks against cognitive architecture metrics:
/eval "<task>" "<response>" # Evaluate response
/eval --corpus <path> # Run corpus evaluation
/eval --metrics # Show metric definitions
/eval --graders # List available graders
Metrics:
task_accuracy: Correctness (0.0 - 1.0)token_efficiency: Tokens vs target (0.0 - 1.0)edge_robustness: Adversarial handling (0.0 - 1.0)epistemic_consistency: VERIX compliance (0.0 - 1.0)Run multi-objective optimization:
/optimize # Show optimization status
/optimize start # Start optimization run
/optimize suggest # Get configuration suggestions
/optimize report # Get optimization report
/optimize phase <A|B|C> # Run specific cascade phase
Three-MOO Cascade:
Explore the Pareto frontier:
/pareto # Display frontier
/pareto filter <metric> # Filter by metric
/pareto export # Export as JSON
/pareto distill # Distill into named modes
/pareto visualize # ASCII visualization
Configure cognitive frames:
/frame # List all frames
/frame <name> # Show frame details
/frame enable <names> # Enable frames
/frame disable <names> # Disable frames
/frame preset <name> # Apply preset
Frames:
evidential: Turkish -mis/-di ("How do you know?")aspectual: Russian pfv/ipfv ("Complete or ongoing?")morphological: Arabic trilateral roots (semantic decomposition)compositional: German compounding (primitives to compounds)honorific: Japanese keigo (audience calibration)classifier: Chinese measure words (object comparison)spatial: Guugu Yimithirr (absolute positioning)Presets:
all: All 7 framesminimal: No framesresearch: evidential + aspectualcoding: compositional + spatialdocumentation: honorific + compositionalanalysis: evidential + aspectual + morphologicalsecurity: evidential + spatial + classifierApply VERIX notation:
/verix # Show VERIX guide
/verix parse "<text>" # Parse for VERIX elements
/verix validate "<claim>" # Validate epistemic consistency
/verix annotate "<text>" # Add VERIX annotations
/verix level <0|1|2> # Set compression level
VERIX Structure:
STATEMENT := ILLOCUTION + AFFECT + CONTENT + GROUND + CONFIDENCE + STATE
Compression Levels:
Two contracts that NEVER change:
Contract 1 - PromptBuilder:
def build(task: str, task_type: str) -> Tuple[str, str]:
"""Returns (system_prompt, user_prompt)"""
Contract 2 - Evaluate:
def evaluate(config_vector: List[float]) -> OutcomesVector:
"""config_vector -> outcomes_vector"""
14-dimensional vector for GlobalMOO:
This skill integrates with the recursive improvement system:
For cross-model compatibility, evaluation uses a 3-model council:
All three must agree for high-confidence claims.
Always select the appropriate cognitive mode before executing tasks. Modes encode domain-specific optimizations that dramatically improve outcomes. Don't default to balanced - consciously choose based on task requirements.
Every high-confidence claim requires grounding. Use VERIX notation to make epistemic status explicit. Ungrounded certainty is a red flag - always provide evidence basis for strong assertions.
Recognize that accuracy, efficiency, robustness, and consistency often trade off against each other. Use GlobalMOO to find Pareto-optimal configurations rather than optimizing a single metric.
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Using minimal mode for security tasks | Minimal mode lacks evidential and spatial frames critical for security analysis. Missing grounding leads to unverified claims about vulnerabilities. | Use robust or strict mode for security tasks. Enable evidential + spatial + classifier frames. |
| High confidence without grounding | VERIX validation will flag ungrounded certainty. Reduces epistemic_consistency score. Undermines trust in system outputs. | Always provide ground for conf > 80%. Use [ground: direct observation] or [ground: expert testimony]. |
| Optimizing holdout corpus | Holdout corpus marked never_optimize: true. Optimizing it causes Goodhart's Law - optimizing for benchmark rather than true capability. | Separate training (core_corpus) from validation (holdout). NEVER modify holdout tasks. |
The cognitive-mode skill provides a unified interface to VERILINGUA, VERIX, DSPy, and GlobalMOO. By selecting appropriate modes, applying epistemic notation, and running multi-objective optimization, you can dramatically improve AI task performance across diverse domains.
Key insight: The cognitive architecture is itself subject to recursive improvement. The prompt-architect, skill-forge, and agent-creator form a foundry triangle that continuously optimizes the system - but always gated by the frozen eval harness to prevent Goodhart's Law.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience