Zum Inhalt springen
Menü

Dokumentation und Hilfe · Prompts

Füge einen Prompt ein.
Deine KI trifft ihre andere Hälfte.

Zwei kopierfertige Prompts, mit denen deine KI ab der allerersten Runde Hand in Hand mit MatterSpace Duplex arbeitet: einer für Clients mit Hooks, einer nur für MCP.

Ein Stecker ragt aus einem Buchsenblock auf einer Basis, um die Buchsenöffnung ein blauer Ring.Ein Stecker ragt aus einem Buchsenblock auf einer Basis, um die Buchsenöffnung ein blauer Ring.

Wähle den Prompt, der zu deinem Client passt.

Hooks übergeben Duplex jede Runde und prüfen Tool-Aufrufe, bevor sie ausgeführt werden. Wenn dein Client sie unterstützt, schalte sie ein und nutze den Hooks-Prompt.

Claude CodeHooks: JaPassender Prompt: Mit HooksWo du ihn einfügst: CLAUDE.md in deinem Projekt oder ~/.claude/CLAUDE.md für alle Projekte
CodexHooks: JaPassender Prompt: Mit HooksWo du ihn einfügst: AGENTS.md in deinem Projekt oder ~/.codex/AGENTS.md
CursorHooks: JaPassender Prompt: Mit HooksWo du ihn einfügst: Eine Regel, die immer angewendet wird, etwa .cursor/rules/duplex.mdc, oder AGENTS.md
GitHub Copilot CLIHooks: JaPassender Prompt: Mit HooksWo du ihn einfügst: .github/copilot-instructions.md, or AGENTS.md
claude.ai und Claude DesktopHooks: NeinPassender Prompt: Ohne HooksWo du ihn einfügst: Die Projektanweisungen
ChatGPTHooks: NeinPassender Prompt: Ohne HooksWo du ihn einfügst: Die Projektanweisungen oder deine benutzerdefinierten Anweisungen
Jeder MCP-Client oder dein eigener AgentHooks: NeinPassender Prompt: Ohne HooksWo du ihn einfügst: Der System-Prompt

Nutzt du einen Client mit Hooks, aber die Hooks sind ausgeschaltet? Dann nimm den Prompt ohne Hooks. Der Duplex-Server gibt deiner KI beim Verbinden außerdem eigene kurze Anweisungen mit; diese Prompts sorgen dafür, dass sie die ganze Sitzung über gelten.

Mit Hooks: Die Hooks erledigen die Routine, deine KI die Arbeit.

Kontext kommt in jeder Runde an, jede Runde wird protokolliert, und Tool-Aufrufe werden geprüft, bevor sie ausgeführt werden. Deine KI ruft Duplex nur auf, wenn es etwas beizubringen, zu behalten, zu teilen oder nachzuschlagen gibt.

Prompt mit HooksFür Claude Code, Codex, Cursor und GitHub Copilot CLI mit aktiven Duplex-Hooks.
# 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.

Ohne Hooks: Zwei Aufrufe pro Runde halten beide Hälften im Gleichschritt.

Nur über MCP fragt deine KI zuerst Duplex und meldet sich zurück, bevor sie antwortet. Mehr braucht es nicht, damit jede Regel, jede Methode und jede Korrektur in der Arbeit ankommt.

Prompt ohne HooksFür claude.ai, Claude Desktop, ChatGPT, jeden MCP-Client, deine eigenen Agenten oder einen Client mit ausgeschalteten Hooks.
# 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.

Dann mach den ersten Check.

Frag einmal, direkt nachdem du den Prompt eingefügt hast. Die Antwort nennt deinen Workspace, die Garantie dieser Verbindung und alles, was dein Schlüssel kann.

Erste Prüfung
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
Nur MCP. Duplex sieht, was deine KI ihm schickt, und deine Regeln gelten, soweit deine KI sie befolgt.
guarantee: hooked
Hooks aktiv. Dein Client übergibt Duplex jede Runde und jeden Tool-Aufruf, bevor er ausgeführt wird, sodass eine Regel einen Schritt stoppen kann.

Richte es mit uns ein.

In einem Pilotprojekt verbinden wir Duplex mit deiner KI, fügen den richtigen Prompt ein und machen gemeinsam den ersten Check.