> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tilt.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Scripted Artifact

> Create a small reusable dashboard with Tilt Agent and reopen it from Library.

This guide creates a read-only Market Session Checklist. Each run checks the time against the regular US-equities weekday session. The saved checklist stays in Library.

## 1. Ask for a reusable view

Tell Tilt Agent to create and save a Scripted Artifact. Describe the changing data, the sections you need, and what the artifact must not do.

```text theme={null}
Create and save a reusable Scripted Artifact called
Market Session Checklist.

Each time it runs, show whether the current time falls inside
the regular US-equities weekday session of 9:30 AM to 4:00 PM
Eastern. State that this does not confirm holidays, early closes,
or unscheduled closures. Follow it with a concise read-only
checklist for reviewing cash, allocation drift, and proposals
awaiting review. Make missing data explicit. Save it to Library.
```

<Frame caption="The request names the artifact, the session-window calculation, and its limits.">
  <img src="https://mintcdn.com/tilt/KdlLLpRFqNhLRxbq/images/tilt-agent/create-scripted-artifact-chat.png?fit=max&auto=format&n=KdlLLpRFqNhLRxbq&q=85&s=f0af2971c6a092db8ffaba31db07afcb" alt="A chat request asking Tilt Agent to create and save a Market Session Checklist with a regular-session calculation and read-only review checks" width="2160" height="660" data-path="images/tilt-agent/create-scripted-artifact-chat.png" />
</Frame>

Tilt Agent writes the artifact, evaluates it, and validates its output before saving it. Wait for the confirmation that it was saved to Library.

## 2. Review the artifact

Open the artifact from the chat or from **Library > Scripted Artifacts**.

<Frame caption="The saved artifact reports the current market window and labels unavailable portfolio data.">
  <img src="https://mintcdn.com/tilt/KdlLLpRFqNhLRxbq/images/tilt-agent/market-open-checklist.png?fit=max&auto=format&n=KdlLLpRFqNhLRxbq&q=85&s=e6d9c4b045a22a870c3274a246774e57" alt="Market Session Checklist Scripted Artifact showing the regular US-equities session window and read-only checks for cash, allocation drift, and proposals awaiting review" width="2240" height="1040" data-path="images/tilt-agent/market-open-checklist.png" />
</Frame>

The example has no connected portfolio data, so it labels each unavailable input instead of inventing a result.

## 3. Run it again

Select **Reload** to execute the saved script against current data. Use **Edit** to ask Tilt Agent to change the artifact, or **Rename** to change its title.

Ask for another Scripted Artifact when the new view has a different purpose. Keep one artifact focused on one recurring question.
