@rdk-moss/skills
v0.3.35
Published
D-Moss Skills: conversation skill learning pipeline — candidate store, scorer, distiller, promoter, and skill validation.
Downloads
4,799
Maintainers
Readme
@rdk-moss/skills
Automatic skill distillation and learning for the Moss agent runtime.
Features
- Skill Distillation: Automatically extract reusable skills from successful agent sessions
- Confidence Scoring: Multi-factor scoring based on tool usage patterns, error recovery, and verification
- Skill Promotion: Automatic promotion of high-confidence candidates to permanent skills
- Conversation Learning: Learn from user corrections and feedback during conversations
- Validation: Comprehensive skill validation with frontmatter schema enforcement
Installation
npm install @rdk-moss/skillsUsage
import { SkillPipeline } from '@rdk-moss/skills';
const pipeline = new SkillPipeline({
workspaceDir: './skills',
autoPromoteHighConfidence: true,
});
// Process a session to extract skill candidates
const result = await pipeline.processSession(sessionId, messages);
// Check if a skill was promoted
if (result?.promoted) {
console.log('Skill promoted:', result.promoted.skillId);
}API
SkillPipeline: End-to-end skill extraction and promotionSkillScorer: Multi-factor confidence scoringSkillDistiller: Extract skill structure from sessionsSkillValidator: Validate skill format and contentConversationSkillLearner: Learn from user feedback
License
MIT
