Skip to content

Instantly share code, notes, and snippets.

@sing1ee
Created April 10, 2026 04:32
Show Gist options
  • Select an option

  • Save sing1ee/76c741f67d17797b405c04006a59b149 to your computer and use it in GitHub Desktop.

Select an option

Save sing1ee/76c741f67d17797b405c04006a59b149 to your computer and use it in GitHub Desktop.

SBTI Personality Test & Claude Skill: A Complete Guide

What is SBTI?

SBTI (Super-Big Personality Test) is a humorous personality test originated from Chinese creator @蛆肉儿串儿 on Bilibili. Unlike traditional personality frameworks like MBTI, SBTI takes a irreverent, meme-laden approach to self-discovery — making it both entertaining and surprisingly insightful.

The test maps responses across 15 psychological dimensions organized into 5 models:

Model Dimensions
Self Model S1 Self-Esteem, S2 Self-Clarity, S3 Core Values
Emotional Model E1 Attachment Security, E2 Emotional Investment, E3 Boundaries & Dependence
Attitude Model A1 Worldview Tendency, A2 Rules & Flexibility, A3 Life Meaning
Action Drive Model Ac1 Motivation Orientation, Ac2 Decision Style, Ac3 Execution Mode
Social Model So1 Social Proactivity, So2 Interpersonal Boundaries, So3 Expression & Authenticity

Each dimension is scored on a 3-point scale (L=Low, M=Medium, H=High), producing a 15-character pattern like HHH-HMH-MHH-HHH-MHM. This pattern is then matched against 25 unique personality types — from CTRL (The Controller) to DRUNK (The Drunkard) — using Manhattan distance similarity scoring.

Some types are hidden and only triggered by specific answers (e.g., the DRUNK type activates if you indicate heavy alcohol consumption). Others serve as fallback options when the match is too loose (e.g., HHHH, the "Gigilord" — assigned when your brain pattern is so unique that the standard library refuses to categorize you).


What is a Claude Skill?

A Claude Skill is a lightweight, portable unit of functionality that extends Claude's capabilities. It consists of:

  • A SKILL.md file — the manifest defining name, description, trigger words, and step-by-step instructions
  • Supporting files — Python scripts, images, data, etc.
  • Placed in ~/.claude/skills/ directory

Skills are invoked by users with slash commands (e.g., /sbti) and executed entirely within Claude's workflow — no external services, no API keys required.


How the SBTI Skill Was Built

Repository Structure

sbti-skill/
├── SKILL.md          # Skill manifest
├── sbti.py           # Core Python logic (questions + scoring)
└── image/            # 27 personality result images
    ├── CTRL.png
    ├── BOSS.png
    ├── DRUNK.png
    └── ...

Core Python Implementation (sbti.py)

The script is dependency-free (pure Python standard library) and exposes two commands:

# List all questions
python3 sbti.py questions

# Calculate personality from answers
echo '{"q1": 3, "q2": 1, ...}' | python3 sbti.py calc

The calc command:

  1. Sums answers per dimension → converts to L/M/H level
  2. Builds a 15-character user vector
  3. Computes Manhattan distance against all 25 personality patterns
  4. Applies special rules (drunk trigger, HHHH fallback)
  5. Returns JSON with type code, name, description, image path, and dimension breakdown

Cross-Platform Considerations

To ensure the skill works on macOS, Linux, and Windows:

# Prefer uvx if available, fall back to python3
if command -v uvx &> /dev/null; then
  PY_CMD="uvx --from python python3"
else
  PY_CMD="python3"
fi

$PY_CMD sbti.py questions

For the result image, Downloads directory detection:

DOWNLOAD_DIR="$HOME/Downloads"
if [ ! -d "$DOWNLOAD_DIR" ]; then
  DOWNLOAD_DIR="$USERPROFILE/Downloads"  # Windows fallback
fi
cp ./image/${TYPE}.png "$DOWNLOAD_DIR/sbti_${TYPE}.png"

How to Use the SBTI Skill

Prerequisites

  • Claude Code CLI installed
  • Skill placed in ~/.claude/skills/sbti-skill/

Invocation

/sbti

Workflow

  1. Welcome — Claude greets you and explains the test
  2. Q&A — Claude asks all 30+ questions one by one, you respond with your choice (A/B/C/D)
  3. Scoring — After the last question, Claude runs the calculation
  4. Result — Claude outputs your personality type, description, 15-dimension breakdown, and saves the image to ~/Downloads/sbti_{TYPE}.png

Sample Output

## 你的 SBTI 人格

**类型代码**: CTRL(拿捏者)

**匹配度**: 87% · 精准命中 11/15 维

---

### 该人格的简单解读

您是宇宙熵增定律的天然反抗者!CTRL人格,是行走的人形自走任务管理器...

---

### 十五维度评分

| 维度 | 等级 | 解读 |
|------|------|------|
| S1 自尊自信 | H | ... |
| S2 自我清晰度 | H | ... |
| ... | ... | ... |

---

### 结果图片

图片已保存至: ~/Downloads/sbti_CTRL.png

![人格图片](file://~/Downloads/sbti_CTRL.png)

Open Source

Repository: github.com/sing1ee/sbti-skill

Contributions, issues, and personality type additions are welcome. The personality library in sbti.py is easy to extend — just add a new entry to TYPE_LIBRARY and NORMAL_TYPES with a matching image in image/.


Credits

  • Original SBTI Test: B站@蛆肉儿串儿 — the creator of the original personality test
  • Skill Implementation: Claude Code + AI-assisted coding
  • License: MIT

This article and the sbti-skill are for entertainment purposes only. Personality tests are not scientifically validated instruments and should not be used for diagnosis, hiring, dating, or life-altering decisions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment