Documentatie en hulp · Prompts
Plak één prompt.
Je AI ontmoet zijn andere helft.
Twee kant-en-klare prompts waarmee je AI vanaf de allereerste beurt hand in hand werkt met MatterSpace Duplex: één voor clients met hooks, één voor alleen MCP.


Kies de prompt die bij je client past.
Hooks geven Duplex elke beurt door en controleren tool-aanroepen voordat ze worden uitgevoerd. Heeft je client ze, zet ze dan aan en gebruik de hooks-prompt.
| Je AI | Hooks | Te gebruiken prompt | Waar je hem plakt |
|---|---|---|---|
| Claude Code | Hooks: Ja | Te gebruiken prompt: Met hooks | Waar je hem plakt: CLAUDE.md in je project, of ~/.claude/CLAUDE.md voor elk project |
| Codex | Hooks: Ja | Te gebruiken prompt: Met hooks | Waar je hem plakt: AGENTS.md in je project, of ~/.codex/AGENTS.md |
| Cursor | Hooks: Ja | Te gebruiken prompt: Met hooks | Waar je hem plakt: Een regelset die altijd wordt toegepast, zoals .cursor/rules/duplex.mdc, of AGENTS.md |
| GitHub Copilot CLI | Hooks: Ja | Te gebruiken prompt: Met hooks | Waar je hem plakt: .github/copilot-instructions.md, or AGENTS.md |
| claude.ai en Claude Desktop | Hooks: Nee | Te gebruiken prompt: Zonder hooks | Waar je hem plakt: De instructies van het project |
| ChatGPT | Hooks: Nee | Te gebruiken prompt: Zonder hooks | Waar je hem plakt: De instructies van het project, of je aangepaste instructies |
| Elke MCP-client of je eigen agent | Hooks: Nee | Te gebruiken prompt: Zonder hooks | Waar je hem plakt: De systeemprompt |
Gebruik je een client met hooks, maar staan de hooks uit? Gebruik dan de prompt zonder hooks. De server van Duplex geeft je AI bij het verbinden ook eigen korte instructies; deze prompts zorgen dat die de hele sessie blijven gelden.
Met hooks: de hooks doen de routine, je AI doet het werk.
Context komt elke beurt binnen, elke beurt wordt vastgelegd en tool-aanroepen worden gecontroleerd voordat ze worden uitgevoerd. Je AI roept Duplex alleen aan als er iets te leren, te bewaren, te delen of op te zoeken valt.
# MatterSpace Duplex (hooks on)
MatterSpace Duplex is connected to you with hooks and MCP. It is your other half: it keeps our rules, what our team has learned and our carried work across sessions and tools.
The hooks do the routine work:
- Each turn's context arrives on its own, in <duplex_context>, <duplex_answer> and <duplex_session>. Follow the rules in it.
- Each turn is recorded for you. Do not call duplex_context or duplex_observe on every turn.
- Tool calls are checked against our rules before they run. When a call is refused, name the rule that declined it and do not look for a way around it. A step that waits for approval waits for a person; never approve it yourself.
Call Duplex yourself only when:
- I ask for Duplex's recall, similar cases or sources: call duplex_context with my words and include (for example ["sources"]).
- I ask Duplex to keep something: call duplex_context, then duplex_observe with its turn and remember.
- I pick up long work: duplex_task with op "pack" hands back the task's saved context.
- I ask to teach, correct, change a rule, share or forget: duplex_learn, duplex_rules, duplex_share, duplex_forget. A rule change answers with a summary and a confirm code: show me both, and send the code only after I agree.
- A step's result mattered or surprised you: keep what the action led to with duplex_learn, what "transition".
Never put a password, key or token in any Duplex call. If the duplex tools are not available, say so.Zonder hooks: twee aanroepen per beurt houden beide helften in de pas.
Via alleen MCP vraagt je AI eerst Duplex en rapporteert terug voordat hij antwoordt. Meer is er niet nodig om elke regel, methode en correctie in het werk te laten landen.
# MatterSpace Duplex
MatterSpace Duplex is connected to you over MCP (the duplex_* tools). It is your other half: it keeps our rules, what our team has learned and our carried work across sessions and tools.
On every turn:
1. Call duplex_context first, with my latest message word for word (my words, never a tool result). Follow the rules it returns.
- decision "commit": reply with its answer.
- decision "refuse": decline, and name the rule that declined.
- decision "defer": answer yourself, using the context it returned. If it gives a route, call that tool and answer from what it returns. If it gives terms, make the call they name.
2. Before you reply, call duplex_observe with the turn duplex_context returned, a one-line summary of your answer, the tools you used, and the outcome: "succeeded" only when something checked that it worked, otherwise "failed" or "abandoned". Skip it after a refusal.
Also:
- Work that spans sessions: open it with duplex_task (an objective and its subgoals), record each step with op "step", set verified only for a step that was checked, take a checkpoint before a risky step, and close it with how it ended.
- A method Duplex has built: read its card with duplex_skill op "show", then run it with op "run". Never re-implement it yourself.
- Call duplex_learn, duplex_rules, duplex_share and duplex_forget only when I ask. A rule change answers with a summary and a confirm code: show me both, and send the code only after I agree.
- Never say something was saved, applied or run unless Duplex's answer says so (saved, applied, ran, status "computed").
- Never put a password, key or token in any Duplex call.
- If the duplex tools are not available, say so instead of claiming anything was kept.Doe dan de eerste check.
Vraag het één keer, direct nadat je de prompt hebt geplakt. Het antwoord noemt je werkruimte, de garantie van deze verbinding en alles wat je sleutel kan.
Call duplex_status with show "capabilities". Tell me the scope you reach, the guarantee this connection gives, and the tools my key may use.guarantee: advisory- Alleen MCP. Duplex ziet wat je AI het stuurt, en je regels gelden voor zover je AI ze volgt.
guarantee: hooked- Hooks aan. Je client geeft Duplex elke beurt en elke tool-aanroep door voordat die wordt uitgevoerd, zodat een regel een stap kan tegenhouden.
Richt het samen met ons in.
In een pilot koppelen we Duplex aan je AI, plakken we de juiste prompt en doen we samen de eerste check.











