Formant persona chat
Skill FormantIO/formant-agent-plugins/plugins/formant-admin/skills/formant-persona-chat
This skill should be used when users want to chat with a specific Formant persona via Theopolis, including persona selection, thread start/reuse, synchronous or asynchronous message turns, polling, history review, and multi-turn continuity on the same thread. Use formant-administrator for non-chat operations.From its SKILL.md
npx -y skills add FormantIO/formant-agent-plugins --skill formant-persona-chatAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, as published. Nobody here has run it
Formant Persona Chat
Run persona conversations in Theopolis with explicit persona identity and thread continuity.
Scope
Use this skill for:
- direct user conversation with a specific persona
- selecting a persona before chat starts
- creating or reusing persona chat threads
- sending synchronous and asynchronous chat turns
- polling and history retrieval for long-running turns
- continuing multi-turn chat on the same thread
Routing rules:
- For non-chat Formant administration tasks, use
formant-administrator. - For config mutations, use
formant-config-lifecycle. - Keep chat state explicit:
environment,personaId, andthreadId.
Default Workflow
1. Confirm chat intent and environment
Assume default environment is prod unless user asks for --stage or --dev.
2. Resolve persona
If persona is not explicit, identify candidates and ask one concise clarification.
formant persona list --json
formant persona get <persona-id> --json
3. Resolve or create thread
If user provides a threadId, continue that thread.
If no thread exists, create one bound to the selected persona.
formant persona chat start <persona-id> --name "<thread-name>" --json
Thread policy:
- multiple threads can exist for the same persona
- reuse thread by default for continuity
- create a new thread only on explicit user request or clear topic reset
4. Send message turn
Prefer synchronous wait mode for interactive conversation.
formant persona chat send <thread-id> "<message>" --json
Use async mode for long or tool-heavy turns.
formant persona chat send <thread-id> "<message>" --async --json
formant persona chat poll <thread-id> --after <sentAt> --wait --timeout 120 --json
Useful optional flags:
--model <model-id>for per-turn model override--persona <persona-id>to force persona for a specific turn
5. Continue conversation
Continue sending on the same threadId.
formant persona chat history <thread-id> --limit 20 --json
6. Switch persona inside existing thread only when requested
formant persona chat switch-persona <thread-id> <persona-id> --json
Response Handling Pattern
For programmatic handling, always use --json and read:
assistant.contentthreadIdpersonaIdsentAttimedOutsocketError
If user wants raw persona output, return assistant.content directly.
If user wants summarized output, summarize while keeping key decisions and caveats.
If output is to be used for further processing, carry forward threadId and personaId.
Reliability and Recovery
If sync send returns no assistant content:
- Check
timedOutandsocketError. - Poll using
sentAt:
formant persona chat poll <thread-id> --after <sentAt> --wait --timeout 120 --json
- Inspect history:
formant persona chat history <thread-id> --limit 50 --json
If thread persona is wrong or missing, switch persona and resend:
formant persona chat switch-persona <thread-id> <persona-id> --json
Safety Rules
- Never fabricate persona responses; only return what the thread produced.
- Never expose credentials, tokens, or secret prompt content.
- Keep persona identity explicit in user-facing output when ambiguity exists.