Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
memory_type: skills
description: |
Record all skills uses,
directory: "viking://user/{{ user_space }}/memories/skills"
filename_template: "{{ skill_name }}.md"
enabled: false
content_template: |
Skill: {{ skill_name }}
- Success rate: {{ ((success_count|default(0, true) / (total_executions|default(1, true) if total_executions|default(0, true) > 0 else 1)) * 100)|round|int }}% ({{ success_count|default(0, true) }}/{{ total_executions|default(0, true) }})
- Best for: {{ best_for|default('N/A') }}
- Recommended flow: {{ recommended_flow|default('N/A') }}
- Key dependencies: {{ key_dependencies|default('N/A') }}
- Common failures: {{ common_failures|default('N/A') }}
- Recommendation: {{ recommendation|default('N/A') }}
{{ guidelines|default('') }}
fields:
- name: skill_name
type: string
description: |
Skill name, must be copied exactly from [ToolCall].
If no [ToolCall] contains a valid skill_name, do not generate a skills memory item.
Used to uniquely identify this skill memory.
Examples: "create_presentation", "analyze_code", "write_document"
merge_op: immutable
- name: total_executions
type: int64
description: |
Total number of skill executions, accumulated from historical statistics.
Used to calculate success rate.
merge_op: sum
- name: success_count
type: int64
description: |
Number of successful skill executions, accumulated from historical statistics.
Counts successful executions.
merge_op: sum
- name: fail_count
type: int64
description: |
Number of failed skill executions, accumulated from historical statistics.
Counts failed executions.
merge_op: sum
- name: best_for
type: string
description: |
Best use cases for the skill, describing in what scenarios this skill works best.
Examples: "Slide creation tasks with clear topic and target audience"
merge_op: patch
- name: recommended_flow
type: string
description: |
Recommended execution flow for the skill, describing the best steps to execute this skill.
Examples: "1. Confirm topic and audience -> 2. Collect reference materials -> 3. Generate outline -> 4. Create slides -> 5. Refine content"
merge_op: patch
- name: key_dependencies
type: string
description: |
Key dependencies/prerequisites for the skill, describing what prerequisites and inputs are needed to execute this skill.
Examples: "Clear topic (e.g., 'Q3 project update', 'Python tutorial'); Target audience (e.g., 'executives', 'beginners'); Reference materials (optional but recommended)"
merge_op: patch
- name: common_failures
type: string
description: |
Common failure modes of the skill, describing problems and error patterns this skill frequently encounters.
Examples: "Vague topic like 'make a PPT' leads to multiple rework cycles; Missing audience info causes style mismatch; No reference materials results in generic content"
merge_op: patch
- name: recommendation
type: string
description: |
Actionable recommendations for skill usage, short actionable recommendations.
Examples: "Always confirm topic and audience before starting; Collect 2-3 reference materials for better quality"
merge_op: patch
- name: guidelines
type: string
description: |
Skill usage guidelines, complete usage guide content.
Must include exact English headings:
- "## Guidelines" - best practices
- "### Good Cases" - successful usage examples
- "### Bad Cases" - failed usage examples
Headings must be in English, content can be in target language.
merge_op: patch