Admin
Admin Role
Admin users have elevated permissions across VibeCodes. The admin role is controlled by the is_admin flag on the user record. Admins can:
- Open the Admin page and its tabs (listed below)
- View per-user credit balances and platform AI costs
- Manage the library of ready-made agents, workflows and Featured Teams
- Read user feedback and the MCP tool usage figures
- Delete any idea
- View private ideas (even without being a collaborator)
Super admins: a few operations are gated behind a separate is_super_admin flag: granting AI credits, deleting users, and the Platform tab. A regular admin can monitor everything else, including deleting an idea, but cannot do these.
In-app AI Dashboard
The admin page at /admin has these tabs: In-app AI, Feedback, Agents, Teams, Workflows, MCP Tools, Token usage and Platform (super admins only). The In-app AI tab shows AI usage across the platform and includes:
- Stats cards — total AI calls, total tokens used, estimated cost, and a breakdown of platform vs BYOK (bring-your-own-key) usage
- Filter bar — filter by date range and action type (draft or expand an idea, generate tasks, etc.)
- Recent activity log — a chronological list of the latest 1,000 AI calls showing user, action, source, token counts and time
Tip: Use the date range filter to track usage trends over time and identify users who may need more starter credits.
User Credits
The admin dashboard includes a User Credits & Platform Costs table showing each user's AI allowance:
- Grant credits (super admins only) — add AI starter credits to any user (1–100 at a time). New users start with 10 starter credits; these are a lifetime allowance, not a daily reset.
- View balances — see each user's credits remaining, credits used, and the estimated platform cost they've incurred.
- Bring-your-own-key — users who add their own Anthropic API key bypass the credit system entirely, so they never consume starter credits.
Daily safety cap: separately from credits, the platform limits how many platform-key AI calls each person can make per day (the PLATFORM_AI_DAILY_LIMIT environment variable, default 50). This is an abuse backstop, not an allowance.
Token Usage
The Token usage tab shows what workflow steps cost, whether that is going up or down, and what each step contributes, for one board or all boards, over the last 30, 60 or 90 days or all time. For each template it lists every step's runs, how often its agent caught a problem and sent work back, how often a person rejected it at its approval gate, how often it had to redo work, its median time, the model it ran on, and its cost per run. The main table lists every step of the template as it is now, marked “Not run yet” until one has run, and counts only runs that used exactly those steps. Runs of the template's earlier versions are listed separately, all their steps included, so old and new numbers don't mix. Under the steps, Sum of steps adds up the rows above it (a * means a step with no figure was skipped), and Typical whole run (incl. redos) is the median of real finished runs, redo rounds counted. The two won't match, because the step rows are medians of single steps.
Above the tables, three charts follow the Board and Period filters. Cost per week, by model stacks Opus, Sonnet and other models (bars are days when the period is 30 days, weeks otherwise; this week is drawn lighter and marked “so far”). Under each bar is the share of finished steps that recorded a cost, shown in amber when it is under 80%, because that bar is then short of the real cost. Numbered dashed lines mark the dates a change to how steps run went live, with a list under the chart. Typical cost of a finished run draws one line per workflow (the three with the most runs): the median per week of runs where every finished step has a cost. That is looser than the “Typical whole run” figure in the tables, which also needs the run to use exactly today's steps, so the two differ a little. Runs sent back at least once shows the share of finished runs that had work sent back, so a cheaper run can't hide worse work. Only workflow steps record their cost: terminal chat between cards, Codex steps, steps finished in a different session from the one that started them and the app's own AI buttons (the In-app AI tab) are not counted. Each chart has a “Show these figures as a table” link.
Cost is what the tokens would cost at Anthropic API prices. When a step's work is done, the Claude Code session totals its own token use since the claim, plus that of any subagent that did the work, from its local transcripts, and reports it with the step. A Claude step can't be finished without that report, or a stated reason it couldn't be made, so a cost is never lost silently. When a session says why a step's cost couldn't be measured, the reason is kept with the step, and the Token usage page counts those steps separately from ones where nothing was reported. Output tokens are estimated from text length, so totals are within about 10%. Codex steps and steps run in a different session from the one that claimed them show no cost.
The same prices and per-step costs are available to agents through the read-only get_cost_report MCP tool, as weekly figures for the boards the caller belongs to. It returns names and numbers only, never card content or prompts. It also reports the main window's own usage between steps, per board and week, and the week's busiest sessions. Those figures come from in-app Claude sessions only, as totals the Mac app sends (a Mac app older than the release that added this shows zero), and never overlap the step figures.
For runs from before cost tracking, run node scripts/step-usage-backfill.mjs from the VibeCodes repo on each machine that ran workflow steps. It reads the transcripts still on disk (Claude Code keeps about 30 days), works out each step attempt's cost the same way, and writes a file holding only step ids, times and token counts. Choose Import past cost on the report and pick that file. Steps that already have a cost are left alone, so importing a file twice changes nothing. If a step's helper cost was imported on its own, run the script with --session-share --steps <file> to add just the claiming session's share to steps that already have a cost; importing that file twice still changes nothing.
Agents, Teams and Workflows
The Agents tab manages the VibeCodes agents that appear in the library of ready-made agents. The Teams tab manages Featured Agent Teams — curated collections of agents that appear in the Agents Hub for all users to add in one go. The Workflows tab manages the library of ready-made workflows users can import. Project types have no admin screen; they are set up by the VibeCodes team.
Content Moderation
Admins have moderation capabilities to keep the platform clean:
- Delete any idea — remove ideas that violate guidelines, along with all associated data (comments, votes, boards)
- Delete users (super admins only) — remove non-admin user accounts. This permanently deletes the user and cascades to all their data. Admin accounts are protected from deletion by other admins.
Note: Deletion is permanent and cannot be undone.