用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill usage-optimization命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
基于 SOC 职业分类
正在显示 SKILL.md
| name | usage-optimization |
| version | 1.0.0 |
| category | ai |
| description | Usage Optimization Skill |
Version: 1.0.0 Category: Optimization Triggers: High usage alerts, efficiency improvements, batch operations
| Approach | Rating | Time Saved |
|---|---|---|
| Script + AI Input + AI Command | ⭐⭐⭐⭐⭐ | 90% |
| Git Operations (Claude) | ⭐⭐⭐⭐⭐ | 80% |
| Script + Input File | ⭐⭐⭐⭐ | 70% |
| Preparing Input Files | ⭐⭐⭐⭐ | 75% |
| Script Only (no input) | ⭐⭐⭐ | 40% |
| LLM Descriptions | ⭐ | -20% |
❌ BAD: "Can you describe what analyze_data.py does?"
Result: Long description, no actionable output
✅ GOOD: "Prepare input file for data analysis and provide command"
Result: Working configuration + executable command + actual results
1. ⭐⭐⭐⭐⭐ AI prepares input YAML file
└─ Following template in templates/input_config.yaml
└─ Validated against schema
└─ Version controlled in config/input/
2. ⭐⭐⭐⭐⭐ AI provides exact bash command
└─ Points to correct script in scripts/
└─ References prepared input file
└─ Includes all necessary flags
3. ⭐⭐⭐⭐⭐ User executes command
└─ Copy/paste provided command
└─ Review output and results
└─ Version control any changes
4. ⭐⭐⭐⭐⭐ Use Claude for git operations
└─ Commit results
└─ Create meaningful commit messages
└─ Manage branches and PRs
## Task Context
- Repository: digitalmodel (Work)
- Complexity: Medium
- Time sensitivity: Production hotfix
- Dependencies: None
- Testing required: Yes
## Specifications
[Full specifications here]
## Output Format
[Exact format needed]
## Constraints
[Any limitations]
Generate [specific deliverable] following this context.
I need to perform the following operations across multiple repositories:
## Scope
- Repositories: [list or "all work" or "all personal"]
- Operation type: [commit/sync/test/build/deploy]
## Configuration
```yaml
operation: batch_commit
scope: work_repositories
config:
message: "Update dependencies to latest"
auto_push: true
run_tests: true
## Anti-Patterns to Avoid
### ❌ Description-Only Requests
BAD: "Describe what this script does" Result: No actionable output, wasted tokens
### ❌ Skipping Questions
BAD: Directly generating from vague requirements GOOD: "Before generating, I need to understand: [list]"
### ❌ Making Assumptions
BAD: "I'll assume we want JWT authentication" GOOD: "Should we use JWT, sessions, or OAuth?"
## Usage Monitoring Commands
```bash
# Check usage
./scripts/monitoring/check_claude_usage.sh check
# View today's summary
./scripts/monitoring/check_claude_usage.sh today
# View recommendations
./scripts/monitoring/check_claude_usage.sh rec
# Log a task
./scripts/monitoring/check_claude_usage.sh log sonnet digitalmodel "Feature work"
Before Starting Work:
During Work:
End of Session:
| Metric | Current | Target |
|---|---|---|
| Sonnet usage | 79% | <60% |
| Overall usage | 52% | <70% |
| Model distribution | Unbalanced | 30/40/30 |
See: @docs/AI_AGENT_USAGE_OPTIMIZATION_PLAN.md See: @docs/modules/ai/AI_USAGE_GUIDELINES.md
Use this when optimizing AI usage, improving efficiency, or managing usage limits.