[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AEX2N8HRF7WXPE7E36HSZY":3,"skill-same:01M7AEX2N8HRF7WXPE7E36HSZY":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7AEX2N8HRF7WXPE7E36HSZY","templates-skill",null,"Create documents from templates using companyFILES MCP tools. Use when asked to fill a template, use a company template, create a document from a predefined layout, fill placeholders, use a letterhead, fill an invoice template, or create from a DOCX\u002FXLSX\u002FPOTX\u002FODT template. Covers Word, Excel, ODT, and PowerPoint template filling, including image placeholders, the image library (stock images, key visuals, icons as `img:\u003Cname>`) and loop\u002Frepeat syntax, and handing a template to the code interpreter for edits the template tools cannot make.","innFactory-AI\u002Fcompany-ai-stack-skills","innFactory-AI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F165681221?v=4","01M7AEC27VD0D1QX2XBX441MDW","innFactory AI","01M7AEC28G25HQ9H9SN58MNV27",0,"MIT","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Ffiles\u002Ftemplates-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: templates-skill\ndescription: 'Create documents from templates using companyFILES MCP tools. Use when asked to fill a template, use a company template, create a document from a predefined layout, fill placeholders, use a letterhead, fill an invoice template, or create from a DOCX\u002FXLSX\u002FPOTX\u002FODT template. Covers Word, Excel, ODT, and PowerPoint template filling, including image placeholders, the image library (stock images, key visuals, icons as `img:\u003Cname>`) and loop\u002Frepeat syntax, and handing a template to the code interpreter for edits the template tools cannot make.'\n---\n\n# Templates Skill\n\nTools for listing and filling document templates (Word, Excel, ODT, PowerPoint).\n\n## Tools in This Skill\n\n| Tool                                    | Purpose                                                                           |\n| --------------------------------------- | --------------------------------------------------------------------------------- |\n| `list_templates`                        | List all available templates (personal + global) with placeholder info            |\n| `create_word_from_template`             | Fill a DOCX template with `{placeholder}` syntax                                  |\n| `create_word_from_template_with_images` | Fill a DOCX template with text and image placeholders                             |\n| `create_excel_from_template`            | Fill an XLSX template by cell address **or** `{{placeholder}}` name (auto-routed) |\n| `fill_excel_template`                   | Fill an XLSX template using `{{placeholder}}` syntax                              |\n| `create_odt_from_template`              | Fill an ODT template with `{{placeholder}}` syntax                                |\n| `create_powerpoint_from_template`       | Fill a POTX\u002FPPTX template with text, images, charts, speaker notes, slide repeat  |\n| `attach_template_to_chat`               | Attach a copy of a template to the chat for the code interpreter                  |\n| `list_image_templates`                  | Search the image library (image templates) for `img:\u003Cname>` references            |\n\n## Workflow\n\n1. **Discover templates:** Call `list_templates` (optionally filter by `type`: `docx`, `xlsx`, `potx`, `odt`, `pdf`, `image`)\n2. **Note placeholder names** from the response\n3. **Fill the template** with the matching `create_*_from_template` tool\n4. **Only if the template tools cannot do it** (bulk or free-form changes in the template's layout) and code execution is available: `attach_template_to_chat`, then edit with code (see below)\n\n## Tool Usage\n\n### list_templates\n\n```json\n{\n  \"type\": \"potx\"\n}\n```\n\nReturns per template: `name`, `displayName`, `description`, `category`, `tags`, placeholder lists, `loopSources`, `fields` (for PDF form templates), `size`, `isDefault`, upload dates, and scope (`\"user\"` personal or `\"global\"`).\n\nFor **POTX\u002FPPTX** templates the response includes a per-slide breakdown (`slideInfo`):\n\n- `slideNumber` — 1-based slide index\n- `layoutName` — PowerPoint layout name (e.g. `\"Title Slide\"`, `\"Two Content\"`)\n- `layoutType` — value from a `{{slide_type:xxx}}` marker on that slide (e.g. `\"section\"`, `\"default\"`, `\"text-image\"`)\n- `textPlaceholders` — `{{key}}` placeholders on this slide\n- `imagePlaceholders` — `{%name}` placeholders on this slide\n- `chartPlaceholders` — `{{name}}` chart container placeholders on this slide\n\nUse this breakdown to know exactly which placeholder goes on which slide before calling `create_powerpoint_from_template`. Filter by `type` to narrow results: `\"docx\"`, `\"xlsx\"`, `\"potx\"`, `\"odt\"`, `\"pdf\"`, `\"image\"`. Image templates (the image library) only appear with `type: \"image\"`; to find a fitting image, use `list_image_templates` (see below).\n\n---\n\n### Image library (image templates)\n\nAdmins upload organisation images (stock photos, key visuals, icons) in the companyFILES UI under Templates → Upload, users their own (PNG, JPEG, WebP, GIF, TIFF, BMP; no SVG). A personal image hides an organisation image of the same name. Find them with `list_image_templates`:\n\n```json\n{ \"search\": \"team office\", \"orientation\": \"landscape\", \"aspect_ratio\": 1.78, \"limit\": 10 }\n```\n\nAll arguments are optional: `search` (all words must appear in name, description or tags), `tag`, `orientation` (`landscape`, `portrait`, `square`), `aspect_ratio` (width\u002Fheight; sorts the closest first), `limit`. Each result has `ref` (`\"img:\u003Cname>\"`), `description`, `tags`, `width`, `height`, `aspectRatio` and `orientation`. Look at a candidate with `view_image { \"image_template\": \"\u003Cname>\" }`.\n\nUse the image as `img:\u003Cname>` wherever an image is accepted (`slides[].image`, layout `images`, Markdown `![alt](img:\u003Cname>)`) or as `image_template` in the `{%name}` image objects of Word and PowerPoint templates. Pick an image whose `aspectRatio` is close to the target slot's, so little is cropped. An unknown name fails the call with an error naming the reference.\n\n---\n\n### create_word_from_template\n\nPlaceholder syntax: `{placeholder}` (single curly braces). Dotted paths: `{user.name}`.\n\n```json\n{\n  \"template_name\": \"invoice\",\n  \"data\": {\n    \"customer\": \"Acme Corp\",\n    \"invoice_number\": \"INV-2025-042\",\n    \"date\": \"2025-05-08\",\n    \"total\": \"€4,200.00\"\n  },\n  \"filename\": \"invoice_acme\"\n}\n```\n\n**Table loop syntax** (place FOR\u002FEND-FOR in their own table rows):\n\n```\n{FOR item IN items}\n{= $item.name} | {= $item.qty} | {= $item.price}\n{END-FOR item}\n```\n\nPass `items` as an array in `data`. Missing loop sources are silently skipped with a warning.\n\n**Template expressions are not JavaScript.** Inside `{…}` commands only data paths (`$item.price`, `rows[0]`), literals, operators (`+ - * \u002F %`, comparisons, `&& || ??`, `cond ? a : b`), the commands `FOR`, `IF` and `EXEC`, and a short allowlist of helpers work — e.g. `toFixed`, `toUpperCase`, `join`, `toLocaleDateString`, `Math.round`, `parseFloat`, `new Date(…)`. Arrow functions, `.map`\u002F`.filter`, loops and template literals make the fill fail — compute such values beforehand and pass them in `data`.\n\n---\n\n### create_word_from_template_with_images\n\nSupports text placeholders `{name}` and image placeholders `{IMAGE logo}` or the short form `{%logo}` (type it in one go, otherwise Word splits it and it stays as text).\n\n```json\n{\n  \"template_name\": \"letterhead\",\n  \"placeholders\": {\n    \"company\": \"Acme Corp\",\n    \"date\": \"2025-05-08\",\n    \"logo\": {\n      \"data\": \"\u003Cbase64-encoded image>\",\n      \"width\": 4,\n      \"height\": 2,\n      \"extension\": \"png\"\n    }\n  },\n  \"filename\": \"letter_acme\"\n}\n```\n\nImage via stored document or from the image library (no re-upload needed):\n\n```json\n{\n  \"logo\": { \"document_id\": \"abc12345-...\", \"width\": 4, \"height\": 2 },\n  \"hero\": { \"image_template\": \"office-team\", \"width\": 16, \"height\": 9, \"fit\": \"cover\" }\n}\n```\n\nImage values: `{data, extension}` or `{document_id | librechat_file_id | image_template}`. `width`\u002F`height` (cm) are optional and form a box: the image keeps its aspect ratio inside it (`fit: \"contain\"`, default), `\"cover\"` crops it to the box, `\"stretch\"` distorts (only on request). Only one of `width`\u002F`height` scales the other; none = natural size, at most 16 cm wide. `create_word_from_template` takes the same image objects.\n\nThe org\u002Fuser logo is **auto-injected** only into a placeholder named exactly `logo` (i.e. `{%logo}`) — and only when configured in settings and no `logo` value is passed. Differently-named image placeholders (e.g. `{%companyLogo}`) are **not** auto-filled. The logo keeps its aspect ratio (inside 4 × 2 cm).\n\n---\n\n### create_excel_from_template\n\nAccepts **either** cell addresses (e.g. `\"A1\"`, `\"Sheet2!B3\"`) **or** `{{placeholder}}` names (pass the bare name without `{{ }}`) in `cell_values` — it auto-routes based on the keys you pass; mixed keys default to placeholder mode. Use `list_templates` to see available XLSX templates.\n\n```json\n{\n  \"template_name\": \"budget\",\n  \"cell_values\": {\n    \"A1\": \"Budget 2025\",\n    \"B5\": 125000,\n    \"Sheet2!C3\": \"Approved\"\n  },\n  \"filename\": \"budget_2025\"\n}\n```\n\n---\n\n### fill_excel_template\n\nFills cells using `{{placeholder}}` syntax — preserves formatting, styles, formulas, and charts.\n\n```json\n{\n  \"template_name\": \"monthly_report\",\n  \"data\": {\n    \"company\": \"Acme Corp\",\n    \"month\": \"May 2025\",\n    \"total\": 42000\n  },\n  \"replace_missing\": false,\n  \"filename\": \"report_may\"\n}\n```\n\n---\n\n### create_odt_from_template\n\nFills `{{placeholder}}` syntax in ODT templates.\n\n```json\n{\n  \"template_name\": \"letter\",\n  \"data\": {\n    \"recipient\": \"John Doe\",\n    \"date\": \"2025-05-08\",\n    \"subject\": \"Offer Letter\"\n  },\n  \"replace_missing\": false,\n  \"filename\": \"offer_letter_john\"\n}\n```\n\n---\n\n### create_powerpoint_from_template\n\nPlaceholder syntax:\n\n- **Text:** `{{key}}` anywhere in a text box\n- **Image:** `{%name}` in the **alt text** (`descr` attribute) of an image shape\n- **Chart:** `{{name}}` in the **alt text** of a chart container shape\n- **Layout marker:** `{{slide_type:default}}`, `{{slide_type:section}}`, `{{slide_type:text-image}}` — invisible metadata marker; declares the slide's layout type for `repeat` routing (multi-source). Cleared automatically from the output. The layout-native tools (`create_powerpoint_from_layouts`, `add_slides_from_layouts`) ignore it.\n\nAlways run `list_templates` first — for POTX\u002FPPTX it returns a per-slide breakdown including `layoutName`, `layoutType` (from the `{{slide_type:xxx}}` marker), and which text\u002Fimage\u002Fchart placeholders belong to each slide.\n\n> **If the POTX\u002FPPTX template has NO `{{}}` placeholders** and the call passes no `images`, `charts` or `speaker_notes`, this tool refuses the call and names the layout tools instead — `list_templates` flags such templates with `hasLegacyPlaceholders: false` and a `nextStep` hint. Corporate-design slide masters (Folienmaster) shipped by design teams usually contain no `{{}}` markup at all — they carry named slide layouts instead. Run `describe_pptx_template { \"template_name\": \"...\" }`: when `hasLegacyPlaceholders` is `false`, switch to `create_powerpoint_from_layouts` (see **powerpoint-skill**, \"corporate master without `{{}}`\"). Never ask the user to type `{{}}` markers into a corporate master. If its layouts have no text slots either and the content areas are plain text boxes with sample text on example slides (\"Text\", \"XXX\", \"TITEL\"), that is path D in **powerpoint-skill** (code execution). The same holds for a Word template without `{{}}` (sample text, text boxes, content controls): see **word-odt-skill**, \"Filling a corporate document without `{{placeholders}}`\".\n\n**Basic usage (single-record fill):**\n\n```json\n{\n  \"template_name\": \"corporate_deck\",\n  \"placeholders\": {\n    \"title\": \"Q4 Results\",\n    \"subtitle\": \"Finance Team\",\n    \"date\": \"May 2025\"\n  },\n  \"images\": {\n    \"logo\": { \"base64\": \"\u003Cbase64-png>\" },\n    \"chart_screenshot\": { \"document_id\": \"abc123...\" }\n  },\n  \"speaker_notes\": {\n    \"1\": \"Welcome everyone to the Q4 review\",\n    \"3\": \"These are the key takeaways\"\n  },\n  \"charts\": {\n    \"revenue_chart\": {\n      \"labels\": [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n      \"datasets\": [{ \"label\": \"Revenue\", \"values\": [100, 150, 120, 180] }]\n    }\n  },\n  \"filename\": \"q4_deck\"\n}\n```\n\n`speaker_notes` keys are **1-based** slide numbers.\n\n`charts` only renames the chart's series (`datasets[].label`). `labels` and `values` are **not** applied yet — the server logs them as \"not yet implemented\" and the chart keeps the template's data. Do not promise the user updated chart numbers.\n\nImage sources per `images` entry: `base64`, `document_id`, `librechat_file_id` or `image_template` (image library, e.g. `{ \"image_template\": \"office-team\" }`). The image is fitted into the placeholder picture's frame, never distorted: `fit` per image, default `\"cover\"` (fills the frame, centre crop), `\"contain\"` for names containing \"logo\" (whole image, centred); `\"stretch\"` only on request.\n\nNo logo is placed automatically in PowerPoint templates: only `{{company_name}}` is auto-filled from the settings. To show a logo, pass it explicitly in `images` (e.g. `\"logo\"` for `{%logo}`).\n\nThe tool takes only `template_name` — no `document_id` \u002F `librechat_file_id`. A `{{}}` deck attached in the chat must be uploaded as a template first, or be edited in clone mode (see **powerpoint-skill** §2a).\n\n**Single-source repeat** (duplicate one slide per data record):\n\n```json\n{\n  \"template_name\": \"team_deck\",\n  \"repeat\": {\n    \"slide\": 3,\n    \"data\": [\n      { \"name\": \"Alice\", \"role\": \"Engineer\" },\n      { \"name\": \"Bob\", \"role\": \"Designer\" }\n    ]\n  }\n}\n```\n\n`repeat.slide` is the 1-based slide number to duplicate; the slide is replaced by N copies, one per data record. By default, slides that are **not** repeated are removed from the output — set `repeat.keep_unused_slides: true` to keep them. `create_powerpoint_from_template` also accepts top-level `title` and `author`.\n\n**Multi-source repeat** (route each record to the slide matching its `slide_type`):\n\nUse this when the template has multiple layout slides marked with `{{slide_type:xxx}}` and each data record should use a different layout.\n\n```json\n{\n  \"template_name\": \"dynamic_deck\",\n  \"repeat\": {\n    \"data\": [\n      { \"slide_type\": \"section\", \"title\": \"Chapter 1\" },\n      { \"slide_type\": \"default\", \"title\": \"Results\", \"content\": \"Revenue up 15%\" },\n      { \"slide_type\": \"text-image\", \"title\": \"Architecture\", \"bullets\": \"Fast\\nScalable\" }\n    ]\n  }\n}\n```\n\nOmit `repeat.slide` when using `slide_type` routing — the matching template slide is found automatically from its `{{slide_type:xxx}}` marker. The `slide_type` values (`default`, `section`, `text-image`) correspond to the same layout names used in `create_powerpoint`.\n\n---\n\n### attach_template_to_chat\n\nAttaches a copy of a template (personal or global) to the current chat as a file, so the code interpreter can open and edit it with Python — for changes the `create_*_from_template` tools cannot make (e.g. replace a term throughout the document including tables and footers, add many table rows in the template's style, rebuild a sheet, add slides from the master's layouts).\n\n| Parameter | Type | Required | Description |\n| --- | --- | --- | --- |\n| `name` | string (max. 100) | yes | Template name exactly as listed by `list_templates` |\n| `type` | `docx` \\| `xlsx` \\| `potx` \\| `odt` | yes | Template type as listed by `list_templates` (no `pdf`) |\n\n```json\n{ \"name\": \"invoice\", \"type\": \"docx\" }\n```\n\n- **Prerequisites:** code execution must be enabled for the chat or agent (and allowed for the user's role), and the environment must store companyFILES documents as LibreChat files. Otherwise the tool answers with an error — then stay with the template tools.\n- **Next turn:** the file reaches the code interpreter only from the user's **next** message on (usually at `\u002Fmnt\u002Fdata\u002F\u003Cname>.\u003Ctype>`), not in the same reply. Tell the user that the template is attached and ask them to send their next message (e.g. \"go ahead\").\n- A `potx` template is attached as `\u003Cname>.pptx`, so python-pptx opens it directly.\n- Calling it again is cheap: an unchanged template re-attaches the same file, a changed one replaces the old copy. The template itself stays unchanged.\n- If it answers that the hand-off is still running, call it again with the same arguments after about 30 seconds — no second copy is created.\n\n#### If code execution is available: edit the template with Python\n\n1. Check that the file is there (`\u002Fmnt\u002Fdata\u002F`) and that the library loads (`import docx` \u002F `openpyxl` \u002F `pptx`).\n2. If you add new content the template does not style (sections, tables, slides), call `get_corporate_ci` first and apply the CI's colors, fonts and sizes; where the template defines styles, the template wins.\n3. Change text inside the existing runs\u002Fcells so the layout stays; never overwrite the input — save the result under a new name in `\u002Fmnt\u002Fdata\u002F`, it comes back as a chat attachment.\n4. Re-open the result and check for leftover placeholders before reporting success.\n\nThe detailed recipe (Word, Excel, PowerPoint code, pitfalls such as openpyxl dropping charts) is in the bundled file `references\u002Fcode-template-editing.md` — read it with the built-in `read_file` tool, path `templates-skill\u002Freferences\u002Fcode-template-editing.md` (not the companyFILES tool of the same name). It only exists when this skill was installed as a package (zip); if only `SKILL.md` was pasted, use the four steps above.\n\n**Fallback without code execution** (or if the file or library is missing): fill the template with the `create_*_from_template` tools above, then refine the result with the iterative tools below (`append_to_word`, `replace_word_content`, `append_slides_to_powerpoint` with `reference_slide`, `modify_excel`). ODT has no Python library in the standard sandbox: use `create_odt_from_template`.\n\n## Post-Template Editing (Iterative Updates)\n\nEvery template tool returns the new document's `id`. Pass it as `document_id` to the iterative editing tools from **word-odt-skill** and **powerpoint-skill** to further modify the filled document without regenerating from scratch.\n\n### After `create_word_from_template` \u002F `create_word_from_template_with_images`\n\n| Goal                         | Tool                                                                                 |\n| ---------------------------- | ------------------------------------------------------------------------------------ |\n| Inspect current content      | `read_word_content { \"document_id\": \"\u003Cid>\" }`                                        |\n| Add more sections at the end | `append_to_word { \"document_id\": \"\u003Cid>\", \"content\": \"...\", \"add_page_break\": true }` |\n| Fully rewrite the document   | `replace_word_content { \"document_id\": \"\u003Cid>\", \"content\": \"...\" }`                   |\n\nExample — fill a template then append a custom appendix:\n\n```json\n\u002F\u002F Step 1: fill the template\n{ \"template_name\": \"report\", \"data\": { \"title\": \"Annual Report\" } }\n\u002F\u002F → returns id \"abc123\" (use it as document_id)\n\n\u002F\u002F Step 2: append extra content\n{ \"document_id\": \"abc123\", \"content\": \"## Appendix A\\n\\nAdditional data...\", \"add_page_break\": true }\n```\n\n### After `create_powerpoint_from_template`\n\n| Goal                                  | Tool                                                                                                                |\n| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| Inspect existing slides               | `read_powerpoint_slides { \"document_id\": \"\u003Cid>\" }`                                                                  |\n| Add new slides at the end             | `append_slides_to_powerpoint { \"document_id\": \"\u003Cid>\", \"slides\": [...] }`                                            |\n| Replace a specific slide              | `update_powerpoint_slide { \"document_id\": \"\u003Cid>\", \"slide_number\": 3, \"slides\": [...] }`                             |\n| **Add a slide matching the template** | `append_slides_to_powerpoint { \"document_id\": \"\u003Cid>\", \"reference_slide\": 2, \"placeholders\": {...} }`                |\n| **Replace a slide, keep the look**    | `update_powerpoint_slide { \"document_id\": \"\u003Cid>\", \"slide_number\": 3, \"reference_slide\": 2, \"placeholders\": {...} }` |\n\n> **Keep the template look:** appending\u002Fupdating with `slides`\u002F`markdown` renders the generic theme, which will **not** match a template deck. Use `reference_slide` + `placeholders` (clone-and-refill) instead — it copies an existing slide's design and refills its `{{placeholders}}`. See **powerpoint-skill** for full details. (Clone mode refills text placeholders only; for image placeholders re-run `create_powerpoint_from_template`.)\n\nExample — fill a template then append a custom closing slide:\n\n```json\n\u002F\u002F Step 1: fill the template\n{ \"template_name\": \"corporate_deck\", \"placeholders\": { \"title\": \"Q4 Results\" } }\n\u002F\u002F → returns id \"def456\" (use it as document_id)\n\n\u002F\u002F Step 2a: add a generic (non-template-styled) closing slide\n{ \"document_id\": \"def456\", \"slides\": [{ \"type\": \"section\", \"title\": \"Thank You\", \"subtitle\": \"Questions?\" }] }\n\n\u002F\u002F Step 2b: OR add a slide that matches the template by cloning slide 2 and refilling it\n{ \"document_id\": \"def456\", \"reference_slide\": 2, \"placeholders\": { \"title\": \"Next Steps\", \"owner\": \"PMO\" } }\n```\n\n## Key Notes\n\n- All create tools return `{id, filename, downloadUrl, markdownLink}` — always render `markdownLink` in the reply.\n- When `filename` is omitted, the filled document is named after `template_name` (`create_word_from_template_with_images`: `document`).\n- `create_word_from_template_with_images` falls back to a global `default.docx` if the named template is missing, whereas `create_word_from_template` does not — verify the template exists with `list_templates` first.\n- Template names are **case-sensitive** — always verify with `list_templates` first.\n- User templates take priority over global templates with the same name.\n- `replace_missing: false` (default) leaves unfilled `{{placeholder}}` tokens intact; `true` replaces them with empty string.\n- Warnings about missing placeholders are included in the response when applicable.\n- After filling a template, use the iterative tools (`append_to_word`, `append_slides_to_powerpoint`, etc.) to add or update content — the `document_id` stays the same throughout.\n- `attach_template_to_chat` is the exception path for changes the template tools cannot make; it needs code execution and works from the user's next message on.\n","# Templates Skill\n\nTools for listing and filling document templates (Word, Excel, ODT, PowerPoint).\n\n## Tools in This Skill\n\n| Tool                                    | Purpose                                                                           |\n| --------------------------------------- | --------------------------------------------------------------------------------- |\n| `list_templates`                        | List all available templates (personal + global) with placeholder info            |\n| `create_word_from_template`             | Fill a DOCX template with `{placeholder}` syntax                                  |\n| `create_word_from_template_with_images` | Fill a DOCX template with text and image placeholders                             |\n| `create_excel_from_template`            | Fill an XLSX template by cell address **or** `{{placeholder}}` name (auto-routed) |\n| `fill_excel_template`                   | Fill an XLSX template using `{{placeholder}}` syntax                              |\n| `create_odt_from_template`              | Fill an ODT template with `{{placeholder}}` syntax                                |\n| `create_powerpoint_from_template`       | Fill a POTX\u002FPPTX template with text, images, charts, speaker notes, slide repeat  |\n| `attach_template_to_chat`               | Attach a copy of a template to the chat for the code interpreter                  |\n| `list_image_templates`                  | Search the image library (image templates) for `img:\u003Cname>` references            |\n\n## Workflow\n\n1. **Discover templates:** Call `list_templates` (optionally filter by `type`: `docx`, `xlsx`, `potx`, `odt`, `pdf`, `image`)\n2. **Note placeholder names** from the response\n3. **Fill the template** with the matching `create_*_from_template` tool\n4. **Only if the template tools cannot do it** (bulk or free-form changes in the template's layout) and code execution is available: `attach_template_to_chat`, then edit with code (see below)\n\n## Tool Usage\n\n### list_templates\n\n```json\n{\n  \"type\": \"potx\"\n}\n```\n\nReturns per template: `name`, `displayName`, `description`, `category`, `tags`, placeholder lists, `loopSources`, `fields` (for PDF form templates), `size`, `isDefault`, upload dates, and scope (`\"user\"` personal or `\"global\"`).\n\nFor **POTX\u002FPPTX** templates the response includes a per-slide breakdown (`slideInfo`):\n\n- `slideNumber` — 1-based slide index\n- `layoutName` — PowerPoint layout name (e.g. `\"Title Slide\"`, `\"Two Content\"`)\n- `layoutType` — value from a `{{slide_type:xxx}}` marker on that slide (e.g. `\"section\"`, `\"default\"`, `\"text-image\"`)\n- `textPlaceholders` — `{{key}}` placeholders on this slide\n- `imagePlaceholders` — `{%name}` placeholders on this slide\n- `chartPlaceholders` — `{{name}}` chart container placeholders on this slide\n\nUse this breakdown to know exactly which placeholder goes on which slide before calling `create_powerpoint_from_template`. Filter by `type` to narrow results: `\"docx\"`, `\"xlsx\"`, `\"potx\"`, `\"odt\"`, `\"pdf\"`, `\"image\"`. Image templates (the image library) only appear with `type: \"image\"`; to find a fitting image, use `list_image_templates` (see below).\n\n---\n\n### Image library (image templates)\n\nAdmins upload organisation images (stock photos, key visuals, icons) in the companyFILES UI under Templates → Upload, users their own (PNG, JPEG, WebP, GIF, TIFF, BMP; no SVG). A personal image hides an organisation image of the same name. Find them with `list_image_templates`:\n\n```json\n{ \"search\": \"team office\", \"orientation\": \"landscape\", \"aspect_ratio\": 1.78, \"limit\": 10 }\n```\n\nAll arguments are optional: `search` (all words must appear in name, description or tags), `tag`, `orientation` (`landscape`, `portrait`, `square`), `aspect_ratio` (width\u002Fheight; sorts the closest first), `limit`. Each result has `ref` (`\"img:\u003Cname>\"`), `description`, `tags`, `width`, `height`, `aspectRatio` and `orientation`. Look at a candidate with `view_image { \"image_template\": \"\u003Cname>\" }`.\n\nUse the image as `img:\u003Cname>` wherever an image is accepted (`slides[].image`, layout `images`, Markdown `![alt](img:\u003Cname>)`) or as `image_template` in the `{%name}` image objects of Word and PowerPoint templates. Pick an image whose `aspectRatio` is close to the target slot's, so little is cropped. An unknown name fails the call with an error naming the reference.\n\n---\n\n### create_word_from_template\n\nPlaceholder syntax: `{placeholder}` (single curly braces). Dotted paths: `{user.name}`.\n\n```json\n{\n  \"template_name\": \"invoice\",\n  \"data\": {\n    \"customer\": \"Acme Corp\",\n    \"invoice_number\": \"INV-2025-042\",\n    \"date\": \"2025-05-08\",\n    \"total\": \"€4,200.00\"\n  },\n  \"filename\": \"invoice_acme\"\n}\n```\n\n**Table loop syntax** (place FOR\u002FEND-FOR in their own table rows):\n\n```\n{FOR item IN items}\n{= $item.name} | {= $item.qty} | {= $item.price}\n{END-FOR item}\n```\n\nPass `items` as an array in `data`. Missing loop sources are silently skipped with a warning.\n\n**Template expressions are not JavaScript.** Inside `{…}` commands only data paths (`$item.price`, `rows[0]`), literals, operators (`+ - * \u002F %`, comparisons, `&& || ??`, `cond ? a : b`), the commands `FOR`, `IF` and `EXEC`, and a short allowlist of helpers work — e.g. `toFixed`, `toUpperCase`, `join`, `toLocaleDateString`, `Math.round`, `parseFloat`, `new Date(…)`. Arrow functions, `.map`\u002F`.filter`, loops and template literals make the fill fail — compute such values beforehand and pass them in `data`.\n\n---\n\n### create_word_from_template_with_images\n\nSupports text placeholders `{name}` and image placeholders `{IMAGE logo}` or the short form `{%logo}` (type it in one go, otherwise Word splits it and it stays as text).\n\n```json\n{\n  \"template_name\": \"letterhead\",\n  \"placeholders\": {\n    \"company\": \"Acme Corp\",\n    \"date\": \"2025-05-08\",\n    \"logo\": {\n      \"data\": \"\u003Cbase64-encoded image>\",\n      \"width\": 4,\n      \"height\": 2,\n      \"extension\": \"png\"\n    }\n  },\n  \"filename\": \"letter_acme\"\n}\n```\n\nImage via stored document or from the image library (no re-upload needed):\n\n```json\n{\n  \"logo\": { \"document_id\": \"abc12345-...\", \"width\": 4, \"height\": 2 },\n  \"hero\": { \"image_template\": \"office-team\", \"width\": 16, \"height\": 9, \"fit\": \"cover\" }\n}\n```\n\nImage values: `{data, extension}` or `{document_id | librechat_file_id | image_template}`. `width`\u002F`height` (cm) are optional and form a box: the image keeps its aspect ratio inside it (`fit: \"contain\"`, default), `\"cover\"` crops it to the box, `\"stretch\"` distorts (only on request). Only one of `width`\u002F`height` scales the other; none = natural size, at most 16 cm wide. `create_word_from_template` takes the same image objects.\n\nThe org\u002Fuser logo is **auto-injected** only into a placeholder named exactly `logo` (i.e. `{%logo}`) — and only when configured in settings and no `logo` value is passed. Differently-named image placeholders (e.g. `{%companyLogo}`) are **not** auto-filled. The logo keeps its aspect ratio (inside 4 × 2 cm).\n\n---\n\n### create_excel_from_template\n\nAccepts **either** cell addresses (e.g. `\"A1\"`, `\"Sheet2!B3\"`) **or** `{{placeholder}}` names (pass the bare name without `{{ }}`) in `cell_values` — it auto-routes based on the keys you pass; mixed keys default to placeholder mode. Use `list_templates` to see available XLSX templates.\n\n```json\n{\n  \"template_name\": \"budget\",\n  \"cell_values\": {\n    \"A1\": \"Budget 2025\",\n    \"B5\": 125000,\n    \"Sheet2!C3\": \"Approved\"\n  },\n  \"filename\": \"budget_2025\"\n}\n```\n\n---\n\n### fill_excel_template\n\nFills cells using `{{placeholder}}` syntax — preserves formatting, styles, formulas, and charts.\n\n```json\n{\n  \"template_name\": \"monthly_report\",\n  \"data\": {\n    \"company\": \"Acme Corp\",\n    \"month\": \"May 2025\",\n    \"total\": 42000\n  },\n  \"replace_missing\": false,\n  \"filename\": \"report_may\"\n}\n```\n\n---\n\n### create_odt_from_template\n\nFills `{{placeholder}}` syntax in ODT templates.\n\n```json\n{\n  \"template_name\": \"letter\",\n  \"data\": {\n    \"recipient\": \"John Doe\",\n    \"date\": \"2025-05-08\",\n    \"subject\": \"Offer Letter\"\n  },\n  \"replace_missing\": false,\n  \"filename\": \"offer_letter_john\"\n}\n```\n\n---\n\n### create_powerpoint_from_template\n\nPlaceholder syntax:\n\n- **Text:** `{{key}}` anywhere in a text box\n- **Image:** `{%name}` in the **alt text** (`descr` attribute) of an image shape\n- **Chart:** `{{name}}` in the **alt text** of a chart container shape\n- **Layout marker:** `{{slide_type:default}}`, `{{slide_type:section}}`, `{{slide_type:text-image}}` — invisible metadata marker; declares the slide's layout type for `repeat` routing (multi-source). Cleared automatically from the output. The layout-native tools (`create_powerpoint_from_layouts`, `add_slides_from_layouts`) ignore it.\n\nAlways run `list_templates` first — for POTX\u002FPPTX it returns a per-slide breakdown including `layoutName`, `layoutType` (from the `{{slide_type:xxx}}` marker), and which text\u002Fimage\u002Fchart placeholders belong to each slide.\n\n> **If the POTX\u002FPPTX template has NO `{{}}` placeholders** and the call passes no `images`, `charts` or `speaker_notes`, this tool refuses the call and names the layout tools instead — `list_templates` flags such templates with `hasLegacyPlaceholders: false` and a `nextStep` hint. Corporate-design slide masters (Folienmaster) shipped by design teams usually contain no `{{}}` markup at all — they carry named slide layouts instead. Run `describe_pptx_template { \"template_name\": \"...\" }`: when `hasLegacyPlaceholders` is `false`, switch to `create_powerpoint_from_layouts` (see **powerpoint-skill**, \"corporate master without `{{}}`\"). Never ask the user to type `{{}}` markers into a corporate master. If its layouts have no text slots either and the content areas are plain text boxes with sample text on example slides (\"Text\", \"XXX\", \"TITEL\"), that is path D in **powerpoint-skill** (code execution). The same holds for a Word template without `{{}}` (sample text, text boxes, content controls): see **word-odt-skill**, \"Filling a corporate document without `{{placeholders}}`\".\n\n**Basic usage (single-record fill):**\n\n```json\n{\n  \"template_name\": \"corporate_deck\",\n  \"placeholders\": {\n    \"title\": \"Q4 Results\",\n    \"subtitle\": \"Finance Team\",\n    \"date\": \"May 2025\"\n  },\n  \"images\": {\n    \"logo\": { \"base64\": \"\u003Cbase64-png>\" },\n    \"chart_screenshot\": { \"document_id\": \"abc123...\" }\n  },\n  \"speaker_notes\": {\n    \"1\": \"Welcome everyone to the Q4 review\",\n    \"3\": \"These are the key takeaways\"\n  },\n  \"charts\": {\n    \"revenue_chart\": {\n      \"labels\": [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n      \"datasets\": [{ \"label\": \"Revenue\", \"values\": [100, 150, 120, 180] }]\n    }\n  },\n  \"filename\": \"q4_deck\"\n}\n```\n\n`speaker_notes` keys are **1-based** slide numbers.\n\n`charts` only renames the chart's series (`datasets[].label`). `labels` and `values` are **not** applied yet — the server logs them as \"not yet implemented\" and the chart keeps the template's data. Do not promise the user updated chart numbers.\n\nImage sources per `images` entry: `base64`, `document_id`, `librechat_file_id` or `image_template` (image library, e.g. `{ \"image_template\": \"office-team\" }`). The image is fitted into the placeholder picture's frame, never distorted: `fit` per image, default `\"cover\"` (fills the frame, centre crop), `\"contain\"` for names containing \"logo\" (whole image, centred); `\"stretch\"` only on request.\n\nNo logo is placed automatically in PowerPoint templates: only `{{company_name}}` is auto-filled from the settings. To show a logo, pass it explicitly in `images` (e.g. `\"logo\"` for `{%logo}`).\n\nThe tool takes only `template_name` — no `document_id` \u002F `librechat_file_id`. A `{{}}` deck attached in the chat must be uploaded as a template first, or be edited in clone mode (see **powerpoint-skill** §2a).\n\n**Single-source repeat** (duplicate one slide per data record):\n\n```json\n{\n  \"template_name\": \"team_deck\",\n  \"repeat\": {\n    \"slide\": 3,\n    \"data\": [\n      { \"name\": \"Alice\", \"role\": \"Engineer\" },\n      { \"name\": \"Bob\", \"role\": \"Designer\" }\n    ]\n  }\n}\n```\n\n`repeat.slide` is the 1-based slide number to duplicate; the slide is replaced by N copies, one per data record. By default, slides that are **not** repeated are removed from the output — set `repeat.keep_unused_slides: true` to keep them. `create_powerpoint_from_template` also accepts top-level `title` and `author`.\n\n**Multi-source repeat** (route each record to the slide matching its `slide_type`):\n\nUse this when the template has multiple layout slides marked with `{{slide_type:xxx}}` and each data record should use a different layout.\n\n```json\n{\n  \"template_name\": \"dynamic_deck\",\n  \"repeat\": {\n    \"data\": [\n      { \"slide_type\": \"section\", \"title\": \"Chapter 1\" },\n      { \"slide_type\": \"default\", \"title\": \"Results\", \"content\": \"Revenue up 15%\" },\n      { \"slide_type\": \"text-image\", \"title\": \"Architecture\", \"bullets\": \"Fast\\nScalable\" }\n    ]\n  }\n}\n```\n\nOmit `repeat.slide` when using `slide_type` routing — the matching template slide is found automatically from its `{{slide_type:xxx}}` marker. The `slide_type` values (`default`, `section`, `text-image`) correspond to the same layout names used in `create_powerpoint`.\n\n---\n\n### attach_template_to_chat\n\nAttaches a copy of a template (personal or global) to the current chat as a file, so the code interpreter can open and edit it with Python — for changes the `create_*_from_template` tools cannot make (e.g. replace a term throughout the document including tables and footers, add many table rows in the template's style, rebuild a sheet, add slides from the master's layouts).\n\n| Parameter | Type | Required | Description |\n| --- | --- | --- | --- |\n| `name` | string (max. 100) | yes | Template name exactly as listed by `list_templates` |\n| `type` | `docx` \\| `xlsx` \\| `potx` \\| `odt` | yes | Template type as listed by `list_templates` (no `pdf`) |\n\n```json\n{ \"name\": \"invoice\", \"type\": \"docx\" }\n```\n\n- **Prerequisites:** code execution must be enabled for the chat or agent (and allowed for the user's role), and the environment must store companyFILES documents as LibreChat files. Otherwise the tool answers with an error — then stay with the template tools.\n- **Next turn:** the file reaches the code interpreter only from the user's **next** message on (usually at `\u002Fmnt\u002Fdata\u002F\u003Cname>.\u003Ctype>`), not in the same reply. Tell the user that the template is attached and ask them to send their next message (e.g. \"go ahead\").\n- A `potx` template is attached as `\u003Cname>.pptx`, so python-pptx opens it directly.\n- Calling it again is cheap: an unchanged template re-attaches the same file, a changed one replaces the old copy. The template itself stays unchanged.\n- If it answers that the hand-off is still running, call it again with the same arguments after about 30 seconds — no second copy is created.\n\n#### If code execution is available: edit the template with Python\n\n1. Check that the file is there (`\u002Fmnt\u002Fdata\u002F`) and that the library loads (`import docx` \u002F `openpyxl` \u002F `pptx`).\n2. If you add new content the template does not style (sections, tables, slides), call `get_corporate_ci` first and apply the CI's colors, fonts and sizes; where the template defines styles, the template wins.\n3. Change text inside the existing runs\u002Fcells so the layout stays; never overwrite the input — save the result under a new name in `\u002Fmnt\u002Fdata\u002F`, it comes back as a chat attachment.\n4. Re-open the result and check for leftover placeholders before reporting success.\n\nThe detailed recipe (Word, Excel, PowerPoint code, pitfalls such as openpyxl dropping charts) is in the bundled file `references\u002Fcode-template-editing.md` — read it with the built-in `read_file` tool, path `templates-skill\u002Freferences\u002Fcode-template-editing.md` (not the companyFILES tool of the same name). It only exists when this skill was installed as a package (zip); if only `SKILL.md` was pasted, use the four steps above.\n\n**Fallback without code execution** (or if the file or library is missing): fill the template with the `create_*_from_template` tools above, then refine the result with the iterative tools below (`append_to_word`, `replace_word_content`, `append_slides_to_powerpoint` with `reference_slide`, `modify_excel`). ODT has no Python library in the standard sandbox: use `create_odt_from_template`.\n\n## Post-Template Editing (Iterative Updates)\n\nEvery template tool returns the new document's `id`. Pass it as `document_id` to the iterative editing tools from **word-odt-skill** and **powerpoint-skill** to further modify the filled document without regenerating from scratch.\n\n### After `create_word_from_template` \u002F `create_word_from_template_with_images`\n\n| Goal                         | Tool                                                                                 |\n| ---------------------------- | ------------------------------------------------------------------------------------ |\n| Inspect current content      | `read_word_content { \"document_id\": \"\u003Cid>\" }`                                        |\n| Add more sections at the end | `append_to_word { \"document_id\": \"\u003Cid>\", \"content\": \"...\", \"add_page_break\": true }` |\n| Fully rewrite the document   | `replace_word_content { \"document_id\": \"\u003Cid>\", \"content\": \"...\" }`                   |\n\nExample — fill a template then append a custom appendix:\n\n```json\n\u002F\u002F Step 1: fill the template\n{ \"template_name\": \"report\", \"data\": { \"title\": \"Annual Report\" } }\n\u002F\u002F → returns id \"abc123\" (use it as document_id)\n\n\u002F\u002F Step 2: append extra content\n{ \"document_id\": \"abc123\", \"content\": \"## Appendix A\\n\\nAdditional data...\", \"add_page_break\": true }\n```\n\n### After `create_powerpoint_from_template`\n\n| Goal                                  | Tool                                                                                                                |\n| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| Inspect existing slides               | `read_powerpoint_slides { \"document_id\": \"\u003Cid>\" }`                                                                  |\n| Add new slides at the end             | `append_slides_to_powerpoint { \"document_id\": \"\u003Cid>\", \"slides\": [...] }`                                            |\n| Replace a specific slide              | `update_powerpoint_slide { \"document_id\": \"\u003Cid>\", \"slide_number\": 3, \"slides\": [...] }`                             |\n| **Add a slide matching the template** | `append_slides_to_powerpoint { \"document_id\": \"\u003Cid>\", \"reference_slide\": 2, \"placeholders\": {...} }`                |\n| **Replace a slide, keep the look**    | `update_powerpoint_slide { \"document_id\": \"\u003Cid>\", \"slide_number\": 3, \"reference_slide\": 2, \"placeholders\": {...} }` |\n\n> **Keep the template look:** appending\u002Fupdating with `slides`\u002F`markdown` renders the generic theme, which will **not** match a template deck. Use `reference_slide` + `placeholders` (clone-and-refill) instead — it copies an existing slide's design and refills its `{{placeholders}}`. See **powerpoint-skill** for full details. (Clone mode refills text placeholders only; for image placeholders re-run `create_powerpoint_from_template`.)\n\nExample — fill a template then append a custom closing slide:\n\n```json\n\u002F\u002F Step 1: fill the template\n{ \"template_name\": \"corporate_deck\", \"placeholders\": { \"title\": \"Q4 Results\" } }\n\u002F\u002F → returns id \"def456\" (use it as document_id)\n\n\u002F\u002F Step 2a: add a generic (non-template-styled) closing slide\n{ \"document_id\": \"def456\", \"slides\": [{ \"type\": \"section\", \"title\": \"Thank You\", \"subtitle\": \"Questions?\" }] }\n\n\u002F\u002F Step 2b: OR add a slide that matches the template by cloning slide 2 and refilling it\n{ \"document_id\": \"def456\", \"reference_slide\": 2, \"placeholders\": { \"title\": \"Next Steps\", \"owner\": \"PMO\" } }\n```\n\n## Key Notes\n\n- All create tools return `{id, filename, downloadUrl, markdownLink}` — always render `markdownLink` in the reply.\n- When `filename` is omitted, the filled document is named after `template_name` (`create_word_from_template_with_images`: `document`).\n- `create_word_from_template_with_images` falls back to a global `default.docx` if the named template is missing, whereas `create_word_from_template` does not — verify the template exists with `list_templates` first.\n- Template names are **case-sensitive** — always verify with `list_templates` first.\n- User templates take priority over global templates with the same name.\n- `replace_missing: false` (default) leaves unfilled `{{placeholder}}` tokens intact; `true` replaces them with empty string.\n- Warnings about missing placeholders are included in the response when applicable.\n- After filling a template, use the iterative tools (`append_to_word`, `append_slides_to_powerpoint`, etc.) to add or update content — the `document_id` stays the same throughout.\n- `attach_template_to_chat` is the exception path for changes the template tools cannot make; it needs code execution and works from the user's next message on.\n",{"name":5,"description":7},"main","39e0752000720de2d20917bd46c1c5149c4a0221","en\u002Fskills\u002Ffiles\u002Ftemplates-skill","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills","https:\u002F\u002Fgithub.com\u002FinnFactory-AI","https:\u002F\u002Finnfactory.ai","Engineering AI. Enabling Tomorrow.","2026-11-13 19:54:47",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add innFactory-AI\u002Fcompany-ai-stack-skills --skill templates-skill",{"tool":38,"command":39},"bunx","bunx skills add innFactory-AI\u002Fcompany-ai-stack-skills --skill templates-skill",{"tool":41,"command":42},"pnpm","pnpm dlx skills add innFactory-AI\u002Fcompany-ai-stack-skills --skill templates-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Ffiles\u002Ftemplates-skill\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fcode-template-editing.md","REFERENCE","参考文档",7626,"https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Ffiles\u002Ftemplates-skill\u002Freferences\u002Fcode-template-editing.md",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7AF4HHK5B987T44HW7BZFVZ","sales-asset-skill","Produce tailored one-pagers, landing pages, case study drafts, and demo narratives personalised to a specific deal and buyer persona. Use when preparing collateral for a specific deal, building leave-behind materials, or customising standard assets for a prospect. Trigger with \"create a one-pager for\", \"sales deck for [deal]\", \"customise this asset for\".","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Fsales\u002Fsales-asset-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7AF4D32V0FJE0QGCBZSQ7BW","pipeline-review-skill","Analyse deal health, surface stale or at-risk opportunities, and produce a prioritised weekly action plan. Use when preparing for a pipeline review meeting, assessing forecast accuracy, or identifying stuck deals. Trigger with \"review my pipeline\", \"pipeline health check\", \"deal risk analysis\".","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Fsales\u002Fpipeline-review-skill\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7AF48W7G8DMAHRAM125B192","outreach-skill","Research a prospect then draft personalised outreach with research-backed hooks, subject-line variants, and follow-up sequences. Use when cold-emailing a prospect, writing LinkedIn outreach, or building a multi-touch sequence. Trigger with \"draft outreach to [person\u002Fcompany]\", \"write cold email to\", \"outreach sequence for\".","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Fsales\u002Foutreach-skill\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AF43VKNPQ7G1NTQ4MRH40J","forecast-skill","Build a weighted revenue forecast with risk flags, commit recommendations, and gap-to-quota analysis. Use when preparing for a forecast call, evaluating end-of-quarter projections, or assessing pipeline coverage. Trigger with \"build forecast\", \"forecast for this quarter\", \"where do I stand against quota\".","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Fsales\u002Fforecast-skill\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AF3Z5N61VYSEJRYWXR4JP1","deal-strategy-skill","Map stakeholder power dynamics, surface deal risks, and recommend a step-by-step engagement strategy. Use when entering a complex deal, preparing for an executive sponsor meeting, or diagnosing a stuck opportunity. Trigger with \"plan deal strategy for\", \"stakeholder map\", \"how do I advance this deal\".","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Fsales\u002Fdeal-strategy-skill\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7AF3VGG29AX0T2X9WQ5MWDN","call-summary-skill","Extract action items, key topics, and objections from call notes or transcripts and draft a customer-facing follow-up email. Use after a sales call, demo, or discovery session. Trigger with \"summarise this call\", \"call notes from\", \"write follow-up for this meeting\".","https:\u002F\u002Fgithub.com\u002FinnFactory-AI\u002Fcompany-ai-stack-skills\u002Fblob\u002Fmain\u002Fen\u002Fskills\u002Fsales\u002Fcall-summary-skill\u002FSKILL.md",[],[]]