save-trajectory

Export chat sessions as timestamped trajectory JSON files to .evolve/trajectories.

96|11|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/AgentToolkit/altk-evolve --skill save-trajectory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: save-trajectory
Source: https://github.com/AgentToolkit/altk-evolve/tree/main/platform-integrations/bob/evolve-lite/skills/evolve-lite%3Asave-trajectory
Command: npx skills add https://github.com/AgentToolkit/altk-evolve --skill save-trajectory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill saves the current conversation as a trajectory JSON file for analysis and model refinement, enabling replay and auditing of agent interactions.

Core Features & Use Cases

  • Exports the complete conversation, including user messages, assistant responses, and tool interactions, to a structured JSON format.
  • Writes trajectory files to .evolve/trajectories with timestamped names for easy versioning and comparison.
  • Facilitates offline analysis, fine-tuning data collection, and benchmarking of agent behavior in experiments.

Quick Start

Run this skill to save the active conversation trajectory to .evolve/trajectories.

Frequently Asked Questions about save-trajectory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export a conversation trajectory to JSON for model tuning?

You can export a conversation trajectory to JSON by running this skill, which captures user messages, assistant responses, and tool interactions into a structured file for analysis and model refinement.

What is a trajectory JSON file and when do I need it for agent analysis?

A trajectory JSON file is a structured export of the complete conversation sequence, needed when you want to replay, audit, or benchmark agent behavior for offline analysis and fine-tuning data collection.

How do I save chat sessions for debugging and auditing without external dependencies?

You can save chat sessions for debugging and auditing using this skill, which requires only the Python standard library and writes timestamped trajectory files directly to your project directory.

Can I use Python standard library tools to log agent interactions for fine-tuning data collection?

Yes, you can log agent interactions for fine-tuning data collection using this skill, which relies solely on the Python standard library to export the full conversation sequence into JSON format.

Do I need external packages to export conversation trajectories to JSON?

No, you do not need external packages to export conversation trajectories, as this skill requires no dependencies beyond the Python standard library to write the JSON files.

Where are the exported trajectory JSON files saved to avoid filename collisions?

Exported trajectory JSON files are saved to the .evolve/trajectories directory in your project root, using timestamped filenames to automatically avoid any versioning or naming collisions.