learning-from-agent-failures

learning-from-agent-failures is a skill for Claude Code from Nolane-x/forge-os. It costs 34 tokens per session (186 once invoked), scanned A, original, MIT.

A skill for turning repeated failures by agents, tools, routes, or verification steps into reusable improvements.

In plain words
What is it for?
Use it to group failures by common cause, missing information, or tool boundary, then propose a skill or code change for review.
Why use it?
It separates recurring technique gaps from isolated project bugs so useful fixes can be proposed without automatically changing the system.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the forgeos plugin — 196 skills, 1 command, 1 agent, 1 MCP server shipped together

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/nolane-x/forge-os/learning-from-agent-failures
Any agent
npx skills add Nolane-x/forge-os --skill learning-from-agent-failures
Clone the repo
git clone --depth 1 https://github.com/Nolane-x/forge-os

Made for: Claude Code.

Or install forgeos, the plugin that ships this one along with the rest of its 196 skills, 1 command, 1 agent, 1 MCP server.

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 learning-from-agent-failures

README.md
[![agentmods](https://agentmods.dev/badge/skills/nolane-x/forge-os/learning-from-agent-failures.svg)](https://agentmods.dev/skills/nolane-x/forge-os/learning-from-agent-failures)
Your own site
<a href="https://agentmods.dev/skills/nolane-x/forge-os/learning-from-agent-failures"><img src="https://agentmods.dev/badge/skills/nolane-x/forge-os/learning-from-agent-failures.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 186 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.1 $0.00034 $0.00186
Opus 5 $0.00017 $0.00093
Sonnet 5 $0.00007 $0.00037
Haiku 4.5 $0.00003 $0.00019

Measured 6d ago against content hash 1bfd53cf255b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

learning-from-agent-failures 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 6d ago.

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.

skills-v2/kernel/learning-from-agent-failures/SKILL.md · 23 lines

What it actually says

Learning from Agent Failures

Core principle

Cluster failures by invariant, rationalization, missing context, and tool boundary. Propose a skill or code change without auto-promoting it. The runtime owns deterministic scope, coverage, policy, and evidence checks; the agent owns only the judgment that cannot be reduced safely to code.

Do not activate when

  • the failure is caused by a known code bug
  • one isolated failure has no reproducible pattern
Files

What ships with it

9 files 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. 6d ago First seen · 23 lines · 34 tokens per session scan A 1bfd53cf255b

Subscribe to this mod's changes

learning-from-agent-failures is a skill published in the GitHub repository Nolane-x/forge-os (10 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 186 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-08-31.

Related

Other skills, from other repositories

ai-viral-team-script-writing

脚本创作 - 短视频脚本撰写与分镜设计 职责:根据爆款模板生产内容、设计黄金3秒开头方案(3种以上)、撰写分镜脚本(包含镜头语言/场景氛围/角色动作/台词/BGM)、设计槽点埋梗与情绪钩子、规划结尾引导、自动推荐Vidu视频生成配置(模型版本/生成方式/时长/比例)、确保人物形象一致性、向视频生成(Leo)传递完整的分镜信息 适用场景:(1) 短视频脚本撰写 (2) 分镜设计 (3) 内容创作 (4) 视频策划.

aAAaqwq/AGI-Super-Team · 169 tokens

cinematic-video-gen

AI视频生成(doubao-seedance / kling / sora / veo)的通病:.

aAAaqwq/AGI-Super-Team · 87 tokens

clanker

Plan and review ERC20 deployment with the Clanker SDK. Use for token configuration, vesting, airdrops, rewards, metadata, and transaction preparation on supported EVM chains.

aAAaqwq/AGI-Super-Team · 40 tokens

content-typography

这不是“选个字体” skill。 中文内容视觉排版 skill:优化封面标题、信息层级、分行、字重、对齐、留白与平台适配。 适用于小红书封面、公众号首图、抖音图文封面、知识星球海报、掘金缩略图等。 当用户提到“优化字体排版”“调一下标题版式”“封面字不好看”“信息层级不清”“帮我做成更能打的封面文案排版”时触发。.

aAAaqwq/AGI-Super-Team · 128 tokens

article-to-infographic

长文/测评文章 → 知识视觉笔记套图(3-5张)。自动提炼核心逻辑、规划分镜、生成高阶图像Prompt(4模块结构)。支持手写笔记/思维导图/架构图/对比矩阵四种风格。Use when: 文章转知识笔记、知识笔记图片、思维导图、视觉笔记、长文转图、知识卡片、文章可视化、article to infographic、knowledge note。Output: 中文摘要 + 纯英文生图Prompt。Pair with vectronode-image/relay-image-gen to generate final images.

aAAaqwq/AGI-Super-Team · 144 tokens

native-agent-swarms

Coordinate small teams of specialized Codex agents with bounded parallelism, explicit ownership, native messaging, and evidence-based synthesis. Use when two or more independent investigations, reviews, or implementation streams can run concurrently without sharing writable files, or when the user asks for swarm…

aAAaqwq/AGI-Super-Team · 70 tokens