odoo-knowledge-agent
БесплатноБез исполняемых скриптовНе проверенScrape Odoo forum solved threads to build error prevention guardrails and auto-fix scripts. Extract patterns from 1000+ solved issues to prevent common…
Об этом скилле
Odoo Knowledge Agent - Error Prevention & Auto-Fix System
When to Use This Skill
Use this skill when you need to:
- Prevent Odoo errors before deployment with guardrails
- Auto-heal production issues using community-validated fixes
- Build intelligence from Odoo forum solved threads (1000+ cases)
- Generate error code reference and troubleshooting guides
- Create preventive checks for module development
- Implement auto-patch systems for known failure patterns
- Reduce debugging time by learning from community solutions
- Build SOP library for common Odoo development errors
Core Capabilities
1. Forum Scraping Intelligence
Scrape Odoo Forum for Solved Threads
- Extract 1000+ solved issues across all categories
- Parse accepted answers and code fixes
- Identify error patterns and root causes
- Build searchable knowledge base
2. Guardrails Generation
Preventive Error Checks
- Block common mistakes before deployment
- Validate manifest files automatically
- Check field synchronization issues
- Enforce best practices (OCA standards)
3. Auto-Patch Scripts
Automated Error Fixes
- Apply community-validated solutions
- Fix known issues automatically
- Handle common migration problems
- Self-healing production systems
4. Vision-Based UI Automation
askui-Compatible Automation
- UI actions without brittle selectors
- Cross-browser compatibility
- Screenshot-based validation
- Self-healing test scripts
Prerequisites
Required Software
- Python 3.11+
- Beautiful Soup 4 / Firecrawl
- Odoo 19 instance for testing
- Supabase for knowledge storage
Optional Integrations
- OpenAI API for pattern extraction
- GitHub Actions for CI/CD integration
- Perplexity for research enhancement
Python Dependencies
beautifulsoup4
requests
firecrawl-py
supabase-py
openai
pyyaml
gitpython
Implementation Patterns
Forum Scraper
# scrape_solved_threads.py
import requests
from bs4 import BeautifulSoup
from supabase import create_client
import time
from datetime import datetime
class OdooForumScraper:
def __init__(self, supabase_url, supabase_key):
self.base_url = "https://www.odoo.com/forum"
self.supabase = create_client(supabase_url, supabase_key)
self.session = requests.Session()
self.session.headers.update({
'User-Agent': 'OdooKnowledgeBot/1.0'
})
def scrape_solved_threads(self, pages=100):
"""
Scrape Odoo forum for solved threads
"""
threads = []
for page in range(1, pages + 1):
print(f"Scraping page {page}/{pages}...")
url = f"{self.base_url}/questions?filters=solved&page={page}"
response = self.session.get(url)
soup = BeautifulSoup(response.content, 'html.parser')
# Extract thread links
thread_elements = soup.select('.o_wforum_question')
for thread in thread_elements:
thread_url = thread.find('a')['href']
if not thread_url.startswith('http'):
thread_url = f"https://www.odoo.com{thread_url}"
# Get thread details
thread_data = self.scrape_thread_details(thread_url)
if thread_data:
threads.append(thread_data)
self.store_thread(thread_data)
time.sleep(2) # Rate limiting
time.sleep(5) # Pause between pages
return threads
def scrape_thread_details(self, url):
"""
Extract question, accepted answer, and code snippets
"""
try:
response = self.session.get(url)
soup = BeautifulSoup(response.content, 'html.parser')
# Extract question
question_elem = soup.select_one('.o_wforum_question_text')
question = question_elem.text.strip() if question_elem else ""
# Extract title
title_elem = soup.select_one('h1.o_wforum_title')
title = title_elem.text.strip() if title_elem else ""
# Extract accepted answer
accepted_answer = soup.select_one('.o_wforum_answer.o_wforum_answer_correct')
if not accepted_answer:
return None # Skip if no accepted answer
answer_text = accepted_answer.select_one('.o_wforum_answer_text').text.strip()
# Extract code snippets
code_blocks = accepted_answer.select('pre code')
code_snippets = [block.text.strip() for block in code_blocks]
# Extract tags/category
tags = [tag.text.strip() for tag in soup.select('.o_wforum_tag')]
# Extract metadata
views_elem = soup.select_one('.o_w
Установить odoo-knowledge-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл odoo-knowledge-agent?
Scrape Odoo forum solved threads to build error prevention guardrails and auto-fix scripts. Extract patterns from 1000+ solved issues to prevent common mistakes before deployment and auto-heal production problems. Combines web scraping, AI pattern extraction, preventive guardrails generation, and auto-patch scripts for Odoo custom development lifecycle.
Как установить скилл odoo-knowledge-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл odoo-knowledge-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic