Skip to content
cccskills
FreePublished on GitHub

plugin-system

Generic plugin system for Python applications. Auto-discovery, validation, fault tolerance. Zero dependencies (Python stdlib only).

The English summary is being prepared. Showing the original description.

See how to install

Files included (19)

  • SKILL.md3.4 KB
  • banner.png131.0 KB
  • EN/SKILL.md3.4 KB
  • ES/SKILL.md3.6 KB
  • examples/calculator.py1.2 KB
  • examples/hello.py455 B
  • examples/systeminfo.py900 B
  • JA/SKILL.md4.0 KB
  • RU/SKILL.md4.5 KB
  • scripts/cli_demo.py3.9 KB
  • scripts/plugin_system.py8.8 KB
  • scripts/test_plugin_system.py8.0 KB
  • SKILL.en.md3.4 KB
  • SKILL.es.md3.7 KB
  • SKILL.fr.md3.5 KB
  • SKILL.ja.md4.1 KB
  • SKILL.ru.md4.8 KB
  • SKILL.zh.md3.5 KB
  • ZH/SKILL.md3.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

<img src="banner.png" width="100%" alt="plugin-system banner">

Plugin System

Fehlertolerantes Plugin-System fuer Python-CLI-Anwendungen. Ein fehlerhaftes Plugin stoppt niemals den Rest der Anwendung.

Kernfeatures

  • Auto-Discovery: Findet Plugins automatisch in einem Verzeichnis
  • Validierung: Prueft name, version, execute() auf jeder Plugin-Klasse
  • Fehlertoleranz: Defekte Plugins werden geloggt aber nicht geladen
  • Zero Dependencies: Nur Python-Standardbibliothek

Dateien

scripts/
  plugin_system.py       Kern: PluginBase (ABC) + PluginManager
  cli_demo.py            Demo-CLI mit argparse
  test_plugin_system.py  16+ Unit-Tests
examples/
  hello.py               Hello-World Plugin
  calculator.py          Rechner-Plugin
  systeminfo.py          System-Info Plugin

Schnellstart

1. Plugin erstellen

from plugin_system import PluginBase

class MeinPlugin(PluginBase):
    name = "MeinPlugin"
    version = "1.0.0"

    def execute(self, *args, **kwargs):
        return {"status": "ok", "message": "Hallo!"}

2. PluginManager nutzen

from plugin_system import PluginManager

manager = PluginManager(plugins_dir="./meine_plugins")
plugins = manager.discover_plugins()

# Alle Plugins auflisten
manager.list_plugins()

# Plugin ausfuehren
success, result = manager.execute_plugin("MeinPlugin", param="wert")
if success:
    print(result)

3. In eigene App integrieren

class MeineApp:
    def __init__(self):
        self.plugins = PluginManager("./plugins")
        self.plugins.discover_plugins()

    def run_command(self, command, **params):
        success, result = self.plugins.execute_plugin(command, **params)
        return result if success else None

Plugin-Interface

Jedes Plugin muss:

AnforderungDetails
PluginBase erbenfrom plugin_system import PluginBase
name setzenKlassenattribut, nicht leer
version setzenKlassenattribut, Semantic Versioning
execute() implementierenBeliebige *args, **kwargs

Fehlertoleranz

FehlertypVerhalten
SyntaxError im PluginPlugin wird uebersprungen, Rest laedt
Fehlende AttributePlugin wird als is_valid=False markiert
Exception in execute()Gibt (False, error_message) zurueck
Kein Plugin im VerzeichnisLeere Liste, kein Crash

Changelog

1.0.0 (2026-03-12)

  • Migration aus MODULAR_AGENTS/plugins in Skillbibliothek
  • PluginBase ABC + PluginManager
  • 3 Beispiel-Plugins (Hello, Calculator, SystemInfo)
  • 16+ Unit-Tests
  • CLI-Demo mit argparse

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Akademisches Studien- und Fristenmanagement mit Quellenprüfung, Datenschutz und realistischer Handlungsplanung.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

Aktives Lernen, Erarbeitung von Fachinhalten und strukturierte Erstellung von Synthesen.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

Prüfungsvorbereitung, Selbsttests, Probeklausuren und systematische Fehleranalyse.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

Terapia de Aceptación y Compromiso (ACT) según Steven Hayes: modelo Hexaflex con los seis procesos nucleares de la flexibilidad psicológica.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

Acceptance & Commitment Therapy (ACT) nach Steven Hayes: Hexaflex-Modell mit den sechs Kernprozessen psychischer Flexibilität.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

スティーブン・ヘイズによるアクセプタンス&コミットメント・セラピー(ACT):心理的柔軟性の6つのコアプロセスを備えたヘキサフレックス・モデル。

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

See all skills by ellmos-ai

Report a problem with this skill