---
title: "Set a goal for RShift Sites"
description: "Type /goal in a Build mode message, or pick Goal from the Skills list, to set that message as a goal. RShift Sites works on it until the goal is achieved, so a large task can be finished completely in a single message."
---

> Documentation Index
> Fetch the complete documentation index at: https://rshift.helpcent.re/llms.txt
> Use this file to discover all available pages before exploring further.

# Set a goal for RShift Sites

<p>A goal is a <a href="/sites/features/agent-mode/">Build mode</a> message that RShift Sites keeps working on until the goal is achieved. You can set one on any message: the first prompt of a new project or any message in an existing project. Set a goal for a large task that you want finished completely, such as a feature that spans several parts of your app.</p>
<p>A goal can take hours to finish and use a large number of credits, so use it for work where a complete result matters more than speed or cost.</p>
<blockquote>
<p><strong>Note</strong></p>
<p>A goal still pauses at your <a href="/sites/introduction/credits-and-usage/#build-costs">credit check-in level</a> and asks whether to continue, like any long-running message. With the default level of 20 credits, a large goal pauses several times along the way. Adjust the level in <a href="/sites/introduction/lovable-account-settings/#preferences">account settings</a> to check in less often.</p>
</blockquote>
<h2>How RShift Sites works on a goal</h2>
<p>A goal changes how RShift Sites works on the message:</p>
<ul>
<li><strong>RShift Sites works until the goal is achieved</strong>, for up to <a href="/sites/features/agent-mode/#how-long-lovable-works-on-one-message">10 hours</a> on the one message, and uses the final half hour to finish what is in progress and summarize what is done.</li>
<li><strong>RShift Sites doesn't pause to ask questions about the work.</strong> It makes routine decisions itself, and stops early only when it needs something that only you can provide, such as access to another service. Because of this, <a href="#write-a-goal-lovable-can-finish-on-its-own">write the goal so RShift Sites can finish on its own</a>.</li>
<li><strong>RShift Sites still checks in about cost.</strong> Like any long-running message, a goal pauses when it crosses your <a href="/sites/introduction/credits-and-usage/#build-costs">credit check-in level</a> and asks whether to continue. Choose <strong>Continue</strong> and RShift Sites resumes where it left off.</li>
<li><strong>RShift Sites builds the finished version.</strong> It completes what you asked for, rather than delivering a first version for you to review and refine.</li>
<li><strong>You can still guide the work.</strong> <a href="/sites/features/projects/chat/#send-follow-ups-while-lovable-works">Send follow-up messages</a> to adjust the direction, and they become part of the goal. Follow the progress in the <a href="/sites/features/projects/chat/#follow-the-work-in-activity-cards">activity cards</a>, or click the <strong>stop button</strong> to stop the work.</li>
</ul>
<h2>Set a goal</h2>
<p>You set a goal in the message itself, with the <code>/goal</code> command. <strong>Goal</strong> is listed with the <a href="/sites/features/skills/#custom-and-built-in-skills">skills built by RShift Sites</a>, and you add it the same way you add a skill:</p>
<p><strong>Add the command to your message</strong></p>
<p>Type <code>/goal</code> anywhere in your message, or type <code>/</code> and pick <strong>Goal</strong> from the <strong>Skills</strong> list. The same list is in the <a href="/sites/features/projects/chat/#chat-actions"><strong>Chat actions</strong> menu</a>, the <strong>+</strong> button next to the chat input, under <strong>Add context → Skills</strong>. The command appears as a <strong>Goal</strong> tag in your message, and a banner above the chat input confirms the goal: "RShift Sites will work until your goal is achieved. This might take hours and use a large number of credits." Write the rest of the message as a <a href="#write-a-goal-lovable-can-finish-on-its-own">description of the goal</a>. A message with <code>/goal</code> and nothing else doesn't send.</p>
<p><strong>Send the message</strong></p>
<p>RShift Sites removes the <code>/goal</code> command from the message text, and the sent message is marked <strong>Goal</strong> in the project chat so you can recognize it later.</p>
<pre><code class="language-text">/goal Refactor the checkout flow to support saved payment methods, update the database schema, and add tests for the new endpoints.
</code></pre>
<p>The name <code>goal</code> is reserved for this command, so you cannot create a <a href="/sites/features/skills/">skill</a> named <code>goal</code>.</p>
<h3>Write a goal RShift Sites can finish on its own</h3>
<p>RShift Sites doesn't pause to ask you questions during a goal, so the message needs to include everything RShift Sites would otherwise ask about:</p>
<ul>
<li><strong>What a finished result looks like.</strong> Describe the parts you expect, such as the pages, flows, or data involved, and what the finished app should do.</li>
<li><strong>The decisions you care about.</strong> RShift Sites decides anything you leave open, so state how you want the result to look and behave, and the edge cases it must handle.</li>
<li><strong>Access to other services.</strong> If the work involves other services, set up the <a href="/sites/integrations/introduction/">connectors</a> and <a href="/sites/features/secrets/">secrets</a> it needs before you send the goal. RShift Sites stops early if it needs access that only you can grant.</li>
</ul>
<p>A goal still pauses at your <a href="/sites/introduction/credits-and-usage/#build-costs">credit check-in level</a> like any long-running message. If you want fewer pauses on a large goal, adjust the level in <a href="/sites/introduction/lovable-account-settings/#preferences">account settings</a> before you start.</p>
<h2>Goals run in Build mode</h2>
<p>Goals always run in <a href="/sites/features/agent-mode/">Build mode</a>. If the mode picker is on <strong>Plan</strong> when you send a <code>/goal</code> message, RShift Sites switches the picker to <strong>Build</strong>, and it stays on <strong>Build</strong> until you change it. If the message fails to send, the picker stays on <strong>Plan</strong>.</p>
<p>The goal applies only to the message you send it with: your next message is a regular message, in the mode the picker shows.</p>
<h2>When you can't set a goal</h2>
<p>You can't set a goal while RShift Sites is already working. What happens to a <code>/goal</code> message you send during that time depends on what RShift Sites is working on:</p>
<ul>
<li><strong>While RShift Sites works on a regular message</strong>, no goal is set. A notice above the chat input warns you first, and the message is sent as a regular message: the <code>/goal</code> command has no effect and stays in the message as ordinary text.</li>
<li><strong>While RShift Sites works on a goal</strong>, your message joins that goal as a <a href="/sites/features/projects/chat/#send-follow-ups-while-lovable-works">follow-up</a> and becomes part of the work toward the same goal. No notice appears.</li>
</ul>
<h2>What a goal costs</h2>
<p>A goal is billed on the work RShift Sites does, and it costs noticeably more than a regular Build mode message, for two reasons: the same work uses more credits, and a goal involves more work, because RShift Sites keeps working until the goal is achieved. You are charged for all of that work, from start to finish.</p>
<p><a href="/sites/introduction/credits-and-usage/#build-costs">Credit check-ins</a> still apply: the work pauses when it crosses your check-in level, and choosing <strong>Finish up</strong> ends the goal early, with RShift Sites finishing the work in progress and stopping. The <strong>stop button</strong> stops the work at any time, and you are only charged for the work completed up to that point. Check your credit balance before you set a large goal. The <a href="/sites/features/agent-mode/#control-the-cost-of-a-build-mode-request">cost controls for Build mode requests</a> all apply to goals too.</p>
<h2>FAQ</h2>
<p><strong>Does setting a goal change my mode?</strong></p>
<p>Goals always run in <a href="/sites/features/agent-mode/">Build mode</a>, so if the mode picker is on <strong>Plan</strong> when you send a <code>/goal</code> message, RShift Sites switches the picker to <strong>Build</strong>, and it stays on <strong>Build</strong> until you change it. The goal itself applies only to the message you send it with: your next message is a regular message, in the mode the picker shows. The same is true for a project you create from the dashboard with a <code>/goal</code> prompt: the goal covers only that first message, and the editor opens in Build mode like any new project.</p>
<p><strong>Why did my /goal message send as a normal message?</strong></p>
<p>RShift Sites was already working on a regular message when you sent it. You can't set a goal while a message is in progress, and a notice above the chat input warns you before you send. The message is still sent, but <code>/goal</code> has no effect and stays in the message as ordinary text. If RShift Sites is working on a goal instead, your message joins that goal as a follow-up.</p>
<p><strong>Do I need to type /goal again when I retry a failed message?</strong></p>
<p>No. If a message you sent as a goal fails and you retry it from the project chat, the retried message is sent as a goal again.</p>
<p><strong>How much does a goal cost?</strong></p>
<p>A goal is billed on the work RShift Sites does, and it costs noticeably more than a regular Build mode message, for two reasons: the same work uses more credits, and a goal involves more work, because RShift Sites keeps working until the goal is achieved. <a href="/sites/introduction/credits-and-usage/#build-costs">Credit check-ins</a> still pause the work at your check-in level, and the <strong>stop button</strong> stops it at any time.</p>
<p><strong>How do I recognize a goal in the chat history?</strong></p>
<p>Messages you sent with <code>/goal</code> are marked <strong>Goal</strong> in the project chat, so you can tell them apart from your other messages.</p>
<h2>Related topics</h2>
<ul>
<li><a href="/sites/features/payments/">Add payments to your app</a></li>
<li><a href="/sites/features/projects/chat/">Work with RShift Sites in the project chat</a></li>
<li><a href="/sites/features/agent-mode/">Implement changes in Build mode</a></li>
<li><a href="/sites/features/skills/">Define reusable instructions with skills</a></li>
</ul>

Source: https://rshift.helpcent.re/sites/features/goal-runs/index.mdx
