rysweet/amplihack-rs/session-to-agent

Claude Code and agent skill by rysweet/amplihack-rs

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Converts interactive Claude Code or GitHub Copilot session goals and processes into a reusable goal-seeking agent with memory. Extracts goals, constraints, and approaches from session transcripts and generates agent prompts via the amplihack goal_agent_generator CLI.

Install

npx vskill@latest install rysweet/amplihack-rs/session-to-agent

SKILL.md

Session-to-Agent Skill

Convert an interactive coding session into a reusable goal-seeking agent with memory. The skill reads session transcripts, extracts goals and patterns, and generates a complete agent via amplihack new.

Quick Start

Step 1: Invoke the skill
User: /session-to-agent

Or describe what you want:

User: Turn this session into a reusable agent
Step 2: The skill extracts from the current session

It analyzes the session transcript to identify:

  • Primary goal and sub-goals
  • Constraints (technical, operational, time)
  • Tools and commands used
  • Patterns and strategies observed
  • Domain knowledge gained during the session
Step 3: A goal-seeking agent is generated

The skill writes a prompt.md file and runs:

bash
amplihack new --file prompt.md --sdk copilot --enable-memory

The generated agent can be re-run autonomously to repeat or extend the session's workflow.

What It Extracts

CategoryExamples
Primary Goal"Implement JWT authentication for the REST API"
Sub-GoalsToken generation, middleware, refresh flow, tests
ConstraintsMust use RS256, tokens expire in 1h, no external IdP
Tools Usedpytest, ruff, git, curl, Bash, Read, Edit
PatternsOutside-in TDD, error-first validation, retry logic
Domain KnowledgeJWT spec details, library quirks, API contract rules
Success CriteriaAll tests pass, CI green, security review approved

Customizing the Generated Agent

After generation, you can refine the agent by editing:

  • prompt.md -- the goal description and constraints
  • plan.yaml -- the execution phases and dependencies
  • skills.yaml -- the required skills and tool mappings
  • metadata.json -- SDK, memory, and multi-agent settings

Re-run the generator after edits:

bash
amplihack new --file prompt.md --sdk copilot --enable-memory

Memory Export (Optional)

When --enable-memory is used, the skill can optionally export the current session's Kuzu memory database as the agent's initial knowledge base. This seeds the new agent with facts, discoveries, and context from the session that created it.

bash
# Export is offered interactively after agent generation
# Or specify explicitly:
amplihack new --file prompt.md --enable-memory --sdk copilot

When to Use This Skill

  • After completing a multi-step workflow you want to repeat
  • When a session reveals a reusable process worth automating
  • To hand off a workflow to a colleague as a runnable agent
  • To create a CI/CD or SRE automation agent from manual steps
  • When session knowledge should persist as an executable artifact

When NOT to Use This Skill

  • For trivial single-command tasks (use a script instead)
  • When the session was exploratory with no clear repeatable goal
  • When the workflow is already captured as a recipe or agent

Supporting Files

NeedFile
Full extraction algorithm and templatesreference.md
Worked examples with real sessionsexamples.md
Goal-seeking agent design guidancegoal-seeking-agent-pattern skill
Knowledge extraction from sessionsknowledge-extractor skill

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
11
Repository forks
7
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rysweet/amplihack-rs/session-to-agent/badge)](https://verified-skill.com/skills/rysweet/amplihack-rs/session-to-agent)

Something wrong with this skill or its page? Tell us.