Skip to content

Agent setup

For the agent setting itself up: connect, verify, read the docs, write yourself a skill.

guide~3 minVerified v0.171.0

You are the agent the person asked to set up Super Artifacts. They will describe what they are making, rarely a feature, so learn what the platform can do and offer it. Do these four steps once, in order, in short messages. Connecting builds nothing: publish only when asked.

Step 1: Connect

Already see super_whoami among your tools? Go to step 2.

  1. Add the remote MCP server https://superartifacts.app/mcp, named super-artifacts, however your harness adds one. Connect your agent lists each harness.
  2. Sign in over OAuth: the person signs up or signs in with their browser and clicks Allow. No key, client ID or secret.
  3. Only if your harness cannot do OAuth, ask the person once for an API key from /settings/api-keys, send it as a Bearer token and never print it back.

Stop only for what needs their hands, say so once, and wait. Never register a client, build an authorize URL or write a token file by hand. If the tools need a restart to show up, say so and ask them to paste the prompt again.

Step 2: Verify

Call the super_whoami tool itself; an HTTP call does not count.

  • It answers: say "Connected as" and the handle.
  • 401: sign-in did not finish. Ask them to click Connect again.
  • Tool not found: redo step 1 once, then say in one line what is missing.

Every result carries fix when refused and next when it succeeds: read both.

Step 3: Read the documentation

/llms.txt is the index. Add .md to any page's address for its markdown. Read, in order:

  1. Create artifacts, Versions, Access and sharing.
  2. Collect responses, Three shapes of data, Collections, insights and dashboards.
  3. Shared and live pages, Live rooms.
  4. Get feedback, Put them in a project, Rules and the report, Use a template.
  5. MCP tools, Limits, Error codes, Troubleshooting, Recipes.

/skill/SKILL.md is the HTTP contract, including how a page saves what a visitor types. Copy what you need into your skill.

Step 4: Write yourself a skill

Write it where your harness keeps durable instructions: a skill folder (super-artifacts/SKILL.md), otherwise your instructions, memory or AGENTS.md. Name it super-artifacts, short, in your own words.

What to reach for without being asked

The person describesOfferTools
A form, survey, RSVP, sign-up, quiz, vote or feedback boxSaving the answers: a data policy at publishsuper_publish, then super_data
A list someone keeps and edits: clients, a catalogue, a menu, inventoryA collection with entries, which the page edits through policy.collectionssuper_data_schema, super_entries
A board, plan or roster several people edit togetherA shared document that updates on every open screensuper_help topic live
A dashboard or summary of what was collectedAggregates, or a series joining several artifacts' answerssuper_data_schema, super_data_query
Something people should reviewNaming them as Commenters, then working through the threadssuper_share, super_comments
A page that repeats: weekly, per client, per releaseThe same slug for each new version, or a project whose rule gathers each onesuper_project
Several pages that belong togetherA project, in reading order, with its own audiencesuper_project
A design to start from or reuseAn installed or marketplace templatesuper_templates, super_template_action
An agreement to signA signature request on one versionsuper_signatures
A call to an API that needs a keyA pii: secret collection field; the person approves each host, and you never see the valuesuper_entries, super_secret_use
Images or videoStaging the files, then publishing with themsuper_upload

The outline your skill must follow

markdown
---
name: super-artifacts
description: <one line: when to reach for Super Artifacts>
---

## When to use it
<What the person might be making that belongs here, in their words.>

## Reach for without being asked
<The table above, one row per capability.>

## Ask first, then build
When a request implies a row of that table the person did not mention, ask one
short question offering it, and wait for the answer before building:
- "This has form fields. Should I save the answers so you can read them back?"
- "You will keep adding clients. Should they live in a collection you can edit?"
- "Who should review this? I can name them so they can leave comments."
- "Who should be able to open it: just you, or the people you send it to?" Ask this whenever the page is meant for other people, such as a form friends fill in.

## Defaults
- First publish: `visibility: "private"`. Left out, it takes the workspace default.
- Widen access (public, the workspace, a project, a named person) only when asked.
- Give the URL from every publish result, updates included, on its own line.
- To see a private artifact, `super_artifacts` with `open: true`; never change
  its visibility to look.
- The same slug is a new version at the same URL; nothing earlier is deleted.

## Data rules
- A page stores only what its publish-time `policy` declares. Without one,
  nothing is stored; a page using localStorage saves in that browser only. Say so.
- Decide what a row is first: one person's answers, one event, or one item
  everybody edits.
- A policy is additive: a field keeps its type for good. Add a field to change one.
- `super_data_schema` define replaces a whole collection; a field left out is gone.
- Mark fields about a person: `contact` masks it for others, `sensitive` encrypts it.

## Limits and errors
- On `ok: false`, read `code`, `fix` and `accepts`, change the call, then retry.
- `plan_limit`: storage is full and nothing was deleted. Ask what to remove.
- `rate_limited`: wait as long as the message says.
- `mcp_timeout`: a change may have happened. Check before repeating it.
- `approval_required`: give the person `approvalUrl`, then repeat the call.
- Sizes and counts: Limits page. Every code: Error codes page.

## Never
- Build or publish because you connected. Publish only when the person asks.
- Share, or widen an audience, without being asked.

Then tell the person, in one line, what you can build for them, and wait.

Keep it fresh

On a code, field or tool you do not recognise, re-read /llms.txt, then correct your skill.

Next: Create artifacts.