# OpenClaw Formatter

<!-- Auto-generated by `pnpm docs:formatters`. Do not edit manually. -->

PromptScript compiles your `.prs` sources to native OpenClaw configuration. The main output is `INSTRUCTIONS.md`. It is not enabled by default, add it to `targets` to use it.

## Enable the Target

```yaml
targets:
  - openclaw
```

Pick an output version when you need more than the default:

```yaml
targets:
  - openclaw:
      version: full
```

## At a Glance

| Property          | Value                                    |
| ----------------- | ---------------------------------------- |
| **Tier**          | Tier 3                                   |
| **Main output**   | `INSTRUCTIONS.md`                        |
| **Dot directory** | `.openclaw/`                             |
| **Skills**        | Yes (`.openclaw/skills/<name>/SKILL.md`) |
| **Agents**        | No                                       |
| **Commands**      | No                                       |
| **Local files**   | No                                       |

## Output Files

| File              | Path                               | Purpose                    |
| ----------------- | ---------------------------------- | -------------------------- |
| Main instructions | `INSTRUCTIONS.md`                  | Primary rule file          |
| Skills            | `.openclaw/skills/<name>/SKILL.md` | Reusable skill definitions |

## Output Versions

| Version          | Output                                       |
| ---------------- | -------------------------------------------- |
| `simple`         | Single INSTRUCTIONS.md file                  |
| `multifile`      | Single INSTRUCTIONS.md file                  |
| `full` (default) | Multifile + .openclaw/skills/<name>/SKILL.md |

## MCP and Hooks

| Block         | Support       |
| ------------- | ------------- |
| `@mcpServers` | Not supported |
| `@hooks`      | Not supported |

Native hook reference: <https://promptscript.dev/docs/guides/hooks/>

## Supported Features

| Feature                    | Supported |
| -------------------------- | --------- |
| Markdown Output            | Yes       |
| MDC Format                 | No        |
| Code Blocks                | Yes       |
| Mermaid Diagrams           | No        |
| Single File Output         | Yes       |
| Multiple Rule Files        | No        |
| Workflow Files             | No        |
| Nested Directory Structure | No        |
| YAML Frontmatter           | No        |
| Description in Frontmatter | No        |
| Globs in Frontmatter       | No        |
| Activation Type            | No        |
| Glob Pattern Targeting     | No        |
| Always Apply Rules         | Yes       |
| Manual Activation          | No        |
| Auto/Model Activation      | No        |
| Structured Examples        | Yes       |
| Character Limit Validation | No        |
| Content Section Splitting  | Yes       |
| Guard Dependencies         | Yes       |
| Context File Inclusion     | No        |
| @-Mentions                 | No        |
| Tool Integration           | No        |
| Path-Specific Rules        | No        |
| Prompt Files               | No        |
| Slash Commands             | No        |
| Skills                     | Yes       |
| Agent Instructions         | No        |
| Local Memory               | No        |
| Nested Memory              | No        |

## See Also

- [Platform matrix](https://getpromptscript.dev/reference/formatters/index.md)
- [Configuration reference](https://getpromptscript.dev/reference/config/index.md)
- [Target platforms and output families](https://getpromptscript.dev/features/target-platforms/index.md)