agentleFS
pollinationspollinations/search.elixpo/skills/export-documents/SKILL.md

export-documents

Skill24 starsChanged 7 months agoCC0-1.0View on GitHub

Prepare and export lixSearch answers as polished PDF documents. Use only when a user explicitly asks to create, save, download, or export content as a PDF.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ensure content is non-empty and remove internal task messages.

    line 13
  2. Very specific:

    Call export_to_pdf exactly once.

    line 17
  3. Distinctive:

    Never export search snippets, memory excerpts, placeholders, source-count status messages, prior PDF confirmations, errors, or a draft that …

    line 23
  4. Distinctive:

    Do not invent citations or expand source content.

    line 26
  5. Distinctive:

    Do not export without explicit user intent.

    line 27
  6. Distinctive:

    Never export a clarification question or any task whose required fields remain unresolved.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Export Documents

Export completed content without repeating research.

Workflow

  1. Accept the canonical finalized Markdown and an optional title. If research is requested in the same turn, wait until sources are fetched and the final synthesis is complete. Never substitute raw research-thread output or status summaries for that synthesis. For a referential follow-up such as "make that a PDF", export the last substantive grounded assistant answer verbatim; do not regenerate or broaden it.
  2. Ensure content is non-empty and remove internal task messages.
  3. Reject tool syntax, draft preambles, future-work promises, and documents that do not satisfy an explicit requested count or range.
  4. Choose a concise subject-based PDF title. Derive the filename as a lowercase hyphenated slug of that title; never derive either from conversational filler, clarification field labels, or the internal resolved-request envelope.
  5. Preserve headings, lists, links, citations, and code blocks.
  6. Call export_to_pdf exactly once. Never call it once per source or once per reasoning turn.
  7. Return the download URL unchanged.

Guardrails

  • Depend on synthesis when content is not finalized.
  • Never export search snippets, memory excerpts, placeholders, source-count status messages, prior PDF confirmations, errors, or a draft that has not passed synthesis.
  • In a continuation, preserve the earlier answer and its citations. Do not replace it with generic background knowledge.
  • A successful export must return its stable download URL; after success, stop exporting.
  • Do not invent citations or expand source content.
  • Do not export without explicit user intent.
  • Never export a clarification question or any task whose required fields remain unresolved. Pending clarification is a hard runtime block, not a suggestion.
  • Preserve the text response if export fails.

Runtime contract

agent: document
tools: [export_to_pdf]
timeout_seconds: 20
max_concurrency: 1
depends_on: [synthesize-answer]
output: document_bundle

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.