create-from-template

Create folio documents from built-in pitch, memo, and metrics templates.

82|9|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/awebai/aweb --skill create-from-template-awebai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-from-template
Source: https://github.com/awebai/aweb/tree/main/naapp/folio/skills/create-from-template
Command: npx skills add https://github.com/awebai/aweb --skill create-from-template-awebai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing structured decks, memos, and metrics pages by hand in raw Markdown is error-prone and inconsistent. This Skill lets an agent submit declarative template slots to the folio API, which schema-validates the input and renders it to append-only Markdown before storage. ## Core Features & Use Cases - Built-in Templates: Use the pitch, memo, and metrics templates with defined slots such as cover, metrics, sections, and ask. - Schema Validation: Unsupported templates, slots, fields, or malformed shapes fail closed with a 422 response, keeping stored documents clean. - Versioned Appends: Append a new template-generated version to an existing document via the versions/template endpoint, then generate a no-login present link. - Use Case: A founder's agent drafts a pitch deck with cover, metrics, problem/solution sections, and an ask, posts it to folio, and returns a shareable /present/<token> link valid for 24 hours. ## Quick Start Ask the agent to create a folio pitch document from the built-in pitch template with a cover title, two metrics, and problem and solution sections, then generate a present link for it.

Frequently Asked Questions about create-from-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a folio document from a template?

POST a JSON body with slug, title, and a template object containing name (pitch, memo, or metrics) and slots to /v1/documents using aw id request with --team-auth. Folio validates the slots and stores the rendered Markdown.

What templates does folio support for document creation?

Folio provides three built-in templates: pitch (cover, metrics, sections, ask), memo (cover, sections), and metrics (cover, metrics). Each slot has defined required and optional fields, such as title for cover and label plus value for metrics entries.

How do I append a new version to an existing folio document?

POST the template body without slug or title to /v1/documents/<slug>/versions/template with team authentication. The rendered content is appended as a new version of the existing append-only document.

Why does my folio template request return a 422 error?

A 422 means the payload failed schema validation: the template name is unsupported, a slot or field is not recognized, or a value has the wrong shape. Check that required fields like cover.title and metrics label/value are present.

Can I share a folio template document without requiring login?

Yes. POST the document slug and a ttl_seconds value to /v1/present to receive a /present/<token> link. The page uses the same theme, sanitizer, and noindex protections as other folio documents.