用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/starlink-awaken/omostation --skill omlxc-compute-fabric命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
多 agent 并行下的 git 纪律:隔离工作树、交付三段式(add/commit/tag)、逃生口、子模块、僵尸锁、合并型交付补 claim、agent 自身 git 写能力自检。当你要提交代码、切换分支、碰子模块、做分支合并、遇到门禁拦截或 claim 冲突、或发现自己的文件消失 / git 行为诡异时使用。Triggers on: git commit, git merge, git checkout, 合并, 分支被切走, 文件消失, 提交丢了, claim 失败, 锁被占, index.lock, Operation not permitted, no-verify, 门禁拦截, D3, swarm-d3, submodule, 子模块, worktree, PASW, swarm-git, escape, unbound variable。
Coordinate tasks between multiple AI agents using the A2A (Agent-to-Agent) protocol via Agora MCP. Covers Agent Card registration, task delegation, status tracking, and swarm node discovery. Use when multiple agents need to collaborate, delegate work, or discover each other's capabilities.
Onboard a new AI agent into the omostation workspace. Covers agent profile registration, MCP connection setup, BOS URI discovery, cockpit CLI orientation, and first workflow lifecycle run. Use when adding a new agent (Claude Code, Codex, Cursor, custom) or re-onboarding after a major architecture change.
正在显示 SKILL.md
| name | omlxc-compute-fabric |
| description | "omlxc 异构算力织网、硬件温控、意图复杂度分诊、动态显存预算与优先级调度操作指南。当 Agent 需要执行本地大模型推理、预估长上下文显存、分析 Prompt 复杂度或调度本地算力时调用。" |
在任意 Agent(如 OpenCode、Claude Code、Cursor、AetherForge Swarm、Kilo Code 等)遇到以下情况时,应当调用本技能:
FAST (2BSTANDARD (9BREASONING (27B~70B 深度思考)。每个候选模型 Placement $p$ 的最终得分: $$\text{FinalScore}(p) = \text{BaseScore}(p) \times M_{\text{affinity}}(p) \times M_{\text{concurrency}}(p) \times M_{\text{thermal}}(p) \times M_{\text{priority}}(p)$$
| BOS URI | 传输协议 | 功能说明 |
|---|---|---|
bos://compute/aetherforge/fabric | stdio / omlxc | 采集集群温控、模型架构、两级缓存等全网状态 |
bos://compute/aetherforge/triage | stdio / omlxc | 评估输入 Prompt 的意图复杂度分级 |
bos://compute/aetherforge/vram | stdio / omlxc | 计算指定模型在指定 Token 长度下的 KV Cache 显存 |
bos://compute/aetherforge/warm | stdio / omlxc | 预热常用 System Prompt 前缀以实现 0ms TTFT |
bos://compute/aetherforge/infer | stdio / aetherforge | 通过 AetherForge Gateway (:9290) 触发实际推理 |
# 1. 根工作区一键算力织网全景诊断
make omlxc-fabric
# 2. 检查节点温度、已注册模型架构与两级缓存统计
omlxc fabric inspect
omlxc fabric inspect --json
# 3. 预热系统公共前缀缓存 (0ms TTFT)
omlxc fabric warm
cockpit mesh warm --model coding
# 4. 实时意图复杂度分诊
omlxc fabric triage "Design a lock-free queue to prevent ABA problem"
# 5. 显存动态增长预算评估 (模型名 + Token数)
omlxc fabric vram coding 32768
omlxc fabric vram qwen-72b 65536
# 6. 上下文滑动蒸馏与显存自愈模拟
omlxc fabric compact --model coding --tokens 32768 --available-mb 4096
# 7. 通过 Cockpit 统一转发
cockpit mesh fabric
cockpit mesh triage "Fix typo in variable"
cockpit mesh vram coding 32768
智能体可通过 Agora MCP Server 或 AetherForge MCP Server 调用以下标准工具:
fabric_inspect() ➔ 获取当前集群物理状态 JSON。fabric_warm_prefixes(model_id) ➔ 触发指定模型的前缀缓存预热。fabric_triage(prompt) ➔ 获取 {"tier": "reasoning", "confidence": 0.85, ...}。fabric_vram_budget(model_id, context_tokens) ➔ 获取 {"kv_cache_mb": 8448.0, "total_estimated_vram_mb": 25948.0, ...}。forge_fabric_inspect() ➔ 采集异构节点温控、模型架构与两级缓存状态。forge_fabric_warm(model_id) ➔ 预热常用系统 Prompt 前缀以实现 0ms TTFT。forge_fabric_vram(model_id, context_tokens) ➔ 计算模型动态 KV Cache 显存预算与准入/压缩建议。forge_fabric_compact(model, tokens, available_mb) ➔ 评估 KV 显存预算并模拟滑动上下文蒸馏压缩自愈。forge_swarm_run(goal) ➔ 调度 AetherForge Swarm 多智能体有向图工作流执行任务。fabric_vram_budget 或 omlxc fabric vram 进行显存预算判定。若返回 compaction_advised=True,可调用 forge_fabric_compact 或执行滑动上下文蒸馏,保障任务安全执行。priority="p2_batch",避免阻塞人类开发者的即时代码补全。