/** * Skill Injector * * Injects security-related skills into OpenClaw's skills directory * when AgenShield is set up. This ensures critical security skills * are always available to the sandboxed agent. */ import type { UserConfig } from '@agenshield/ipc'; export interface SkillInjectionResult { success: boolean; skillsDir: string; injectedSkills: string[]; error?: string; } /** * Get the OpenClaw skills directory for a user */ export declare function getSkillsDir(homeDir: string): string; /** * Get the path to the bundled AgenCo skill */ export declare function getAgenCoSkillPath(): string; /** * Inject the AgenCo skill into OpenClaw's skills directory */ export declare function injectAgenCoSkill(config: UserConfig): Promise; /** * Generate a skill wrapper script that sets execution context env vars * before running the actual skill binary. */ export declare function generateSkillWrapperScript(skillSlug: string, targetBinPath: string): string; /** * Create a symlink for the agenco command in the agent's bin directory */ export declare function createAgenCoSymlink(config: UserConfig, binDir: string): Promise<{ success: boolean; error?: string; }>; /** * Remove injected skills (for uninstall) */ export declare function removeInjectedSkills(homeDir: string): Promise<{ success: boolean; error?: string; }>; /** * Update OpenClaw's MCP configuration to include AgenCo */ export declare function updateOpenClawMcpConfig(homeDir: string): Promise<{ success: boolean; error?: string; }>; //# sourceMappingURL=skill-injector.d.ts.map