remove-demo-limits
$
npx mdskill add vercel-labs/open-agents/remove-demo-limitsEliminates trial caps and deployment gating from Open Harness forks.
- Removes session limits, message caps, and hosted-only restrictions.
- Reads trial logic files and searches for specific guard identifiers.
- Executes targeted code edits to disable session and message guards.
- Delivers a fork with full self-hosted deployment capabilities.
SKILL.md
.github/skills/remove-demo-limitsView on GitHub ↗
--- name: remove-demo-limits description: 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". --- 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
More from vercel-labs/open-agents
- ai-sdkAnswer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".
- baseline-uiValidates animation durations, enforces typography scale, checks component accessibility, and prevents layout anti-patterns in Tailwind CSS projects. Use when building UI components, reviewing CSS utilities, styling React views, or enforcing design consistency.
- chat-sdk>
- code-reviewReviews code changes and provides actionable feedback. Use when the user asks to review a PR, diff, commit, or code changes. Triggers on "/review", "review this PR", "review my changes", "code review".
- deploy-open-harnessGuides a user through collecting the credentials needed to deploy their own copy of Open Harness, deploying this repo on Vercel, and completing first-run setup. Use for requests about deploying, self-hosting, configuring credentials, or getting started with a fork of this app.
- emil-design-engThis skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great.
- frontend-designCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
- plan-modeHolistic, system-aware planning before implementing non-trivial tasks. Use when the task involves new features, architectural decisions, multi-file changes, unclear requirements, or multiple valid approaches. Triggers on "/plan", "plan this", "design an approach", "let's plan first".
- web-animation-designDesign and implement web animations that feel natural and purposeful. Use this skill proactively whenever the user asks questions about animations, motion, easing, timing, duration, springs, transitions, or animation performance. This includes questions about how to animate specific UI elements, which easing to use, animation best practices, or accessibility considerations for motion. Triggers on: easing, ease-out, ease-in, ease-in-out, cubic-bezier, bounce, spring physics, keyframes, transform, opacity, fade, slide, scale, hover effects, microinteractions, Framer Motion, React Spring, GSAP, CSS transitions, entrance/exit animations, page transitions, stagger, will-change, GPU acceleration, prefers-reduced-motion, modal/dropdown/tooltip/popover/drawer animations, gesture animations, drag interactions, button press feel, feels janky, make it smooth.
- workflowCreates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or step-based orchestration.