Skip to main content

file-sharing

Share generated files (PDFs, CSVs, charts) with the user by writing them to /tmp and referencing the absolute path. The frontend auto-converts /tmp paths into download links.

소스 정보

저장소
aiappsgbb/kratos-agent
최근 소스 활동
2026년 6월 8일 07:59
감지된 SKILL.md 언어
영어
스타
23
포크
21

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
file-sharing
description
Share generated files (PDFs, CSVs, charts) with the user by writing them to /tmp and referencing the absolute path. The frontend auto-converts /tmp paths into download links.
enabled
true
## Instructions When you generate any file the controller needs (close pack PDF, variance chart PNG, CSV export), follow this pattern: 1. **Write the file to `/tmp`** with a stable, period-aware name: - `/tmp/close-pack-2026-05.pdf` - `/tmp/variance-2026-05.png` - `/tmp/variance-2026-05.csv` - `/tmp/je-queue-2026-05.csv` 2. **Reference the absolute path** in your chat response. The frontend converts `/tmp/...` paths into download links automatically. 3. **Do NOT** base64-encode the file into the chat. Do NOT inline binary content. ### Common file types in finance-close - `close-pack-<period>.pdf` — the headline deliverable, per close policy §8.1 - `variance-<period>.png` — bar chart of variance % by cost centre, generated by **variance-analysis** - `variance-<period>.csv` — flat export of the variance dashboard for the close workbook - `je-queue-<period>.csv` — every JE in the period, grouped by type - `accruals-<period>.csv` — accruals booked this period with evidence refs ### Constraints - **Mask sensitive PII** — never write full SSN, full bank account, or unmasked vendor tax IDs to a file. - **Files are ephemeral** — they don't persist across container restarts, so if the controller closes the browser and comes back tomorrow, they'll need to be re-generated. - **No `/etc`, no `/`, no relative paths.** Always `/tmp/<filename>`.
GitHub에서 보기