Skip to content
Agent Orchestration
Skill

/taiyi-compress

TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。

From plugin
oh-my-taiyiforge
85525 skills

Claude Code

$ npx -y skills add Dong90/oh-my-taiyiforge --skill taiyi-compress --agent claude-code

SKILL.md

taiyi-compress.SKILL.md
name: taiyi-compress
description: TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC strategic-compact / handoff。OpenCode / Claude / Codex / Cursor 通用。

taiyi-compress

目的

在 Token 接近预算或工件过大时,**分层压缩上下文**:先用引擎零 LLM 截断,再按需加载第三方 Skill 隔离/落盘会话。

何时使用

| 信号 | 动作 | |------|------| | `/taiyi:status` 出现 Token ⚠ 或压缩建议 | 读本 Skill | | 工件 scan > `compressThreshold`(默认 120k) | 先 `/taiyi:token compress` | | dev / 多 slice 并行 | Superpowers subagent / parallel | | 长会话 / 换窗口 / compaction 前 | `/taiyi:handoff` 或 ECC `strategic-compact` |

策略(与 Superpowers 双线 harness 同级)

1. 引擎(首选 · 零 LLM Token)

用户说 **`/taiyi:token compress <slug>`**;Agent 代跑:

scripts/taiyi-forge.sh token compress <slug>

产出 **`.taiyi/changes/<slug>/CONTEXT-COMPACT.md`**。后续阶段**优先读此文件**,再按需打开单工件。

2. Superpowers(聊天 Skill · optional)

| Skill | 用途 | |-------|------| | `subagent-driven-development` | 大实现拆 subagent,主会话只协调(省主窗 token) | | `dispatching-parallel-agents` | 多 slice 并行,各 agent 不继承主会话历史 |

打卡(auto 模式 optional):

scripts/taiyi-forge.sh harness-check <slug> superpowers/subagent-driven-development

3. ECC / handoff(聊天 Skill · optional)

| 方式 | 用途 | |------|------| | `ecc/strategic-compact` | 战略级会话压缩 | | `/taiyi:handoff` | 写 HANDOFF.md,新会话续作 |

scripts/taiyi-forge.sh harness-check <slug> ecc/strategic-compact

推荐顺序

1. `/taiyi:token scan <slug>` — 了解工件体量 2. `/taiyi:token compress <slug>` — 引擎摘要 3. 若仍超预算 / 进入 dev:加载 **subagent-driven-development** 4. 会话结束前:**/taiyi:handoff** 或 **ecc/strategic-compact** 5. `/taiyi:token record <slug> <n> --phase <phase> --label "compress-flow"`

配置

  • 预算:[`docs/taiyi/token-budget.yaml`](../../docs/taiyi/token-budget.yaml)
  • 压缩钩子:[`docs/taiyi/token-compress-hooks.yaml`](../../docs/taiyi/token-compress-hooks.yaml)

反模式

  • 在已超阈值时仍全量读 CHANGE…CHANGELOG 进聊天
  • 跳过 CONTEXT-COMPACT 重复 grep 全库
  • 主会话直接实现多个 TASK slice(应 subagent)
  • **completed 变更不 archive、探针 slug 堆在 workspace**(污染 `/taiyi:list` 与对话上下文)
  • **在聊天里跑全量 E2E / npm test / probe**(日志灌上下文;应 CI 后台 + TEST.md 摘要)
Read more
@dong90
Ships withoh-my-taiyiforge

把 AI 写代码的玄学,变成一条可执行、可审计的工程流水线。

Stars on GitHub

Momentum

stars in total
855
Star history of Dong90/oh-my-taiyiforge on GitHub, a chart by star-history.com

Other skills on oh-my-taiyiforge.

taiyi-architect

taiyi-architect

TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。

taiyi-diagram-arch

taiyi-diagram-arch

TaiyiForge 辅助 — 系统/产品架构图(Mermaid · SVG 海报 · 嵌入 DESIGN.md)。OpenCode / Claude / Codex / Cursor 通用。

taiyi-diagram-c4

taiyi-diagram-c4

TaiyiForge 辅助 — 从代码反推 C4 架构文档(Observed/Inferred 分层 · Mermaid 真源)。OpenCode / Claude / Codex / Cursor 通用。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about taiyi-compress.

Which coding agents can use taiyi-compress?
taiyi-compress installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.