error-experience-library

error-experience-library is a skill for Claude Code, Codex from hashgraph-online/awesome-codex-plugins. It costs 46 tokens per session (627 once invoked), scanned A, original, Apache-2.0.

An error knowledge base that stores recurring error patterns, their causes, and the fixes that worked. It can search past entries and track whether each suggested fix succeeded.

In plain words
What is it for?
Use it to record solved errors, look up known solutions, and update a solution’s success or failure after testing it.
Why use it?
It avoids solving the same build or runtime error from scratch and makes unreliable fixes easier to identify.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hashgraph-online/awesome-codex-plugins/error-experience-library
Any agent
npx skills add hashgraph-online/awesome-codex-plugins --skill error-experience-library
Clone the repo
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for error-experience-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/error-experience-library.svg)](https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/error-experience-library)
Your own site
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/error-experience-library"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/error-experience-library.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.00627
Opus 5 $0.00023 $0.00313
Sonnet 5 $0.00009 $0.00125
Haiku 4.5 $0.00005 $0.00063

Measured today against content hash 487b124d6a86, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

error-experience-library scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/Colin4k1024/tsp/skills/error-experience-library/SKILL.md · 82 lines

What it actually says

Error Experience Library

用途

  • 自动从错误中学习:每次错误解决后,将根因-解决方案对沉淀到经验库
  • 历史查询:遇到错误时,先查询经验库是否有已知模式
  • 反馈更新:根据实际解决结果更新经验库的成功/失败计数
  • 持续优化:高成功率的模式优先推荐,低成功率的模式标记为警示

核心操作

1. 记录错误模式 (record)

当成功解决一个错误后,将经验沉淀:

错误类型: [如: build_error, runtime_error, type_error]
错误信息片段: [可匹配的关键词]
根因: [为什么会发生]
解决方案: [如何修复]
语言/框架: [如: python, typescript, react]
文件模式: [可选,如: **/*.ts]
标签: [如: null-check, async, import]

2. 查询错误模式 (search)

遇到错误时,先查询经验库:

查询关键词: [错误信息或类型]
返回: 按成功率排序的匹配模式

3. 提供反馈 (feedback)

解决方案验证后,更新成功率:

pattern_id: 模式ID
success: true/false

存储位置

  • 本地:~/.claude/memory/error_experience/patterns/
  • 每个模式一个 JSON 文件,包含 success_count 和 failure_count

触发信号

  • 遇到 build error 或 runtime error 时
  • 成功解决错误后,应该记录到经验库
  • 使用 /error-lookup 命令快速查询

配合约束

  1. 记录时尽量包含具体的错误信息片段,便于后续匹配
  2. 根因要具体,不要只写"代码有 bug"
  3. 解决方案要包含具体的修改内容
  4. 标签要准确,便于按领域查询
  5. 验证结果后务必提供反馈,更新成功率

相关工具

  • scripts/lib/memory_store.py - 底层存储接口
  • search_error_patterns() - 查询模式
  • save_error_pattern() - 保存新模式
  • record_pattern_feedback() - 记录反馈

命令接入

  • /error-lookup <关键词> - 查询历史错误模式
  • /error-record - 记录当前错误的解决方案
  • /error-feedback <pattern_id> <success|failure> - 更新反馈
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 82 lines · 46 tokens per session scan A 487b124d6a86

Subscribe to this mod's changes

error-experience-library is a skill published in the GitHub repository hashgraph-online/awesome-codex-plugins (924 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 627 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 57 tokens

vellum-memory-v3-migration

One-time migration of an existing memory-v2 concept corpus into the memory-v3 section-grain "wiki" — topical articles with a stand-alone lead and queryable sections — with loss-proof staging, assistant-reviewed authoring, and a retrieval-eval gate before cutover.

vellum-ai/vellum-assistant · 63 tokens

levelup-specify

Extract Context Directive Records (CDRs) from the current session after completing work. Identifies reusable patterns (rules, personas, examples, evals) and captures directive compliance cases for team-ai-directives.

tikalk/adlc-team-skills · 46 tokens

cross-session-handoff

Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.

Arch1eSUN/Arcgentic · 31 tokens

detecting-process-injection-techniques

Detects and analyzes process injection techniques used by malware including classic DLL injection, process hollowing, APC injection, thread hijacking, and reflective loading. Uses memory forensics, API monitoring, and behavioral analysis to identify injection artifacts. Activates for requests involving process…

adriannoes/awesome-agentic-ai · 78 tokens

auditing-aws-s3-bucket-permissions

Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets, overly permissive ACLs, misconfigured bucket policies, and missing encryption settings using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.

adriannoes/awesome-agentic-ai · 62 tokens