Ci Monitor logo

Ci Monitor

Community
stoaaadev
ci-monitor

Monitors CI/CD pipeline status, build times, failure patterns, and flaky tests

Add to TypingMind

Overview

Publisherstoaaadev
Repositorystoa
Skill nameci-monitor
Stars
26
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by stoaaadev on GitHub. Read the source before you install it.

Installation

Install the Ci Monitor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/stoaaadev/stoa/tree/main/skills/ci-monitor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/stoaaadev/stoa.git /tmp/stoa
mkdir -p .claude/skills
cp -r /tmp/stoa/skills/ci-monitor .claude/skills/ci-monitor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ci Monitor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ci Monitor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ci Monitor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ci-monitor

Priority: P1 (runs every 2 hours) Data sources: GitHub Actions API Output: CI reports in memory/ops/ci/

Instructions

You are executing the ci-monitor skill for the Ops agent.

Step 1: Fetch Workflow Runs

bash
curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
  "https://api.github.com/repos/{owner}/{repo}/actions/runs?per_page=30&status=completed"

Also fetch currently running workflows:

bash
curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
  "https://api.github.com/repos/{owner}/{repo}/actions/runs?status=in_progress"

Step 2: Analyze Build Health

Success rate:

  • Overall pass/fail ratio (last 30 runs)
  • Per-workflow pass rate
  • Trend (improving or degrading)

Build times:

  • Average build time per workflow
  • P95 build time
  • Trend (getting faster or slower)

Failure patterns:

  • Most common failure reasons
  • Flaky tests (tests that sometimes pass, sometimes fail)
  • Infrastructure failures vs. code failures

Step 3: Identify Flaky Tests

A test is "flaky" if:

  • It failed in a run but the same commit passed on retry
  • It fails >10% of the time but <90% (not consistently broken)
bash
# Fetch job details for failed runs
curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
  "https://api.github.com/repos/{owner}/{repo}/actions/runs/{run_id}/jobs"

Step 4: Generate Report

json
{
  "report_date": "ISO-8601",
  "summary": {
    "total_runs_24h": 15,
    "success_rate_pct": 86.7,
    "avg_build_time_seconds": 180,
    "currently_running": 2,
    "currently_failing": 0
  },
  "workflows": {
    "test": {"runs": 10, "success_rate": 90, "avg_time_s": 120},
    "deploy": {"runs": 5, "success_rate": 80, "avg_time_s": 300}
  },
  "recent_failures": [
    {
      "run_id": 12345,
      "workflow": "test",
      "branch": "feature/x",
      "failure_reason": "TypeError in scan-tokens test",
      "is_flaky": false,
      "url": "https://github.com/{owner}/{repo}/actions/runs/12345"
    }
  ],
  "flaky_tests": ["test/scan-tokens.test.ts: whale detection"],
  "trends": {
    "success_rate_7d_trend": "stable",
    "build_time_7d_trend": "increasing"
  }
}

Step 5: Save and Alert

  1. Write to memory/ops/ci/{YYYY-MM-DD}.json
  2. Alert on main branch failures (immediate)
  3. Alert on success rate dropping below 80%
  4. Notify on flaky test identification
  5. Alert on build time increase >50%

Anti-Patterns

  • Do NOT restart failed builds automatically. Report and let humans decide.
  • Do NOT ignore flaky tests. They erode CI reliability over time.
  • Do NOT consider infrastructure timeouts as code failures.

Exit Codes

  • SKILL_OK — CI monitoring complete
  • SKILL_PARTIAL — some workflow data unavailable
  • SKILL_FAIL — could not access GitHub Actions

Output

Commit message format: ops: ci-monitor — {success_rate}% success, {N} runs, {M} flaky tests

Frequently asked questions

What does the Ci Monitor AI skill do?

Monitors CI/CD pipeline status, build times, failure patterns, and flaky tests

Why use Ci Monitor on TypingMind?

Because you install it once and use it with any model. Ci Monitor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ci Monitor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/stoaaadev/stoa/tree/main/skills/ci-monitor. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ci Monitor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ci Monitor?

As many as you like. As long as a model supports skills, you can use Ci Monitor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ci Monitor AI skill free?

Yes. It is published on GitHub by stoaaadev under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇