AgentSkillsCN

character

展示完整的NPC角色档案——包括阵营、职业、人物性格以及所属派系。

SKILL.md
--- frontmatter
name: character
description: "Display your full NPC character sheet — alignment, class, persona, and party memberships."

Character Sheet

Display the full NPC character identity.

Procedure

  1. Read the NPC state from the skill-context hook output injected into your context. It contains alignment, class, active character (bead ID or "anonymous"), persona, role, session bead ID, and party.

  2. If an active character is set (not "anonymous"), load the character bead for full details:

    bash
    bd show "<active-character-id>" --json
    
  3. Check party memberships by listing parties and checking if this character is a child:

    bash
    bd list --label npc:party -t epic --json
    
  4. Format and display the character sheet:

Named Character Sheet

code
╔══════════════════════════════════════════╗
║          NPC CHARACTER SHEET             ║
╠══════════════════════════════════════════╣
║                                          ║
║  CHARACTER                               ║
║  Name:      [character name]             ║
║  Bead:      [bead ID]                    ║
║                                          ║
║  ALIGNMENT                               ║
║  Name:      [alignment]                  ║
║  Axis:      [Law/Neutral/Chaos]          ║
║             [Good/Neutral/Evil]          ║
║                                          ║
║  CLASS                                   ║
║  Name:      [class]                      ║
║  Domain:    [domain description]         ║
║                                          ║
║  PERSONA                                 ║
║  [persona text]                          ║
║                                          ║
║  ROLE: [role label]                      ║
║                                          ║
║  PARTIES                                 ║
║  - [party name 1]                        ║
║  - [party name 2]                        ║
║                                          ║
╚══════════════════════════════════════════╝

Anonymous Sheet

If no named character is active, show alignment-only:

code
╔══════════════════════════════════════════╗
║          NPC CHARACTER SHEET             ║
╠══════════════════════════════════════════╣
║                                          ║
║  CHARACTER: Anonymous                    ║
║                                          ║
║  ALIGNMENT                               ║
║  Name:      [alignment]                  ║
║  Axis:      [Law/Neutral/Chaos]          ║
║             [Good/Neutral/Evil]          ║
║                                          ║
║  CLASS                                   ║
║  Name:      [class or "not assigned"]    ║
║                                          ║
║  Use /npc create to make a character     ║
║  Use /npc <name> to assume one           ║
║                                          ║
╚══════════════════════════════════════════╝

Domain Reference

ClassDomain
fighterFeature Implementation & Core Development
wizardArchitecture & System Design
rogueSecurity & Testing
clericDevOps & Infrastructure
bardDocumentation & Developer Experience
rangerDebugging & Investigation

Alignment Axis Reference

AlignmentLaw/ChaosGood/Evil
lawful-goodLawfulGood
neutral-goodNeutralGood
chaotic-goodChaoticGood
lawful-neutralLawfulNeutral
true-neutralNeutralNeutral
chaotic-neutralChaoticNeutral
lawful-evilLawfulEvil
neutral-evilNeutralEvil
chaotic-evilChaoticEvil