用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RunnerQuan/SAFE-Agent --skill ai-error-learner命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Find doctors with Healthgrades - search providers, read reviews, and check credentials
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.
基于RFM模型和回归算法的客户生命周期价值(LTV)预测分析工具,支持电商和零售业务的客户价值预测。使用时需要客户交易数据、订单历史或消费记录,自动进行RFM特征工程、回归建模和价值预测。
基于 SOC 职业分类
正在显示 SKILL.md
| name | AI Error Learner |
| description | Catalogs recurring errors as pain points needing skills. Use when same error occurs multiple times. |
| allowed-tools | Read, Write, Edit, Grep, Glob |
Catalog recurring errors as AI pain points that need skills to resolve. This skill is the first stage of the self-improvement loop, detecting patterns in errors that warrant automated solutions.
This skill activates when:
Do not catalog every error. Only recurring patterns warrant action.
1st Occurrence → Silent logging (no action)
2nd Occurrence → Create AI Pain Point, propose skill
3rd+ Occurrence → Escalate priority, trigger skill-builder
[TOOL_NAME]-[ERROR_TYPE]-[MESSAGE_PATTERN]
| Fingerprint | Meaning |
|---|---|
BASH-PERMISSION_DENIED-chmod | Script permission issues |
PYTHON-MODULE_NOT_FOUND-gymnasium | Missing Python module |
API-TIMEOUT-connection_refused | External service unavailable |
EDIT-FILE_NOT_FOUND-config | Missing configuration file |
BASH-COMMAND_NOT_FOUND-docker | Missing CLI tool |
Read current error tracking:
cat .claude/pain-points/ai-error-history.json
Identify entries with count >= 2 that don't have a pain point ID.
For each recurring error:
Add to .claude/pain-points/ai-pain-points.md:
### AI-PAIN-NNNN: [Error Summary]
**Fingerprint**: `[TOOL]-[TYPE]-[PATTERN]`
**Occurrences**: N
**First Seen**: YYYY-MM-DD
**Last Seen**: YYYY-MM-DD
**Error Pattern**:
[Representative error message]
**Root Cause**:
[Analysis of why this occurs]
**Proposed Solution**:
[Type: Skill/Config/Documentation]
[Brief description of solution]
**Priority**: [Low/Medium/High/Critical]
**Status**: Open
Add pain point reference to error history entry:
{
"errors": {
"[fingerprint]": {
"pain_point_id": "AI-PAIN-NNNN",
...
}
}
}
Based on priority and occurrence count:
| Condition | Recommendation |
|---|---|
| High priority, 3+ occurrences | Invoke skill-builder immediately |
| Medium priority, 2-3 occurrences | Queue for next session |
| Low priority | Document and monitor |
Condition: Fingerprint would match too many different errors Handling: Add more specific context to fingerprint, or split into sub-patterns
Condition: Skill exists but error still occurs Handling: Create improvement ticket for skill-improver instead
Condition: Error would be fixed by config change, not skill Handling: Document fix in quick-reference, don't create skill
Condition: Error is caused by external service/API Handling: Create monitoring pattern, not fix skill
Trigger: Error detector reports 2nd occurrence of permission error Response:
## Recurring Error Detected
**Fingerprint**: `BASH-PERMISSION_DENIED-scripts/deploy.sh`
**Occurrences**: 2
### Analysis
This error occurs when running deployment scripts without execute permissions.
Scripts are created with 644 permissions by default.
### AI Pain Point Created
**ID**: AI-PAIN-0012
**Priority**: Medium
**Proposed Solution**: Create pre-execution hook that checks and sets script permissions
### Recommendation
This pattern may benefit from a skill. Shall I invoke skill-builder to create one?
Trigger: Error reaches 3rd occurrence Response:
## Error Escalation - AI-PAIN-0008
**Fingerprint**: `PYTHON-IMPORT_ERROR-missing_deps`
**Occurrences**: 3 (escalation threshold reached)
### Pattern Summary
Python imports fail due to missing dependencies not in requirements.txt.
### Escalation Action
Invoking skill-builder with:
- Pain point: AI-PAIN-0008
- Priority: High
- Context: Auto-escalated after 3 occurrences
This will create a dependency verification skill.
Version: 1.0.0 Created: 2026-01-16 Category: Self-Improvement Integration: Error Detector, Skill Builder, Pain Point Manager Maintenance: Continuous (triggered by error detector)