MBTI personality test analysis and report generation. Use when: (1) user provides MBTI test answers (40 questions, scores 1-5), (2) user provides a 4-letter MBTI type (e.g. INFP, ENTJ) for analysis, (3) generating personality reports, (4) career advice based on MBTI, (5) relationship/interpersonal analysis using MBTI types. Handles input from JSON, text answers, or direct type specification.
Analyze MBTI personality types and generate detailed, readable reports.
Two input modes supported:
Mode 1 — Raw answers (40 questions, 1-5 scale):
{
"answers": [4, 5, 3, 2, 1, 4, 5, 3, 2, 4, 3, 4, 5, 2, 1, 3, 4, 5, 2, 3, 4, 3, 2, 5, 4, 3, 4, 2, 1, 5, 3, 4, 5, 2, 4, 3, 2, 4, 5, 1]
}
Mode 2 — Known type:
{"type": "INTJ"}
Run the analyzer:
python3 skills/mbti-analyzer/scripts/analyze_mbti.py <<< '<json-input>'
The engine returns a structured dict with:
type — 4-letter MBTI (e.g. "INTJ")role — Type role name (e.g. "Architect")summary — One-line descriptiondimensions — Each dimension with percentage, primary preference, and descriptionletter_profile — The four letters broken outAfter running the analyzer, use the report template at assets/report_template.md.
Fill the template with values from the analysis dict. If the channel/platform doesn't support Handlebars templating, manually substitute:
| Placeholder | Source |
|---|---|
{{type}} | result["type"] |
{{role}} | result["role"] |
{{summary}} | result["summary"] |
{{EI.percentage}} | result["dimensions"]["EI"]["percentage"] |
{{EI.primary}} | result["dimensions"]["EI"]["primary"] |
{{EI.label}} | result["dimensions"]["EI"]["label"] |
{{EI.description}} | result["dimensions"]["EI"]["description"] |
| (same for SN, TF, JP) | |
{{letter_profile.EI}} | result["letter_profile"]["E/I"] |
Check if any dimension has moderate: true (score between 40-60%). Include the adaptive note in the report when found:
💡 你的多个维度呈现中等偏好,说明你具有良好的适应性,
可以根据不同情境灵活切换倾向。
Full type descriptions, career tendencies, and dimension theory: references/mbti_types.md
Detect language from user input:
Use the Chinese template (assets/report_template.md) for Chinese reports.