/** * OpenCode Skill Installation (Modern) * * Version Compatibility: OpenCode versions >= v1.0.186 * * This module installs raggrep as an OpenCode skill for newer versions of OpenCode * that support the skill system. Skills are markdown files with YAML frontmatter * placed in ~/.opencode/skill/ that provide reusable behavior definitions. * * Benefits of Skills over Tools: * - Better integration with OpenCode's agent system * - More flexible and educational for agents * - Follows OpenCode's modern architecture patterns * - Provides comprehensive usage documentation */ import type { Logger } from "../../../domain/ports"; export interface SkillInstallOptions { logger?: Logger; checkForOldTool?: boolean; } export interface SkillInstallResult { success: boolean; skillPath?: string; message: string; removedOldTool?: boolean; } /** * Install raggrep as an OpenCode skill for modern versions */ export declare function installSkill(options?: SkillInstallOptions): Promise;