feat: Add evolving skill for tasks in code mode#629
Merged
Henry-811 merged 1 commit intodev/v0.1.25from Dec 15, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Evolving Skills and Previous Session Skill Discovery
Closes MAS-150
Description
This PR introduces Evolving Skills as the central planning mechanism for code-based workflows, along with the ability to discover and reuse skills from previous MassGen sessions.
Key Features
Evolving Skills (
evolving-skill-creator): A built-in skill that guides agents to create structured workflow plans that:tasks/evolving_skill/scripts/Previous Session Skill Discovery: New config option
load_previous_session_skills: truethat:.massgen/massgen_logs/for evolving skills from past sessionsSKILL.mdfiles infinal/agent_X/workspace/tasks/evolving_skill/<location>previous_session</location>Enhanced SKILL.md Format: Updated
evolving-skill-creatorto emphasize:nameanddescription)artist-website-builder, not instance-specific)Type of change
feat:) - Non-breaking change which adds functionalityFiles Changed
New Files
massgen/skills/evolving-skill-creator/SKILL.md- Built-in skill for creating evolving skillsmassgen/configs/skills/skills_with_previous_sessions.yaml- Example configModified Files
massgen/cli.py- Parseload_previous_session_skillsfrom YAML config (4 locations)massgen/frontend/web/server.py- Parse config for web frontend (2 locations)massgen/orchestrator.py- Pass config to filesystem managermassgen/filesystem_manager/_filesystem_manager.py- Pass to Docker managermassgen/filesystem_manager/_docker_manager.py- Copy previous session skill files to Dockermassgen/filesystem_manager/skills_manager.py-scan_previous_session_skills()functionmassgen/system_message_builder.py- Fixed logging (loguru instead of standard logging), scan logs_dirmassgen/agent_config.py- Addedload_previous_session_skillstoCoordinationConfigdocs/source/user_guide/tools/skills.rst- Documentation for evolving skills and previous session discoveryChecklist
Pre-commit status
How to Test
Prerequisites
Test CLI Commands
1. Run with previous session skills enabled:
uv run massgen --config massgen/configs/skills/skills_with_previous_sessions.yaml "Create a website about Bob Dylan"2. Verify skills are discovered in logs:
3. Test skill discovery directly (Python):
Architecture
Skill Discovery Flow
Path Structure Scanned
Self-Improvement Through Evolving Skills
This feature enables a self-improvement loop where agents learn from past sessions:
Key benefits:
This creates a foundation for agents that genuinely improve at tasks over time, building institutional knowledge that compounds with each execution.
Related Documentation
docs/source/user_guide/tools/skills.rstmassgen/skills/evolving-skill-creator/SKILL.mdmassgen/configs/skills/skills_with_previous_sessions.yaml