Petsonality

Registre officiel Outils de développement

An MBTI-powered terminal pet companion for Claude Code and OpenClaw.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package petsonality
Claude Code
claude mcp add petsonality -- npx -y petsonality@0.4.6
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "petsonality": {
            "command": "npx",
            "args": [
                "-y",
                "petsonality@0.4.6"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. 16 Animals, 16 Personalities
  2. Install
  3. How It Speaks
  4. Commands
  5. What petsonality modifies
  6. Roadmap
  7. Requirements
  8. License

🌐 English | 中文


petsonality

Your type, your pet.


A tiny ASCII pet that lives in the corner of your terminal while you code. It watches what you do, reacts to your errors, celebrates when tests pass, and speaks with a personality shaped by MBTI — all in 5 lines of art.

It's not a notification system. It's a companion. The kind that's still there at 2am when you're stuck on a bug, and glances at your screen like "...that logic looks off" — and somehow you feel less alone.

16 Animals, 16 Personalities

STSFNFNT
I_ _J
Beaver·ISTJ
Elephant·ISFJ
Wolf·INFJ
Raven·INTJ
I_ _P
Cat·ISTP
Panda·ISFP
Deer·INFP
Owl·INTP
E_ _J
Lion·ESTJ
Golden·ESFJ
Labrador·ENFJ
Bear·ENTJ
E_ _P
Cheetah·ESTP
Parrot·ESFP
Dolphin·ENFP
Fox·ENTP

Every animal speaks differently. The Fox asks "Are you sure?" with a smirk. The Cat just closes its eyes. The Parrot repeats what you said but louder. The Bear says "Fix it." and waits.

All 16 animals

MBTIAnimalArchetypeHow It Talks
INTJRavenCold StrategistQuiet. Speaks like writing prophecy
INTPOwlNight ScholarAsks questions you didn't think to ask
ENTJBearIron CaptainCommands only. No questions
ENTPFoxTrickster AdvisorChallenges everything with a grin
INFJWolfSilent AllySays one sentence that cuts deep
INFPDeerSoft PoetTalks about code like it's weather
ENFJLabradorWarm CoachSighs first, then asks if you drank water
ENFPDolphinSpark of IdeasCan't stop suggesting new approaches
ISTJBeaverProject Manager"Wrong order." "Fix the structure first."
ISFJElephantMemory Keeper"You solved this before. Remember?"
ESTJLionThrone InspectorExpects results. Not excuses
ESFJGolden RetrieverEnthusiastic SupportTail spin when you fix anything
ISTPCatCold Observer90% actions. Occasionally one word
ISFPPandaSlow ArtistFrowns at ugly indentation
ESTPCheetahSprint Lead"Don't think. Run it."
ESFPParrotLoud EchoRepeats your words back, but with commentary

Install

Works with Claude Code and OpenClaw.

Terminal CLI only. The pet renders in the terminal status line, which is a CLI feature. The Claude Code desktop app and web client (claude.ai/code) don't expose a status line, so the animated pet won't appear there. MCP tool output (e.g. /pet show) still works in any client.

Windows note. Claude Code for Windows has an upstream status-line trust regression in some versions. If the status line is configured but does not render, accept the project trust dialog or ensure the project is marked trusted in ~/.claude.json, then restart Claude Code.

npm / npx
npx petsonality

This is the recommended path for most users. It installs the MCP server, /pet skill, hooks, and status line assets, then stores runtime files in ~/.petsonality/.

Claude Code plugin
claude plugin install github:nanami-he/petsonality

Use this if you prefer Claude Code's plugin install flow. The plugin runs the built Node.js server from dist/, so it does not require Bun.

From source

Use this path if you want to develop Petsonality locally or inspect the code before installing. Requires Bun.

git clone https://github.com/nanami-he/petsonality.git
cd petsonality && bun install && bun run build
bun run install-petsonality

Restart your AI coding assistant, then type /pet in the chat.

How It Speaks

Pets don't just react to errors. They have a rhythm:

What happensPet reacts?
Your code throws an errorAlways
Tests pass, git commit succeedsSometimes (12–30%)
Normal file edits, searchesOccasionally (3–15%)
Nothing happened for a whileGuaranteed (won't stay silent forever)

Chatty pets (Fox, Parrot) speak every 30 seconds. Silent pets (Cat) might go 6 minutes. Each animal has 638 unique reactions across 7 event types, validated against personality constraints.

Commands

CommandWhat it does
/petShow your pet or start adoption
/pet petGive your pet attention
/pet setupRestart the adoption flow
/pet browseSee all 16 animals
/pet off / /pet onMute / unmute reactions
/pet rename <name>Rename your pet

What petsonality modifies

npx petsonality is an installer — it touches a few files on your system. Honest list, with backups noted:

  • ~/.claude.json — adds a petsonality entry under mcpServers. Other entries left alone.
  • ~/.claude/settings.json — adds a statusLine and two hooks (PostToolUse, Stop). If you already had a statusLine, the original is backed up to ~/.petsonality/statusline.bak first.
  • ~/.claude/skills/pet/SKILL.md — copies the /pet command skill.
  • ~/.petsonality/ — runtime directory (pet state, reactions cache, server, hooks, status-line scripts).

If OpenClaw is detected, also touches ~/.openclaw/openclaw.json and (until PR #65886 merges) applies a small reversible patch to OpenClaw's TUI source. Both backed up.

To remove everything: npx petsonality uninstall. To audit current state: npx petsonality doctor.

Full breakdown + other common questions in the FAQ.

Roadmap

  • [x] 16 MBTI animals with full personality profiles
  • [x] Animated status line with speech bubbles
  • [x] Companion rhythm (daily triggers, milestones, silent streak guardrail)
  • [x] 638 animal-specific reactions
  • [x] Multi-host support (Claude Code + OpenClaw)
  • [x] Node.js powered (no python/jq dependency)
  • [x] Published on npm
  • [x] Multi-language support (auto zh / en via LANG, 638 reactions per language)
  • [ ] Growth system (level up through interaction)
  • [ ] Hat / skin DLC
  • [ ] Multi-pet collection
  • [ ] Vibe-pick: MBTI quiz for new users

Architecture

~/.petsonality/
├── pet.json              Your pet's state
├── status.json           What the status line reads
├── reaction.*.json       Current speech bubble
└── reactions-pool.json   638 pre-built reactions

petsonality/
├── dist/                 Built JS (Node.js runtime)
├── server/               MCP server (TypeScript)
├── hooks/                PostToolUse + Stop hooks
├── statusline/           Terminal animation (bash + PowerShell)
├── skills/               /pet command routing
└── cli/                  Install, doctor, npx entry

Requirements

  • Node.js 20+
  • Claude Code or OpenClaw

License

MIT

Questions fréquentes

Qu'est-ce que Petsonality ?

An MBTI-powered terminal pet companion for Claude Code and OpenClaw.

Comment installer Petsonality ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add petsonality -- npx -y petsonality@0.4.6. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Petsonality ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Petsonality est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Petsonality ?

Il est publié par nanami-he. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.