heremyapp is built to be used by coding agents (Claude Code, Codex, Cursor and others) with nothing more than a shell:
curl, tar and shasum. No SDK or plugin is required.
Agents asked to publish something: follow Start here. It is the complete playbook in one page. This page adds discovery details, rules and troubleshooting.
For people: what to tell your agent
Just give the agent this site's address and say what you want; it finds its instructions here. The first time, it shows you a sign-in link to approve in your browser. For example:
Make a landing page for our service and publish it on https://heremyapp.comBuild MyApp.pkg, publish it on heremyapp as the app's current version, and point the landing page's
download button at it. Read https://heremyapp.com/docs/installers.md and https://heremyapp.com/docs/sites.md first.Every docs page has a "Copy Markdown" button, so you can also paste a page straight into the conversation.
Agent skill
Agents that support skills (for example Claude Code) can install the heremyapp skill:
mkdir -p ~/.claude/skills/heremyapp && curl -fsSL https://heremyapp.com/skill.md -o ~/.claude/skills/heremyapp/SKILL.mdMachine-readable discovery
| URL | What it is |
|---|---|
https://heremyapp.com/llms.txt |
Index of these docs (llms.txt) |
Any docs page with Accept: text/markdown |
The page as Markdown, same as adding .md |
https://heremyapp.com/openapi.json |
OpenAPI 3.1 description of the API |
https://heremyapp.com/.well-known/api-catalog |
API catalog (RFC 9727) pointing to the API, its spec and docs |
https://heremyapp.com/.well-known/agent-skills/index.json |
Agent Skills index with the heremyapp skill |
https://heremyapp.com/.well-known/auth.md |
How agents authenticate |
Pages also send Link headers to these resources.
Recommended workflow
- Resolve the token (
HEREMYAPP_TOKEN, then~/.config/heremyapp/token). If there is none, run the device login: show the user the link, let them sign in with GitHub and approve, and save the token. CallGET /meand noteaccount.usernameandaccount.plan. If the token scope isspace, use the space fromGET /spaces. - Create the space, or reuse it on
409 space_exists. - Check versions:
GET /spaces/SPACE/versions(Releases and versioning). Decide the bump from what changed, without asking the user. If the site is already live,GET /spaces/SPACE/advicelists what it misses under the current rules; fix those in this release. - Contact details: if
contact_statusisunknown, ask the user once (skipping is fine) and save the answer (Landing page checklist). - If there is an installer: set the next version and build in the project, build, check its signature (macOS:
spctl; ask the user if it fails), then publish it withversion,buildandnotes(Installers). The latest link ishttps://heremyapp.com/dl/ACCOUNT/SPACE/latest/FILENAME. - Prepare the site with the Landing page checklist. How much to change depends on the request:
create or redesign (whole checklist), first publish of an existing page (keep its design, add only the missing
basics listed there:
/privacy,/terms, title, description,lang, link previews, icons,404.html), or routine release (release information only). Edit the project's source, not a temporary copy, so the next deploy keeps the changes. - Deploy the site with
bumpandnotes(Static sites). Read the response'sadvicelist, fix what applies, and deploy again if needed. - Verify: the public URL returns 302 then 200 with the new
X-Heremyapp-Version, and the downloaded installer's SHA-256 matches the local file. - Report the public URL (
https://heremyapp.com/ACCOUNT/SPACE), the download link, and the new versions and build numbers. On the Free plan, mention the plan's limits if the user's app may outgrow them (Plans and billing).
Rules
- Never print, log or commit the token, and never put it into site files.
- Never sign up, accept terms, choose a plan or pay for the user. Without a token, use the device login: the user signs in and approves in their browser. Do not guess tokens.
- On
402(plan_limit,quota_exceeded), stop and tell the user which limit was reached and give themdetails.upgrade_url. Freeing storage (deleting old deployments or installer versions) is fine only if the user agrees. - Share the public URL, not the site origin it redirects to.
- When a request fails, read
error.message: it says what to change.error.docslinks to the page about the error, or to the full guide. - Do not upload an installer that fails signature checks unless the user explicitly says so.
- Content checks: removing files that do not belong in the upload (a Windows build in a Mac .zip, an archive saved as an
image, and the page's link to it) is a normal fix; do it and tell the user what you removed. Changing what the user
wants published to get past a check (removing their sign-in page, renaming titles) is the user's decision: on
content_flagged, stop and tell them what the error says. Never rename, encode or split files to get past a check. - Manage versions and build numbers yourself on every deploy; do not ask the user to choose them.
- Ask for contact details at most once per space; respect
skipped.
Troubleshooting
| Symptom | What to do |
|---|---|
Could not resolve host for a heremyapp host |
Usually a stale local DNS cache. Resolve it directly and pin it: IP=$(dig +short api.heremyapp.com @1.1.1.1 | head -1), then add --resolve api.heremyapp.com:443:$IP to curl. The user can clear the cache on macOS with sudo killall -HUP mDNSResponder. |
401 unauthorized |
The token is missing, mistyped, expired or revoked. Run the device login again, or ask the user for a token. |
402 plan_limit or quota_exceeded |
The plan's limit was reached. Tell the user and give them details.upgrade_url. |
429 deploy_limit |
Too many deploys today (UTC). Batch changes into fewer deploys or wait. |
Site returns 503 with Retry-After |
A Free account used its monthly allowance; sites resume next month or after an upgrade. |
Site returns 503 without Retry-After |
The space is paused over the plan's site limit, or the account reached the spending limit the user set to pause at. GET /v1/usage shows paused_spaces, paused and notices; tell the user. |
403 space_paused |
The account has more sites than its plan keeps live and this one is paused. Nothing changed. Tell the user: "Make live" on the dashboard's Sites page, delete a site, or upgrade; then deploy again (Changing plans). |
402 spending_limit_reached |
The user's spending limit paused the account. Tell the user; only they can raise the limit or turn off pausing (Spending limit). |
403 forbidden |
A space token was used for another space or for an account-only action. |
unsupported_file_type |
Remove the files listed in details.files from the site folder or leave them out of the archive (tar --exclude='CNAME'); publish installers as artifacts. |
skipped lists ._* files |
macOS tar metadata; harmless. Add COPYFILE_DISABLE=1 before tar to stop it. |
409 artifact_exists |
That version is already published. Use a new version. |
executable_not_allowed |
A site file is really a program or archive (details.files). Move it out of the site folder, remove links or <img> tags that use it, and tell the user; publish installers as artifacts. |
422 content_flagged |
The site looks like phishing to the deploy check and a new Free account cannot publish it. Stop and tell the user what details.signals lists (code and file); they can change the site or email details.support_email. Nothing was stored; leave the space as it is. |
422 installer_rejected |
The Free plan takes only macOS apps in a .zip. If the user asked to publish the Mac app, zip the app alone into a new file (ditto -c -k --keepParent MyApp.app MyApp.zip), upload that and tell the user what you left out; otherwise tell the user about paid plans. |
Upload advice has installer_unsigned or installer_not_stapled |
Tell the user; sign, notarize and staple as in Installers, then publish a new version. |