Agent skill

Swarmauri Add Base Mixin

by swarmauri in swarmauri/swarmauri-sdk

Add or update a Swarmauri SDK base mixin in pkgs/base/swarmauribase.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Swarmauri Add Base Mixin

skills CLI
$ npx skills add swarmauri/swarmauri-sdk --skill swarmauri-add-base-mixin -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install swarmauri/swarmauri-sdk swarmauri-add-base-mixin --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/swarmauri/swarmauri-sdk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/swarmauri-sdk-authoring/skills/swarmauri-add-base-mixin .claude/skills/swarmauri-add-base-mixin && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swarmauri-add-base-mixin
GitHub stars
104
Token cost
~318 tokens
SKILL.md length
123 words
Files
2
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

Add or update a Swarmauri SDK base mixin in pkgs/base/swarmauribase.

  • Works in 5 steps: Inspect sibling mixins in the target… → Prefer the local mixin pattern: mixins… → Add typed fields and methods without… → …
  • Codex needs reusable mixin behavior tied to existing interfaces
  • SKILL.md covers Workflow, Required References and Completion Checks
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Swarmauri Add Base Mixin is an agent skill from swarmauri/swarmauri-sdk. Add or update a Swarmauri SDK base mixin in pkgs/base/swarmauribase. 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.

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in AI & LLM Engineering. It works with Pydantic and Python. The repository describes itself as: Modular Python SDK and monorepo for AI agents, LLM integrations, tools, parsers, embeddings, vector stores, and extensible application workflows. The licence is Apache-2.0.

When your agent uses it

  • Codex needs reusable mixin behavior tied to existing interfaces
  • With correct Pydantic inheritance
  • Tests without unnecessary registry entries

Example prompts

  • “/swarmauri-add-base-mixin”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  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…
  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.

What it can do on your machine

Read from SKILL.md and the folder at commit f5580ff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swarmauri Add Base Mixin loads about 318 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 123 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~318

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from swarmauri/swarmauri-sdk at commit f5580ff, republished under its Apache-2.0 licence (© swarmauri). 123 words, ~318 tokens.

Download SKILL.mdSave it as .claude/skills/swarmauri-add-base-mixin/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
swarmauri-add-base-mixin
description
Add or update a Swarmauri SDK base mixin in pkgs/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.

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/base.

© swarmauri, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/swarmauri-sdk-authoring/skills/swarmauri-add-base-mixin of swarmauri/swarmauri-sdk.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit f5580ff

Compare with similar skills

Swarmauri Add Base Mixin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swarmauri Add Base Mixin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swarmauri Add Base Mixin this skillswarmauri/swarmauri-sdk104—~318Automated safety check: PassApache-2.0
Building Pydantic AI Agentsdocling-project/docling69k—~2.8kAutomated safety check: PassMIT
Prompt Engineering Patternswshobson/agents40k—~1.3kAutomated safety check: PassMIT
Migrating Agno To Pydantic AIpydantic/pydantic-ai21k—~1.8kAutomated safety check: PassMIT
Outlines Structured GenerationOrchestra-Research/AI-Research-SKILLs13k9 repos~4kAutomated safety check: PassMIT
Migrating Langchain To Pydantic AIpydantic/pydantic-ai21k—~2.5kAutomated safety check: PassMIT

Similar skills

  • Building Pydantic AI Agents

    docling-project/docling

    Patterns and tested examples for building agents with Pydantic AI: tools, capabilities, structured output, dependency injection, hooks, YAML specs, streaming and testing.

    69k GitHub stars~2.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Reference for designing and tuning production LLM prompts: few-shot examples, chain-of-thought, structured outputs, templates and system prompts.

    40k GitHub stars~1.3k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed
  • Migrating Agno To Pydantic AI

    pydantic/pydantic-ai

    Official

    Migrate Python Agno applications to Pydantic AI and, only when needed, Pydantic AI Harness.

    21k GitHub stars~1.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Outlines Structured Generation

    Orchestra-Research/AI-Research-SKILLs

    Uses the Outlines library to constrain model output to a JSON schema, Pydantic model, regex or fixed set of choices when running local models.

    13k GitHub starsUsed in 9 repos~4k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Migrate Python LangChain, LangGraph, or Deep Agents applications to Pydantic AI and, when the source uses harness features, Pydantic AI Harness.

    21k GitHub stars~2.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Uipath Functions

    UiPath/skills

    UiPath Coded Functions — deterministic Python or TypeScript/JavaScript units built with the uip function CLI (new -l py|ts|js, init, serve, run, pack, publish); the functions map in uipath.json…

    167 GitHub stars~3.6k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes

More from swarmauri/swarmauri-sdk

All 8 skills in this repo
  • Swarmauri Add Base Class

    swarmauri/swarmauri-sdk

    Add or update a Swarmauri SDK base class in pkgs/base/swarmauribase.

    104 GitHub stars~359 tokensUpdated 1 mo ago
    Auto-check passed
  • Swarmauri Add Community Standalone

    swarmauri/swarmauri-sdk

    Add a second-class standalone Swarmauri package under pkgs/community.

    104 GitHub stars~387 tokensUpdated 1 mo ago
    Auto-check passed
  • Swarmauri Add Core Interface

    swarmauri/swarmauri-sdk

    Add or update a Swarmauri SDK core interface in pkgs/core/swarmauricore.

    104 GitHub stars~383 tokensUpdated 1 mo ago
    Auto-check passed
  • Add an experimental standalone Swarmauri package under pkgs/experimental.

    104 GitHub stars~457 tokensUpdated 1 mo ago
    Auto-check passed
  • Swarmauri Add Plugin Package

    swarmauri/swarmauri-sdk

    Add a Swarmauri plugin package under pkgs/plugins. An agent skill from swarmauri/swarmauri-sdk.

    104 GitHub stars~435 tokensUpdated 1 mo ago
    Auto-check passed
  • Swarmauri Add Standards Standalone

    swarmauri/swarmauri-sdk

    Add a first-class standalone Swarmauri package under pkgs/standards.

    104 GitHub stars~403 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Swarmauri Add Base Mixin

What does Swarmauri Add Base Mixin do?

Add or update a Swarmauri SDK base mixin in pkgs/base/swarmauribase. Swarmauri Add Base Mixin is an agent skill from swarmauri/swarmauri-sdk. Add or update a Swarmauri SDK base mixin in pkgs/base/swarmauribase.

When should I use Swarmauri Add Base Mixin?

Swarmauri Add Base Mixin fits situations like: Codex needs reusable mixin behavior tied to existing interfaces; with correct Pydantic inheritance; tests without unnecessary registry entries.

How do I install Swarmauri Add Base Mixin in Claude Code?

Run `npx skills add swarmauri/swarmauri-sdk --skill swarmauri-add-base-mixin -a claude-code`. Or copy the skill folder (plugins/swarmauri-sdk-authoring/skills/swarmauri-add-base-mixin in swarmauri/swarmauri-sdk) into .claude/skills/swarmauri-add-base-mixin in your project. Claude Code loads it when a task matches its description.

How do I install Swarmauri Add Base Mixin in Codex?

Run `npx skills add swarmauri/swarmauri-sdk --skill swarmauri-add-base-mixin -a codex`. Or copy the skill folder (plugins/swarmauri-sdk-authoring/skills/swarmauri-add-base-mixin in swarmauri/swarmauri-sdk) into .agents/skills/swarmauri-add-base-mixin in your project. Codex loads it when a task matches its description.

Can I use Swarmauri Add Base Mixin in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add swarmauri/swarmauri-sdk --skill swarmauri-add-base-mixin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swarmauri-add-base-mixin, .gemini/skills/swarmauri-add-base-mixin, .github/skills/swarmauri-add-base-mixin and .opencode/skills/swarmauri-add-base-mixin in your project.

What does Swarmauri Add Base Mixin need to run?

SKILL.md names no scripts, command-line tools or credentials: Swarmauri Add Base Mixin is instructions for the agent only.

Does Swarmauri Add Base Mixin access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Swarmauri Add Base Mixin safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Swarmauri Add Base Mixin use?

Swarmauri Add Base Mixin is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Swarmauri Add Base Mixin use?

About 318 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Swarmauri Add Base Mixin?

Skills that share tags, products or a category with Swarmauri Add Base Mixin: Building Pydantic AI Agents (docling-project/docling, 69k stars), Prompt Engineering Patterns (wshobson/agents, 40k stars), Migrating Agno To Pydantic AI (pydantic/pydantic-ai, 21k stars) and Outlines Structured Generation (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swarmauri Add Base Mixin?

swarmauri (a GitHub organization) maintains it in swarmauri/swarmauri-sdk, which has 104 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 12, 2026.

Source: swarmauri/swarmauri-sdk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.