Skip to main content

Structured Skills for Agents

Project description

structured_skills

PyPI version CI

Structured Skills for Agents - launch MCP servers from skill directories

No LLM Required

This library works perfectly without any LLM. Skills are explicitly defined with scripts and resources you control. Unlike AI agents that can execute arbitrary commands, structured_skills only runs what you've explicitly defined in your skill directories. Everything is gated by the scripts you write - no surprises, no unbounded execution.

Usage

Quick usage to launch MCP server:

structured_skills run path/to/root/skills

To test via CLI:

structured_skills cli list_skills
structured_skills cli load_skill <skill_name>
structured_skills cli read_skill_resource <skill_name> <resource_name>
structured_skills cli run_skill <skill_name> <function_name>

Programmatically:

from structured_skills import SkillRegistry

registry = SkillRegistry("/path/to/skills")

# List all available skills
registry.list_skills()

# Load full skill instructions
registry.load_skill(skill_name)

# Read a resource (file, script, or function info)
registry.read_skill_resource(skill_name, resource_name, args)

# Execute a skill function
registry.run_skill(skill_name, function_name, args)

Validation

Perform checks with suggested fixes:

structured_skills check path/to/root/skills
structured_skills check path/to/root/skills --fix  # try to fix observed issues

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

structured_skills-0.2.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

structured_skills-0.2.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file structured_skills-0.2.0.tar.gz.

File metadata

  • Download URL: structured_skills-0.2.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for structured_skills-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5fd624d3b869abd9caecf6e935bda4ed01a211d93d5b3331882f3477a9547139
MD5 ce5514f3adf06b09dff4a49399ce170e
BLAKE2b-256 c53b99df3e52ee3189a0e355bef16ae8103aace9aab190666b1eb042a60b5231

See more details on using hashes here.

File details

Details for the file structured_skills-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: structured_skills-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for structured_skills-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a87c4833e61f7110b47718f258725221f0603c8f4a0467ea08533eed1c6f630
MD5 1fc3c3d0668e9859db78378efde4a69f
BLAKE2b-256 3815d29daec2cd8cbc36a94beb6c8c4996587f2dec9b6bd171ce189d07a6d1ee

See more details on using hashes here.

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