GreptimeDB Fuzz CI Failure Investigation
GreptimeTeam/greptimedb
Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.
Fetch GitHub CI failure information, analyze root causes, reproduce locally, and propose a fix plan.
$ npx skills add llama-farm/llamafarm --skill fix-ci -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install llama-farm/llamafarm fix-ci --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/llama-farm/llamafarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/fix-ci .claude/skills/fix-ci && 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 "fix-ci" agent skill from https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/fix-ci into .claude/skills/fix-ci/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-ci", 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/llama-farm/llamafarm/tree/main/.claude/skills/fix-ciType 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 llama-farm/llamafarm --skill fix-ci -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install llama-farm/llamafarm fix-ci --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/fix-ci .agents/skills/fix-ci && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fix-ci" agent skill from https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/fix-ci into .agents/skills/fix-ci/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-ci", 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 llama-farm/llamafarm --skill fix-ci -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install llama-farm/llamafarm fix-ci --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/fix-ci .cursor/skills/fix-ci && 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 "fix-ci" agent skill from https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/fix-ci into .cursor/skills/fix-ci/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-ci", 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/llama-farm/llamafarm.git --path .claude/skills/fix-ci--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 llama-farm/llamafarm --skill fix-ci -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install llama-farm/llamafarm fix-ci --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/fix-ci .gemini/skills/fix-ci && 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 "fix-ci" agent skill from https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/fix-ci into .gemini/skills/fix-ci/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-ci", 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 llama-farm/llamafarm fix-ciInstalls 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 llama-farm/llamafarm --skill fix-ci -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/fix-ci .github/skills/fix-ci && 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 "fix-ci" agent skill from https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/fix-ci into .github/skills/fix-ci/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-ci", 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 llama-farm/llamafarm --skill fix-ci -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install llama-farm/llamafarm fix-ci --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/llama-farm/llamafarm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/fix-ci .opencode/skills/fix-ci && 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 "fix-ci" agent skill from https://github.com/llama-farm/llamafarm/tree/main/.claude/skills/fix-ci into .opencode/skills/fix-ci/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fix-ci", 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.
fix-ciFetch GitHub CI failure information, analyze root causes, reproduce locally, and propose a fix plan.
Fix CI is an agent skill from llama-farm/llamafarm. Fetch GitHub CI failure information, analyze root causes, reproduce locally, and propose a fix plan. Use /fix-ci for current branch or /fix-ci <run-id for a specific run.
Its SKILL.md is about 2.2k 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 Testing & QA, covering Failing and flaky tests and Root cause analysis. It works with GitHub. The repository describes itself as: Deploy any AI model, agent, database, RAG, and pipeline locally or remotely in minutes. The licence is Apache-2.0.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6244d46. 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:
BashReadGrepGlobTaskAskUserQuestionEnterPlanModeFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghuvbrewruffgogitnxnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, uv, git and npm, which can reach the network depending on how they are called.
From 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.
Fix CI loads about 2.2k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 845 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Grep, Glob, Task, AskUserQuestion, EnterPlanModeAutomated 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 llama-farm/llamafarm at commit 6244d46, republished under its Apache-2.0 licence (© llama-farm). 845 words, ~2,245 tokens.
.claude/skills/fix-ci/SKILL.md (or your agent's skills folder).Automates CI troubleshooting by fetching GitHub Actions failures, analyzing logs, reproducing issues locally, and creating a fix plan for user approval.
Verify the GitHub CLI is installed and authenticated:
gh --version && gh auth statusIf gh is not installed:
brew install gh"If not authenticated:
gh auth login"Determine the mode based on arguments:
/fix-ci): Fetch failures for the current branch only/fix-ci <run-id>): Fetch specific run (bypasses branch scoping)Default mode (current branch):
BRANCH=$(git branch --show-current)
gh run list --branch "$BRANCH" --status failure --limit 1 --json databaseId,name,headBranch,workflowName,createdAtSpecific run mode:
gh run view <run-id> --json databaseId,name,headBranch,workflowName,jobs,conclusionIf no failures found:
$BRANCH. CI is green!"gh run list --branch "$BRANCH" --limit 3 --json databaseId,conclusion,workflowName,createdAtOnce a failed run is identified, gather comprehensive details:
RUN_ID=<the-run-id>
# Get failed jobs with their steps
gh run view $RUN_ID --json jobs --jq '.jobs[] | select(.conclusion == "failure") | {name, conclusion, steps: [.steps[] | select(.conclusion == "failure")]}'
# Get failed step logs (critical for debugging)
gh run view $RUN_ID --log-failed 2>&1 | head -500
# Get verbose run info
gh run view $RUN_ID --verboseLog handling:
Attempt to download any debug artifacts:
# Try common artifact names - failures are OK (not all runs have artifacts)
gh run download $RUN_ID -n "coverage" -D /tmp/ci-debug/ 2>/dev/null || true
gh run download $RUN_ID -n "test-results" -D /tmp/ci-debug/ 2>/dev/null || true
gh run download $RUN_ID -n "logs" -D /tmp/ci-debug/ 2>/dev/null || trueIf artifacts downloaded, read them for additional context.
Categorize the failure based on log patterns:
| Pattern | Failure Type | Root Cause Area |
|---|---|---|
FAIL:, --- FAIL, FAILED | Test Failure | Specific test case |
ruff check, ruff format | Lint Error | Code style/formatting |
ModuleNotFoundError, ImportError | Import Error | Missing dependency |
TypeError, AttributeError | Runtime Error | Type mismatch |
SyntaxError | Syntax Error | Invalid code |
AssertionError | Assertion Failure | Test expectation mismatch |
TimeoutError, timed out | Timeout | Performance/hang |
PermissionError, EACCES | Permission Error | File/resource access |
ConnectionError, ECONNREFUSED | Network Error | External service |
Extract key information:
Determine the appropriate local command based on the CI job:
| CI Workflow/Job | Local Command |
|---|---|
test-cli | cd cli && go test ./... |
test-python (server) | cd server && uv run pytest -v |
test-python (rag) | cd rag && uv run pytest -v |
test-python (config) | cd config && uv run pytest -v |
test-python (runtime) | cd runtimes/universal && uv run pytest -v |
lint (python) | uv run ruff check . |
lint (go) | cd cli && golangci-lint run |
type-check | uv run mypy . |
build-cli | nx build cli |
build-designer | cd designer && npm run build |
For specific test failures, narrow down the command:
cd <dir> && uv run pytest -v <test_file>::<test_name>cd cli && go test -v -run <TestName> ./...Run the mapped local command to confirm the failure reproduces:
# Example for Python test
cd server && uv run pytest -v tests/test_api.py::test_health_checkOutcome A - Failure reproduces locally:
Outcome B - Failure does NOT reproduce locally:
gh run rerun $RUN_ID"Based on the failure type and logs, identify:
Use available tools to explore:
Use EnterPlanMode to create a formal fix plan. The plan should include:
# CI Fix Plan
## Problem Statement
[Summary of the CI failure from logs]
## Failure Details
- **Run ID**: <run-id>
- **Workflow**: <workflow-name>
- **Job**: <job-name>
- **Error Type**: <categorized-type>
## Root Cause Analysis
[Explanation of why the failure occurred]
## Affected Files
- `path/to/file1.py` (line X)
- `path/to/file2.py` (line Y)
## Proposed Changes
### Change 1: [Brief description]
[Specific edit to make]
### Change 2: [Brief description]
[Specific edit to make]
## Verification Steps
1. Run: `<local-test-command>`
2. Expected: All tests pass
3. Optional: Run full test suite with `<full-suite-command>`
## Notes
- [Any caveats or considerations]Present the plan and wait for explicit user approval:
CRITICAL: Never make code changes without user approval.
<local-test-command>IMPORTANT: Do NOT auto-commit changes. Leave committing to the user or /commit-push-pr skill.
| Scenario | Action |
|---|---|
| gh CLI not installed | Direct user to install: brew install gh |
| gh not authenticated | Direct user to: gh auth login |
| No failures found | Report CI is green, exit gracefully |
| Rate limit exceeded | Suggest waiting or using gh auth refresh |
| Run not found | Verify run ID, suggest gh run list to find valid IDs |
| Large logs (>500 lines) | Truncate, note full logs on GitHub |
| Local reproduction fails | Note as flaky/env issue, offer re-run option |
| Network errors | Suggest retry, check connection |
On finding a failure:
CI Failure Found
Run: #12345 (workflow-name)
Branch: feature-branch
Failed Job: test-python
Error Type: Test Failure
Analyzing logs...
[Summary of failure]
Reproducing locally...
[Result]
Entering plan mode to propose fix...On success (after fix):
Fix Applied
- Modified: path/to/file.py
- Verification: Tests pass locally
Next steps:
- Review the changes
- Run `/commit-push-pr` to commit and push
- CI will re-run automatically on push/fix-ci to fix their current work, not random failures© llama-farm, Apache-2.0. 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 .claude/skills/fix-ci of llama-farm/llamafarm.
Open the folder on GitHubat commit 6244d46
Fix CI 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 |
|---|---|---|---|---|---|---|
| Fix CI this skillllama-farm/llamafarm | 836 | — | ~2.2k | Automated safety check: Notes | Apache-2.0 | |
| GreptimeDB Fuzz CI Failure InvestigationGreptimeTeam/greptimedb | 6.7k | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| MAUI CI Investigatordotnet/maui | 23k | — | ~2k | Automated safety check: Pass | MIT | |
| Bug To Patch GeneratorArabelaTso/Skills-4-SE | 253 | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| Megatron-LM CI Failure TriageNVIDIA/Megatron-LM | 18k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| CI TriageMentra-Community/MentraOS | 2.4k | — | ~582 | Automated safety check: Pass | Apache-2.0 |
GreptimeTeam/greptimedb
Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.
dotnet/maui
Adds dotnet/maui-specific context for investigating failing PR checks and broken nightly builds: pipelines, Helix logs, binlogs and merge-readiness verdicts.
ArabelaTso/Skills-4-SE
Generate code fixes and patches from bug reports, failing test cases, error messages, and stack traces.
NVIDIA/Megatron-LM
Investigates a failing GitHub Actions run or job for Megatron-LM, finds the root cause plus the PR and test author involved, and files a structured bug issue.
Mentra-Community/MentraOS
Triage failing GitHub PR checks: list failures with gh, fetch capped Actions logs, skip non-Actions checks, and summarize root cause.
ClickHouse/ClickHouse
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL.
llama-farm/llamafarm
Analyze the current session and propose improvements to skills.
llama-farm/llamafarm
Guidelines for creating temporary files in system temp directory.
llama-farm/llamafarm
CLI best practices for LlamaFarm. An agent skill from llama-farm/llamafarm.
llama-farm/llamafarm
Comprehensive code review for diffs. An agent skill from llama-farm/llamafarm.
llama-farm/llamafarm
Commit changes, push to GitHub, and open a PR. An agent skill from llama-farm/llamafarm.
llama-farm/llamafarm
Best practices for the Common utilities package in LlamaFarm.
Works with
Categories
Fetch GitHub CI failure information, analyze root causes, reproduce locally, and propose a fix plan. Fix CI is an agent skill from llama-farm/llamafarm. Fetch GitHub CI failure information, analyze root causes, reproduce locally, and propose a fix plan.
Fix CI fits situations like: tasks that involve Failing and flaky tests; tasks that involve Root cause analysis.
Run `npx skills add llama-farm/llamafarm --skill fix-ci -a claude-code`. Or copy the skill folder (.claude/skills/fix-ci in llama-farm/llamafarm) into .claude/skills/fix-ci in your project. Claude Code loads it when a task matches its description.
Run `npx skills add llama-farm/llamafarm --skill fix-ci -a codex`. Or copy the skill folder (.claude/skills/fix-ci in llama-farm/llamafarm) into .agents/skills/fix-ci 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 llama-farm/llamafarm --skill fix-ci -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-ci, .gemini/skills/fix-ci, .github/skills/fix-ci and .opencode/skills/fix-ci in your project.
Going by SKILL.md and its folder, Fix CI needs the command-line tools its instructions call (gh, uv, brew, ruff, go and git). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Task, AskUserQuestion, EnterPlanMode.
SKILL.md contains no URLs. Its commands use gh, uv, git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Fix CI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 9k 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 Fix CI: GreptimeDB Fuzz CI Failure Investigation (GreptimeTeam/greptimedb, 6.7k stars), MAUI CI Investigator (dotnet/maui, 23k stars), Bug To Patch Generator (ArabelaTso/Skills-4-SE, 253 stars) and Megatron-LM CI Failure Triage (NVIDIA/Megatron-LM, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
llama-farm (a GitHub organization) maintains it in llama-farm/llamafarm, which has 836 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on June 10, 2026.
Source: llama-farm/llamafarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.