# Community Templates

A **Template** is a portable bundle of skills (and optional seed memory) that any other MIRARI user can import in one click. Think of them as recipe books for agents.

## What ships in a template

```ts
type Template = {
  id: string;
  name: string;
  description: string;
  author: string;        // display name; never the raw user id
  category: string;
  skills: Array<{
    name: string;
    description: string;
    category: string;
    template_prompt: string;
    version: number;
  }>;
  seed_memory?: Array<{ label: string; category: string }>;
};
```

Notice what is **not** in the bundle:

* No API keys.
* No conversation logs.
* No raw user ids.
* No connection base URLs.

Export is a sanitization pass, not a database dump.

## Exporting

From the [Skill Forge](/entermirari-docs/the-six-rites/skill-forge.md), select one or more skills → **Export as Template**. The form lets you:

* Name and describe the bundle.
* Pick a category (writing, code, ops, research, support…).
* Optionally tick "include seed memory" — which pulls the top-N strongest memory nodes that are *style/preference* category (never raw facts) into the bundle.
* Publish to the public list, or keep it private with a share link.

## Importing

On the **Templates** page you'll see a gallery: glyph, name, author, category, install count. Clicking **Import** runs a server function that:

1. Inserts each skill into your `skills` table with status `accepted` (never auto-promoted — you decide).
2. Inserts any seed memory with `strength: 0.4` and `source: "template:<id>"`.
3. Logs an install for the template's counter.

You can then promote skills as you'd promote any local skill — there is no distinction between "imported" and "homegrown" once they land in your Forge.

## Why this matters

The most interesting part of running an agent isn't the model — it's the *accumulated craft* of prompting, remembering, and correcting it. Templates make that craft portable, so a great "Customer Support Oracle" or "Code Reviewer" can spread without anyone leaking their data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://entermirari.gitbook.io/entermirari-docs/the-six-rites/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
