mcpbeat

Remove Demo Limits

vercel-labs/remove-demo-limits

Removes Open Harness hosted demo restrictions from a fork. Use when a maintainer wants to remove managed-template trial caps, hosted deployment gating, or "deploy your own" limits. Triggers on "remove demo limits", "remove trial limits", "remove hosted restrictions", "open this up for my fork", "remove managed template restrictions".

573 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
5770
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/vercel-labs/open-agents --skill remove-demo-limits

The instruction itself

5 sections, as written by the author

Remove the managed-template trial restrictions with the smallest coherent change.

Goal

Make the fork behave like a normal self-hosted deployment:

  • no trial session cap
  • no trial message cap
  • no hosted-only restriction errors
  • no hosted-demo delete restrictions
  • no dead helper code or stale tests

Inspect first

Read these files before editing:

  • apps/web/lib/managed-template-trial.ts
  • apps/web/app/api/sessions/route.ts
  • apps/web/app/api/chat/route.ts
  • apps/web/app/api/sessions/[sessionId]/chats/[chatId]/messages/[messageId]/route.ts
  • apps/web/app/api/sessions/route.test.ts
  • apps/web/app/api/chat/route.test.ts
  • apps/web/app/api/sessions/[sessionId]/chats/[chatId]/messages/[messageId]/route.test.ts

Then search for these identifiers and strings to catch older or newer variants:

  • isManagedTemplateTrialUser
  • MANAGED_TEMPLATE_TRIAL_
  • deploy-your-own
  • open-agents.dev
  • vercel.com
  • This hosted deployment includes
  • does not allow message deletion

Required changes

  • Remove the guards that block session creation, chat messages, or message deletion for managed-template users.
  • If the auth callback still blocks non-Vercel emails on hosted deployments, remove that restriction too.
  • Delete apps/web/lib/managed-template-trial.ts if it becomes unused; otherwise simplify it so no dead exports remain.
  • Remove or update tests that assert the hosted caps, delete restrictions, or hosted-only auth gating.
  • Do not add feature flags, env toggles, or new dependencies. Prefer deleting the restriction code outright.
  • Keep unrelated auth, session ownership, and sandbox behavior unchanged.

Verification

This repo uses Bun. After the edits:

  • run bun run ci
  • if a failure is pre-existing, say that clearly and separate it from your changes

Output

Report:

  • which restrictions were removed
  • which files changed
  • verification result

How to use it

Copy the folder

Take vercel-labs/remove-demo-limits from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.