协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
token-efficiency【开发与工程】Cross-platform token audit and optimization for AI coding agents (Cursor, Codex, Claude Code, Hermes, Windsurf, Cline, OpenClaw, Gemini CLI, Aider). Scans always-on context, MCP tools, skills; ranks ROI fixes; installs L0-L3 rules; shrinks large tool outputs. Use for save tokens, token audit, context bloat, MCP prune, reduce API cost, agent efficienc…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Prime directive: Audit before adding rules. Rules are fixed tax too.
Capability promise: Save waste, not intelligence. Guardrails ship with every rule install.
# 讲师打包
python3 scripts/package_release.py # → dist/token-efficiency-0.3.1.zip
# 学员解压后
bash install.sh
python3 scripts/setup_student.py
文档:docs/学员安装指南.md · docs/能力保障说明.md · docs/架构说明.md
# Install skill globally (once)
bash install.sh
# or: python3 scripts/install_skill.py --write
# Audit + optional ledger
python3 scripts/audit.py --project . --with-ledger
# Fix auto-invoke skills (L0)
python3 scripts/fix_skills.py --list
python3 scripts/fix_skills.py --write --keep skill-a,skill-b
# Compress bloated CLAUDE.md (L0)
python3 scripts/compress.py CLAUDE.md --write
# Shrink large tool output (L2)
python3 scripts/shrink.py build.log --vault -o build.log.shrunk
# Before/after savings report
python3 scripts/perf.py --save-baseline
python3 scripts/perf.py --compare-baseline
# Install rules to project
python3 scripts/install.py --write --agents cursor,claude-code,hermes,openclaw,codex --levers 1,2,3
Windows: replace python3 with python or py -3.
scripts/audit.py → fixed tax + duplicates + ROI fixesscripts/install.py → behavior + payload + output + capability guardrailsscripts/perf.py --compare-baseline or re-run audit| L | Layer | Fix tool |
|---|---|---|
| L0 | Fixed tax | audit, compress, MCP edit |
| L1 | Turn multiplier | install lever 1 |
| L2 | Context inflation | install lever 2 + shrink.py (+ vault restore) |
| L3 | Output waste | install lever 3 |
| L4 | Session bloat | new chat / Ask mode — see context-design |
| L5 | Model mismatch | user picks tier — see context-design |
Details: taxonomy.md
cursor · claude-code · codex · hermes · openclaw · windsurf · cline · aider · continue · gemini · generic
Matrix: references/agent-matrix.md
--vault for tool output > ~4K est. tokens; restore if detail missing