Nex Ai Content Generator

High-reliability Dutch content engine with a Claude-Gemini-Qwen fallback chain and template safeties.

Install
cmdop skills install agensi-nex-ai-content-generator

The Ultimate Fail-Safe Content Engine

The Nex AI Content Generator is a production-grade Python module designed for high-reliability website copy generation. Originally developed for the Nex Demo Factory, this skill provides a robust multi-model fallback chain that ensures your application never fails to produce high-quality, sector-specific text.

What it does

This skill handles the complex orchestration of generating structured business copy. It takes a business context—including sector archetypes, services, and location—and executes a prioritized LLM chain:

  • Primary: Claude 3 Opus for high-reasoning Dutch copy.
  • Secondary: Gemini 2.0 Flash for speed and reliability.
  • Tertiary: Qwen-plus via DashScope (OpenAI-compatible).
  • Emergency Fallback: Hardcoded per-archetype templates that trigger if no API keys are present or all services are down.

Why use this skill?

Writing reliable AI integrations is harder than it looks. This module solves the "API Downtime" problem and the "Empty Response" problem simultaneously. Instead of just prompting an AI, you are implementing a battle-tested architecture that guarantees a structured GenerationResult output every time, regardless of API status or rate limits.

Output & Frameworks

The skill delivers the content.py and document_intros.py modules. It is built on Python using httpx for asynchronous networking. The output is a structured object containing the generated section content and metadata identifying which model in the chain successfully produced the result.

Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.