Skip to content

Instantly share code, notes, and snippets.

View JosXa's full-sized avatar
💙

Joscha Götzer JosXa

💙
View GitHub Profile
@JosXa
JosXa / SKILL.md
Created July 19, 2026 23:45
Agent skill for extracting and summarizing YouTube transcripts with yt-dlp
name youtube-transcript
description Load when user asks to fetch, extract, or summarize a YouTube video transcript. Contains yt-dlp workflow, subtitle parsing, and summarization patterns.

YouTube Transcript Extraction & Summarization

Reliable workflow for fetching and processing YouTube video transcripts using yt-dlp.

Prerequisites

@JosXa
JosXa / copilot-ghe-enterprise.ts
Created February 27, 2026 01:40
OpenCode plugin: GitHub Copilot with GHE enterprise auth, GPT-5.3 support, and models.dev integration
import type { Hooks, PluginInput } from "@opencode-ai/plugin";
// Use VS Code's OAuth client ID - it has more scope permissions required for /copilot_internal/v2/token
const CLIENT_ID = "01ab8ac9400c4e429b23";
const PROVIDER_ID = "github-copilot";
const PROVIDER_NAME = "GitHub Copilot";
// TODO: Set this to your GitHub Enterprise domain
const DEFAULT_ENTERPRISE_DOMAIN = "your-company.ghe.com";
// Add a small safety buffer when polling to avoid hitting the server
name humanize
description Use when writing or editing prose that should not sound like an LLM wrote it. Covers Confluence pages, docs, READMEs, longer comments, emails, release notes, and any other text that ships somewhere a human will read it.

Humanize

Remove AI-generated writing patterns from text so it reads like a sharp human wrote it. Based on Wikipedia's "Signs of AI writing" page (maintained by WikiProject AI Cleanup), the pattern catalog of the unsloppify project, and Cursor's unslop skill.

When to use

// import type { Plugin } from "@opencode-ai/plugin"
// // AI writing patterns detection and humanization
// const AI_PATTERNS = {
// content: {
// significance: /\b(stands|serves) as\b|\btestament\b|\bpivotal (moment|role)\b|\bevolving landscape\b|\bindelible mark\b/gi,
// notability: /\bcited in\b.*\b(NYT|BBC|Times|Post)\b|\bactive social media presence\b/gi,
// superficial: /\b(highlighting|underscoring|emphasizing|ensuring|reflecting|symbolizing|showcasing)\b[^.]{0,50}\.\s*$/gim,
// promotional: /\b(nestled|breathtaking|vibrant|stunning|must-visit|renowned|boasts)\b/gi,
// vague: /\b(Experts|Industry reports|Observers|Some critics)\s+(believe|argue|suggest)\b/gi,
@JosXa
JosXa / Test Markdown Example.md
Created July 15, 2025 17:19
A simple markdown example to demonstrate basic formatting and syntax.

test

import "@johnlindquist/kit"
import { startSpinner } from "@josxa/kit-utils"
metadata = {
name: "Update Script Kit",
description: "Download and install latest Script Kit release",
author: "JosXa",
}
/**
import "@johnlindquist/kit";
metadata = {
name: "MCP Proxy Background Service",
background: true,
longRunning: true,
};
const MCP_PROXY_EXECUTABLE = "C:/Users/josch/go/bin/mcp-proxy.exe";
const CONFIG_PATH = home("mcp-proxy.json");
import "@johnlindquist/kit";
metadata = {
name: "MCP Proxy Background Service",
background: true,
longRunning: true,
};
const MCP_PROXY_EXECUTABLE = "C:/Users/josch/go/bin/mcp-proxy.exe";
const CONFIG_PATH = home("mcp-proxy.json");
import "@johnlindquist/kit"
export const metadata: Metadata = {
name: "Temporarily gitignore a file",
}
let p = await path({
hint: "Choose a file or repository path",
startPath: "D:\\projects",
})
import "@johnlindquist/kit"
import type { Choice } from "@johnlindquist/kit"
import gis from "g-i-s"
const query = await arg("Enter image search term")
const images = await new Promise<any[]>((resolve, reject) => {
gis(query, (error, results) => {
if (error) {
reject(error)