BotCurrent↗
← Back to examples

Community recipe · Tool workflows

Generate reviewed document batches from a master

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Repeating a master document across many recipients invites mapping mistakes and makes missing information difficult to spot.

Agent job

Propose variable mappings, obtain confirmation and generate a draft file for each spreadsheet row while flagging missing values.

Expected output

A confirmed mapping and a batch of draft documents with visible missing-value reports.

Where this framing comes from
  • Core problem: Editorial purpose framing
  • Agent job: Editorial purpose framing
  • Expected output: Editorial purpose framing
  • Relevant job roles: Editorial purpose framing
  • Benefit type: Editorial purpose framing
Editorial framing and outcome limits

Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Case-specific decision guidance · untested

Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A team generating similar documents for many rows can make a single mapping error that spreads across the whole batch. Missing values are especially risky when an apparently finished document hides a blank or borrows data from another record.

  2. This job could make variable mappings explicit before any draft files are produced. A visible exception report and row-to-file traceability give reviewers a practical way to detect omissions and cross-record mistakes before documents are used.

Why an agent / simpler alternative

Useful judgment

Identify variable fields, distinguish repeated static text and flag ambiguous spreadsheet-to-template mappings.

Simpler alternative

Use ordinary mail merge when the template and column mapping are already reliable.

Unsuitable when

The workflow would send, sign or publish documents or apply an unconfirmed mapping to consequential content.

Proposed inputs

  1. Name

    Master document

    Owner

    Document owner

    Minimum scope

    Approved Word/Excel template copy

    Quality check

    Identify protected text and formatting

  2. Name

    Row data

    Owner

    Authorized owner

    Minimum scope

    Required columns with stable row IDs

    Quality check

    Check blanks, duplicates and field types

Access and setup — proposed or unknown

Proposed minimum
  1. Inspect copied templates and synthetic rows; no batch generation until a mapping is explicitly confirmed.

Compatibility unknowns
  1. Current document-library behavior, formatting fidelity and exact runtime compatibility are unknown.

External actions requiring approval
  1. Confirm variable mapping before generation; external uploads, document sharing, sending and signing require separate approval.

Expected deliverable and review checks

Proposed artifact

Proposed mapping, row-to-output manifest and missing-value report; future generated files remain drafts.

Critical checks
  1. Preserve static clauses; verify row identity and field types; show missing values rather than guessing; prevent accidental file overwrite.

Missing output evidence

This overlay adds no new output inspection, execution or validation; consult the referenced canonical source outcome limits.

Failure signals and proposed responses

  1. Signal

    Two columns could fill the same token

    Why it matters

    A plausible match can put the wrong data everywhere

    Proposed response

    Present alternatives and request mapping confirmation.

  2. Signal

    A blank carries forward the previous row's value

    Why it matters

    One person's data leaks into another document

    Proposed response

    Require independent row binding and flag empty fields.

Effort and cost — unknown

Setup work
  1. Mark variables and resolve mapping ambiguity.

Ongoing review
  1. Review batch exceptions and representative formatting before use.

Unknowns
  1. Template complexity, output volume, formatting repair and tool costs are unknown.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

Invent a template with three variables and three rows, including a missing value and two similar address columns; propose the mapping only.

Acceptance checks
  1. Surface ambiguity; list missing data; preserve row IDs; generate no files before confirmation.

Stop conditions
  1. Stop if the mapping is unapproved or a missing field would require invented content.

Limits

  1. Successful template filling cannot establish the accuracy, legal effect or suitability of the resulting documents.

Tasks: Documents & filesData & analysis

Useful for: Administrative assistantOperations manager

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Hermes AgentIndependent testing: No

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://github.com/moonlight-lupin/agent-skills/blob/main/productivity/fill-template/SKILL.md ↗

Attributed to: moonlight-lupin

Community recipe
Original action type
tool_action
What the source supports
Reads a Word or Excel master, proposes variable tokens, confirms the mapping, fills one file per spreadsheet row and reports missing values visibly.
Source outcome limits
This community recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Evidence attribution caveat
This community recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
Explicit mapping confirmation required before batch generation; files are drafts and are never sent, posted or signed.
Named tools
Python fill_template.py; python-docx; openpyxl; DOCX; XLSX; CSV
Model or version
Recipe skill version 1.0.0; Hermes runtime/model unspecified
Publication date
Unknown
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Check Canadian bilingual templates, date conventions and currency fields; use only authorized personal data.
Recommended approval boundaries
Approve mapping and sample outputs; approve any later mailing, filing or signature separately.