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

The goal of this library is that it works 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>
# support sessions if memory/history is required
structured_skills cli run_skill --session-name my-session-name <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.1.tar.gz (12.7 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.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: structured_skills-0.2.1.tar.gz
  • Upload date:
  • Size: 12.7 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.1.tar.gz
Algorithm Hash digest
SHA256 9dc38e2b13ca40ccc073f051586979962dbf89508e6fe8b99bddfeeeedf55c2d
MD5 bb9d8c244488ec0574fa936a6ab76cf9
BLAKE2b-256 954dedeab011b19ac9e81aaebbcb4773a1bf32252392a49554de34690153a445

See more details on using hashes here.

File details

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

File metadata

  • Download URL: structured_skills-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7794807c176c71fc776911246b4390787dbe661e5a64299edd72cec9815c2257
MD5 906d1a229593b44c2e3a4bf68c525c4e
BLAKE2b-256 006f3eca00ea77099e4c7f154cedd244820f342eefdad50d2f029add54b6ee22

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