Agent skill

Swarmauri Add Base Class

by swarmauri in swarmauri/swarmauri-sdk

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

Apache-2.0Auto-check passedAI & LLM Engineering

Install Swarmauri Add Base Class

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

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

GitHub CLI
$ gh skill install swarmauri/swarmauri-sdk swarmauri-add-base-class --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-class .claude/skills/swarmauri-add-base-class && 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-class
GitHub stars
104
Token cost
~359 tokens
SKILL.md length
125 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 class in pkgs/base/swarmauribase.

  • Works in 6 steps: Read the matching core interface and… → Implement the base class by inheriting… → Set resource from ResourceTypes, add… → …
  • Codex needs to implement a base class over a core interface
  • 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 Class is an agent skill from swarmauri/swarmauri-sdk. Add or update a Swarmauri SDK base class in pkgs/base/swarmauribase. Use when Codex needs to implement a base class over a core interface, update ResourceTypes, wire InterfaceRegistry, set ComponentBase registration, exports, and focused tests.

Its SKILL.md is about 360 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 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 to implement a base class over a core interface
  • Update ResourceTypes
  • Wire InterfaceRegistry
  • Set ComponentBase registration

Example prompts

  • “/swarmauri-add-base-class”

Workflow steps

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

  1. Read the matching core interface and nearby base classes in pkgs/base/swarmauri_base//.
  2. Implement the base class by inheriting the core interface and ComponentBase; use @ComponentBase.register_model() for base models.
  3. Set resource from ResourceTypes, add type: Literal[""] = "", and use existing Pydantic field conventions.
  4. Update family exports when the package uses them.
  5. If this is a new resource family, update ResourceTypes and pkgs/swarmauri/swarmauri/interface_registry.py.
  6. Add focused tests for importability, resource value, serialization where relevant, and interface-registry lookup when registry wiring…

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 Class loads about 359 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 125 words of instructions outside code blocks.

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

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). 125 words, ~359 tokens.

Download SKILL.mdSave it as .claude/skills/swarmauri-add-base-class/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-class
description
Add or update a Swarmauri SDK base class in pkgs/base/swarmauri_base. Use when Codex needs to implement a base class over a core interface, update ResourceTypes, wire InterfaceRegistry, set ComponentBase registration, exports, and focused tests.

Swarmauri Add Base Class

Workflow

  1. Read the matching core interface and nearby base classes in pkgs/base/swarmauri_base/<family>/.
  2. Implement the base class by inheriting the core interface and ComponentBase; use @ComponentBase.register_model() for base models.
  3. Set resource from ResourceTypes, add type: Literal["<BaseName>"] = "<BaseName>", and use existing Pydantic field conventions.
  4. Update family exports when the package uses them.
  5. If this is a new resource family, update ResourceTypes and pkgs/swarmauri/swarmauri/interface_registry.py.
  6. Add focused tests for importability, resource value, serialization where relevant, and interface-registry lookup when registry wiring changed.

Required References

Read these before changing files:

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

Completion Checks

  • Keep concrete implementations out of swarmauri_base.
  • Do not add entry points for base classes.
  • Run validation for pkgs/base; also run pkgs/swarmauri tests if InterfaceRegistry changed.

© 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-class of swarmauri/swarmauri-sdk.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit f5580ff

Compare with similar skills

Swarmauri Add Base Class 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 Class compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swarmauri Add Base Class this skillswarmauri/swarmauri-sdk104—~359Automated safety check: PassApache-2.0
LLM Benchmarking with lm-evaluation-harnessOrchestra-Research/AI-Research-SKILLs13k8 repos~3kAutomated safety check: PassMIT
Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs13k8 repos~3.3kAutomated safety check: PassMIT
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k7 repos~2.3kAutomated safety check: PassMIT
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k7 repos~1.7kAutomated safety check: PassMIT
Paddle Design DistributedPaddlePaddle/Paddle24k—~660Automated safety check: PassApache-2.0

Similar skills

  • LLM Benchmarking with lm-evaluation-harness

    Orchestra-Research/AI-Research-SKILLs

    Runs lm-evaluation-harness to benchmark language models on academic suites such as MMLU, GSM8K and HumanEval, compare models and track training checkpoints.

    13k GitHub starsUsed in 8 repos~3k tokens
    AI & LLM EngineeringAuto-check passed
  • Segment Anything Model Guide

    Orchestra-Research/AI-Research-SKILLs

    Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.

    13k GitHub starsUsed in 8 repos~3.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Chroma Vector Database

    Orchestra-Research/AI-Research-SKILLs

    Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.

    13k GitHub starsUsed in 7 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 7 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Paddle Design Distributed

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle's distributed training system: understanding parallelism strategies (DP, ZeRO, TP, PP, SP), semi-automatic parallel with ProcessMesh + shardtensor…

    24k GitHub stars~660 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Onnxtxt

    onnx/onnx

    Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.

    22k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from swarmauri/swarmauri-sdk

All 8 skills in this repo
  • Swarmauri Add Base Mixin

    swarmauri/swarmauri-sdk

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

    104 GitHub stars~318 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 Class

What does Swarmauri Add Base Class do?

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

When should I use Swarmauri Add Base Class?

Swarmauri Add Base Class fits situations like: Codex needs to implement a base class over a core interface; update ResourceTypes; wire InterfaceRegistry; set ComponentBase registration.

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

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

How do I install Swarmauri Add Base Class in Codex?

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

Can I use Swarmauri Add Base Class 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-class -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-class, .gemini/skills/swarmauri-add-base-class, .github/skills/swarmauri-add-base-class and .opencode/skills/swarmauri-add-base-class in your project.

What does Swarmauri Add Base Class need to run?

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

Does Swarmauri Add Base Class 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 Class 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 Class use?

Swarmauri Add Base Class 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 Class use?

About 359 tokens (SKILL.md is roughly 1.4k 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 Class?

Skills that share tags, products or a category with Swarmauri Add Base Class: LLM Benchmarking with lm-evaluation-harness (Orchestra-Research/AI-Research-SKILLs, 13k stars), Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars), Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars) and CLIP Image-Text Matching (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 Class?

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.