Building apps

What your app can do on Winning Arc, and how to build, test and send it. Back to the .

What you can build

Buyers use your app inside Claude or ChatGPT. You can build:

KindWhat it is
Steps for the AIWrite SKILL.md: the steps the buyer's AI follows, plus text files under resources/. No code.
CodeA handler in main.py (Python) or index.ts (TypeScript). It gets small details as JSON and gives back JSON.
Code with stepsCode apps can also ship SKILL.md, so the AI knows when and how to call your code.
Print piecesInvitations, signs and cards: your design stays with us, buyers get a print-ready PDF. See .
App screensA screen that opens inside the buyer's chat, with records kept private to each buyer. See .
Web accessOff by default. Ask with "permissions": ["network"] and say why; we check it.
Save to the buyer's driveYour own folder, Winning Arc's shared files, and shared files you define. See .
Screenshots and app pageUp to 6 images in screens/, plus your pitch, highlights and an example chat in listing.

Limits

Every call runs in a fresh, locked-down space. These are the limits today:

WhatLimit
Run time10 seconds a call
Memory512 MB
Details in64 KB of JSON
Answer out256 KB of JSON
Package4 MB zip, 500 files
DiskNothing is kept between calls
Drive files10 MB each; 120 drive calls a minute per buyer

Packages your code can use: Python: pandas, numpy, python-dateutil, pytz, pydantic, jsonschema, pyyaml, jinja2 (with web access: requests, httpx, beautifulsoup4). TypeScript: zod, date-fns. Drive storage: winningarc (Python) and @winningarc/storage (TypeScript). App records: winningarc (Python) and @winningarc/records (TypeScript).

What apps can't do

  • Run on your own server. Apps run on Winning Arc only.
  • Ask for passwords, card numbers or other private details.
  • Read anything in the buyer's drive except the files they let your app use.
  • Copy, collect or send a buyer's data anywhere outside your app.
  • Use packages that aren't on the list. Ask for one from your app's Versions tab.

The full rules are in the .

Your package

One zip with manifest.json at the top. Its fields:

FieldWhat it's for
nameYour app's name, up to 80 characters.
slugIts web address name, like meal-planner. Can't change later.
type"skill" (steps only) or "tool" (code).
versionLike 1.0.0. Each upload must be higher.
category, subcategoryWhere it shows in the shop.
descriptionWhat it does, in plain words.
entry"SKILL.md", "main.py" or "index.ts".
inputs, outputsFor code: JSON schemas for the details in and the answer out.
permissions"network" if you need the web.
release_notesWhat changed in this version.
listingHow your app page looks.
storageWhat your app saves to the buyer's drive.
appYour app's screen: page, title, when to open it, and display.
recordsWhat your app keeps in its private records, in one sentence.

A small code app:

{
  "name": "Tip Splitter",
  "slug": "tip-splitter",
  "type": "tool",
  "version": "1.0.0",
  "category": "Life & Money",
  "subcategory": "Money",
  "description": "Splits a bill and tip between friends.",
  "entry": "main.py",
  "inputs": {
    "type": "object",
    "properties": { "total": { "type": "number" }, "people": { "type": "integer" }, "tip": { "type": "number" } },
    "required": ["total", "people"]
  },
  "outputs": { "type": "object", "properties": { "each": { "type": "number" } } }
}
# main.py
def handler(inputs):
    tip = inputs.get("tip", 15) / 100
    each = inputs["total"] * (1 + tip) / inputs["people"]
    return {"each": round(each, 2)}

Your own shared files

If you make more than one app, they can share a file in the buyer's drive, like a recipe book your meal planner and grocery app both use. The buyer types things once.

  • Define it once in one app's manifest, under storage.makerFiles: a name, a title, a version, and its tabs and columns.
  • Reuse it in your other apps by name and version. The studio's Drive tab lists the files your apps already made.
  • The file is made in the buyer's drive, in Winning Arc/Shared/<your name>/, only after they say yes to an app that uses it.
  • Only your apps can use your files. Other makers can't, even with the same name.
  • To change a layout, upload a new version that only adds tabs or columns at the end. We turn down versions that remove or reorder anything, so your other apps never break.
  • Give a tab an idColumn so apps change rows by ID, never by name.
"storage": {
  "providers": ["google", "microsoft"],
  "ownFolder": false,
  "sharedFiles": [],
  "makerFiles": [{
    "name": "recipe-book",
    "title": "Recipe Book",
    "version": 1,
    "access": "read-write",
    "tabs": [
      { "name": "Recipes", "idColumn": "Recipe ID", "columns": ["Recipe ID", "Name", "Minutes"] },
      { "name": "Notes", "columns": ["Note"] }
    ]
  }],
  "purpose": "Keeps your recipes in your own drive."
}

Reusing it in another app:

"makerFiles": [{ "name": "recipe-book", "access": "read", "minVersion": 1 }]

Keep your know-how yours

Anything in SKILL.md is read by the buyer's AI. Code is not: it runs on Winning Arc and only its answer comes back.

  • Keep your rules in code. Steps tell the buyer's AI what to ask and when to call your code. Your formulas, scoring, layouts and lookup tables belong in main.py or index.ts, which never leave Winning Arc.
  • Number your steps. Write each step as "## 1. ...", "## 2. ...". The buyer's AI then gets one step at a time, never the whole file in one go. Headings without a number, like "## Tone", go with the first step.
  • Every copy is marked. Steps carry an invisible mark tied to the buyer's licence, so a leaked copy can be traced.

Good: "Call meal-planner with who is eating and what they avoid. Show the plan it returns." The planning rules live in the code.

Harder to protect: "Use 1,800 calories for adults, swap beef for lentils on Mondays, and keep a 3-day rotation..." Every rule is in the steps, which the buyer's AI reads.

# Meal Planner

Help the person plan a week of meals.

## 1. Ask about the week
Ask who is eating and what they don't eat.

## 2. Get the plan
Call meal-planner with those details.

## 3. Share it
Show the plan as a table, then the shopping list.

## Tone
Warm and short.

Invitations, signs, cards and other things people print. Add a print block to your manifest and your designs under print/.

  • Designs stay with us. Put your HTML, CSS, fonts and images under print/. Buyers never get them. Their AI fills in the details, shows a watermarked preview, and gets a link to the print file.
  • Mark the details. Give each element a data-field matching a field in your manifest. Add data-fit and data-fit-min (in pixels) so long names shrink to fit instead of spilling out.
  • Print-ready files. We add your bleed and crop marks, turn text into shapes so fonts can't be pulled out, and offer print colours (CMYK). Each file carries the buyer's licence mark.
  • No scripts, no web links. Designs are HTML and CSS only. Link fonts and images inside print/.
"print": {
  "pieces": [
    { "id": "invitation", "title": "Invitation", "file": "print/invitation.html",
      "width_in": 5, "height_in": 7, "bleed_in": 0.125 }
  ],
  "fields": [
    { "id": "names", "label": "Couple's names", "max": 80 },
    { "id": "date", "label": "Date", "max": 60 },
    { "id": "note", "label": "Extra line", "max": 120, "optional": true }
  ],
  "exports": 20
}
<!-- print/invitation.html -->
<link rel="stylesheet" href="invitation.css">
<div class="card">
  <div class="names" data-field="names" data-fit data-fit-min="18"></div>
  <div class="date" data-field="date"></div>
  <div class="note" data-field="note"></div>
</div>

App screens

Your app can open as a screen inside the buyer's Claude or ChatGPT. Add an app block to your manifest and put the screen under app/.

  • Talk through wa.*. Your screen gets the wa bridge first. It can keep private records, run your code, send a message into the chat, tell the AI what's on screen, open a link, hand over a file and ask for full screen.
  • Records are private to each buyer. Add a records block with a purpose. Winning Arc keeps each buyer's records encrypted. You and our staff can't read them. Your code uses the same records: from winningarc import records (Python) or import { records } from "@winningarc/records" (TypeScript).
  • Everything inside app/. HTML, CSS, scripts, fonts and images, up to 2 MB together. No web addresses (except a link the buyer opens with wa.open), frames, fetch or other network calls, and no tricks to hide them: the screen can't connect anywhere. Never track buyers or send their data out.
  • In the chat or full screen. display.start is where it opens; display.allow lists the modes your screen supports. The chat may say no to full screen, so make the in-chat layout work too.
  • Without a screen. Some AI apps can't show screens yet. Your steps should still work in the chat.
  • Try it on your computer. Run npm run app-preview path/to/your-app to see your screen the way the chat shows it, with records kept in memory. Add ?display=inline or ?fullscreen=no to try both layouts. Then use Test drive: your screen opens with <your app>-test-open.
CallWhat it does
wa.readyWaits for the chat. Gives { theme, display, host }.
wa.records.read, write, list, remove, statusThe buyer's private records for your app. Values are any JSON.
wa.call(details)Runs your code with these details and gives back its answer. The same code the buyer's AI calls.
wa.say(text)Sends a message into the chat, as the buyer.
wa.context(text)Tells the buyer's AI what's on screen.
wa.open(url)Opens a link.
wa.saveFile({ filename, mime, data })Hands the buyer a PNG, PDF or JSON file through a link that works for an hour.
wa.fullscreen()Asks for full screen. Gives the mode the chat allowed.
wa.onDisplay(fn), wa.onTheme(fn)Called when the mode or light and dark change.

Records: names of up to 60 lowercase letters, numbers, - and _; 256 KB each; 200 records and 2 MB per buyer per app; 60 saves a minute. Files: PNG, PDF or JSON up to 5 MB; the link works for an hour and opens 3 times. Screens: 120 calls a minute and 3,000 a day per buyer. Errors come back with a code: no_licence, records_full, conflict, rate_limited, too_large or unavailable.

"app": {
  "page": "app/index.html",
  "title": "Example Tally",
  "open": "Opens your tallies: add to today's count and see your totals.",
  "display": { "start": "fullscreen", "allow": ["fullscreen", "inline"] }
},
"records": { "purpose": "Keeps your tallies private to you." }
// app/tally.js
wa.ready.then(async () => {
  const today = await wa.records.read("today");
  show(today.value ? today.value.count : 0);
});
document.querySelector("#plus").onclick = async () => {
  const r = await wa.call({ op: "add", amount: 1 });
  show(r.total);
  await wa.context("Today's tally is " + r.total + ".");
};

Build, test, send

  1. Write your files and manifest.json. Zip the folder, with manifest.json at the top.
  2. In the studio, press Add a new app, set the price and terms, and upload the zip. We check the package format straight away and tell you what to fix.
  3. On the Versions tab, press Test drive. For 24 hours, your app shows as <your app>-test in your own Claude or ChatGPT (and its screen as <your app>-test-open). Try it the way a buyer would.
  4. We check every version, usually in 3 to 5 business days. You'll get approved, changes needed, or not accepted, with a reason.
  5. To update, upload the same slug with a higher version. Buyers with updates get it once it's approved.

Tips that get apps approved faster

  • Solve one clear problem, and say exactly what it does in your description and purpose sentence.
  • Ask only for the details the job needs.
  • Write steps and messages in plain words a buyer can follow.
  • Handle errors kindly. If a drive call says not_connected, show the buyer the link that comes with it.
  • Check what you read from a drive file: buyers can edit it by hand. Ask them about anything odd instead of writing over it.
  • Never delete rows the buyer added.
  • Show real screens of what your app makes.