Skip to content
Back to skills

Edsl File Store

ASecurity

Use EDSL FileStore and FileStoreList objects for files in scenarios and survey answers.

  • 523 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 21, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add expectedparrot/edsl --skill edsl-file-store --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Edsl File Store?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Edsl File Store
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/expectedparrot-edsl-file-store/badge)](https://www.skillsdirectory.com/skills/expectedparrot-edsl-file-store)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: edsl-file-store
description: Use EDSL FileStore and FileStoreList objects for files in scenarios and survey answers.
tags: [edsl, reference]
---

# EDSL FileStore

For portable document inputs, run `ep scenarios create --from-file A.pdf --from-file B.pdf --file-key artwork -o proofs.ep`. If a CSV or XLSX already assigns files to records, use `ep scenarios create --from-csv handoff/placements.csv --file-column artwork -o placements.ep`. Add `--id-field placement` to identify every missing reference by record. Run `ep scenarios files placements.ep --id-field placement --limit 0` to verify the embedded bytes by row, field and SHA-256. Each named cell holds a path relative to the table's folder. The saved scenario contains the original file bytes. Reference `{{ scenario.artwork }}` in each question that uses it.

`FileStore(path=...)` wraps a local image, document, data file, or other supported file for use as an EDSL value. Place it in a `Scenario`, then reference the scenario field in question text, for example `{{ scenario.file_path }}`. Reference the FileStore field in **each question** that needs the file. Saying “see the attached image” alone leaves the model without the artwork. Reopen the saved job with `ep jobs preview-prompt signs.ep direction --interview-index 0 --expect-files 1`. For a conditional comparison, repeat `--expect-file-sha256 HEX` in the intended order, once per approved file, and check an assignment for each branch. This verifies both the contents and the order before inference. The attachment list includes the MIME type, byte count, and SHA-256 so you can verify the input even when two files have the same name.

A later model question can receive a file from a prior upload. Use `{{ upload.answer }}` for the whole list or `{{ upload.answer[1] }}` for the second file. The rendered question determines which files are attached, including the selected branch of a conditional. Repeating the same reference reuses its first attachment. To test the upload locally, run `ep jobs preview-prompt packet.ep review --answer-file upload internal.txt --answer-file upload public.txt --expect-file-sha256 HEX`, using the digest for the expected file.

`FileStore` also provides helpers such as `extract_text()`, `mime_type`, `is_image()`, and `to_scenario_list()` for supported formats. File upload answers can be converted with `FileStore.from_file_upload_answer`; generated image answers can be passed to later image-generation questions. See the [detailed FileStore guide](references/detailed-guide.md).

Related bundles: `edsl:edsl-scenario-lists`, `edsl:edsl-surveys`.

A scenario can store the file field's name in another field. For example, `{{ scenario[scenario.pick] }}` attaches the `crop` file when `pick` is `"crop"`. Use `ep jobs preview-prompt` with `--interview-index` and `--expect-file-sha256` to verify each selection in a saved job.

Files in this skill

  • SKILL.md897 B
  • references/detailed-guide.md3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.