home/roleplay/freeform

Freeform

GPTClaudeGemini··1,132 copies·updated 2026-07-14
freeform.prompt
The tokenizer in this little text lib is producing bad output: punctuation rides along with the words, so "Hello, world!" comes back as ["hello,", "world!"] instead of ["hello", "world"]. The bug is in src/parser.js — the split there only breaks on whitespace, which is why punctuation never gets stripped. Fix it so tokens come out as clean lowercase words; apostrophes inside a word (like "don't") should stay put. The suite is failing right now — run `node --test` and it should pass once tokenization is right.

when to use it

Community prompt sourced from the open-source GitHub repo V-Songbird/foreman (MIT). A "Freeform" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

V-Songbird/foreman · MIT