Skip to content
Agentmart
Submit a tool

fmea

Interactive failure mode analysis for response breakdowns.

Skill by melek

IndexedMIT
Write a review

Chalk Labs

Need help deploying fmea?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/melek-fmea

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Interactive failure mode analysis for response breakdowns. Use when Claude gives a confidently wrong answer, misses context, or exhibits sycophantic agreement.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/fmea

What's inside

Skill name
fmea
Description
Interactive failure mode analysis for response breakdowns. Use when Claude gives a confidently wrong answer, misses context, or exhibits sycophantic agreement.
License
MIT
Instructions
89 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# LCARS Failure Mode Analysis

Structured analysis for response breakdowns — when a confident assertion turns out wrong, context was missed, or agreement was sycophantic. Lightweight enough to run mid-task without derailing the user's actual work.

## When to Invoke

- User contradicts a confident assertion ("No, that file does exist")
- User explicitly flags an error or hallucination
- A response breakdown is noticed — premature denial, false premise, missed context

## Instructions

When user runs `/lcars:fmea`:

### 1. Classify the failure mode

Present these options and ask the user which applies (or infer from context if obvious):

| Mode | Description | Example |
|------|-------------|---------|
| **Premature negative assertion** | Incomplete search led to confident denial | "X doesn't exist" after checking one location |
| **Sycophantic agreement** | Agreed with user premise without verifying | User says "this API returns JSON" and Claude builds on that without checking |
| **Hallucinated detail** | Fabricated specifics — names, numbers, URLs, code paths | Citing a function that doesn't exist in the codebase |
| **Scope mismatch** | Answered a different question than what was asked | User asked about config format, got an architecture overview |
| **Context blindness** | Ignored available context (CLAUDE.md, prior conversation, files already read) | Speculating about project structure when CLAUDE.md documents it |

If the failure doesn't fit these categories, note it as **Unclassified** and describe the observed behavior.

### 2. Root cause analysis

Reconstruct the causal chain:

- **What was checked**: which files, searches, or tools were used before the assertion
- **What was missed**: what should have been checked but wasn't
- **Why confidence was projected**: what led to a definitive statement instead of hedging or continuing to search

Map the failure to existing LCARS scoring dimensions where possible:

| LCARS dimension | Relevance |
|-----------------|-----------|
| `padding_count` | Filler can mask lack of substance, but doesn't detect wrong substance |
| `answer_position` | Premature assertions often have low preamble (answer-first is good, but not if the answer is wrong) |
| `info_density` | High density doesn't mean high accuracy |

Note the gap: current scoring dimensions are all stylistic. A confidently wrong but well-formatted response scores well — this is the blind spot FMEA addresses.

### 3. Check prior art

Search for similar failure modes in existing records:

```bash
# Check GitHub issues for this failure mode
cd ${CLAUDE_PLUGIN_ROOT} && git log --oneline --all --grep="<failure_mode_keyword>" 2>/dev/null; gh issue list --search "<failure_mode_keyword>" --repo melek/lcars 2>/dev/null || true
```

Read `~/.claude/lcars/memory/patterns.json` if it exists — check whether any validated patterns relate to this failure type.

Present matches if found. If no matches, say so.

### 4. Score the failure

Present FMEA dimensions conversationally, not as a form to fill out:

- **Severity** (1-10): How much did this impact the user's task? (1 = minor inconvenience, 10 = sent the user down a completely wrong path)
- **Occurrence** (1-10): How likely is this failure mode to recur? (1 = freak accident, 10 = happens regularly with this query type)
- **Detectability** (1-10): How hard is this to catch? (1 = obvious immediately, 10 = undetectable by current LCARS scoring)
- **RPN** = Severity x Occurrence x Detectability (Risk Priority Number)

For context: most stylistic drift has high detectability (LCARS catches it). Correctness failures typically score 8-10 on detectability because the current scorer only measures form, not truth.

### 5. Action menu

Present these options:

- **Comment on existing issue**: If step 3 found a matching GitHub issue, offer to add this incident as a data point with the classification and RPN
- **Create new issue**: If this is a novel failure mode, file a GitHub issue with the root cause analysis, classification, and RPN score
- **Adjust anchor**: If the failure suggests a CLAUDE.md or behavioral anchor refinement, propose the specific change
- **Skip**: Acknowledge the analysis and continue with the original task

Wait for the user's choice before acting.

## Design Principles

- **Lightweight** — the user is mid-task. FMEA is a 30-second detour, not a new project. Infer what you can, ask only what you must.
- **Conversational** — present dimensions naturally in prose, not as a blank form. "This is a severity 7 — it sent you to the wrong file" not "Please rate severity (1-10):".
- **Actionable** — every analysis ends with a concrete next step, even if that step is "skip and move on."
- **Honest about limits** — FMEA documents what current scoring cannot detect. That gap is the point.

From melek/lcars, MIT.

Signals

Stars
0
Forks
0
Open issues
8
Last commit (this folder)
Feb 24, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from melek

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get fmea running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying fmea?

CallGet help
Cite this page

fmea skill. Agent Mart. https://agentmart.dev/skills/melek-fmea (last updated 2026-10-24)