Skip to main content

file-sharing

Share generated files (the onboarding-pack PDF, a roster CSV) 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月9日 09:28
检测到的 SKILL.md 语言
英语
星标
24
分支
22

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
file-sharing
description
Share generated files (the onboarding-pack PDF, a roster CSV) 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 onboarding-pack PDF, a roster export, a PTO calendar CSV), follow this pattern: 1. **Write the file to `/tmp`** with a stable, joiner-aware name: - `/tmp/onboarding-pack-priya-subramaniam.pdf` - `/tmp/open-requisitions-engineering-2026-06-08.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. ### Constraints - **Never write real PII.** Fixture data only. - **Mask salary** unless the document is explicitly marked as an offer/comp doc. - **Files are ephemeral** — they don't persist across container restarts. - Always `/tmp/<filename>`.
在 GitHub 查看