Configuring Horizon
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
Automatically fix broken OpenCLI adapters when commands fail.
$ npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install joeseesun/qiaomu-opencli-skills qiaomu-opencli-autofix --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/joeseesun/qiaomu-opencli-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/qiaomu-opencli-autofix .claude/skills/qiaomu-opencli-autofix && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "qiaomu-opencli-autofix" agent skill from https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofix into .claude/skills/qiaomu-opencli-autofix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qiaomu-opencli-autofix", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofixType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install joeseesun/qiaomu-opencli-skills qiaomu-opencli-autofix --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joeseesun/qiaomu-opencli-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/qiaomu-opencli-autofix .agents/skills/qiaomu-opencli-autofix && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "qiaomu-opencli-autofix" agent skill from https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofix into .agents/skills/qiaomu-opencli-autofix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qiaomu-opencli-autofix", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install joeseesun/qiaomu-opencli-skills qiaomu-opencli-autofix --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joeseesun/qiaomu-opencli-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/qiaomu-opencli-autofix .cursor/skills/qiaomu-opencli-autofix && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "qiaomu-opencli-autofix" agent skill from https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofix into .cursor/skills/qiaomu-opencli-autofix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qiaomu-opencli-autofix", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/joeseesun/qiaomu-opencli-skills.git --path qiaomu-opencli-autofix--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install joeseesun/qiaomu-opencli-skills qiaomu-opencli-autofix --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joeseesun/qiaomu-opencli-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/qiaomu-opencli-autofix .gemini/skills/qiaomu-opencli-autofix && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "qiaomu-opencli-autofix" agent skill from https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofix into .gemini/skills/qiaomu-opencli-autofix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qiaomu-opencli-autofix", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install joeseesun/qiaomu-opencli-skills qiaomu-opencli-autofixInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/joeseesun/qiaomu-opencli-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/qiaomu-opencli-autofix .github/skills/qiaomu-opencli-autofix && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "qiaomu-opencli-autofix" agent skill from https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofix into .github/skills/qiaomu-opencli-autofix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qiaomu-opencli-autofix", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install joeseesun/qiaomu-opencli-skills qiaomu-opencli-autofix --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/joeseesun/qiaomu-opencli-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/qiaomu-opencli-autofix .opencode/skills/qiaomu-opencli-autofix && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "qiaomu-opencli-autofix" agent skill from https://github.com/joeseesun/qiaomu-opencli-skills/tree/main/qiaomu-opencli-autofix into .opencode/skills/qiaomu-opencli-autofix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "qiaomu-opencli-autofix", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
qiaomu-opencli-autofixAutomatically fix broken OpenCLI adapters when commands fail.
Qiaomu Opencli Autofix is an agent skill from joeseesun/qiaomu-opencli-skills. Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through diagnosing the failure via OPENCLIDIAGNOSTIC, patching the adapter, and retrying. Works with any AI agent.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs. The repository describes itself as: Use opencli CLI to interact with social/content websites (Bilibili, Zhihu, Twitter/X, YouTube, Weibo, 小红书, V2EX, Reddit, HackerNews, 雪球, BOSS直聘 etc.). The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4d9a08e. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(opencli:*)ReadEditWriteFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash, typescript and json).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
zhihu.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Qiaomu Opencli Autofix loads about 2.4k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 901 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from joeseesun/qiaomu-opencli-skills at commit 4d9a08e, republished under its MIT licence (© joeseesun). 901 words, ~2,406 tokens.
.claude/skills/qiaomu-opencli-autofix/SKILL.md (or your agent's skills folder).When an opencli command fails because a website changed its DOM, API, or response schema, automatically diagnose, fix the adapter, and retry — don't just report the error.
Before starting any repair, check these hard stops:
AUTH_REQUIRED (exit code 77) — STOP. Do not modify code. Tell the user to log into the site in Chrome.BROWSER_CONNECT (exit code 69) — STOP. Do not modify code. Tell the user to run opencli doctor.Scope constraint:
RepairContext.adapter.sourcePath — this is the authoritative adapter location (may be clis/<site>/ in repo or ~/.opencli/clis/<site>/ for npm installs)src/, extension/, tests/, package.json, or tsconfig.jsonRetry budget: Max 3 repair rounds per failure. If 3 rounds of diagnose → fix → retry don't resolve it, stop and report what was tried.
opencli doctor # Verify extension + daemon connectivityUse when opencli <site> <command> fails with repairable errors:
EMPTY_RESULT — and sometimes a structurally-valid SELECTOR that returns nothing — is often not an adapter bug. Platforms actively degrade results under anti-scrape heuristics, and a "not found" response from the site doesn't mean the content is actually missing. Rule this out before committing to a repair round:
opencli xiaohongshu search "X" returns 0 but opencli xiaohongshu search "X 攻略" returns 20, the adapter is fine — the platform was shaping results for the first query.opencli doctor / re-login, not editing source.results: [], that is a valid answer — report it to the user as "no matches for this query" rather than patching the adapter.Only proceed to Step 1 if the empty/selector-missing result is reproducible across retries and alternative entry points. Otherwise you're patching a working adapter to chase noise, and the patched version will break the next working path.
Run the failing command with diagnostic mode enabled:
OPENCLI_DIAGNOSTIC=1 opencli <site> <command> [args...] 2>diagnostic.jsonThis outputs a RepairContext JSON between ___OPENCLI_DIAGNOSTIC___ markers in stderr:
{
"error": {
"code": "SELECTOR",
"message": "Could not find element: .old-selector",
"hint": "The page UI may have changed."
},
"adapter": {
"site": "example",
"command": "example/search",
"sourcePath": "/path/to/clis/example/search.ts",
"source": "// full adapter source code"
},
"page": {
"url": "https://example.com/search",
"snapshot": "// DOM snapshot with [N] indices",
"networkRequests": [],
"consoleErrors": []
},
"timestamp": "2025-01-01T00:00:00.000Z"
}Parse it:
# Extract JSON between markers from stderr output
cat diagnostic.json | sed -n '/___OPENCLI_DIAGNOSTIC___/{n;p;}'Read the diagnostic context and the adapter source. Classify the root cause:
| Error Code | Likely Cause | Repair Strategy |
|---|---|---|
| SELECTOR | DOM restructured, class/id renamed | Explore current DOM → find new selector |
| EMPTY_RESULT | API response schema changed, or data moved | Check network → find new response path |
| API_ERROR | Endpoint URL changed, new params required | Discover new API via network intercept |
| AUTH_REQUIRED | Login flow changed, cookies expired | STOP — tell user to log in, do not modify code |
| TIMEOUT | Page loads differently, spinner/lazy-load | Add/update wait conditions |
| PAGE_CHANGED | Major redesign | May need full adapter rewrite |
Key questions to answer:
source field)snapshot field)networkRequests)Use opencli browser to inspect the live website. Never use the broken adapter — it will just fail again.
# Open the page and inspect current DOM
opencli browser open https://example.com/target-page && opencli browser state
# Look for elements that match the adapter's intent
# Compare the snapshot with what the adapter expects# Open page with network interceptor, then trigger the action manually
opencli browser open https://example.com/target-page && opencli browser state
# Interact to trigger API calls
opencli browser click <N> && opencli browser network
# Inspect specific API response
opencli browser network --detail <index>Read the adapter source file at the path from RepairContext.adapter.sourcePath and make targeted fixes. This path is authoritative — it may be in the repo (clis/) or user-local (~/.opencli/clis/).
# Read the adapter (use the exact path from diagnostic)
cat <RepairContext.adapter.sourcePath>Selector update:
// Before: page.evaluate('document.querySelector(".old-class")...')
// After: page.evaluate('document.querySelector(".new-class")...')API endpoint change:
// Before: const resp = await page.evaluate(`fetch('/api/v1/old-endpoint')...`)
// After: const resp = await page.evaluate(`fetch('/api/v2/new-endpoint')...`)Response schema change:
// Before: const items = data.results
// After: const items = data.data.items // API now nests under "data"Wait condition update:
// Before: await page.waitForSelector('.loading-spinner', { hidden: true })
// After: await page.waitForSelector('[data-loaded="true"]')columns and return format must stay compatible@jackwener/opencli/* imports only — never add third-party package imports# Run the command normally (without diagnostic mode)
opencli <site> <command> [args...]If it still fails, go back to Step 1 and collect fresh diagnostics. You have a budget of 3 repair rounds (diagnose → fix → retry). If the same error persists after a fix, try a different approach. After 3 rounds, stop and report what was tried.
Hard stops (do not modify code):
Soft stops (report after attempting):
opencli-explorer skillIn all stop cases, clearly communicate the situation to the user rather than making futile patches.
1. User runs: opencli zhihu hot
→ Fails: SELECTOR "Could not find element: .HotList-item"
2. AI runs: OPENCLI_DIAGNOSTIC=1 opencli zhihu hot 2>diag.json
→ Gets RepairContext with DOM snapshot showing page loaded
3. AI reads diagnostic: snapshot shows the page loaded but uses ".HotItem" instead of ".HotList-item"
4. AI explores: opencli browser open https://www.zhihu.com/hot && opencli browser state
→ Confirms new class name ".HotItem" with child ".HotItem-content"
5. AI patches: Edit adapter at RepairContext.adapter.sourcePath — replace ".HotList-item" with ".HotItem"
6. AI verifies: opencli zhihu hot
→ Success: returns hot topics© joeseesun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in qiaomu-opencli-autofix of joeseesun/qiaomu-opencli-skills.
Open the folder on GitHubat commit 4d9a08e
Qiaomu Opencli Autofix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Qiaomu Opencli Autofix this skilljoeseesun/qiaomu-opencli-skills | 993 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Configuring Horizoncoollabsio/coolify | 63k | 4 repos | ~898 | Automated safety check: Pass | MIT | |
| Nestjs Best Practicesrolling-scopes/rsschool-app | 10k | 6 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Sub2API AdminWei-Shaw/sub2api | 44k | 1 repos | ~717 | Automated safety check: Pass | LGPL-3.0 | |
| Firecrawl Build Onboardingfirecrawl/firecrawl | 190k | 1 repos | ~1.4k | Automated safety check: Notes | ISC | |
| Obsidian BasesAtmosphere/atmosphere | 3.8k | 22 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 |
coollabsio/coolify
A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.
rolling-scopes/rsschool-app
NestJS best practices and architecture patterns for building production-ready applications.
Wei-Shaw/sub2api
Manages a Sub2API deployment from the command line: accounts, redeem and invitation codes, groups, proxies, imports, exports and raw admin API calls.
firecrawl/firecrawl
Gets Firecrawl working in a project: signs you in through the browser, saves FIRECRAWL_API_KEY to .env and picks the first SDK or REST path.
Atmosphere/atmosphere
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.
coollabsio/coolify
ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.
joeseesun/qiaomu-opencli-skills
A skill your agent uses when quickly generating a single OpenCLI command from a specific URL and goal description.
joeseesun/qiaomu-opencli-skills
A skill your agent uses when running OpenCLI commands to interact with websites (Bilibili, Twitter, Reddit, Xiaohongshu, etc.), desktop apps (Cursor, Notion), or public APIs (HackerNews, arXiv).
joeseesun/qiaomu-opencli-skills
A skill your agent uses when creating a new OpenCLI adapter from scratch, adding support for a new website or platform, exploring a site's API endpoints via browser DevTools, or when a user asks to…
joeseesun/qiaomu-opencli-skills
Make websites accessible for AI agents. An agent skill from joeseesun/qiaomu-opencli-skills.
Categories
Automatically fix broken OpenCLI adapters when commands fail. Qiaomu Opencli Autofix is an agent skill from joeseesun/qiaomu-opencli-skills. Automatically fix broken OpenCLI adapters when commands fail.
Qiaomu Opencli Autofix fits situations like: backend & APIs work in your project.
Run `npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a claude-code`. Or copy the skill folder (qiaomu-opencli-autofix in joeseesun/qiaomu-opencli-skills) into .claude/skills/qiaomu-opencli-autofix in your project. Claude Code loads it when a task matches its description.
Run `npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a codex`. Or copy the skill folder (qiaomu-opencli-autofix in joeseesun/qiaomu-opencli-skills) into .agents/skills/qiaomu-opencli-autofix in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qiaomu-opencli-autofix, .gemini/skills/qiaomu-opencli-autofix, .github/skills/qiaomu-opencli-autofix and .opencode/skills/qiaomu-opencli-autofix in your project.
SKILL.md names no scripts, command-line tools or credentials: Qiaomu Opencli Autofix is instructions for the agent only. Its frontmatter pre-approves these tools: Bash(opencli:*), Read, Edit, Write.
SKILL.md names 1 domain. In commands or code: zhihu.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Qiaomu Opencli Autofix is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Qiaomu Opencli Autofix: Configuring Horizon (coollabsio/coolify, 63k stars), Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), Sub2API Admin (Wei-Shaw/sub2api, 44k stars) and Firecrawl Build Onboarding (firecrawl/firecrawl, 190k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
joeseesun (a GitHub user) maintains it in joeseesun/qiaomu-opencli-skills, which has 993 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on April 9, 2026.
Source: joeseesun/qiaomu-opencli-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.