Observed since 20 Oct, 23:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
agentskills-runtime
Python SDK for AgentSkills Runtime - Install, manage, and execute AI agent skills with built-in runtime support
Python SDK for AgentSkills Runtime - Install, manage, and execute AI agent skills with built-in runtime support.
pip install agentskills-runtime
After installation, the skills CLI command is available.
Note: If the
skillscommand is not found due to PATH not being set, you can usepython -m agent_skills.clias an alternative. For example:
skills start→python -m agent_skills.cli startskills list→python -m agent_skills.cli listskills install-runtime→python -m agent_skills.cli install-runtime
python -m agent_skills.cli <command>
# Examples:
python -m agent_skills.cli --help
python -m agent_skills.cli start
python -m agent_skills.cli list
On Windows, the CLI is installed to your Python Scripts directory. Add it to PATH:
# PowerShell (temporary, current session only)
$env:PATH += ";$env:APPDATA\Python\Python38\Scripts"
# Or permanently via System Properties > Environment Variables
On macOS/Linux:
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export PATH="$HOME/.local/bin:$PATH"
# Download and install the AgentSkills runtime
skills install-runtime
# Or using Python module
python -m agent_skills.cli install-runtime
# Or specify a version
skills install-runtime --runtime-version 0.0.16
Before starting the runtime, you need to configure the AI model API key. The runtime requires an AI model to process skill execution and natural language understanding.
Edit the .env file in the runtime directory:
%USERPROFILE%\.agentskills-runtime\<platform>-<arch>\release\.env~/.agentskills-runtime/<platform>-<arch>/release/.envWhere <platform>-<arch> is your system architecture, e.g., win-x64, darwin-x64, or linux-x64
Add your AI model configuration (choose one provider):
# Option 1: StepFun (阶跃星辰)
MODEL_PROVIDER=stepfun
MODEL_NAME=step-1-8k
STEPFUN_API_KEY=your_stepfun_api_key_here
STEPFUN_BASE_URL=https://api.stepfun.com/v1
# Option 2: DeepSeek
MODEL_PROVIDER=deepseek
MODEL_NAME=deepseek-chat
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# Option 3: 华为云 MaaS
MODEL_PROVIDER=maas
MAAS_API_KEY=your_maas_api_key_here
MAAS_BASE_URL=https://api.modelarts-maas.com/v2
MAAS_MODEL_NAME=qwen3-coder-480b-a35b-instruct
# Option 4: Sophnet
MODEL_PROVIDER=sophnet
SOPHNET_API_KEY=your_sophnet_api_key_here
SOPHNET_BASE_URL=https://www.sophnet.com/api/open-apis/v1
Note: Without proper AI model configuration, the runtime will fail to start with an error like "Get env variable XXX_API_KEY error."
# Start in background (default)
skills start
# Start in foreground
skills start --foreground
# Custom port and host
skills start --port 3000 --host 0.0.0.0
# Find and install skills
skills find react
skills add ./my-skill
# List installed skills
skills list
# Execute a skill
skills run my-skill -p '{"input": "data"}'
skills install-runtimeDownload and install the AgentSkills runtime binary.
skills install-runtime
skills install-runtime --runtime-version 0.0.16
skills startStart the AgentSkills runtime server.
# Start in background (default)
skills start
# Start in foreground
skills start --foreground
# Custom configuration
skills start --port 3000 --host 0.0.0.0
Options:
-p, --port <port> - Port to listen on (default: 8080)-h, --host <host> - Host to bind to (default: 127.0.0.1)-f, --foreground - Run in foreground (default: background)skills stopStop the AgentSkills runtime server.
skills stop
skills statusCheck the status of the skills runtime server.
skills status
skills find [query]Search for skills interactively or by keyword.
skills find
skills find react testing
skills find "pdf generation"
skills find skill --source github --limit 10
skills find skill --source atomgit --limit 5
Options:
-l, --limit <number>: Maximum number of results, default 10-s, --source <source>: Search source, options: all (default), github, gitee, atomgitNote: AtomGit search requires setting the ATOMGIT_TOKEN environment variable in the runtime's .env configuration file.
skills add <source>Install a skill from GitHub or local path.
# Install from local directory
skills add ./my-skill
# Install from GitHub repository
skills add github.com/user/skill-repo
skills add github.com/user/skill-repo --branch develop
# Install from multi-skill repository (specify subdirectory)
skills add https://github.com/user/skills-repo/tree/main/skills/my-skill
skills add https://atomgit.com/user/skills-repo/tree/main/skills/skill-creator
# Install with options
skills add github.com/user/skill-repo -y # Skip confirmation
skills add github.com/user/skill-repo --branch develop --commit abc123
Options:
-g, --global: Install globally (user-level)-p, --path <path>: Local path to skill-b, --branch <branch>: Git branch name-t, --tag <tag>: Git tag name-c, --commit <commit>: Git commit ID-n, --name <name>: Skill name override--validate/--no-validate: Validate skill before installation (default: True)-y, --yes: Skip confirmation promptsTip: For repositories containing multiple skills, use the
/tree/<branch>/<skill-path>format to specify the exact subdirectory. This avoids the interactive selection prompt.
skills listList installed skills.
skills list
skills list --limit 50 --page 1
skills list --json
Options:
-l, --limit <number>: Maximum number of results, default 20-p, --page <number>: Page number, default 0--json: Output as JSONskills run <skillId>Execute a skill.
skills run my-skill -p '{"param1": "value"}'
skills run my-skill --tool tool-name -p '{"param1": "value"}'
skills run my-skill -i # Interactive mode
Options:
-t, --tool <name>: Tool name to execute-p, --params <json>: Parameters as JSON string-f, --params-file <file>: Parameters from JSON file-i, --interactive: Interactive parameter inputskills remove <skillId>Remove an installed skill.
skills remove my-skill
skills rm my-skill -y
Options:
-y, --yes: Skip confirmation promptskills info <skillId>Show detailed information about a skill.
skills info my-skill
skills init [name]Initialize a new skill project.
skills init my-new-skill
skills init my-new-skill --directory ./skills
Options:
-d, --directory <dir>: Target directory, default: current directory-t, --template <template>: Skill template, default: basicskills checkCheck for skill updates.
skills check
from agent_skills import SkillsClient, create_client
# Create a client
client = create_client()
# List skills
result = client.list_skills(limit=10)
for skill in result.skills:
print(f"{skill.name}: {skill.description}")
# Execute a skill
result = client.execute_skill("my-skill", {"input": "data"})
if result.success:
print(result.output)
else:
print(f"Error: {result.error_message}")
from agent_skills import RuntimeManager, RuntimeOptions
manager = RuntimeManager()
# Check if runtime is installed
if not manager.is_installed():
# Download and install runtime
manager.download_runtime("0.0.16")
# Start runtime
options = RuntimeOptions(port=8080, host="127.0.0.1")
process = manager.start(options)
# Check status
status = manager.status()
print(f"Running: {status.running}, Version: {status.version}")
# Stop runtime
manager.stop()
from agent_skills import define_skill, SkillMetadata, ToolDefinition, ToolParameter, ParamType
# Define a skill
skill = define_skill(
metadata=SkillMetadata(
name="my-skill",
version="1.0.0",
description="My custom skill",
author="Your Name",
),
tools=[
ToolDefinition(
name="my-tool",
description="A tool that does something",
parameters=[
ToolParameter(
name="input",
param_type=ParamType.STRING,
description="Input parameter",
required=True,
),
],
),
],
)
from agent_skills import get_config
# Get configuration from environment variables prefixed with SKILL_
config = get_config()
api_key = config.get("API_KEY") # From SKILL_API_KEY env var
SKILL_RUNTIME_API_URL: API server URL (default: http://127.0.0.1:8080)SKILL_INSTALL_PATH: Default path for skill installationSKILL_*: Custom configuration accessible via get_config()# Clone the repository
git clone https://atomgit.com/uctoo/agentskills-runtime.git
cd agentskills-runtime/sdk/python
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install development dependencies
pip install -e ".[dev]"
# Run all tests
pytest
# Run with coverage
pytest --cov=agent_skills
# Run specific test file
pytest tests/test_models.py
# Format code
black src tests
# Sort imports
isort src tests
# Type check
mypy src
# Lint
ruff check src tests
MIT License - see LICENSE for details.
.pypirc with your token:[pypi]
username = __token__
password = pypi-xxxx... # Your PyPI API token
# Install publish dependencies
pip install -e ".[publish]"
# Method 1: Using the publish script
python publish.py
# Method 2: Manual publish
python -m build
python -m twine upload dist/*
# Publish to TestPyPI first (recommended for testing)
python publish.py --test
.pypirc with real tokens to version control.gitignore file excludes .pypirc by defaultDownload counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
requestsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | requests>=2.28.0 | runtime |
clickEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | click>=8.0.0 | runtime |
richEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | rich>=13.0.0 | runtime |
questionaryEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | questionary>=2.0.0 | runtime |
pyyamlEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pyyaml>=6.0 | runtime |
packagingEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | packaging>=21.0 | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest>=7.0.0; extra == "dev" | runtime |
pytest-covEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest-cov>=4.0.0; extra == "dev" | runtime |
blackEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | black>=23.0.0; extra == "dev" | runtime |
isortEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | isort>=5.0.0; extra == "dev" | runtime |
mypyEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | mypy>=1.0.0; extra == "dev" | runtime |
ruffEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | ruff>=0.1.0; extra == "dev" | runtime |
buildEnvironment{
"extras": "",
"marker": "extra == \"publish\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | build>=1.0.0; extra == "publish" | runtime |
twineEnvironment{
"extras": "",
"marker": "extra == \"publish\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | twine>=4.0.0; extra == "publish" | runtime |
bdist_wheel · 21.28 KB · Python py3
sdist · 25.73 KB · Python source
Observed since 20 Oct, 23:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:03646d681f73ecc5fb8d002a76146ae74427f950eb36cf956c97ae883158e458