How to add Sanity to a 5e character sheet

The short answerMake Sanity and the ability that spends it as two entries in the homebrew editor, from the lines below, then add both to your character with Extra features in the Builder. Sanity then sits on the strip at the top of the sheet with + and −, and the ability waits on the Actions tab with Activate and a Spend control.

  • For players and DMs
  • 11 short steps
  • Updated 18 November 2026, for Archivist 1.7.0

The example is Forbidden Insight: as a Bonus Action, roll 1d6 and spend that much Sanity, and for 1 minute your weapon hits deal an extra 1d6 Psychic damage and you have Advantage on Perception and Insight checks. Change any word or number to suit your table.

Make the Sanity tracker

  1. In the top bar, press Compendium. In the Compendiums list on the left, press ⋯ beside Homebrew, then New homebrew…, then Optional feature.
  2. In the Text box, select all of the starter text, paste these lines over it, keep Homebrew beside Save in, and press Create:
    Sanity
    name: Sanity
    edition: '2024'
    source: Homebrew
    feature_type: campaign
    description: Your hold on your own mind. Your Sanity maximum equals your Wisdom score. You regain 1 Sanity when you finish a Long Rest, and the DM can give more back.
    prerequisites: []
    available_to: []
    effects: []
    uses:
      max: '{wis}'
      recharge: custom
      recovery:
        - id: sanity-long-rest
          name: Long Rest
          amount: 1
          reset: long-rest
    surface: band

max: '{wis}' makes the maximum your Wisdom score, and it follows the score when it changes. Made in Homebrew, its link name is homebrew_optional-feature_sanity: that is how the ability below finds this tracker.

The homebrew editor titled New optional feature, with Save in Homebrew, the Sanity lines in the Text frame and the Preview drawing Sanity with its Wisdom maximum, and a ring on Create.
The Preview draws it as you type.

Make the ability that spends it

  1. Do the same for Forbidden Insight: ⋯ beside Homebrew, New homebrew…, Optional feature, paste these lines over the starter text, and press Create:
    Forbidden Insight
    name: Forbidden Insight
    edition: '2024'
    source: Homebrew
    feature_type: campaign
    description: "As a Bonus Action, you let the whispers in. Roll `dice:1d6` and spend that much Sanity. For 1 minute, your weapon hits deal an extra 1d6 Psychic damage, and you have Advantage on Wisdom (Perception) and Wisdom (Insight) checks."
    prerequisites: []
    available_to: []
    action_cost: bonus-action
    activatable: true
    duration:
      amount: 1
      unit: minute
    consumes:
      resource: homebrew_optional-feature_sanity
      amount: 1
      amount_max: 6
    effects:
      - kind: damage-bonus
        damage_type: psychic
        amount: 1d6
        applies_to: weapon
      - kind: roll-modifier
        mode: advantage
        roll: ability-check
        scope: Perception and Insight

consumes is what one use spends: 1 to 6 Sanity. activatable gives it the Activate button, and its effects count only while it is on.

Give both to your character

  1. Open your character, press the gear beside the name, and choose Builder.
  2. Below the steps on the left, press Extra features, then Add a feature.
  3. Search for Sanity, press it to read it, and press Add Sanity to your character.
  4. Press Add a feature again and add Forbidden Insight the same way. Then press Done and Keep changes.

Both show as Optional feature in the list, from your Homebrew compendium. Add feats, boons and DM gifts with Extra features shows the Extra features page step by step.

The Builder's Add a feature window searched for Sanity, with the Sanity row from Homebrew picked, its text beside the list, and the Add Sanity to your character button ringed.
Forbidden Insight joins it the same way.

Play it

  1. Sanity sits on the strip at the top of the sheet, beside your Hit Dice. Press − or + to change it, or press the number and type.
Ser Aldric Vane's sheet header: Armor Class 21, hit points 61 of 76, Hit Dice 7 of 9, and a ringed box reading Sanity 12 of 12 with plus and minus buttons, beside the Short Rest and Long Rest buttons.
A Wisdom of 12 gives 12 Sanity.
  1. On the Actions tab, under Bonus Actions, press Activate on Forbidden Insight. It reads Active for as long as it is on.
  2. Press the row to open its card, and press 1d6 to roll.
  3. Press Spend 1 to 6 Sanity and press − once for each point you rolled.

While it is on, each weapon row's damage reads, for example, 1d8+4 slashing + 1d6 psychic, and Perception and Insight roll with Advantage. Press Active again after the minute to switch it off. Every rest also offers to end it.

The Actions tab under Bonus Actions: Forbidden Insight, Campaign, 1 minute, with a ringed Active button and a ringed Spend 1 to 6 Sanity button. Its open card says to roll 1d6, ringed, and spend that much Sanity.
The 1d6 in the card rolls on the dice like any other roll.

What the sheet does with it

Everything below comes from the lines you pasted. Change a number and the sheet follows.

PartOn the sheet
Sanity's maximumYour Wisdom score. A higher Wisdom raises it at once and keeps what you spent.
Losing and gaining Sanity− and + on the top strip, or type the number. It never refills by itself.
A Long RestGives back 1 Sanity, listed in the Long Rest window with a box you can untick.
Forbidden InsightA Bonus Action row with Activate, its duration and Spend 1 to 6 Sanity.
While it is active+1d6 Psychic on every weapon's damage, and Advantage on Perception and Insight checks.
Rolling the costThe 1d6 in its card rolls the dice. You then take that many points off with Spend.

Questions

Can Archivist take the rolled amount off by itself?

You roll the 1d6 from the card and press − that many times. Switching the ability on never spends Sanity by itself, so you can also use it when your DM sets the cost.

Can I put Sanity somewhere else on the sheet?

Yes. It is also on the Resources tab. To choose what sits on the top strip and in what order, see Choose the resources on top of your sheet.

I am the DM. How do my players get it?

Make the two entries once, then on the Compendium page press ⋯ beside your compendium, then Export, and send them the zip file. Each player brings it in with Import homebrew and adds both with Extra features. Share homebrew with your party shows each step.

Create does nothing. What now?

A line that needs fixing is marked where it is, with the words under it, such as "concentration takes true or false." Pressing Create or Save takes you to the first one. Fix it, and the mark goes. Keep the spaces at the start of each line, and if a sentence has a colon in it, put the whole sentence in double quotes.

Can I make a different resource the same way?

Yes: Hero Points, Corruption, Stress or Luck. Change the name, the description and the max line, such as max: 5 or max: '{prof}' for your Proficiency Bonus.

Keep going