Skip to main content

edit_skill

Method
This is a method of the SkillManager class in the manager module.
Edit an existing skill’s content (full rewrite).

Signature

Parameters

str
required
Skill name to edit
str
required
New skill content
Optional[bool]
If True, stage the mutation for human approval instead of writing to disk. Defaults to the manager’s write_approval policy. Pass propose=False to write directly.

Returns

dict
Dict with success status

Uses

  • get_skill
  • skill_file.exists
  • f.read
  • removeprefix
  • activate

Used By

Source

View on GitHub

praisonaiagents/skills/manager.py at line 732

Skills Concept

Skills Feature