token-efficiency

仓库创建 2026年2月2日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由

降低调用成本与延迟,适合高频/大规模交互场景。

这个 Skill 做什么

通过规则与策略显著减少对话与生成过程中的 token 浪费。

通过一套规则把对话和生成过程中的 token 浪费大幅削减,比如反马屁(anti-sycophancy)、调用预算、一次性编码(one-pass)和读后写等策略。适合会话成本高、输出冗长或反复迭代消耗上下文时启用。特点是可落地的策略组合,通常能把 token 消耗减少几十个百分点并加快交付速度。

▸ 展开 SKILL.md 英文原文

Reduce token waste by 40-60% through anti-sycophancy rules, tool-call budgets, one-pass coding, task profiles, and read-before-write enforcement. Inspired by drona23/claude-token-efficient.

Skill 开发管理令牌节约反阿谀一次性编码通用
2.7k
Stars
257
Forks
40
仓库内 Skill
+55
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/token-efficiency/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/token-efficiency/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Token Efficiency

Reduce output token waste and prevent iteration cycles that consume context.

## Trigger

Use when:
- Sessions feel expensive or slow
- Output is verbose with filler text
- Claude is re-reading files or iterating unnecessarily
- Setting up a new project for token-efficient work

## Anti-Sycophancy Rules

These patterns waste 30-60% of output tokens:

| Pattern | Example | Fix |
|---------|---------|-----|
| Sycophantic opener | "Sure! Great question!" | Delete. Lead with answer. |
| Prompt restatement | "You're asking about X..." | Delete. Answer directly. |
| Closing fluff | "Let me know if you need anything!" | Delete. Stop after the answer. |
| Unsolicited suggestions 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有