Skip to content

feat: add SkillManager for dynamic skill creation#2332

Open
diegofornalha wants to merge 1 commit intosipeed:mainfrom
diegofornalha:feat/skill-auto-creation
Open

feat: add SkillManager for dynamic skill creation#2332
diegofornalha wants to merge 1 commit intosipeed:mainfrom
diegofornalha:feat/skill-auto-creation

Conversation

@diegofornalha
Copy link
Copy Markdown

Summary

  • CRUD operations for agent skills (create, read, update, delete)
  • Duplicate detection across skill directory
  • Path traversal prevention in categories
  • Agent can call skill_manage() to create reusable procedures when it detects repetitive patterns (5+ tool calls)

Test plan

  • Run go test ./pkg/skills/... — 24 tests passing
  • Verify skill creation with valid/invalid inputs
  • Test path traversal prevention

🤖 Generated with Claude Code

@sipeed-bot sipeed-bot bot added type: enhancement New feature or request domain: skill labels Apr 4, 2026
Wire SkillManager into the PicoClaw agent loop:
- New `skill_manage` tool for CRUD workspace skills at runtime
- SkillManager validates names, frontmatter, size, and prevents duplicates
- Registered in loop.go alongside find_skills/install_skill
- Added skill_manage toggle in ToolsConfig

The agent can now create reusable skills when it detects repetitive
patterns (5+ similar tool calls), persisting them as SKILL.md files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@diegofornalha diegofornalha force-pushed the feat/skill-auto-creation branch from 6f8cd30 to 0cce474 Compare April 5, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant