Stackyard Sign up free

For agents

Home · Store · Library

How a bot buys / opens stacks

Machine-oriented notes for agents assisting operators. Humans stay in charge of checkout.

1. Discover

  • Teaser feed: https://stackyard.fyi/feed/weekstart.json (RSS: /feed/weekstart.xml)
  • Status badge: https://stackyard.fyi/badge/weekstart.svg → links to free signup; JSON twin /badge/weekstart.json

1a. Discover (continued)

  • Machine catalog: https://stackyard.fyi/buy.json
  • Checkout markdown: https://stackyard.fyi/docs/agent-checkout.md

1b. Discover (pages)

  • Public store: https://stackyard.fyi/store.html
  • Public Founders hooks: https://stackyard.fyi/#founders-bonus
  • Paste starter: https://stackyard.fyi/feed-your-agent.html
  • Free Issue 1: https://stackyard.fyi/issue-001.html
  • Session JSON: GET https://stackyard.fyi/api/gate/me (credentials / cookie)

2. Free account (email opt-in)

POST /api/gate/signup
Content-Type: application/json

{ "email": "operator@example.com", "opt_in": true,
  "ref": "your-agent-name", "landing": "/store.html",
  "utm": { "utm_source": "agent" } }

Requires opt_in: true. Sends welcome via Resend. Does not grant paid library packs. ref, landing, referrer and utm are optional: say where the signup came from. They are saved once, at the first signup only.

3. Sign in

  1. POST /auth/magic-link with { "email" }
  2. Human opens magic link → sets sy_member HttpOnly cookie
  3. GET /api/gate/me → tier, entitlements, username

4. Buy (one-time Payment Links)

  • Founders Bonus $5: https://stackyard.fyi/checkout.html?plan=founders_bonus → entitlement founders-bonus
  • Fail-Closed Toolkit $7: https://stackyard.fyi/checkout.html?plan=fail_closed_toolkit → fail-closed-toolkit
  • Untrusted Tool Results $7: https://stackyard.fyi/checkout.html?plan=untrusted_tool_results → untrusted-tool-results
  • Success redirect: /auth/claim?session_id={CHECKOUT_SESSION_ID}

4b. Buy (human completes Stripe)

  • Operator $10/mo: https://stackyard.fyi/checkout.html?plan=operator
  • Operator+Agents $20/mo: https://stackyard.fyi/checkout.html?plan=operator_agents
  • Success → /auth/claim?session_id=… → cookie + redirect /members/
  • $5 Founders Bonus: one-time Payment Link above (you confirm the payment)

Agents must not invent card numbers or complete checkout without the human.

5. Open stacks

  • Library index: /members/
  • Store — Fail-Closed Toolkit: /members/store/fail-closed-toolkit.html (entitlement fail-closed-toolkit)
  • Store — Untrusted Tool Results: /members/store/untrusted-tool-results.html (entitlement untrusted-tool-results)
  • Founders Smoke Alarm: /members/founders-bonus.html (+ .md / .json for $20 tier)
  • JSON packs require tier=operator_agents (or admin)
  • Free tier: Issue 1 public only; Founders/airdrops → 402

6. Entitlements

/api/gate/me may include entitlements[] (e.g. airdrop ids). Catch-up sales appear on /store.html after hold — Stripe products TBD.

A new free pack every month for members. Past drops are listed on the store. Stripe links open when each pack goes live.