Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Edsl Agent Lists?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/expectedparrot-edsl-agent-lists)
---
name: edsl-agent-lists
description: Build and import AgentLists, draw random samples without replacement from a roster, and check recruitment quotas across traits.
tags: [edsl, reference]
---
# EDSL AgentList
To revise one item in a saved list, run `ep agents edit-item agents.ep --index 0 --patch '{"traits":{"city":"Boston"}}'`. Use `--insert` to append or insert an item and `--remove --index N` to delete one. Add `--output revised.ep` to keep the original.
Use `AgentList` to represent respondent personas or other agents in EDSL. Construct from `Agent` instances or use `ep agents create` for CSV and Excel inputs. Pass shared interview directions with `--instructions`, using inline text or a UTF-8 file. For a panel with a requested speaking style, check `respondent_instructions.custom_count` in the creation receipt. Each person’s traits can describe their circumstances. See the [construction guide](references/construction.md).
`name` is reserved by `Agent`: pass it as `Agent(name=..., traits={...})`, not inside `traits`. For tabular data, use the `--name-field` option when a column supplies names. Save durable objects with `agent_list.git.save('agents.ep')` and load with `AgentList.git.load(...)`. When each name identifies one respondent, add `--require-unique-names` to the import. A validation error lists blank names and repeated IDs by one-based data record and leaves the output untouched. To audit a roster before release, use `--check-only` in place of `--output`; the same import and identity checks run in memory. For Excel, choose the worksheet with `--sheet`. Use `blank_excel_rows` and each duplicate’s `excel_rows` to locate cells in the workbook.
To check respondent instructions and trait definitions in a saved panel, run `ep inspect panel.ep --sample 5`. Each sampled agent shows the effective instruction, its source, and the codebook. With a partial sample, `panel_variation.varying_fields` reports differences across the entire panel. Use the returned `inspect_all` arguments when you need the remaining records.
Compare a saved panel with its recruitment CSV using `ep agents check-quotas panel.ep --quotas quotas.csv --by region --by shift`. The check counts joint combinations and gives unlisted cells a target of zero. Add `--output exceptions.csv` for a handoff. A `QUOTA_MISMATCH` means the audit completed and the panel needs attention.
For a stratified pilot drawn from an existing roster, use `ep agents sample-quotas roster.ep --quotas quotas.csv --seed pilot -o pilot.ep`. Reuse the seed and ordered roster to repeat the draw. If the command reports shortages, use the per-cell available counts to discuss recruitment or revised targets.
Use `ep agents create --help` and `ep agents transform --help` for the installed CLI options. Related EDSL bundles: `edsl:edsl-scenario-lists`, `edsl:edsl-study-files`.
To check a saved respondent list for missing or shared invitation addresses, use `ep agents check-contacts --help`. It also accepts Jobs containing a roster.