Skip to content

OpenHands Formatter

PromptScript compiles your .prs sources to native OpenHands configuration. The main output is .openhands/rules/project.md. It is not enabled by default, add it to targets to use it.

Enable the Target

targets:
- openhands

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

targets:
- openhands:
version: full

At a Glance

PropertyValue
TierTier 3
Main output.openhands/rules/project.md
Dot directory.openhands/
SkillsYes (.openhands/skills/<name>/SKILL.md)
AgentsNo
CommandsNo
Local filesNo

Output Files

FilePathPurpose
Main instructions.openhands/rules/project.mdPrimary rule file
Skills.openhands/skills/<name>/SKILL.mdReusable skill definitions

Output Versions

VersionOutput
simpleSingle .openhands/rules/project.md file
multifile.openhands/rules/project.md + .openhands/mcp_config.toml (skills via full mode)
full (default).openhands/rules/project.md + .openhands/skills//SKILL.md + .openhands/mcp_config.toml

MCP and Hooks

BlockSupport
@mcpServers.openhands/mcp_config.toml (toml)
@hooksNot supported

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

Supported Features

FeatureSupported
Markdown OutputYes
MDC FormatNo
Code BlocksYes
Mermaid DiagramsYes
Single File OutputYes
Multiple Rule FilesYes
Workflow FilesNo
Nested Directory StructureNo
YAML FrontmatterYes
Description in FrontmatterYes
Globs in FrontmatterNo
Activation TypeNo
Glob Pattern TargetingNo
Always Apply RulesYes
Manual ActivationNo
Auto/Model ActivationNo
Structured ExamplesYes
Character Limit ValidationNo
Content Section SplittingYes
Guard DependenciesYes
Context File InclusionNo
@-MentionsNo
Tool IntegrationNo
Path-Specific RulesNo
Prompt FilesNo
Slash CommandsNo
SkillsYes
Agent InstructionsNo
Local MemoryNo
Nested MemoryNo

See Also