session-to-skill: Turn OpenCode Sessions into Reusable Skills

Summary
An OpenCode skill that turns shared session links into reusable, publishable AI agent skills. It analyzes session patterns, checks the generated skill against TRACE and security criteria, then packages the result as a ZIP.
At a glance
- Stars
- 0
- Forks
- 0
- Added to OSRepos
- September 14, 2026
- Last analyzed
- October 4, 2026
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.
Overview
session-to-skill converts shared OpenCode conversations into reusable skills intended for publication on SkillHub. It addresses the gap between a useful session and a reusable artifact by extracting patterns and generating a skill package.
The workflow includes TRACE validation and security checks before packaging. It is aimed at OpenCode users who want to turn demonstrated workflows into skills without assembling the package by hand.
Key Features
- Accepts OpenCode shared-session links for analysis.
- Extracts reusable patterns from session content.
- Generates a
SKILL.mdand accompanyingREADME.md. - Runs a TRACE self-check and a three-line security review.
- Packages the generated files into a ZIP for publishing.
- Adapts ZIP creation commands for Windows, macOS, and Linux.
- Supports suggested skill names that users can change during generation.
Use Cases
- OpenCode users can turn a successful conversation workflow into a reusable skill.
- Skill authors can draft a SkillHub-ready package from an existing shared session.
- Teams can capture recurring problem-solving patterns demonstrated in OpenCode conversations.
- Developers can check an extracted skill for TRACE and security issues before publishing it.
Project Facts
- Stars: 0
- Forks: 0
- Topics: agent-skills, ai-agents, automation, developer-tools, knowledge-extraction, llm, opencode, opencode-ai, opencode-skill, prompt-engineering, session-to-skill, skill-generation, skillhub
- Archived: No
Getting Started
Install the session-to-skill/ directory as an OpenCode skill, either in the project at .opencode/skills/session-to-skill/ or globally at ~/.config/opencode/skills/session-to-skill/. Allow the skill in opencode.json, then provide a shared-session URL in an OpenCode session. See the README for setup details and usage instructions.
Considerations
- Processing is limited to shared-session content up to 1 MB. Generated content is capped at 500 KB and may be truncated.
- Fetching requires an accessible, unexpired share link and network access. Links become invalid if they are revoked.
- The resulting ZIP is intended to contain only
SKILL.mdandREADME.md; extra files or a parent directory may cause SkillHub upload rejection. - TRACE or security checks may fail. The skill reports reasons and suggestions, but the README recommends correcting the source session and trying again.
- The project is specifically designed for OpenCode and SkillHub workflows.
Found this useful?
Share it with someone who would like session-to-skill.
Source repository
Open the original repository on GitHub.
14 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

image-blaster: Turn Images into 3D Environments and Assets
October 5, 2026
image-blaster uses Claude skills and external generation services to turn an image into a 3D environment, object meshes, and sound effects. It is designed to quickly create starting points for game, 3D, and web projects.

skillrank: Find and Evaluate AI-Agent Skills
October 4, 2026
SkillRank is a Rust CLI for discovering, installing, and evaluating skills used by coding agents. Its paired local evaluations compare a skill-enabled run with a control to show changes in success, tokens, time, and cost.

web-design: Create Consistent Web Pages with a Claude Code Skill
October 3, 2026
web-design is a Claude Code skill that turns product briefs, reference URLs, or screenshots into an editable design specification before generating web code. It is suited to developers and designers who want a repeatable, spec-led workflow for building consistent pages.

meshtastic-mcp: Connect AI Agents to Meshtastic Devices
September 27, 2026
A Python MCP server and agent skills for discovering, operating, observing, and testing Meshtastic devices and apps. Its portable core works over serial or TCP, with optional capabilities for firmware builds, mobile-app testing, replay, and hardware benches.