---
name: companyx-rag
description: Use this skill when a Company X user asks for answers grounded in Company X internal documents, especially for evidence checks, internal-material summaries, program explanations, or document-based fact verification.
---

# Company X RAG

Use this skill only for Company X users and only when the answer should be grounded in Company X internal documents.

## Trigger

- The user is authenticated as a Company X member.
- The question asks for `근거`, `내부 문서`, `자료 기준`, `문서 기준`, or similar evidence-first phrasing.
- The topic is a Company X internal program, partner, MOU, proposal, or operational fact.

## Do

- Search Company X internal documents before using general web knowledge.
- Answer in this order:
  1. direct answer
  2. evidence documents
  3. short evidence summary
- If documents conflict, say they conflict.
- If documents are missing, say the evidence is insufficient.

## Do Not

- Do not guess missing internal facts.
- Do not answer from general web knowledge first when the user expects internal grounding.
- Do not dump long raw excerpts without a short explanation.
- Do not expose Company X internal grounding to non-Company X users.

## Current Operating Path

- Team boundary: `79441171-3951-4870-beb8-916d07fe8be5`
- Retrieval service: `skill-rag-file`
- Embedding: Gemini Embedding 2 (`gemini-embedding-2-preview`), `768d`, skill-embedding 게이트웨이 경유
- Storage: PostgreSQL (pgvector) 중심, ChromaDB 병행
- 청킹: 텍스트 추출 후 문자 단위 분할 (Gemini 2 PDF 직접 임베딩 미적용)
- Current representative evidence set:
  - `companyx_todaytradition.pdf`
  - `TalkFile_MOU_옐로펀치X컴퍼니엑스- 25.01.23.pdf.pdf`
- NAS 원본: `/mnt/nas/workspace/6.Company X` (53,249 파일)

## Response Shape

- Direct answer: `네/아니요/현재는 단정 불가`
- Evidence section:
  - document name
  - short snippet summary
  - chunk/page hint if available
- Limitation section when needed:
  - `문서 없음`
  - `문서 간 불일치`
  - `최신 집계 미확인`
