knowledge-base-generator

Detect recurring agent errors and update AGENTS.md with internet-sourced solutions.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/FacuM/yolo-agent --skill knowledge-base-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge-base-generator
Source: https://github.com/FacuM/yolo-agent/tree/main/.claude/skills/knowledge-base-generator
Command: npx skills add https://github.com/FacuM/yolo-agent --skill knowledge-base-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically detects when an agent is stuck in a loop, repeatedly encountering the same error, and proactively searches for solutions online to resolve the issue.

Core Features & Use Cases

  • Loop Detection: Identifies recurring errors or issues based on specific trigger phrases and repeated failure patterns.
  • Automated Solution Finding: Searches the internet (via MCPs) for matching GitHub issues and known workarounds.
  • Knowledge Base Management: Creates or updates an AGENTS.md file with discovered solutions and links.
  • Use Case: If an agent repeatedly fails to build a Docker image with the same error message, this skill will search GitHub for similar issues, find a workaround, and update the project's AGENTS.md with the solution.

Quick Start

Use the knowledge-base-generator skill to find a solution for the recurring error message "module not found".

Frequently Asked Questions about knowledge-base-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop an AI agent from looping on the same build or runtime error?

To stop an AI agent from looping on the same error, you need automated error handling that detects repetitive failures and searches the internet for known workarounds. This skill identifies loop patterns and persists solutions to a project knowledge base.

How do I automatically create a knowledge base for recurring agent errors?

You can automatically create a knowledge base for recurring agent errors by detecting repeated failure triggers, searching GitHub issues for matching solutions, and writing the discovered workarounds into an AGENTS.md file for future reference.

Do I need search-capable MCPs to find solutions for persistent runtime issues?

Yes, you need search-capable MCPs to find solutions for persistent runtime issues. This skill requires internet and GitHub issue searching capabilities to identify matching problems and persist workarounds in the project knowledge base.

What is the best way to automate troubleshooting for repeated Docker build failures?

The best way to automate troubleshooting for repeated Docker build failures is using a skill that detects the recurring error message, searches online for similar GitHub issues, and updates your project with the identified workaround.

Can I update an existing AGENTS.md file with new error handling workarounds?

Yes, you can update an existing AGENTS.md file with new error handling workarounds. The knowledge base management feature creates or updates this file with discovered solutions and relevant links whenever a recurring issue is resolved.