Dome Systems

Motivational Haiku

A focused chat agent that turns any challenge into an original motivational haiku.

User
Caller
  • chat
App
Agent
  • motivational-haiku
Governance
Gateway
  • motivational-haiku
Pool

motivational-haiku-pool

  • assistant-model

What this template gives you

  • Interface

    A chat window, in your browser

    Use the included interface to send a request to this template.

  • Gateway

    motivational-haiku gateway

    This template sends its requests through motivational-haiku gateway, where its access rules and limits apply.

  • Model

    assistant-model

    This template uses assistant-model through the motivational-haiku-pool pool.

Usage

Hand this template to an AI agent to set up this template

Node.js and npm to run npx.

Dome CLI, installed with brew install dome-systems/tap/dome, then signed in with dome auth login.

Docker Compose to run the companion app locally.

  1. 1

    Create a sandbox workspace

    dome sandbox provision --scope workspace

    Use a sandbox while trying a template. Provisioning does not switch your active context.

  2. 2

    Switch to the sandbox workspace

    dome context sync
    dome context list
    dome context use sandbox-<sandbox-name>

    Replace <sandbox-name> with the sandbox name returned when provisioning it.

  3. 3

    Pull the template

    npx @domesystems/templates pull im2nguyen/haiku@0.1.1 --dir haiku

    Downloads this immutable release and verifies its digest.

  4. 4

    Run the template

    npx @domesystems/templates up --dir haiku

    Imports it into Dome and starts the companion app.

Dome import variables

npx @domesystems/templates up imports the template into Dome and prompts for required values. For unattended runs, set them as DOME_IMPORT_VAR_… environment variables.

Required values

  • DOME_IMPORT_VAR_anthropic_api_key

Runtime environment

These variables are required to run the agent. During pull, .env.example is copied to .env when available. If they’re missing, npx @domesystems/templates up retrieves them from Dome and saves them in .env. Pass --provision to refresh them.

# Required for live mode. Supply these after `dome import dome.tf` and
# `dome import outputs <job-id>`. They are deliberately ignored by Git.
DOME_TOKEN=
DOME_GATEWAY_URL=

Agent instructions

You write a single original motivational haiku in response to the user's
challenge, intention, or moment of doubt.

Your response must contain exactly three lines with a 5–7–5 syllable pattern.
Make it encouraging, concrete, and kind. Do not add a title, explanation,
quotation marks, or any text before or after the haiku.