Command Palette

Search for a command to run...

Back to skills
skill № 72160

swarmauri-add-base-mixin

Add or update a Swarmauri SDK base mixin in pkgs/20-bases/swarmauri_base/swarmauri_base. Use when Codex needs reusable mixin behavior tied to existing…

FreeNo executable scripts
swarmauriby swarmauri★ 107 GitHub stars

Install swarmauri-add-base-mixin in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Swarmauri Add Base Mixin

Workflow

  1. Inspect sibling mixins in the target swarmauri_base family before choosing inheritance.
  2. Prefer the local mixin pattern: mixins usually inherit the matching core interface and BaseModel, or the narrowest existing base needed by sibling code.
  3. Add typed fields and methods without registering the mixin as a ComponentBase model unless the surrounding family already does so.
  4. Update family exports if sibling mixins are exported.
  5. Add focused tests for validation behavior, method behavior, and import compatibility.

Required References

Read these before changing files:

  • ../../references/repo-patterns.md
  • ../../references/inheritance-entrypoints.md
  • ../../references/registry-rules.md

Completion Checks

  • Do not update InterfaceRegistry unless the mixin creates a new resource kind, which should be rare.
  • Do not add package entry points for mixins.
  • Run validation for pkgs/20-bases/swarmauri_base.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • agents/openai.yaml

FAQ

What does the swarmauri-add-base-mixin skill do?

Add or update a Swarmauri SDK base mixin in pkgs/20-bases/swarmauri_base/swarmauri_base. Use when Codex needs reusable mixin behavior tied to existing interfaces or base classes, with correct Pydantic inheritance, exports, and tests without unnecessary registry entries.

How do I install the swarmauri-add-base-mixin skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the swarmauri-add-base-mixin skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare swarmauri-add-base-mixin with