session-to-skill: Automate AI Agent Skill Creation from OpenCode Sessions
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
session-to-skill is a powerful tool designed to transform OpenCode shared sessions into fully validated, reusable, and publishable AI agent skills. It automates the process of extracting patterns, applying TRACE validation and security checks, and packaging the skill into a ZIP file, streamlining development for platforms like SkillHub.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
The session-to-skill project by Eldorado-ling offers an innovative solution for developers working with AI agents and OpenCode. This tool automates the conversion of shared OpenCode sessions into structured, validated, and ready-to-publish AI agent skills. It's designed to simplify the process of skill generation, ensuring compliance with platforms like SkillHub's TRACE evaluation system and robust security standards.
Why Use It & Key Benefits
Leveraging session-to-skill provides several significant advantages for AI agent developers:
- Automated Skill Generation: Effortlessly transform interactive OpenCode sessions into formal AI agent skills, saving manual effort.
- TRACE Validation: Skills are automatically checked against the TRACE evaluation system, ensuring high quality and adherence to standards.
- Robust Security Checks: The tool incorporates three-line security audits, enhancing the reliability and safety of generated skills.
- Streamlined Packaging: Skills are automatically packaged into a ZIP file containing
SKILL.mdandREADME.md, ready for deployment to platforms like SkillHub. - Developer Efficiency: Reduces the time and complexity involved in creating and publishing new AI agent capabilities.
Installation
To install session-to-skill, follow these steps:
- Place the
session-to-skill/directory into one of the following locations:- Project-level:
.opencode/skills/session-to-skill/ - Global-level:
~/.config/opencode/skills/session-to-skill/
- Project-level:
- Add the necessary permissions to your
opencode.jsonfile:{ "permission": { "skill": { "session-to-skill": "allow" } } }
Examples (Usage)
Using session-to-skill is straightforward:
- In any OpenCode session, execute
/shareto copy the sharing link. - Open a new session and paste the shared URL.
- The skill will automatically trigger, analyze the session content, and generate a publishable Skill, packaged as a ZIP file.
You can also trigger the skill using specific phrases in a new session:
?????? skill?(Make this session a skill)?? share ???? skill?(Extract skill from share link)??? skill?(Generate skill)??? session?(Package session)??? skill?(Export skill)- Directly paste an
opencode.ai/s/*oropncd.ai/share/*link into the session.
Links
For more details and to contribute, visit the official GitHub repository:
Related repositories
Similar repositories that may be relevant next.

SandBase Harness: Local-First AI Agent Runtime with Sandboxed Sessions
September 13, 2026
SandBase Harness is a local-first, self-hosted runtime for AI agents, offering sandboxed sessions, memory, and credentials. This TypeScript-based project provides a robust infrastructure for managing and observing AI agents, ensuring auditability and secure execution on your own machine or infrastructure.

DA-Forge: Streamlining Declarative Agent Creation for Copilot Notebooks
September 12, 2026
DA-Forge is a Python-based tool by Microsoft designed to automate the creation and deployment of Declarative Agents for Copilot Notebooks. It significantly reduces the manual effort and time required to set up AI assistants with specific grounding references, transforming an 85-minute process into just a few minutes. This tool is essential for developers and researchers working with Copilot Notebooks and Declarative Agents.

DeclarAgent: Declarative Runbook Executor for Safe AI Agent Workflows
September 12, 2026
DeclarAgent is an innovative declarative runbook executor specifically designed for AI agents. It enables agents to validate, dry-run, and safely execute multi-step YAML workflows. This tool provides a structured, auditable, and secure way for LLM agents to interact with real CLI workflows, enhancing their operational safety and reliability.

Curie: Automated and Rigorous Scientific Experimentation with AI Agents
September 12, 2026
Curie is an innovative AI-agent framework designed for automating rigorous scientific experimentation. It streamlines the entire research lifecycle, from hypothesis formulation to result interpretation, ensuring precision, reliability, and reproducibility. This empowers scientists to accelerate their research processes significantly.
Source repository
Open the original repository on GitHub.