multimodal-interaction-framework

multimodal-interaction-framework is a cursor rule for Cursor from Mr-chen-05/rules-2.1-optimized. It costs 2,657 tokens per session, scanned A, original, MIT.

A set of rules for handling text, images, audio, and other kinds of input together. It describes how to connect their meanings and choose suitable combinations for a task.

In plain words
What is it for?
Use it to plan systems that understand or combine language, pictures, sound, touch, and possible future input types.
Why use it?
It provides a common approach when a task contains more than one type of media, instead of treating each type separately.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to plan systems that understand or combine language, pictures, sound, touch, and possible future input types.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework
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.

Clone the repo
git clone --depth 1 https://github.com/Mr-chen-05/rules-2.1-optimized

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for multimodal-interaction-framework

README.md
[![agentmods](https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework/github.svg)](https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework)
Your own site
<a href="https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework"><img src="https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for multimodal-interaction-framework

Your own site · 80×15
<a href="https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework"><img src="https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/multimodal-interaction-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,657 This file is loaded in full into every session.
When invoked 2,657 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.02657 $0.02657
Opus 5.5 $0.01063 $0.01063
Sonnet 5.5 $0.00531 $0.00531
Haiku 4.5 $0.00266 $0.00266

Measured 3mo ago against content hash 6a4e6bf3195d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

multimodal-interaction-framework 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 3mo 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.

global-rules/multimodal-interaction-framework.mdc · 410 lines

How it starts

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

🌐 多模态交互框架 (Multimodal Interaction Framework)

一、框架概述

1.1 多模态认知理念

基于人类多感官认知模式,构建AI的多模态信息处理和交互能力:

  • 跨模态信息融合: 整合文本、视觉、听觉等多种信息源
  • 模态间语义对齐: 建立不同模态间的语义映射关系
  • 统一认知表征: 形成跨模态的统一理解和表达
  • 自适应模态选择: 根据任务需求智能选择最优模态组合

1.2 设计原则

核心设计原则:
1. 模态无关性 (Modality Agnostic)
2. 语义一致性 (Semantic Consistency)
3. 渐进式扩展 (Progressive Extension)
4. 向后兼容性 (Backward Compatibility)
5. 性能可扩展性 (Performance Scalability)

二、模态定义与分类

2.1 主要模态类型

文本模态 (Text Modality)

特征:
- 符号化表达
- 序列化信息
- 语法语义结构
- 上下文依赖性

处理能力:
- 自然语言理解
- 语义分析
- 情感识别
- 意图推理

视觉模态 (Visual Modality)

特征:
- 空间化信息
- 层次化特征
- 几何关系
- 时序变化

处理能力:
- 图像理解
- 场景分析
- 对象识别
- 空间推理

听觉模态 (Audio Modality)

特征:
- 时序化信号
- 频谱特征
- 韵律信息
- 情感色彩

处理能力:
- 语音识别
- 音乐理解
- 情感分析
- 声学场景理解

触觉模态 (Haptic Modality)

特征:
- 物理属性
- 纹理信息
- 力学反馈
- 空间定位

处理能力:
- 材质识别
- 形状感知
- 力度控制
- 精细操作

2.2 扩展模态预留

未来扩展模态:
- 嗅觉模态 (Olfactory)
- 味觉模态 (Gustatory)
- 生理信号模态 (Physiological)
- 环境感知模态 (Environmental)
- 时空模态 (Spatiotemporal)

三、跨模态认知架构

3.1 分层处理架构

架构层次:
Level 1: 模态特定处理层 (Modality-Specific Processing)
Level 2: 特征提取与编码层 (Feature Extraction & Encoding)
Level 3: 跨模态对齐层 (Cross-Modal Alignment)
Level 4: 语义融合层 (Semantic Fusion)
Level 5: 统一表征层 (Unified Representation)
Level 6: 认知推理层 (Cognitive Reasoning)
Level 7: 响应生成层 (Response Generation)

3.2 信息流处理机制

并行处理流水线:

输入模态 → 预处理 → 特征提取 → 语义编码
    ↓
跨模态注意力机制 → 语义对齐 → 信息融合
    ↓
统一表征空间 → 认知推理 → 多模态输出

注意力分配机制:

Attention_Weight(modality_i) = 
    Relevance_Score(modality_i, task) × 
    Quality_Score(modality_i) × 
    Context_Factor(modality_i)

四、语义对齐与融合

4.1 跨模态语义映射

概念级对齐:

对齐策略:
1. 共享概念空间构建
2. 模态间语义桥接
3. 抽象概念映射
4. 情境化理解

特征级融合:

融合方法:
- 早期融合 (Early Fusion): 特征级别直接融合
- 中期融合 (Mid-level Fusion): 语义级别融合
- 晚期融合 (Late Fusion): 决策级别融合
- 混合融合 (Hybrid Fusion): 多层次融合

4.2 语义一致性保证

一致性检查机制:
1. 模态间语义冲突检测
2. 不一致信息标识
3. 置信度评估
4. 冲突解决策略

五、交互模式设计

5.1 输入交互模式

单模态输入:

- 纯文本交互
- 纯图像分析
- 纯语音对话
- 纯手势控制

Read the full file on GitHub · 410 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. 3mo ago First seen · 410 lines · 2,657 tokens per session scan A 6a4e6bf3195d

Subscribe to this mod's changes

multimodal-interaction-framework is a cursor rule published in the GitHub repository Mr-chen-05/rules-2.1-optimized (173 stars, last pushed 1y ago), licensed MIT. It adds 2,657 tokens to every session, about $0.0106 per session on Opus 5.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.

Related

multimodal-interaction-framework compared with cursor rules from other repositories

multimodal-interaction-framework next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multimodal-interaction-frameworkMr-chen-05/rules-2.1-optimizedCursor rule1731y agoMITA2,657Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor