Logo vun Trace Canvas

Trace Canvas

Communautéit
CallSymmetryEcho
trace-canvas

Put an agent session on the Trace Canvas, a transit map of parallel work (threads like git branches, records like commits), log a key moment, list past Claude Code sessions, merge sessions and threads into one line, or hand new to-dos to the agents working on each line. Use when the user asks to trace, capture, save or log this session or conversation, to see how parallel work fits together, or to merge sessions or threads, including "留痕", "把这次会话放进画布", "合并会话", "合并线程" and "分派".

Iwwersiicht

EditeurCallSymmetryEcho
Repositorytrace-canvas
Skill-Nummtrace-canvas
Stären
35
Forks
5
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum CallSymmetryEcho op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Trace Canvas an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/CallSymmetryEcho/trace-canvas/tree/main/skill
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CallSymmetryEcho/trace-canvas.git /tmp/trace-canvas
mkdir -p .claude/skills
cp -r /tmp/trace-canvas/skill .claude/skills/trace-canvas
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Trace Canvas an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Trace Canvas automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Trace Canvas net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Trace Canvas

Trace Canvas shows work as a transit map. A thread is one piece of work in progress, like a git branch. A record is a station on it, like a commit: idea, task, agent output, decision or note. Records are stored on this computer and shown at http://localhost:4777/.

In Claude Code, invoke /trace-canvas (arguments: $ARGUMENTS). In Codex, invoke $trace-canvas and read the action from the user's request.

Actions: capture, all, sessions, tasks, pick, dispatch [lines or to-dos…], retro <thread>, sync, live, bind <thread>, fork <thread>, detach <thread>, merge <threads…>, open, log <text>.

Pick the matching action below. With no arguments, capture the current session.

Current-session capture works with the agent's live hook records and the highlights you write. Historical transcript discovery (all and sessions) currently reads Claude Code transcripts only. To inspect recorded Codex sessions, use trace_live or trace_read_thread. If the capture tool cannot identify the current session, do not guess: establish the intended thread with the user and add the highlights there with trace_log.

capture (default): put this session on the canvas

  1. Look back over this conversation and write 2–6 highlights. Each one is a single moment that matters later:
    • decision: a choice that was made and why, in one line
    • agent: an outcome that exists now (a file, a result, a fix)
    • task: an open next step that is not done yet
    • note: a finding or constraint worth remembering Titles are one sentence, at most 100 characters. Put detail in body. Only include things that actually happened in this session.
  2. Write a summary of 2–3 sentences: what the session set out to do, what it did, where it stopped.
  3. Write a name for the work: 2–6 words, like a branch name a person would choose ("Methods chapter draft", "开题报告时间线"). It names the session's line if it gets one.
  4. Write all of these in the language the user has been using.
  5. Call trace_capture_session with summary, highlights and name. Leave session_id empty to capture the current session.
    • If the user named a thread, pass it as thread.
    • If they want this session as its own line, pass separate: true.
  6. Reply in two or three lines: which thread it went to, how many records were added, and the address the tool returned. If the page is not running, offer to open it with trace_open.

all: put every Claude Code session of this project on the canvas

For "put all my sessions on the canvas" and the like (the first thing many people type after setup):

  1. Call trace_list_sessions with limit: 50.
  2. For each session that is not on the canvas yet, call trace_capture_session with its session_id and no highlights; the transcript import is enough. For the current session, write highlights and a summary as in capture.
  3. Call trace_open with open_browser: true.
  4. Reply in two or three lines: how many sessions went on, on which lines, and the address.

sessions: list past Claude Code sessions

Call trace_list_sessions and show a short table: when, title, prompts, files changed, commits, and the thread it is already on. Offer to capture any of them with trace_capture_session and session_id. For past sessions you have not seen, pass no highlights; the transcript import is enough.

fork : branch a new line off another

Call trace_fork with from (the thread or record the user named) and name. Pass bind: true when this session should work on the new line. Report the new thread's name in one line.

detach : make a forked line a line of its own

When the user wants a forked line to stand on its own (no longer drawn as a branch of the line it came from), call trace_detach with thread. If they want the request that started it to move over too, find that record on the parent line with trace_read_thread and pass its id as take. Never edit the data file by hand for this. Report it in one line.

merge: combine sessions or threads

  1. Call trace_list_threads and identify the threads the user means. If it is unclear, show the candidates and ask.
  2. Confirm three things with the user before merging:
    • the sources
    • the target: an existing thread, or a new name
    • the mode: use merge (keeps every line and its records, draws the merge like git, and folds the merged line into the target on the canvas). Use combine (moves every record onto the target and deletes the source threads) only if the user explicitly asks to drop the source lines
  3. Call trace_merge. Report what happened in one line.

tasks: goals and to-dos

Call trace_tasks (it answers for the line this session works on; pass thread if the user named another, or all: true when they want every line) and show each thread's goal, its progress (done/total) and its open to-dos. When you finish a to-do during the session, call trace_task_done with its id. To add a to-do, call trace_log with kind: "task" and the thread.

pick: take the next to-do and do it

  1. Call trace_tasks with mine: true. If nothing is assigned to you, call trace_tasks for the line you work on and take its oldest open to-do that nobody has.
  2. Say in one line which to-do you take, then do it.
  3. When it is done, call trace_task_done with its id and trace_log the result on the same line.

dispatch [lines or to-dos…]: hand new to-dos to each line's agent and wake it

  1. Run node <this skill's folder>/../bin/trace-canvas.mjs dispatch (trace-canvas dispatch if it is on the PATH) with the lines the user named, or none for every line; when they name particular to-dos, pass each one's id (find it with trace_tasks) and only those go out, whoever logged them; add --all if they also want the to-dos a line's agent logged itself; when they say which machine to do them on, add --on <machine> (the machine names the canvas uses), and each line's to-dos go to that machine's latest session on the line, or a new one there. It gives each line's new to-dos (the user's own, or logged by another session) to the agent that last worked on that line, and on macOS and a Linux desktop it resumes stopped sessions and starts new ones in a new terminal tab or window by itself.
  2. Where it says send it this message, send that message to the running session with your messaging tool if you have one (in Claude Code: SendMessage to the name it prints after messaged as, or to the local_… id, or to the session's name from ListAgents). Otherwise give the user the session and the message.
  3. Your own line means those to-dos are yours: do them after the others are handed out. Where a session is busy, ask the user which they want, in these words: A paste the message into it when it stops, or B start a new session with the command it prints. Never pick for them, and never say a session got the to-dos when it did not.
  4. Report one row per line: which agent got which to-dos and how it was woken. Only to-dos are handed out; if the user's new items are ideas, say so and offer to make them to-dos.

autopilot : Autopilot (beta) on a line, until it is turned off

Only when the user asks for it by name. It hands every open to-do on the line to the line's agent with the decision profile: that agent works through them, logs each decision with the rule it rests on, never sends email or messages to people, pushes, publishes or changes permissions, stops to ask about anything risky or not covered. When it reaches what it cannot decide it logs a record titled "Autopilot summary" and stops to ask; after the person's answer it goes on to the next thing it cannot decide. The switch stays on until it is turned off.

  1. Run node <this skill's folder>/../bin/trace-canvas.mjs autopilot "<thread>" (trace-canvas autopilot if it is on the PATH). Its rows read like dispatch's; handle them the same way (step 2 and 3 of dispatch): send the message to a running session, ask A or B for a busy one.
  2. A hand-over counts only when that session has started: check trace_live (it shows working on the line) or its first record, and say so if it has not.
  3. To stop it: … autopilot "<thread>" --stop. The agent stops before its next to-do.
  4. If you are the agent that got an Autopilot prompt: before each to-do call trace_tasks; when the line no longer shows autopilot: true, stop. When you reach what you cannot decide, or nothing open is left, log the "Autopilot summary" and ask. When the person answers, log the answer as a decision and go on until the next thing you cannot decide.

retro : which work took the most back-and-forth, and what to keep

  1. Run node <this skill's folder>/../bin/trace-canvas.mjs retro "<thread>" (the line the user named, or the one you work on; trace-canvas retro if it is on the PATH). It reads the line's conversations on this machine and asks the local claude or codex to group them, so it takes a minute or two; run it in the background if your tool times out sooner. It puts the ranking on the line as a note and writes nothing else.
  2. Show the top items: title, rounds, minutes, tokens, corrections, and for each suggested rule what it was stuck on, the sentence that made it clear and the rule with its layer (project = CLAUDE.md and AGENTS.md, line = a decision on the line, memory = long-term memory).
  3. Ask the user about each rule, one by one. Write only the ones they approve, in the layer they choose, with the same command: … retro --apply <record> <n> [--layer project|line|memory]. Never edit the rule files yourself.

sync: share the canvas with your other machines

Run node <this skill's folder>/../bin/trace-canvas.mjs sync (trace-canvas sync if it is on the PATH). It pulls the other machines' changes from the private sync repository, writes this machine's and pushes them. Report its one line: changes from other machines, changes here, and whether it pushed or was offline (then it pushes next time). If it says there is no location map repository, tell the user to run node bin/trace-canvas.mjs setup --user --machine <name> --map <repo clone> once.

live: what is running now

Call trace_live and show a short table: status (working, needs you, idle), title, what it is doing, its thread, which session started it, and its subagents. Put sessions that need the user first.

bind : put this session on a thread

Call trace_bind with the thread the user named (a new name creates the thread). Leave session_id empty for the current session. unbind: true goes back to the repository/branch line. Report the thread in one line.

open

Call trace_open with open_browser: true. Pass view: "timeline" or view: "git" if the user asked for those.

log

Call trace_log with the text as title. Use thread if the user named one, and pick a fitting kind.

If the tools are missing

If the trace_* tools are not available, the MCP server is not set up. Tell the user to run this in the folder that holds Trace Canvas, then start a new session:

bash
node bin/trace-canvas.mjs setup --user

For Codex, add --agents codex to install its hooks, MCP server and skill. If the hooks and MCP server already work, run node bin/trace-canvas.mjs install-skill --user --agents codex to install just the skill.

Until then, single records can still be logged with the command line:

bash
node bin/trace-canvas.mjs log "title" --thread "name" --kind agent --agent "Claude Code"

Heefeg gestallte Froen

Wat mécht de KI-Skill Trace Canvas?

Put an agent session on the Trace Canvas, a transit map of parallel work (threads like git branches, records like commits), log a key moment, list past Claude Code sessions, merge sessions and threads into one line, or hand new to-dos to the agents working on each line. Use when the user asks to trace, capture, save or log this session or conversation, to see how parallel work fits together, or to merge sessions or threads, including "留痕", "把这次会话放进画布", "合并会话", "合并线程" and "分派".

Firwat Trace Canvas op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Trace Canvas besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Trace Canvas an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/CallSymmetryEcho/trace-canvas/tree/main/skill an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Trace Canvas benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Trace Canvas benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Trace Canvas domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Trace Canvas gratis?

Jo. De Skill gëtt vum CallSymmetryEcho ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇