Skill Details
Runtime
(claude-5-opus)
Example user message
[userMessage]: Design an enterprise multi-tenant RAG control plane for a platform where each customer has isolated documents. Users should retrieve only authorized content, with policy enforcement before retrieval, provenance tracking, validation gates, audit logs, and controlled context passed to the LLM.
Example agent response
Use a control-plane/data-plane separation with authorization enforced before evidence reaches the generation layer.
Architecture:
Identity → Policy Engine → Tenant-Aware Retrieval Router → Authorized Retrieval → Evidence Validation → Context Assembly → LLM → Output Validation → Audit
Tenant isolation: Every request carries tenant_id, principal_id, roles, permissions, and resource scope. Authorization is evaluated independently from retrieval relevance.
Retrieval contract: The router applies tenant and authorization filters before candidate retrieval, then performs ranking and evidence validation.
Provenance: Each context item retains source, document, chunk, retrieval, and policy metadata.
Context boundary: Retrieved documents are treated as untrusted evidence and cannot override system policies.
Audit: Record policy decisions, retrieval route, source identifiers, validation status, and request identifiers while avoiding unnecessary sensitive-content logging.
The design prevents a relevant document from being returned when the requesting principal is not authorized to access it.
By purchasing this skill, you agree to our terms of service
CLAUDE-5-OPUS
Design an enterprise RAG control plane for secure, governed retrieval and generation. Define ingestion boundaries, tenant isolation, access policies, retrieval routing, source provenance, context controls, model/tool permissions, validation gates, observability, evaluation, audit trails, failure handling, and lifecycle governance. Produces architecture decisions, control flows, schemas, policies, and implementation guidance for scalable RAG platforms without inventing evidence.
...more
Added 2 weeks ago
