Back to Docs|Admin Guide

Admin Guide

Complete guide to administering Trustified - manage topics, moderate users, seed founders, rule on challenges, and monitor platform health.

1. Skills Management

Accessing Skills Management

Navigate to /admin/skills to access the skills management interface.

This page lists every topic in the catalog with its name, description, and kind (Technical or Judgment).

Creating a New Skill

  1. Click the "Add Skill" button in the page header
  2. Enter the Skill Name (required, max 255 characters)
  3. Enter a Description
  4. Choose the Kind: Technical or Judgment
  5. Click "Create Skill" to save it

The catalog is flat. Users see topics grouped as Technical and Judgment.

Editing and Deleting Skills

Edit Skill

Click the Edit button on any row to change the topic's name, description, or kind.

Delete Skill

Click Delete to remove a skill. A confirmation modal warns about dependent records (endorsements, challenges) that may be affected.

2. User Moderation

User Management Interface

Navigate to /admin/users to access user management.

The interface displays a paginated table of all users with:

  • Avatar and display name
  • GitHub username
  • Email address
  • Join date
  • Account status (Active, Banned, Admin)

Search and Filter

Use the filter controls to find specific users:

Search: Filter by username or email (case-insensitive)
Join Date: Filter by registration date range
Status: All, Active Only, or Banned Only

Banning and Unbanning Users

To ban a user, click the "Ban" button on their row. A confirmation modal will appear warning about the consequences:

  • User cannot log in or access protected routes
  • All API requests from the user return 403 Forbidden
  • The ban can be reversed with the Unban button

3. Founding Members

Seeding the first endorsers

Nobody can endorse in a topic without 3 XP in it, so an admin seeds the first people. On /admin/users, in the Founders section, enter a GitHub username.

  • The username is looked up on GitHub and stored as the numeric GitHub ID, so the grant follows the person if they rename their account and cannot be passed to someone else. An unknown username is rejected.
  • If the person already has an account, the grant is applied at once: they get XP in all 24 topics, a Founding member marker, and seeded XP is labelled as seeded on their profile.
  • If not, it stays pending and is applied on their first sign-in.
  • A pending grant can be withdrawn. An applied grant cannot be withdrawn, and its XP is not removed. Granting the same person again adds nothing.

Seeded endorsements attest no claims, so they cannot be challenged.

4. Activity and Challenges

Monitoring Dashboard

Navigate to /admin/monitoring to view real-time platform activity.

The monitoring page displays two main activity tables:

Recent Endorsements

View all recent endorsement activity with:

  • Endorser and endorsee information
  • Skill name
  • Status badge (color-coded: green=active, yellow=pending, gray=rejected, red=overturned)
  • Timestamp

Use date range filters and status dropdown to narrow results.

Ruling on Challenges

Every challenge names one endorsement, one claim it attests, and a reason. It stays open, and the endorsement stays active, until an admin rules at /admin/challenges. Each open challenge shows the endorsement and its current status, the disputed claim, the reason, and each party's full challenge history, dismissed challenges included.

  • Uphold: the endorsement becomes overturned. It stops counting toward the endorsee's XP and costs the endorser 1 XP in that topic.
  • Dismiss: nothing changes. The parties get one notification of the outcome, and from then on only admins can see the challenge.
  • A challenge is resolved once. The optional note is visible to admins only.
  • Several people can challenge the same endorsement; upholding one leaves the others open for you to rule on.
  • Dismissed challenges are never shown to anyone but admins, and no public count includes them. Use each party's history to spot repeat abuse.

Challenge Patterns & Harassment Detection

The challenge monitoring section automatically detects suspicious patterns:

High Challenge Users (Red)

Users with more than 10 challenges in the last 30 days are flagged as potential harassment.

Repeated Targeting (Yellow)

User pairs where the same challenger targets the same person 3+ times are flagged.

Challenge stats summary shows: total challenges (30 days), unique challengers, flagged user count, and repeated pattern count.

5. Analytics Dashboard

Platform Analytics

Navigate to /admin/analytics to view platform-wide statistics.

KPI Cards

Total Users

All-time count

Active Users (30d)

Users with activity

Total Endorsements

All-time count

New Users (7d)

Recent signups

Charts

Users Over Time

Line chart showing daily new user registrations for the last 30 days.

Endorsements Per Day

Bar chart showing daily endorsement volume for the last 30 days.

Most Endorsed Skills

Horizontal bar chart showing the top 10 skills by active endorsement count.

Status Breakdown

View endorsements grouped by status with color-coded panels:

Active

Pending

Rejected

Overturned

6. API and MCP Reference

Admin API Endpoints

All admin endpoints are prefixed with /api/v1/admin/ and require the admin role. Unauthorized requests return 403 Forbidden.

Skills

POST GET /admin/skills

GET PATCH DELETE /admin/skills/[id]

Users

GET /admin/users

PATCH /admin/users/[id]/ban

Monitoring

GET /admin/endorsements

GET /admin/challenges

PATCH /admin/challenges/[id]

Founders

GET POST /admin/founders

DELETE /admin/founders/[id]

POST /admin/founders/[id]/apply

Analytics

GET /admin/analytics/users

GET /admin/analytics/endorsements

Every admin route also has an MCP tool named admin_..., so an agent holding an admin's token can do the same work. Tools are refused with 403 unless the token's owner is an admin in the database.

Quick Access

Jump directly to admin pages