Skip to main content

Module runtime

Module runtime 

Source
Expand description

§skrun

Runtime owns executable skill artifacts.

§Owns

  • executable skill artifact manifest
  • rust binary skill scaffold, build, and run
  • uv-backed Python skill scaffold, sync, and run
  • stdio JSON skill protocol enforcement
  • artifact path validation

§Must Not

  • own agent planning
  • parse @skill mentions
  • render UI
  • own durable chat or task state
  • manage provider credentials

§Inputs

  • artifact directory
  • JSON input value
  • local Cargo or uv executable

§Outputs

  • artifact manifest
  • JSON output object
  • build and run diagnostics

§Depends On

  • serde_json

§Used By

  • Python package
  • future CLI and server skill entrypoints

§Verify

  • cargo test -p skrun

Structs§

ArtifactProtocol
ArtifactSchema
ArtifactSource
BuildOptions
InstallOptions
RunOptions
ScaffoldOptions
SkillArtifact
SkillRunOutput

Enums§

ArtifactKind

Constants§

ARTIFACT_FILE
DEFAULT_SCHEMA_VERSION
SKILLS_DIR_ENV
SKILL_FILE

Functions§

artifact_path
build_skill
default_skills_dir
install_local_skill
list_installed_skills
load_artifact
run_skill
save_artifact
scaffold_skill
skill_markdown_path
validate_id