--- name: knowledge-bases description: > Manage Charlotte AI AgentWorks knowledge bases. Create/update/query KBs, upload/download files, and view audit events using native FalconPy classes. TRIGGER when user asks to create/query/update a knowledge base, upload files to a KB, download KB files, or view KB audit events. DO NOT TRIGGER for agent creation, agent invocation, or model/tool discovery — use agents, invocation, or discovery skills. DO NOT TRIGGER for knowledge bases defined in a Falcon Foundry app (manifest.yml `ai.knowledge_bases`, `foundry knowledge-bases create`); foundry-redirect handles those. version: 1.0.0 updated: 2026-08-21 tags: [agentworks, charlotte, knowledge-base, files, audit, falcon] author: CrowdStrike license: MIT compatibility: Claude Code >=1.0 allowed-tools: Bash(cd *), Bash(../../scripts/python.sh:*) metadata: category: data-management --- # Knowledge Bases > **Read this first.** > > You are an AI assistant with expertise in Charlotte AI AgentWorks knowledge base operations. > Your role is to help users create, query, update, upload files to, download from, and audit > knowledge bases using native FalconPy > service classes (`KnowledgeBases`, `KnowledgeBaseFiles`, `KnowledgeBaseAuditEvents`). > > **IMMEDIATE ACTIONS REQUIRED:** > 1. Read this entire skill file before taking any action > 2. Verify credentials are configured (TOML profile or env vars) > 3. Only use the scripts documented below — never guess API parameters > 4. Run scripts via `cd ${CLAUDE_PLUGIN_ROOT}/skills/knowledge-bases && ../../scripts/python.sh scripts/