mcp_skill 0.1.1
mcp_skill: ^0.1.1 copied to clipboard
Skill definitions and runtime execution for AI capabilities with LLM integration, MCP tools, and claim recording for the MCP ecosystem.
0.1.1 Bugfix #
Fixed #
- Unified LLM Port types to use mcp_bundle Contract Layer exclusively
- Updated documentation to reflect Contract Layer architecture
0.1.0 Initial Release #
Added #
Core Features
-
Skill Definitions
Skillmodel with input/output schemas- JSON Schema validation for inputs and outputs
- Metadata support (tags, categories, version)
- Multiple executor types (LLM, MCP, Handler)
-
Skill Runtime
SkillRuntimeas the main execution engine- Skill registration and discovery
- Execution with full lifecycle management
- Timeout handling and error recovery
-
Execution Results
SkillExecutionResultwith success/failure status- Output capture and validation
- Execution metrics (duration, timestamps)
- Error details and stack traces
-
Claim Recording
- Automatic claim generation from skill outputs
- Entity association for fact graph integration
- Confidence scoring for claims
-
Port-Based Architecture
SkillStoragePortfor skill persistenceLlmPortfor LLM integration (from mcp_bundle Contract Layer)McpPortfor MCP tool callsKnowledgePortfor knowledge access
-
In-Memory Implementations
- Complete in-memory storage for testing
- Stub implementations for all ports
Executor Types #
SkillExecutorType.llm- LLM-powered executionSkillExecutorType.mcp- MCP tool executionSkillExecutorType.handler- Custom handler execution
Data Models #
Skill- Skill definition with schemasSkillExecution- Execution context and stateSkillExecutionResult- Execution outcomeSkillInfo- Lightweight skill metadata