--- name: knowledge-rag-usage description: Use the knowledge-rag MCP server for building/using a growing knowledge base --- ## What I do Provide guidelines on the use and building of the knowledge base. ## When to use me - When you need to see if there is available knowledge to help complete the task - Use the `search_knowledge` tool to get this knowledge - When you need to add what you have learned to the knowledge base - Add the knowledge in the form of a markdown file to `~/knowledge-base/knowledge` directory - Index the knowledge with the `index_knowledge` with the `force=false` parameter so that it is available for searching ## Guidelines - Upon the start of any task, you must check the knowledge base to see if there is existing information on the subject - Upon completion of any task, you must add any useful knowledge learned to the knowledge base - Any time you are corrected, you must add the correction to the knowledge base so that no mistake happens twice - When adding new knowledge to the knowledge base, try to keep related knowledge to the same files - Create new files only when no existing file contains information on that topic - New knowledge must be brief. Use as little words possible to express the knowledge