mcp_skill 0.2.0
mcp_skill: ^0.2.0 copied to clipboard
Skill definitions and runtime execution for AI capabilities with LLM integration, MCP tools, and claim recording for the MCP ecosystem.
0.2.0 - 2026-04-28 - Bundle Subsystem & Multi-Skill Runtime #
Added #
- Bundle subsystem —
BundleLoader,BundleValidator, capability types / composer / verifier, permission enforcer. - Multi-skill execution —
Proceduremodel with branching, branch merger, circuit breaker, error aggregator. - Embedded expression language (lexer / parser / AST / evaluator / function registry) for skill conditionals and templated values.
- Evaluation subsystem (rubric-based scoring) and FactGraph integration for claim recording.
- Standard port adapters —
SkillRuntimePortAdapter,SkillRegistryPortAdapterimplementingmcp_bundleContract Layer. - In-memory
MemorySkillRegistry.
Changed #
- Runtime restructured around
SkillRuntimewith context builder, procedure executor, claim extractor. - New dependency:
mcp_bundle ^0.3.0.
Removed #
- Legacy ports —
fact_graph_port,knowledge_port,mcp_portshims (consumers receive capability ports throughskill_ports.dartnow).
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