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…
by 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
About this skill
Swarmauri Add Base Mixin
Workflow
- Inspect sibling mixins in the target
swarmauri_basefamily before choosing inheritance. - Prefer the local mixin pattern: mixins usually inherit the matching core interface and
BaseModel, or the narrowest existing base needed by sibling code. - Add typed fields and methods without registering the mixin as a
ComponentBasemodel unless the surrounding family already does so. - Update family exports if sibling mixins are exported.
- 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
InterfaceRegistryunless 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
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…