{"id":117607,"plugin_id":"plugin_asdk_app_6afcc7102b508191b4a5d134d6d70bfc","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T00:16:24.839Z","digest":"e3b8fa18c5009f7b2aba1136e3d0bdce28d00f4e200240808ad98651755ceb7e","against":null,"payload":{"description":"Add files to the team's Calypso knowledge with elephant-add-file (one file) or elephant-add-files (up to 100). Use when the user attaches files in ChatGPT or shares a public file link and wants Elephant to learn it.","included_files":[],"name":"add-a-file","skill_md_contents":"---\nname: add-a-file\ndescription: Add files to the team's Calypso knowledge with elephant-add-file (one file) or elephant-add-files (up to 100). Use when the user attaches files in ChatGPT or shares a public file link and wants Elephant to learn it.\n---\n\n# Add a file\n\nUse `elephant-add-file` for one file and `elephant-add-files` for several. Each file becomes a source in a bucket, and Elephant can answer from it once indexing finishes.\n\n## Pick the bucket first\n\nEvery file needs a destination. Pass one of:\n\n- `bucket`: a single bucket slug, for example `policies`.\n- `bucketSlugs` or `bucketIds`: one or more buckets.\n\nIf the user did not say which bucket, ask. If the bucket they name may not exist yet, pass `createMissingBuckets: true` so it is created, and tell the user a new bucket was made.\n\n## One file: `elephant-add-file`\n\nGive exactly one file source:\n\n- A file the user attached in ChatGPT: pass it as `file`. ChatGPT supplies the file; Calypso imports it, keeping its name as the title.\n- A public link to a file: pass it as `sourceUrl`. Calypso downloads it directly (public hosts only, 25 MB at most) and works out the name and type itself.\n- Generated content (for example a summary the user asked you to save): pass it as `contentBase64` with a `filename` and `mimeType`.\n\nOptional: `title` (a readable name), `tags`, `waitForIndexing: true` when the user wants to ask about the file straight away, and `idempotencyKey` so a retry does not add the file twice.\n\n## Several files: `elephant-add-files`\n\n- Put each file in `items` (1 to 100), each with `filename`, `mimeType` and its bytes as `contentBase64`.\n- For files the user attached in ChatGPT, call `elephant-add-file` once per file instead: attachments are passed one at a time.\n- Shared bucket fields (`bucket`, `bucketSlugs`, `bucketIds`, `createMissingBuckets`) apply to every item unless an item sets its own.\n- `waitForBatchReady: true` waits until the batch finishes and reports each item.\n- For generated content, prefer one batch over many single calls.\n\n## Report what happened\n\nCite exactly what the tool returned for each file: the file name, the bucket, and the status (queued, indexing, ready or failed). Say that a file becomes answerable once it is ready.\n\nErrors come back with a code; quote it and explain it:\n\n- `url_fetch_blocked`: the link is not public. Ask the user to attach the file instead.\n- `url_fetch_failed`: the download failed for now; retry once.\n- `file_too_large`: the file is over 25 MB.\n\n## What Elephant does not do\n\n- It does not replace, edit or delete files. Elephant never deletes; do that in the Elephant console at elephant.calypso.so.\n- It does not read files from the user's computer by path; files come from ChatGPT attachments or public links.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}