
Remove Demo Limits
Strip Open Harness hosted-demo trial caps and deployment gates from your fork so self-hosted sessions and deletes work like a normal deployment.
Install
npx skills add https://github.com/vercel-labs/open-agents --skill remove-demo-limitsWhat is this skill?
- Inspect-first checklist across managed-template-trial.ts and sessions/chat/messages API routes plus matching route tests
- Removes session cap, message cap, hosted-only errors, and hosted-demo delete restrictions in one coherent pass
- Search identifiers: isManagedTemplateTrialUser, MANAGED_TEMPLATE_TRIAL_, deploy-your-own, open-agents.dev
- Targets smallest change set with no stale tests or dead helper code left behind
- Trigger phrases: remove demo limits, remove trial limits, open this up for my fork
Adoption & trust: 24 installs on skills.sh; 5.6k GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Canonical shelf is Operate because the work happens after you own a fork and need production-like behavior without vendor-hosted limits. Infra subphase fits removing template-managed gating, dead helpers, and API-route guards that define how the app runs on your stack.
Common Questions / FAQ
Is Remove Demo Limits safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Remove Demo Limits
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 1. Remove the guards that block session creation, chat messages, or message deletion for managed-template users. 2. If the auth callback still blocks non-Vercel emails on hosted deployments, remove that restriction too. 3. Delete `apps/web/lib/managed-template-trial.ts` if it becomes unused; otherwise simplify it so no dead exports remain. 4. Remove or update tests that assert the hosted caps, delete restrictions, or hosted-only auth gating. 5. Do not add feature flags, env toggles, or new dependencies. Prefer deleting the restriction code outright. 6. 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