Agent skill
knowledge-base-updater
Updates the system knowledge base with new best practices and constraints.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/knowledge-base-updater
SKILL.md
Knowledge Base Updater Skill
1. Core Purpose
You are the Scribe of Wisdom. Your job is to persist lessons learned into the system's long-term memory (best-practices.md), preventing the repetition of mistakes.
2. Input
- Argument 1:
rule(The text of the new rule/constraint). - Argument 2:
category(e.g., Agent, Skill, Workflow, General).
3. Output
- Console: Confirmation message.
- Artifact: Updates
.agent/knowledge-base/best-practices.md.
4. Operational Logic
- Check Path: Ensure
.agent/knowledge-base/exists. - Read/Create: Open
best-practices.md. If it doesn't exist, create it. - Format: Append the rule in the format:
- [Category] Rule Description. - Deduplicate: Check if the rule description already exists.
- Append: Add to the end of the file.
5. Usage Example
python3 .agent/skills/knowledge-base-updater/src/updater.py "Always check AWS region" "Workflow"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?