Skip to main content

A framework for modular, self-contained AI skills.

Project description

Skillware Logo

A Python framework for modular, self-contained skill management for machines.


License Python Version PyPI Version


Skillware is an open-source framework and registry for modular, actionable Agent capabilities. It treats Skills as installable content, decoupling capability from intelligence. Just as apt-get installs software and pip installs libraries, skillware installs know-how for AI agents.

"I know Kung Fu." - Neo

Mission

The AI ecosystem is fragmented. Developers often re-invent tool definitions, system prompts, and safety rules for every project. Skillware supplies a standard to package capabilities into self-contained, installable units that work across Gemini, Claude, Ollama, GPT, and Llama. For the full story and roadmap, see our Vision.

A Skill in this framework provides everything an Agent needs to master a domain:

  1. Logic: Executable Python so agents run real work, not guess it.
  2. Cognition: System instructions and cognitive maps so any logical system uses the capability as intended.
  3. Governance: Constitution, safety boundaries, and hard limits baked into the bundle.
  4. Interface: Standardized tool schemas for any LLM or agent runtime.

Skill library

Browse capabilities by category in the Skill library or on our site ↗.

Architecture

This repository is organized into a core framework, a registry of skills, and documentation. Runnable provider scripts are indexed in examples/README.md.

Skillware/
├── docs/                       # Introduction, testing, skill catalog, usage guides (docs/usage/)
├── examples/                   # Provider reference scripts — usage demos, not pytest (see examples/README.md)
├── skills/                     # Skill Registry
│   └── category/               # Domain boundaries (e.g., finance)
│       └── skill_name/         # The Skill bundle
│           ├── manifest.yaml   # Definition, schema, and constitution
│           ├── skill.py        # Executable Python logic
│           ├── instructions.md # Cognitive map for the LLM
│           ├── card.json       # Optional UI presentation metadata
│           └── test_skill.py   # Bundle test (required for new skills; see docs/TESTING.md)
├── skillware/                  # Core Framework Package
│   ├── cli.py                  # Command-line interface
│   └── core/
│       ├── base_skill.py       # Abstract Base Class for skills
│       ├── env.py              # Environment Management
│       └── loader.py           # Universal Skill Loader and Model Adapter
├── templates/                  # Boilerplate templates for new skills
│   └── python_skill/           # Standard template with required files
└── tests/                      # Clone-repo tests (framework + optional maintainer skill tests)
    ├── test_*.py               # Framework tests (loader, CLI, issuer, …)
    └── skills/                 # Optional maintainer skill tests (edge cases)

Quick Start

Requires Python 3.10 or newer (see requires-python in pyproject.toml).

1. Installation

You can install Skillware directly from PyPI:

pip install skillware

Or for development, clone the repository and install in editable mode:

git clone https://github.com/arpahls/skillware.git
cd skillware
pip install -e ".[dev,all]"

For documentation-only work, pip install -e ".[dev]" is enough. Skill and framework contributors should use [dev,all] to match CI (see TESTING.md).

Note: Individual skills may have their own dependencies. The SkillLoader validates manifest.yaml and warns of missing packages (e.g., requests, pandas) upon loading a skill.

2. Verify your installation

skillware list

This prints a table of all locally available skills and confirms the install and path resolution are working. Running skillware with no arguments opens the interactive menu.

If skillware is not recognized, Python's Scripts directory may not be on your PATH — use python -m skillware list as a fallback. See CLI Reference for details.

3. Configuration

Copy the environment template and add your keys.

Unix / macOS:

cp .env.example .env

Windows (PowerShell):

Copy-Item .env.example .env

Edit .env with agent keys (for example Gemini) and any keys your skills need. Agent keys power your LLM client; skill keys are declared per skill in the Skill library. See API keys for skills for setup, security, and framework variables.

4. Usage Example (Gemini)

This example requires the Google SDK optional extra: pip install "skillware[gemini]" (local dev: pip install -e ".[gemini]"). See the Gemini usage guide for setup details.

import os
import google.genai as genai
from google.genai import types
from skillware.core.loader import SkillLoader
from skillware.core.env import load_env_file

# Load Environment
load_env_file()

# 1. Load the Skill from the Registry
# The loader reads the code, manifest, and instructions automatically
skill_bundle = SkillLoader.load_skill("finance/wallet_screening")
skill = skill_bundle["module"].WalletScreeningSkill(
    config={"ETHERSCAN_API_KEY": os.environ.get("ETHERSCAN_API_KEY")}
)

# 2. Client & Tool Setup
client = genai.Client()
tool = SkillLoader.to_gemini_tool(skill_bundle)       # The "Adapter"
system_instruction = skill_bundle['instructions']     # The "Mind"

# 3. Agent Loop
response = client.models.generate_content(
    model="gemini-2.5-flash",
    contents="Screen wallet 0xd8dA... for risks.",
    config=types.GenerateContentConfig(
        tools=[tool],
        system_instruction=system_instruction,
    ),
)

for part in response.candidates[0].content.parts:
    if part.function_call:
        result = skill.execute(dict(part.function_call.args))
        follow_up = client.models.generate_content(
            model="gemini-2.5-flash",
            contents=[
                "Use this tool result to answer the original request.",
                {
                    "function_response": {
                        "name": part.function_call.name,
                        "response": {"result": result},
                    }
                },
            ],
            config=types.GenerateContentConfig(
                tools=[tool],
                system_instruction=system_instruction,
            ),
        )
        print(follow_up.text)
    else:
        print(part.text)

For other providers and shared integration patterns, see the usage guides index, agent loops, Gemini, Claude, OpenAI, DeepSeek, Ollama, API keys for skills, and the skill usage template for contributors.

Documentation

Topic Links
Introduction Introduction · Vision · Comparison
Usage guides Skill Library · Usage Guide · Examples · Agent Loops · API Keys · CLI
Contributing Contributing · Agent Native Workflow · Testing · Changelog

Contributing

We are building the "App Store" for Agents. Skills are the main contribution, but documentation, tests, and framework fixes are welcome too. Human operators and supervised agents follow the same standards: scoped PRs, deterministic behavior, and verified tests.

See the Contributing row in Documentation for the full path, Contributing (types, skill standard, PR process), Agent Native Workflow (for autonomous and semi-autonomous agents), Testing (Black, Flake8, framework and skill pytest, pre-PR checklist), and Changelog (user-facing entries under [Unreleased]).

Also read the Agent Code of Conduct. Open PRs with the pull request template and complete only the sections that apply.

Comparison

Skillware differs from the Model Context Protocol (MCP), and Agent Skills (SKILL.md) in several ways:

  • Model Agnostic: Native adapters for Gemini, Claude, Ollama, and OpenAI.
  • Code-First: Skills are executable Python packages, not just server specs.
  • Runtime-Focused: Provides tools for the application, not just recipes for an IDE.

Read the full comparison here.

Contact

For questions, suggestions, or contributions, please open an issue or reach out to us:

For skill-specific questions or reaching a skill's maintainer, check issuer and author details on the skill card, in the repo Skill Library, or on our website's skills catalog ↗.


ARPA Logo
Built & Maintained by ARPA Hellenic Logical Systems & the Community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skillware-0.3.9.tar.gz (505.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skillware-0.3.9-py3-none-any.whl (534.9 kB view details)

Uploaded Python 3

File details

Details for the file skillware-0.3.9.tar.gz.

File metadata

  • Download URL: skillware-0.3.9.tar.gz
  • Upload date:
  • Size: 505.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skillware-0.3.9.tar.gz
Algorithm Hash digest
SHA256 a8e8619da298ed9af58f575e8c18031dd404ed371664ddb6755b8d0a476de62c
MD5 66bc77d3d08b335a1245a07c322fe1ad
BLAKE2b-256 ddeb947771adf1243f64a4d9e03d080735c229db0af8566d4009590f764ab3f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for skillware-0.3.9.tar.gz:

Publisher: publish.yml on ARPAHLS/skillware

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skillware-0.3.9-py3-none-any.whl.

File metadata

  • Download URL: skillware-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 534.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skillware-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e8877f6e18307aea6ec8c3bb82707e2ea3b4c2d10a3c7bc2d6f59af46ff970
MD5 154a9cef29872d0e005c8f48ce725a59
BLAKE2b-256 5bd94206f3e37925d5114425b4cc88ccd7332f49073cb0debde1c0f577d5fbd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for skillware-0.3.9-py3-none-any.whl:

Publisher: publish.yml on ARPAHLS/skillware

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page