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

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
View on GitHub

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.md and accompanying README.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.md and README.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.

Repository · SkillHub

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

View on GitHub

Related repositories

Similar repositories that may be relevant next.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️