一键导入
clear-knowledge-base
Clears all documentation from the knowledge library and resets the index. Used to prepare for a fresh knowledge base generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clears all documentation from the knowledge library and resets the index. Used to prepare for a fresh knowledge base generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | clear-knowledge-base |
| description | Clears all documentation from the knowledge library and resets the index. Used to prepare for a fresh knowledge base generation. |
This skill clears the knowledge library to prepare for fresh documentation generation.
Use the Bash tool to create the knowledge directory if it doesn't exist:
mkdir -p .claude-agent-sdk-expert/knowledge/library
Use the Bash tool to remove all files from the knowledge/library directory except for hidden files:
find .claude-agent-sdk-expert/knowledge/library -type f ! -name '.*' -delete 2>/dev/null || true
Use the Write tool to reset .claude-agent-sdk-expert/knowledge/index.md to its empty state:
# Claude Agent SDK Knowledge Index
Consult this index to look up information related to developing for the Claude Agent SDK. All knowledge documents are located in the library directory. When adding new links to this document ensure you put a link with the document path and a short but accurate description of the document's contents.
## Links to Documents
Report back to the user that the knowledge base has been cleared and is ready for regeneration.
Generates comprehensive SDK documentation by analyzing the claude-agent-sdk-python source code, examples, and docs. Creates a complete knowledge base for developers implementing with the SDK.
Get the SDK source code. We need the source code to learn from it, so use this skill when we need to download or refresh the source so we can study and learn from it.