{"name":"session-to-skill: Automate AI Agent Skill Creation from OpenCode Sessions","description":"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.","github":"https://github.com/Eldorado-ling/session-to-skill","url":"https://osrepos.com/repo/eldorado-ling-session-to-skill","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/eldorado-ling-session-to-skill","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/eldorado-ling-session-to-skill.md","json":"https://osrepos.com/repo/eldorado-ling-session-to-skill.json","topics":["AI Agents","Skill Generation","OpenCode","Automation","Developer Tools","LLM","Prompt Engineering","SkillHub"],"keywords":["AI Agents","Skill Generation","OpenCode","Automation","Developer Tools","LLM","Prompt Engineering","SkillHub"],"stars":null,"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.","content":"## Introduction\n\nThe `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.\n\n## Why Use It & Key Benefits\n\nLeveraging `session-to-skill` provides several significant advantages for AI agent developers:\n\n*   **Automated Skill Generation**: Effortlessly transform interactive OpenCode sessions into formal AI agent skills, saving manual effort.\n*   **TRACE Validation**: Skills are automatically checked against the TRACE evaluation system, ensuring high quality and adherence to standards.\n*   **Robust Security Checks**: The tool incorporates three-line security audits, enhancing the reliability and safety of generated skills.\n*   **Streamlined Packaging**: Skills are automatically packaged into a ZIP file containing `SKILL.md` and `README.md`, ready for deployment to platforms like SkillHub.\n*   **Developer Efficiency**: Reduces the time and complexity involved in creating and publishing new AI agent capabilities.\n\n## Installation\n\nTo install `session-to-skill`, follow these steps:\n\n1.  Place the `session-to-skill/` directory into one of the following locations:\n    *   Project-level: `.opencode/skills/session-to-skill/`\n    *   Global-level: `~/.config/opencode/skills/session-to-skill/`\n\n2.  Add the necessary permissions to your `opencode.json` file:\n\n    \n    {\n      \"permission\": {\n        \"skill\": {\n          \"session-to-skill\": \"allow\"\n        }\n      }\n    }\n    \n\n## Examples (Usage)\n\nUsing `session-to-skill` is straightforward:\n\n1.  In any OpenCode session, execute `/share` to copy the sharing link.\n2.  Open a new session and paste the shared URL.\n3.  The skill will automatically trigger, analyze the session content, and generate a publishable Skill, packaged as a ZIP file.\n\nYou can also trigger the skill using specific phrases in a new session:\n\n*   `?????? skill?` (Make this session a skill)\n*   `?? share ???? skill?` (Extract skill from share link)\n*   `??? skill?` (Generate skill)\n*   `??? session?` (Package session)\n*   `??? skill?` (Export skill)\n*   Directly paste an `opencode.ai/s/*` or `opncd.ai/share/*` link into the session.\n\n## Links\n\nFor more details and to contribute, visit the official GitHub repository:\n\n*   [session-to-skill GitHub Repository](https://github.com/Eldorado-ling/session-to-skill){:target=\"_blank\"}","metrics":{"detailViews":2,"githubClicks":0},"dates":{"published":null,"modified":"2026-09-14T07:55:14.000Z"}}