Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
import { SkillHandler } from "../types";
export const browserSkill: SkillHandler = async (input, context) => {
const { action } = input as {
action: "navigate" | "click" | "type" | "screenshot" | "extract";
url?: string;
selector?: string;
text?: string;
};
if (!["navigate", "click", "type", "screenshot", "extract"].includes(action)) {
throw new Error(`Unknown action: ${action}`);
}
throw new Error(
"Browser automation skill is disabled. Configure a Playwright-backed browser runtime before enabling this skill."
);
};
export function registerBrowserSkill(executor: any): void {
executor.registerHandler("browser", browserSkill);
}