Files
oh-my-pi/packages/coding-agent/src/prompts/tools/learn.md
T
can1357 0abcd76101 docs(coding-agent-prompts): refined agent instructions and tool documentation
- Simplified system and personality prompts for improved conciseness and clarity.
- Streamlined tool instruction sets and parameter descriptions across all agent modules.
- Refactored prompt documentation in `hashline` to clarify terminology and task-specific constraints.
- Updated tool metadata in TypeScript service definitions to align with reduced documentation verbosity.
2026-06-19 16:06:17 +02:00

714 B

Capture a reusable lesson into long-term memory, and optionally mint or enhance a managed skill in the same call.

Use after solving something whose insight will pay off again: a non-obvious fix, a project convention you had to discover, a workflow that worked.

Provide the optional skill object when the lesson is a repeatable procedure worth codifying as a SKILL.md (not just a fact). Managed skills are written to an isolated directory (~/.omp/agent/managed-skills) and are surfaced like normal skills next session. They NEVER touch user-authored skills. Frontmatter is generated from name and description.

Capture sparingly and specifically. One strong, reusable lesson beats several vague ones.