There is a Legacy version
here.

Mindsponge
Item 9This Item may contain spoilers from the Gatewalkers Adventure Path
Unique Mental Occult Source Gatewalkers (Hardcover) pg. 235Price 700 gp
Usage held in 1 hand;
Bulk L
A
mindsponge appears as a misshapen gray sponge that unsettlingly resembles a malformed human brain. Though pliable in all the same ways as a damp sponge, a
mindsponge has no ability to absorb water and, in fact, doesn’t seem terribly porous at all. Instead, a
mindsponge is used to absorb thoughts and memories from living creatures.
Activate—Wipe Memories [two-actions] (
concentrate,
manipulate);
Effect The
mindsponge casts
modify memory, but only to erase a memory—a
mindsponge can’t enhance memory clarity, alter memories, or add false memories.
Activate—Absorb Memories 1 minute (
concentrate,
manipulate);
Effect You use the
mindsponge to harvest the memories and mental energy of a specially prepared target as it dies. To prepare the target (who must be willing or helpless), you must perform a 10-minute surgery to expose a portion of the target’s brain without killing them. This requires a successful DC 28
Medicine (master) check; if you fail this check, the target dies before you can use the
mindsponge.
Memories and psychic energy absorbed aren’t taken from the target’s soul but from energies temporarily infused within the body, so that a creature slain in this way who is later brought back to life retains their harvested memories and energy. The corpse of someone who has had their memories harvested is difficult to communicate with via
talking corpse—treat the saving throw result against that spell as one degree of success lower than the actual result.
A
mindsponge can store the memories and energy of up to four creatures at a time. Once full, it cannot be activated at all, other than to squeeze it as an
Interact action with the
concentrate trait, which causes all of the memories within to drip out as cold ectoplasm, which swiftly evaporates if not used or contained.