agent-wiki-compare-out…
Compare successful and failed normalized agent trajectories to derive evidence-backed agent-wiki guidelines. Use when Codex has…
Captures the current session's successful workflow and saves it as a reusable skill with SKILL.md and helper scripts
Claude Code
$ npx -y skills add AgentToolkit/altk-evolve --skill save --agent claude-code
Codex
$ npx skills add AgentToolkit/altk-evolve --skill save -a codex -y
Cursor
$ npx skills add AgentToolkit/altk-evolve --skill save -a cursor -y
Gemini CLI
$ npx skills add AgentToolkit/altk-evolve --skill save -a gemini-cli -y
GitHub Copilot
$ npx skills add AgentToolkit/altk-evolve --skill save -a github-copilot -y
OpenCode
$ npx skills add AgentToolkit/altk-evolve --skill save -a opencode -y
Windsurf
$ npx skills add AgentToolkit/altk-evolve --skill save -a windsurf -y
name: save description: Captures the current session's successful workflow and saves it as a reusable skill with SKILL.md and helper scripts context: fork
This skill analyzes your current successful session and generates a new reusable skill with:
It extracts the workflow pattern from your conversation history (user requests, reasoning steps, tool calls, and responses) and creates parameterized files that can be invoked in future sessions.
Use this skill when you've completed a task successfully and want to save the workflow for future reuse.
Analyze the conversation history available in the current context, which includes:
**Action**: Review the entire conversation from start to current point
Extract the high-level workflow by:
1. **Identifying the goal**: What was the user trying to accomplish? 2. **Grouping related actions**: Which tool calls belong together as logical steps? 3. **Recognizing decision points**: Where did the workflow branch based on conditions? 4. **Noting error handling**: How were errors or edge cases handled? 5. **Extracting the sequence**: What is the step-by-step process?
**Example Pattern Recognition**:
User Goal: "Read a file and display its contents" Workflow Pattern: 1. Attempt to read file at expected location 2. If access denied → check allowed directories 3. Search for file in allowed directories 4. Read file from correct location 5. Format and present results
Apply **conservative parameterization** - only parameterize obvious session-specific values:
**Parameterize**:
**Keep Unchanged**:
**Example**:
Original: "Read /home/user/projects/myapp/config.json"
Parameterized: "Read {project_dir}/{config_file}"Analyze the workflow to determine if helper scripts would be beneficial:
**Generate scripts when the workflow includes**:
**Script Types to Consider**:
**Example**:
Workflow includes: Reading JSON file, extracting specific fields, formatting output → Generate: parse_and_format.py script
Create a new SKILL.md file with the following structure:
---
name: {skill-name}
description: {one-line description of what this skill does}
---
# {Skill Title}
## Overview
{Brief description of the skill's purpose and when to use it}
## Parameters
{List parameters the user needs to provide}
- **{param_name}**: {description and example}
## Workflow
### Step 1: {Step Name}
{What this step does}
**Action**: {Tool or approach to use}
**Example**:{Example tool call or command}
{If helper script exists, reference it}
**Helper Script**: Use `scripts/{script_name}.py` for this operation
{Repeat for each step}
## Helper Scripts
{If scripts were generated, document them}
### {script_name}.py
**Purpose**: {What the script does}
**Usage**:
```bash
python3 ${CLAUDE_PLUGIN_ROOT}/skills/{skill-name}/scripts/{script_name}.py [arguments]**Parameters**:
**Example**:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/{skill-name}/scripts/parse_data.py input.json{Common errors and how to handle them}
**Input**:
**Expected Output**: {What the user should see}
{Additional guidelines or context}
### Step 6: Generate Helper Scripts
For each identified script opportunity, create a Python script with:
**Script Template**:
```python
#!/usr/bin/env python3
"""
{Script description}
Usage:
python3 {script_name}.py [arguments]
Arguments:
{arg1}: {description}
{arg2}: {description}
"""
import sys
import json
import argparse
from pathlib import Path
def main():
"""Main function implementing the script logic."""
parser = argparse.ArgumentParser(description="{Script description}")
parser.add_argument("{arg1}", help="{description}")
parser.add_argument("{arg2}", help="{description}", nargs="?")
args = parser.parse_args()
# Implementation based on workflow pattern
try:
# Core logic here
result = process_data(args.{arg1})
print(jEvolve helps AI agents learn from experience. It turns past trajectories into reusable guidelines that help agents complete future tasks, without changing model weights.
Compare successful and failed normalized agent trajectories to derive evidence-backed agent-wiki guidelines. Use when Codex has…
Read all atomic guidelines in wiki-twobatch/guidelines/ and propose themed clusters that group near-duplicates. Writes cluster…
Consult an agent-wiki for guidelines relevant to the task at hand. The wiki itself documents how to retrieve from it (AGENTS.md).…
Read a normalized Claude Code trajectory JSON and extract reusable guidelines into wiki-twobatch/guidelines/. Use when mining…
Ingest one or more agent trajectories (raw bob/claude traces or normalized JSON) into an agent-wiki end-to-end — convert,…
Read a normalized Claude Code trajectory JSON and write an episodic summary page to wiki-twobatch/summaries/. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.