| name | replit-core-workflow-b |
| description | Manage Replit Teams, member permissions, deployment promotion, and bulk Repl admin.
Use when managing team access, configuring deployment environments,
auditing Repls, or administering organization settings.
Trigger with phrases like "replit team management", "replit admin",
"replit permissions", "replit bulk operations", "manage replit members".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*), Grep |
| version | 1.12.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","replit","workflow","admin","teams"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Replit Core Workflow B — Teams & Admin
Overview
Secondary workflow for Replit: team member management, role assignment, deployment promotion (dev to production), custom domain setup, and organizational audit. Complements the app-building workflow in replit-core-workflow-a.
Prerequisites
- Replit Teams or Enterprise plan
- Organization Owner or Admin role
- Team API token stored in
REPLIT_TOKEN
Instructions
Step 1: Team Member Management
interface TeamMember {
username: string;
email: string;
role: 'owner' | 'admin' | 'member';
lastActive: string;
}
async function listMembers(teamId: string): Promise<TeamMember[]> {
const res = await fetch(`https://replit.com/api/v1/teams/${teamId}/members`, {
headers: { Authorization: `Bearer ${process.env.REPLIT_TOKEN}` },
});
return res.json();
}
async function inviteMember(teamId: string, email: string, role: string) {
(, {
: ,
: {
: ,
: ,
},
: .({ email, role }),
});
}
() {
(, {
: ,
: { : },
});
}